Add multithreading to rust code.
This commit is contained in:
parent
19144f7be9
commit
d5a5041c4b
5 changed files with 76 additions and 6 deletions
|
|
@ -3,10 +3,14 @@
|
|||
#![allow(non_camel_case_types)]
|
||||
#![allow(non_snake_case)]
|
||||
|
||||
extern crate alloc;
|
||||
|
||||
use core::ffi::c_void;
|
||||
|
||||
pub mod mem;
|
||||
#[macro_use]
|
||||
pub mod syscall;
|
||||
pub mod thread;
|
||||
|
||||
// From /zion/include/ztypes.h
|
||||
const Z_INIT_SELF_PROC: u64 = 0x4000_0000;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue