| 1 |
//! Source from XNU <https://github.com/apple-oss-distributions/xnu/tree/main> |
| 2 |
//! |
| 3 |
//! We omit nesting for the `bsd` module since most items of interest are in there. |
| 4 |
|
| 5 |
/// Directory: `arm/` |
| 6 |
/// |
| 7 |
/// https://github.com/apple-oss-distributions/xnu/tree/main/bsd/arm |
| 8 |
#[cfg(any(target_arch = "arm", target_arch = "aarch64"))] |
| 9 |
pub(crate) mod arm { |
| 10 |
pub(crate) mod _mcontext; |
| 11 |
} |
| 12 |
|
| 13 |
/// Directory: `i386/` |
| 14 |
/// |
| 15 |
/// https://github.com/apple-oss-distributions/xnu/tree/main/bsd/i386 |
| 16 |
#[cfg(any(target_arch = "x86", target_arch = "x86_64"))] |
| 17 |
pub(crate) mod i386 { |
| 18 |
pub(crate) mod _mcontext; |
| 19 |
} |
| 20 |
|
| 21 |
pub(crate) mod mach; |
| 22 |
|
| 23 |
/// Directory: `machine/` |
| 24 |
/// |
| 25 |
/// https://github.com/apple-oss-distributions/xnu/tree/main/bsd/machine |
| 26 |
pub(crate) mod machine { |
| 27 |
pub(crate) mod _mcontext; |
| 28 |
} |
| 29 |
|
| 30 |
pub(crate) mod sys; |