Skip to content
Snippets Groups Projects
Unverified Commit 2259b0b1 authored by Isaac Freund's avatar Isaac Freund
Browse files

Add ucontext_t for aarch64-unknown-linux-musl

parent 83b37304
No related branches found
No related tags found
No related merge requests found
......@@ -5,3 +5,21 @@ s_no_extra_traits! {
priv_: [f32; 8]
}
}
s!{
pub struct ucontext_t {
pub uc_flags: ::c_ulong,
pub uc_link: *mut ucontext_t,
pub uc_stack: ::stack_t,
pub uc_sigmask: ::sigset_t,
pub uc_mcontext: mcontext_t,
}
#[repr(align(16))]
pub struct mcontext_t {
// What we want here is a single [u64; 36 + 512], but splitting things
// up allows Debug to be auto-derived.
__regs1: [[u64; 18]; 2], // 36
__regs2: [[u64; 32]; 16], // 512
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment