mirror of
https://github.com/ringtailsoftware/uvm32.git
synced 2026-06-06 06:53:39 +00:00
Add a stack canary, setup on boot
This commit is contained in:
parent
9596838a4b
commit
9baedb42e8
21 changed files with 61 additions and 16 deletions
|
|
@ -9,7 +9,7 @@ use core::panic::PanicInfo;
|
|||
include!(concat!(env!("OUT_DIR"), "/bindings.rs"));
|
||||
|
||||
// startup code
|
||||
global_asm!(include_str!("../../crt0.S"), UVM32_SYSCALL_HALT = const UVM32_SYSCALL_HALT);
|
||||
global_asm!(include_str!("../../crt0.S"));
|
||||
|
||||
fn syscall(id: u32, param1: u32, param2: u32) -> u32 {
|
||||
let mut value;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue