summaryrefslogtreecommitdiff
path: root/src/unix/bsd/apple/b64/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/unix/bsd/apple/b64/mod.rs')
-rw-r--r--src/unix/bsd/apple/b64/mod.rs80
1 files changed, 0 insertions, 80 deletions
diff --git a/src/unix/bsd/apple/b64/mod.rs b/src/unix/bsd/apple/b64/mod.rs
index 0596ba5ef0..48d94bcd6b 100644
--- a/src/unix/bsd/apple/b64/mod.rs
+++ b/src/unix/bsd/apple/b64/mod.rs
@@ -2,8 +2,6 @@
pub type c_long = i64;
pub type c_ulong = u64;
-pub type boolean_t = ::c_uint;
-pub type mcontext_t = *mut __darwin_mcontext64;
s! {
pub struct timeval32 {
@@ -49,77 +47,6 @@ s! {
pub bh_datalen: u32,
pub bh_hdrlen: ::c_ushort,
}
-
- pub struct ucontext_t {
- pub uc_onstack: ::c_int,
- pub uc_sigmask: ::sigset_t,
- pub uc_stack: ::stack_t,
- pub uc_link: *mut ::ucontext_t,
- pub uc_mcsize: usize,
- pub uc_mcontext: mcontext_t,
- }
-
- pub struct __darwin_x86_exception_state64 {
- pub __trapno: u16,
- pub __cpu: u16,
- pub __err: u32,
- pub __faultvaddr: u64,
- }
-
- pub struct __darwin_x86_float_state64 {
- pub __fpu_reserved: [::c_int; 2],
- __fpu_fcw: ::c_short,
- __fpu_fsw: ::c_short,
- pub __fpu_ftw: u8,
- pub __fpu_rsrv1: u8,
- pub __fpu_fop: u16,
- pub __fpu_ip: u32,
- pub __fpu_cs: u16,
- pub __fpu_rsrv2: u16,
- pub __fpu_dp: u32,
- pub __fpu_ds: u16,
- pub __fpu_rsrv3: u16,
- pub __fpu_mxcsr: u32,
- pub __fpu_mxcsrmask: u32,
- pub __fpu_stmm0: __darwin_mmst_reg,
- pub __fpu_stmm1: __darwin_mmst_reg,
- pub __fpu_stmm2: __darwin_mmst_reg,
- pub __fpu_stmm3: __darwin_mmst_reg,
- pub __fpu_stmm4: __darwin_mmst_reg,
- pub __fpu_stmm5: __darwin_mmst_reg,
- pub __fpu_stmm6: __darwin_mmst_reg,
- pub __fpu_stmm7: __darwin_mmst_reg,
- pub __fpu_xmm0: __darwin_xmm_reg,
- pub __fpu_xmm1: __darwin_xmm_reg,
- pub __fpu_xmm2: __darwin_xmm_reg,
- pub __fpu_xmm3: __darwin_xmm_reg,
- pub __fpu_xmm4: __darwin_xmm_reg,
- pub __fpu_xmm5: __darwin_xmm_reg,
- pub __fpu_xmm6: __darwin_xmm_reg,
- pub __fpu_xmm7: __darwin_xmm_reg,
- pub __fpu_xmm8: __darwin_xmm_reg,
- pub __fpu_xmm9: __darwin_xmm_reg,
- pub __fpu_xmm10: __darwin_xmm_reg,
- pub __fpu_xmm11: __darwin_xmm_reg,
- pub __fpu_xmm12: __darwin_xmm_reg,
- pub __fpu_xmm13: __darwin_xmm_reg,
- pub __fpu_xmm14: __darwin_xmm_reg,
- pub __fpu_xmm15: __darwin_xmm_reg,
- // this field is actually [u8; 96], but defining it with a bigger type
- // allows us to auto-implement traits for it since the length of the
- // array is less than 32
- __fpu_rsrv4: [u32; 24],
- pub __fpu_reserved1: ::c_int,
- }
-
- pub struct __darwin_mmst_reg {
- pub __mmst_reg: [::c_char; 10],
- pub __mmst_rsrv: [::c_char; 6],
- }
-
- pub struct __darwin_xmm_reg {
- pub __xmm_reg: [::c_char; 16],
- }
}
s_no_extra_traits! {
@@ -185,13 +112,6 @@ extern "C" {
}
cfg_if! {
- if #[cfg(libc_align)] {
- mod align;
- pub use self::align::*;
- }
-}
-
-cfg_if! {
if #[cfg(target_arch = "x86_64")] {
mod x86_64;
pub use self::x86_64::*;