1 #![feature(asm)]
2 #![feature(const_fn)]
3 #![no_std]
4 
5 pub use self::arch::*;
6 pub use self::call::*;
7 pub use self::data::*;
8 pub use self::error::*;
9 pub use self::flag::*;
10 pub use self::io::*;
11 pub use self::number::*;
12 pub use self::scheme::*;
13 
14 #[cfg(target_arch = "arm")]
15 #[path="arch/arm.rs"]
16 mod arch;
17 
18 #[cfg(target_arch = "aarch64")]
19 #[path="arch/aarch64.rs"]
20 mod arch;
21 
22 #[cfg(target_arch = "x86")]
23 #[path="arch/x86.rs"]
24 mod arch;
25 
26 #[cfg(target_arch = "x86_64")]
27 #[path="arch/x86_64.rs"]
28 mod arch;
29 
30 /// Function definitions
31 pub mod call;
32 
33 /// Complex structures that are used for some system calls
34 pub mod data;
35 
36 /// All errors that can be generated by a system call
37 pub mod error;
38 
39 /// Flags used as an argument to many system calls
40 pub mod flag;
41 
42 /// Functions for low level hardware control
43 pub mod io;
44 
45 /// Call numbers used by each system call
46 pub mod number;
47 
48 /// A trait useful for scheme handlers
49 pub mod scheme;
50