aienux
Aienux, the AienOS kernel: boot, scheduling, IPC and capability boundaries. Pre-alpha; host, emulator and physical evidence are labelled separately.
Brought by drakestapleton
aienux / vendor / libc / src / new / apple / xnu / machine / _mcontext.rs
| 1 | //! Header: `machine/_mcontext.h` |
| 2 | |
| 3 | cfg_if! { |
| 4 | if #[cfg(any(target_arch = "x86", target_arch = "x86_64"))] { |
| 5 | pub use crate::i386::_mcontext::*; |
| 6 | } else if #[cfg(any(target_arch = "arm", target_arch = "aarch64"))] { |
| 7 | pub use crate::arm::_mcontext::*; |
| 8 | } else { |
| 9 | // Unsupported arch |
| 10 | } |
| 11 | } |