Add multithreading to rust code.

This commit is contained in:
Drew Galbraith 2024-07-28 19:02:03 -07:00
parent 19144f7be9
commit d5a5041c4b
5 changed files with 76 additions and 6 deletions

View file

@ -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;