diff options
Diffstat (limited to 'third_party/libc/src/unix/notbsd/linux/musl/b64/x86_64.rs')
-rw-r--r-- | third_party/libc/src/unix/notbsd/linux/musl/b64/x86_64.rs | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/third_party/libc/src/unix/notbsd/linux/musl/b64/x86_64.rs b/third_party/libc/src/unix/notbsd/linux/musl/b64/x86_64.rs new file mode 100644 index 0000000..02324da --- /dev/null +++ b/third_party/libc/src/unix/notbsd/linux/musl/b64/x86_64.rs | |||
@@ -0,0 +1,18 @@ | |||
1 | s! { | ||
2 | pub struct mcontext_t { | ||
3 | __private: [u64; 32], | ||
4 | } | ||
5 | |||
6 | pub struct ucontext_t { | ||
7 | pub uc_flags: ::c_ulong, | ||
8 | pub uc_link: *mut ucontext_t, | ||
9 | pub uc_stack: ::stack_t, | ||
10 | pub uc_mcontext: mcontext_t, | ||
11 | pub uc_sigmask: ::sigset_t, | ||
12 | __private: [u8; 512], | ||
13 | } | ||
14 | } | ||
15 | |||
16 | pub const SYS_gettid: ::c_long = 186; | ||
17 | |||
18 | pub const SYS_perf_event_open: ::c_long = 298; | ||