Implement user schemes. Example in pcid. Currently deadlocks in UserInner
This commit is contained in:
parent
c512d04378
commit
791dbfa7ad
1 changed files with 231 additions and 79 deletions
|
|
@ -3,16 +3,19 @@
|
|||
|
||||
pub use self::arch::*;
|
||||
pub use self::error::*;
|
||||
pub use self::scheme::*;
|
||||
|
||||
#[cfg(target_arch = "x86")]
|
||||
#[path="x86.rs"]
|
||||
pub mod arch;
|
||||
mod arch;
|
||||
|
||||
#[cfg(target_arch = "x86_64")]
|
||||
#[path="x86_64.rs"]
|
||||
pub mod arch;
|
||||
mod arch;
|
||||
|
||||
pub mod error;
|
||||
mod error;
|
||||
|
||||
mod scheme;
|
||||
|
||||
pub const SYS_BRK: usize = 45;
|
||||
pub const SYS_CHDIR: usize = 12;
|
||||
|
|
|
|||
Loading…
Reference in a new issue