diff --git a/.github/.cspell/project-dictionary.txt b/.github/.cspell/project-dictionary.txt index 4d3771c4..4abe3590 100644 --- a/.github/.cspell/project-dictionary.txt +++ b/.github/.cspell/project-dictionary.txt @@ -3,9 +3,7 @@ adde aghi alcgr algr -allnoconfig amocas -aosp aqrl armasm armreg @@ -13,7 +11,6 @@ Auxinfo auxv auxvec bitops -bminor callthru casp cbnz @@ -34,15 +31,12 @@ cpsie CPSR cpuid cpus -cputable csel cset csrrci csrsi cxchg cxchgweak -DESTDIR -dlfcn dlsym DWCAS ecall @@ -50,14 +44,12 @@ EINVAL elems ENOENT espup -evbmips exynos fild fistp getauxval getisax getpid -gettext gimli Halfword HWCAP @@ -87,30 +79,23 @@ libatomic's libcalls libelf libfdio -libpthread libstd libtcl libtest -linaro linkall locgr locgre -loongson lqarx lrcpc lwsync -mabi machdep -macppc MAXNAME maxu -mbig mfcr mfence mgba midr minu -mipsn miscompiles mmfr movlps @@ -124,10 +109,7 @@ newrepo newtype nngrk nostartfiles -nostdinc -octeon opensbi -osfmk osxsave phdr picolibc @@ -136,17 +118,12 @@ prctl prefetcher PRIMASK quadword -quic RAII rcpc -reentrancy revidr -richlowe rsbegin rsend -rseq rsil -RTLD sbcs selgr seqlock @@ -164,8 +141,6 @@ sreg srlw sstatus stdarch -stdbool -stddef stilp stlxp stpq @@ -183,13 +158,10 @@ sysctlbyname sysctlnode systemsim tagme -uapi uart umax umin unclonable -unistd -unparse usart uscat uwrite diff --git a/.github/.cspell/rust-dependencies.txt b/.github/.cspell/rust-dependencies.txt index 64be31ed..a1abfb67 100644 --- a/.github/.cspell/rust-dependencies.txt +++ b/.github/.cspell/rust-dependencies.txt @@ -1,10 +1,7 @@ // This file is @generated by tidy.sh. // It is not intended for manual editing. -camino fastrand -globset -prettyplease quickcheck sptr ufmt diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c8e362ec..6605dfe3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -714,24 +714,6 @@ jobs: steps: - uses: taiki-e/checkout-action@v1 - uses: taiki-e/github-actions/install-rust@nightly - - run: | - retry() { - for i in {1..10}; do - if "$@"; then - return 0 - else - sleep "${i}" - fi - done - "$@" - } - retry sudo apt-get -o Acquire::Retries=10 -qq update - retry sudo apt-get -o Acquire::Retries=10 -o Dpkg::Use-Pty=0 install -y --no-install-recommends \ - gcc-aarch64-linux-gnu \ - gcc-powerpc64-linux-gnu \ - gcc-powerpc64le-linux-gnu \ - gcc-riscv64-linux-gnu \ - gettext - run: tools/no_atomic.sh - run: tools/gen.sh - id: diff diff --git a/Cargo.toml b/Cargo.toml index 51d7b17e..aeaa8cbd 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -82,7 +82,7 @@ serde = { version = "1.0.60", optional = true, default-features = false } critical-section = { version = "1", optional = true } [dev-dependencies] -test-helper = { path = "tests/helper", features = ["std", "critical-section"] } +test-helper = { git = "https://github.com/taiki-e/test-helper.git", branch = "main", features = ["std", "sys", "cpuinfo", "critical-section"] } build-context = "0.1" crossbeam-utils = "=0.8.16" # The latest crossbeam-utils requires Rust 1.60 @@ -93,6 +93,15 @@ serde_test = { git = "https://github.com/taiki-e/serde_test.git", branch = "dev" sptr = "0.3" static_assertions = "1" +[target.'cfg(unix)'.dev-dependencies] +libc = "0.2.140" + +[target.'cfg(windows)'.dev-dependencies] +windows-sys = { version = "0.59", features = [ + "Win32_Foundation", + "Win32_System_Threading", +] } + [lints] workspace = true @@ -101,8 +110,6 @@ members = [ "bench", "portable-atomic-util", "tests/api-test", - "tests/helper", - "tools/codegen", ] # This table is shared by projects under github.com/taiki-e. diff --git a/bench/Cargo.toml b/bench/Cargo.toml index dacca67e..6b0ba317 100644 --- a/bench/Cargo.toml +++ b/bench/Cargo.toml @@ -11,7 +11,7 @@ fallback = [] std = [] [dev-dependencies] -test-helper = { path = "../tests/helper", features = ["std"] } +test-helper = { git = "https://github.com/taiki-e/test-helper.git", branch = "main", features = ["std", "sys", "cpuinfo", "critical-section"] } # atomic = "0.6" build-context = "0.1" @@ -22,6 +22,15 @@ paste = "1" quickcheck = { default-features = false, git = "https://github.com/taiki-e/quickcheck.git", branch = "dev" } # https://github.com/BurntSushi/quickcheck/pull/304 + https://github.com/BurntSushi/quickcheck/pull/282 + https://github.com/BurntSushi/quickcheck/pull/296 + lower MSRV static_assertions = "1" +[target.'cfg(unix)'.dev-dependencies] +libc = "0.2.140" + +[target.'cfg(windows)'.dev-dependencies] +windows-sys = { version = "0.59", features = [ + "Win32_Foundation", + "Win32_System_Threading", +] } + [[bench]] name = "bench" harness = false diff --git a/src/imp/detect/aarch64_aa64reg.rs b/src/imp/detect/aarch64_aa64reg.rs index 4cb8d8c0..9d0dc6d5 100644 --- a/src/imp/detect/aarch64_aa64reg.rs +++ b/src/imp/detect/aarch64_aa64reg.rs @@ -513,7 +513,7 @@ mod tests { const _: fn() = || { use imp::ffi; use std::mem; - use test_helper::{libc, sys}; + use test_helper::sys; // libc doesn't have this // static_assert!( // mem::size_of::() @@ -563,7 +563,7 @@ mod tests { )] const _: fn() = || { use imp::ffi; - use test_helper::{libc, sys}; + use test_helper::sys; static_assert!(ffi::CTL_MACHDEP == libc::CTL_MACHDEP); static_assert!(ffi::CTL_MACHDEP == sys::CTL_MACHDEP as ffi::c_int); // static_assert!(ffi::CPU_ID_AA64ISAR0 == libc::CPU_ID_AA64ISAR0); // libc doesn't have this diff --git a/src/imp/detect/aarch64_apple.rs b/src/imp/detect/aarch64_apple.rs index e8787ac4..12bd4213 100644 --- a/src/imp/detect/aarch64_apple.rs +++ b/src/imp/detect/aarch64_apple.rs @@ -129,7 +129,7 @@ mod tests { #[cfg(not(portable_atomic_no_asm))] use std::arch::asm; use std::mem; - use test_helper::{libc, sys}; + use test_helper::sys; // Call syscall using asm instead of libc. // Note that macOS does not guarantee the stability of raw syscall. // (And they actually changed it: https://go-review.googlesource.com/c/go/+/25495) @@ -274,7 +274,7 @@ mod tests { clippy::no_effect_underscore_binding )] const _: fn() = || { - use test_helper::{libc, sys}; + use test_helper::sys; let mut _sysctlbyname: unsafe extern "C" fn( *const ffi::c_char, *mut ffi::c_void, diff --git a/src/imp/detect/aarch64_windows.rs b/src/imp/detect/aarch64_windows.rs index 2fbcf6b1..3396f734 100644 --- a/src/imp/detect/aarch64_windows.rs +++ b/src/imp/detect/aarch64_windows.rs @@ -68,7 +68,6 @@ mod tests { clippy::no_effect_underscore_binding )] const _: fn() = || { - use test_helper::windows_sys; let _: ffi::DWORD = 0 as windows_sys::Win32::System::Threading::PROCESSOR_FEATURE_ID; let _: ffi::BOOL = 0 as windows_sys::Win32::Foundation::BOOL; let mut _is_processor_feature_present: unsafe extern "system" fn(ffi::DWORD) -> ffi::BOOL = diff --git a/src/imp/detect/auxv.rs b/src/imp/detect/auxv.rs index 10b0f4ec..8d2411e4 100644 --- a/src/imp/detect/auxv.rs +++ b/src/imp/detect/auxv.rs @@ -389,7 +389,7 @@ mod tests { #[cfg(not(portable_atomic_no_asm))] use std::arch::asm; use std::{mem, vec}; - use test_helper::{libc, sys}; + use test_helper::sys; // Linux kernel 6.4 has added a way to read auxv without depending on either libc or mrs trap. // https://github.com/torvalds/linux/commit/ddc65971bb677aa9f6a4c21f76d3133e106f88eb @@ -560,7 +560,7 @@ mod tests { #[cfg(not(portable_atomic_no_asm))] use std::arch::asm; use std::{mem, ptr}; - use test_helper::{libc, sys}; + use test_helper::sys; // This is almost equivalent to what elf_aux_info does. // https://man.freebsd.org/elf_aux_info(3) @@ -824,8 +824,6 @@ mod tests { clippy::no_effect_underscore_binding )] const _: fn() = || { - #[cfg(not(target_os = "openbsd"))] - use test_helper::libc; use test_helper::sys; #[cfg(not(any(target_os = "freebsd", target_os = "openbsd")))] type AtType = ffi::c_ulong; diff --git a/src/imp/detect/common.rs b/src/imp/detect/common.rs index 9ff62f85..ebbbf048 100644 --- a/src/imp/detect/common.rs +++ b/src/imp/detect/common.rs @@ -164,7 +164,7 @@ mod c_types { // Static assertions for C type definitions. #[cfg(test)] const _: fn() = || { - use test_helper::{libc, sys}; + use test_helper::sys; let _: c_int = 0 as std::os::raw::c_int; let _: c_uint = 0 as std::os::raw::c_uint; let _: c_long = 0 as std::os::raw::c_long; diff --git a/src/imp/detect/riscv_linux.rs b/src/imp/detect/riscv_linux.rs index 98432a63..679cc55e 100644 --- a/src/imp/detect/riscv_linux.rs +++ b/src/imp/detect/riscv_linux.rs @@ -126,7 +126,6 @@ mod tests { // This test tests that our ones and libc::syscall returns the same result. #[test] fn test_alternative() { - use test_helper::libc; unsafe fn __riscv_hwprobe_libc( pairs: *mut ffi::riscv_hwprobe, pair_count: ffi::c_size_t, @@ -189,7 +188,6 @@ mod tests { ), )))] { - use test_helper::libc; let mut _syscall: unsafe extern "C" fn(num: ffi::c_long, ...) -> ffi::c_long = ffi::syscall; _syscall = libc::syscall; diff --git a/src/imp/riscv.rs b/src/imp/riscv.rs index b866f8d6..cb0e9ffe 100644 --- a/src/imp/riscv.rs +++ b/src/imp/riscv.rs @@ -598,11 +598,12 @@ mod tests { } }; ($atomic_type:ty) => { + use crate::tests::helper; ::quickcheck::quickcheck! { fn quickcheck_swap(x: usize, y: usize) -> bool { let x = sptr::invalid_mut(x); let y = sptr::invalid_mut(y); - for &order in &test_helper::SWAP_ORDERINGS { + for &order in &helper::SWAP_ORDERINGS { let a = <$atomic_type>::new(x); assert_eq!(a.swap(y, order), x); assert_eq!(a.swap(x, order), y); @@ -628,9 +629,10 @@ mod tests { } }; ($atomic_type:ty, $int_type:ident) => { + use crate::tests::helper; ::quickcheck::quickcheck! { fn quickcheck_swap(x: $int_type, y: $int_type) -> bool { - for &order in &test_helper::SWAP_ORDERINGS { + for &order in &helper::SWAP_ORDERINGS { let a = <$atomic_type>::new(x); assert_eq!(a.swap(y, order), x); assert_eq!(a.swap(x, order), y); @@ -638,7 +640,7 @@ mod tests { true } fn quickcheck_fetch_add(x: $int_type, y: $int_type) -> bool { - for &order in &test_helper::SWAP_ORDERINGS { + for &order in &helper::SWAP_ORDERINGS { let a = <$atomic_type>::new(x); assert_eq!(a.fetch_add(y, order), x); assert_eq!(a.load(Ordering::Relaxed), x.wrapping_add(y)); @@ -649,7 +651,7 @@ mod tests { true } fn quickcheck_fetch_sub(x: $int_type, y: $int_type) -> bool { - for &order in &test_helper::SWAP_ORDERINGS { + for &order in &helper::SWAP_ORDERINGS { let a = <$atomic_type>::new(x); assert_eq!(a.fetch_sub(y, order), x); assert_eq!(a.load(Ordering::Relaxed), x.wrapping_sub(y)); @@ -660,7 +662,7 @@ mod tests { true } fn quickcheck_fetch_and(x: $int_type, y: $int_type) -> bool { - for &order in &test_helper::SWAP_ORDERINGS { + for &order in &helper::SWAP_ORDERINGS { let a = <$atomic_type>::new(x); assert_eq!(a.fetch_and(y, order), x); assert_eq!(a.load(Ordering::Relaxed), x & y); @@ -671,7 +673,7 @@ mod tests { true } fn quickcheck_fetch_or(x: $int_type, y: $int_type) -> bool { - for &order in &test_helper::SWAP_ORDERINGS { + for &order in &helper::SWAP_ORDERINGS { let a = <$atomic_type>::new(x); assert_eq!(a.fetch_or(y, order), x); assert_eq!(a.load(Ordering::Relaxed), x | y); @@ -682,7 +684,7 @@ mod tests { true } fn quickcheck_fetch_xor(x: $int_type, y: $int_type) -> bool { - for &order in &test_helper::SWAP_ORDERINGS { + for &order in &helper::SWAP_ORDERINGS { let a = <$atomic_type>::new(x); assert_eq!(a.fetch_xor(y, order), x); assert_eq!(a.load(Ordering::Relaxed), x ^ y); @@ -693,7 +695,7 @@ mod tests { true } fn quickcheck_fetch_max(x: $int_type, y: $int_type) -> bool { - for &order in &test_helper::SWAP_ORDERINGS { + for &order in &helper::SWAP_ORDERINGS { let a = <$atomic_type>::new(x); assert_eq!(a.fetch_max(y, order), x); assert_eq!(a.load(Ordering::Relaxed), core::cmp::max(x, y)); @@ -704,7 +706,7 @@ mod tests { true } fn quickcheck_fetch_min(x: $int_type, y: $int_type) -> bool { - for &order in &test_helper::SWAP_ORDERINGS { + for &order in &helper::SWAP_ORDERINGS { let a = <$atomic_type>::new(x); assert_eq!(a.fetch_min(y, order), x); assert_eq!(a.load(Ordering::Relaxed), core::cmp::min(x, y)); @@ -715,7 +717,7 @@ mod tests { true } fn quickcheck_fetch_not(x: $int_type) -> bool { - for &order in &test_helper::SWAP_ORDERINGS { + for &order in &helper::SWAP_ORDERINGS { let a = <$atomic_type>::new(x); assert_eq!(a.fetch_not(order), x); assert_eq!(a.load(Ordering::Relaxed), !x); @@ -746,10 +748,10 @@ mod tests { } }; ($atomic_type:ty, $int_type:ident) => { - use crate::tests::helper::*; + use crate::tests::helper::{self, *}; ::quickcheck::quickcheck! { fn quickcheck_fetch_and(x: $int_type, y: $int_type) -> bool { - for &order in &test_helper::SWAP_ORDERINGS { + for &order in &helper::SWAP_ORDERINGS { for base in [0, !0] { let mut arr = Align16([ <$atomic_type>::new(base), @@ -789,7 +791,7 @@ mod tests { true } fn quickcheck_fetch_or(x: $int_type, y: $int_type) -> bool { - for &order in &test_helper::SWAP_ORDERINGS { + for &order in &helper::SWAP_ORDERINGS { for base in [0, !0] { let mut arr = Align16([ <$atomic_type>::new(base), @@ -829,7 +831,7 @@ mod tests { true } fn quickcheck_fetch_xor(x: $int_type, y: $int_type) -> bool { - for &order in &test_helper::SWAP_ORDERINGS { + for &order in &helper::SWAP_ORDERINGS { for base in [0, !0] { let mut arr = Align16([ <$atomic_type>::new(base), @@ -869,7 +871,7 @@ mod tests { true } fn quickcheck_fetch_not(x: $int_type) -> bool { - for &order in &test_helper::SWAP_ORDERINGS { + for &order in &helper::SWAP_ORDERINGS { for base in [0, !0] { let mut arr = Align16([ <$atomic_type>::new(base), diff --git a/src/tests/helper.rs b/src/tests/helper.rs index 768e7f93..8f82af74 100644 --- a/src/tests/helper.rs +++ b/src/tests/helper.rs @@ -4,6 +4,8 @@ use core::sync::atomic::Ordering; +use crate::tests::helper; + macro_rules! __test_atomic_common { ($atomic_type:ty, $value_type:ty) => { #[test] @@ -48,7 +50,7 @@ macro_rules! __test_atomic_pub_common { macro_rules! __test_atomic_int_load_store { ($atomic_type:ty, $int_type:ident, single_thread) => { __test_atomic_common!($atomic_type, $int_type); - use crate::tests::helper::*; + use crate::tests::helper::{self, *}; #[test] fn accessor() { let a = <$atomic_type>::new(10); @@ -63,7 +65,7 @@ macro_rules! __test_atomic_int_load_store { #[test] fn static_load_only() { static VAR: $atomic_type = <$atomic_type>::new(10); - for &order in &test_helper::LOAD_ORDERINGS { + for &order in &helper::LOAD_ORDERINGS { assert_eq!(VAR.load(order), 10); } } @@ -73,7 +75,7 @@ macro_rules! __test_atomic_int_load_store { test_load_ordering(|order| VAR.load(order)); test_store_ordering(|order| VAR.store(10, order)); for (&load_order, &store_order) in - test_helper::LOAD_ORDERINGS.iter().zip(&test_helper::STORE_ORDERINGS) + helper::LOAD_ORDERINGS.iter().zip(&helper::STORE_ORDERINGS) { assert_eq!(VAR.load(load_order), 10); VAR.store(5, store_order); @@ -126,7 +128,7 @@ macro_rules! __test_atomic_int_load_store { macro_rules! __test_atomic_float_load_store { ($atomic_type:ty, $float_type:ident, single_thread) => { __test_atomic_common!($atomic_type, $float_type); - use crate::tests::helper::*; + use crate::tests::helper::{self, *}; #[test] fn accessor() { let a = <$atomic_type>::new(10.); @@ -141,7 +143,7 @@ macro_rules! __test_atomic_float_load_store { #[test] fn static_load_only() { static VAR: $atomic_type = <$atomic_type>::new(10.); - for &order in &test_helper::LOAD_ORDERINGS { + for &order in &helper::LOAD_ORDERINGS { assert_eq!(VAR.load(order), 10.); } } @@ -151,7 +153,7 @@ macro_rules! __test_atomic_float_load_store { test_load_ordering(|order| VAR.load(order)); test_store_ordering(|order| VAR.store(10., order)); for (&load_order, &store_order) in - test_helper::LOAD_ORDERINGS.iter().zip(&test_helper::STORE_ORDERINGS) + helper::LOAD_ORDERINGS.iter().zip(&helper::STORE_ORDERINGS) { assert_eq!(VAR.load(load_order), 10.); VAR.store(5., store_order); @@ -172,7 +174,7 @@ macro_rules! __test_atomic_float_load_store { macro_rules! __test_atomic_bool_load_store { ($atomic_type:ty, single_thread) => { __test_atomic_common!($atomic_type, bool); - use crate::tests::helper::*; + use crate::tests::helper::{self, *}; #[test] fn accessor() { let a = <$atomic_type>::new(false); @@ -187,7 +189,7 @@ macro_rules! __test_atomic_bool_load_store { #[test] fn static_load_only() { static VAR: $atomic_type = <$atomic_type>::new(false); - for &order in &test_helper::LOAD_ORDERINGS { + for &order in &helper::LOAD_ORDERINGS { assert_eq!(VAR.load(order), false); } } @@ -197,7 +199,7 @@ macro_rules! __test_atomic_bool_load_store { test_load_ordering(|order| VAR.load(order)); test_store_ordering(|order| VAR.store(false, order)); for (&load_order, &store_order) in - test_helper::LOAD_ORDERINGS.iter().zip(&test_helper::STORE_ORDERINGS) + helper::LOAD_ORDERINGS.iter().zip(&helper::STORE_ORDERINGS) { assert_eq!(VAR.load(load_order), false); VAR.store(true, store_order); @@ -218,7 +220,7 @@ macro_rules! __test_atomic_bool_load_store { macro_rules! __test_atomic_ptr_load_store { ($atomic_type:ty, single_thread) => { __test_atomic_common!($atomic_type, *mut u8); - use crate::tests::helper::*; + use crate::tests::helper::{self, *}; use std::ptr; #[test] fn accessor() { @@ -235,7 +237,7 @@ macro_rules! __test_atomic_ptr_load_store { #[test] fn static_load_only() { static VAR: $atomic_type = <$atomic_type>::new(ptr::null_mut()); - for &order in &test_helper::LOAD_ORDERINGS { + for &order in &helper::LOAD_ORDERINGS { assert_eq!(VAR.load(order), ptr::null_mut()); } } @@ -247,7 +249,7 @@ macro_rules! __test_atomic_ptr_load_store { let mut v = 1_u8; let p = &mut v as *mut u8; for (&load_order, &store_order) in - test_helper::LOAD_ORDERINGS.iter().zip(&test_helper::STORE_ORDERINGS) + helper::LOAD_ORDERINGS.iter().zip(&helper::STORE_ORDERINGS) { assert_eq!(VAR.load(load_order), ptr::null_mut()); VAR.store(p, store_order); @@ -272,7 +274,7 @@ macro_rules! __test_atomic_int { fn swap() { let a = <$atomic_type>::new(5); test_swap_ordering(|order| a.swap(5, order)); - for &order in &test_helper::SWAP_ORDERINGS { + for &order in &helper::SWAP_ORDERINGS { assert_eq!(a.swap(10, order), 5); assert_eq!(a.swap(5, order), 10); } @@ -283,7 +285,7 @@ macro_rules! __test_atomic_int { test_compare_exchange_ordering(|success, failure| { a.compare_exchange(5, 5, success, failure) }); - for &(success, failure) in &test_helper::COMPARE_EXCHANGE_ORDERINGS { + for &(success, failure) in &helper::COMPARE_EXCHANGE_ORDERINGS { let a = <$atomic_type>::new(5); assert_eq!(a.compare_exchange(5, 10, success, failure), Ok(5)); assert_eq!(a.load(Ordering::Relaxed), 10); @@ -297,7 +299,7 @@ macro_rules! __test_atomic_int { test_compare_exchange_ordering(|success, failure| { a.compare_exchange_weak(4, 4, success, failure) }); - for &(success, failure) in &test_helper::COMPARE_EXCHANGE_ORDERINGS { + for &(success, failure) in &helper::COMPARE_EXCHANGE_ORDERINGS { let a = <$atomic_type>::new(4); assert_eq!(a.compare_exchange_weak(6, 8, success, failure), Err(4)); let mut old = a.load(Ordering::Relaxed); @@ -315,7 +317,7 @@ macro_rules! __test_atomic_int { fn fetch_add() { let a = <$atomic_type>::new(0); test_swap_ordering(|order| a.fetch_add(0, order)); - for &order in &test_helper::SWAP_ORDERINGS { + for &order in &helper::SWAP_ORDERINGS { let a = <$atomic_type>::new(0); assert_eq!(a.fetch_add(10, order), 0); assert_eq!(a.load(Ordering::Relaxed), 10); @@ -328,7 +330,7 @@ macro_rules! __test_atomic_int { fn add() { let a = <$atomic_type>::new(0); test_swap_ordering(|order| a.add(0, order)); - for &order in &test_helper::SWAP_ORDERINGS { + for &order in &helper::SWAP_ORDERINGS { let a = <$atomic_type>::new(0); a.add(10, order); assert_eq!(a.load(Ordering::Relaxed), 10); @@ -341,7 +343,7 @@ macro_rules! __test_atomic_int { fn fetch_sub() { let a = <$atomic_type>::new(20); test_swap_ordering(|order| a.fetch_sub(0, order)); - for &order in &test_helper::SWAP_ORDERINGS { + for &order in &helper::SWAP_ORDERINGS { let a = <$atomic_type>::new(20); assert_eq!(a.fetch_sub(10, order), 20); assert_eq!(a.load(Ordering::Relaxed), 10); @@ -354,7 +356,7 @@ macro_rules! __test_atomic_int { fn sub() { let a = <$atomic_type>::new(20); test_swap_ordering(|order| a.sub(0, order)); - for &order in &test_helper::SWAP_ORDERINGS { + for &order in &helper::SWAP_ORDERINGS { let a = <$atomic_type>::new(20); a.sub(10, order); assert_eq!(a.load(Ordering::Relaxed), 10); @@ -367,7 +369,7 @@ macro_rules! __test_atomic_int { fn fetch_and() { let a = <$atomic_type>::new(0b101101); test_swap_ordering(|order| a.fetch_and(0b101101, order)); - for &order in &test_helper::SWAP_ORDERINGS { + for &order in &helper::SWAP_ORDERINGS { let a = <$atomic_type>::new(0b101101); assert_eq!(a.fetch_and(0b110011, order), 0b101101); assert_eq!(a.load(Ordering::Relaxed), 0b100001); @@ -377,7 +379,7 @@ macro_rules! __test_atomic_int { fn and() { let a = <$atomic_type>::new(0b101101); test_swap_ordering(|order| a.and(0b101101, order)); - for &order in &test_helper::SWAP_ORDERINGS { + for &order in &helper::SWAP_ORDERINGS { let a = <$atomic_type>::new(0b101101); a.and(0b110011, order); assert_eq!(a.load(Ordering::Relaxed), 0b100001); @@ -387,7 +389,7 @@ macro_rules! __test_atomic_int { fn fetch_nand() { let a = <$atomic_type>::new(0x13); test_swap_ordering(|order| a.fetch_nand(0x31, order)); - for &order in &test_helper::SWAP_ORDERINGS { + for &order in &helper::SWAP_ORDERINGS { let a = <$atomic_type>::new(0x13); assert_eq!(a.fetch_nand(0x31, order), 0x13); assert_eq!(a.load(Ordering::Relaxed), !(0x13 & 0x31)); @@ -397,7 +399,7 @@ macro_rules! __test_atomic_int { fn fetch_or() { let a = <$atomic_type>::new(0b101101); test_swap_ordering(|order| a.fetch_or(0, order)); - for &order in &test_helper::SWAP_ORDERINGS { + for &order in &helper::SWAP_ORDERINGS { let a = <$atomic_type>::new(0b101101); assert_eq!(a.fetch_or(0b110011, order), 0b101101); assert_eq!(a.load(Ordering::Relaxed), 0b111111); @@ -407,7 +409,7 @@ macro_rules! __test_atomic_int { fn or() { let a = <$atomic_type>::new(0b101101); test_swap_ordering(|order| a.or(0, order)); - for &order in &test_helper::SWAP_ORDERINGS { + for &order in &helper::SWAP_ORDERINGS { let a = <$atomic_type>::new(0b101101); a.or(0b110011, order); assert_eq!(a.load(Ordering::Relaxed), 0b111111); @@ -417,7 +419,7 @@ macro_rules! __test_atomic_int { fn fetch_xor() { let a = <$atomic_type>::new(0b101101); test_swap_ordering(|order| a.fetch_xor(0, order)); - for &order in &test_helper::SWAP_ORDERINGS { + for &order in &helper::SWAP_ORDERINGS { let a = <$atomic_type>::new(0b101101); assert_eq!(a.fetch_xor(0b110011, order), 0b101101); assert_eq!(a.load(Ordering::Relaxed), 0b011110); @@ -427,7 +429,7 @@ macro_rules! __test_atomic_int { fn xor() { let a = <$atomic_type>::new(0b101101); test_swap_ordering(|order| a.xor(0, order)); - for &order in &test_helper::SWAP_ORDERINGS { + for &order in &helper::SWAP_ORDERINGS { let a = <$atomic_type>::new(0b101101); a.xor(0b110011, order); assert_eq!(a.load(Ordering::Relaxed), 0b011110); @@ -437,7 +439,7 @@ macro_rules! __test_atomic_int { fn fetch_max() { let a = <$atomic_type>::new(23); test_swap_ordering(|order| a.fetch_max(23, order)); - for &order in &test_helper::SWAP_ORDERINGS { + for &order in &helper::SWAP_ORDERINGS { let a = <$atomic_type>::new(23); assert_eq!(a.fetch_max(22, order), 23); assert_eq!(a.load(Ordering::Relaxed), 23); @@ -457,7 +459,7 @@ macro_rules! __test_atomic_int { fn fetch_min() { let a = <$atomic_type>::new(23); test_swap_ordering(|order| a.fetch_min(23, order)); - for &order in &test_helper::SWAP_ORDERINGS { + for &order in &helper::SWAP_ORDERINGS { let a = <$atomic_type>::new(23); assert_eq!(a.fetch_min(24, order), 23); assert_eq!(a.load(Ordering::Relaxed), 23); @@ -477,7 +479,7 @@ macro_rules! __test_atomic_int { fn fetch_not() { let a = <$atomic_type>::new(1); test_swap_ordering(|order| a.fetch_not(order)); - for &order in &test_helper::SWAP_ORDERINGS { + for &order in &helper::SWAP_ORDERINGS { let a = <$atomic_type>::new(1); assert_eq!(a.fetch_not(order), 1); assert_eq!(a.load(Ordering::Relaxed), !1); @@ -487,7 +489,7 @@ macro_rules! __test_atomic_int { fn not() { let a = <$atomic_type>::new(1); test_swap_ordering(|order| a.not(order)); - for &order in &test_helper::SWAP_ORDERINGS { + for &order in &helper::SWAP_ORDERINGS { let a = <$atomic_type>::new(1); a.not(order); assert_eq!(a.load(Ordering::Relaxed), !1); @@ -497,7 +499,7 @@ macro_rules! __test_atomic_int { fn fetch_neg() { let a = <$atomic_type>::new(5); test_swap_ordering(|order| a.fetch_neg(order)); - for &order in &test_helper::SWAP_ORDERINGS { + for &order in &helper::SWAP_ORDERINGS { let a = <$atomic_type>::new(5); assert_eq!(a.fetch_neg(order), 5); assert_eq!(a.load(Ordering::Relaxed), <$int_type>::wrapping_neg(5)); @@ -514,7 +516,7 @@ macro_rules! __test_atomic_int { fn neg() { let a = <$atomic_type>::new(5); test_swap_ordering(|order| a.neg(order)); - for &order in &test_helper::SWAP_ORDERINGS { + for &order in &helper::SWAP_ORDERINGS { let a = <$atomic_type>::new(5); a.neg(order); assert_eq!(a.load(Ordering::Relaxed), <$int_type>::wrapping_neg(5)); @@ -531,7 +533,7 @@ macro_rules! __test_atomic_int { fn bit_set() { let a = <$atomic_type>::new(0b0001); test_swap_ordering(|order| assert!(a.bit_set(0, order))); - for &order in &test_helper::SWAP_ORDERINGS { + for &order in &helper::SWAP_ORDERINGS { let a = <$atomic_type>::new(0b0000); assert!(!a.bit_set(0, order)); assert_eq!(a.load(Ordering::Relaxed), 0b0001); @@ -543,7 +545,7 @@ macro_rules! __test_atomic_int { fn bit_clear() { let a = <$atomic_type>::new(0b0000); test_swap_ordering(|order| assert!(!a.bit_clear(0, order))); - for &order in &test_helper::SWAP_ORDERINGS { + for &order in &helper::SWAP_ORDERINGS { let a = <$atomic_type>::new(0b0001); assert!(a.bit_clear(0, order)); assert_eq!(a.load(Ordering::Relaxed), 0b0000); @@ -555,7 +557,7 @@ macro_rules! __test_atomic_int { fn bit_toggle() { let a = <$atomic_type>::new(0b0000); test_swap_ordering(|order| a.bit_toggle(0, order)); - for &order in &test_helper::SWAP_ORDERINGS { + for &order in &helper::SWAP_ORDERINGS { let a = <$atomic_type>::new(0b0000); assert!(!a.bit_toggle(0, order)); assert_eq!(a.load(Ordering::Relaxed), 0b0001); @@ -565,7 +567,7 @@ macro_rules! __test_atomic_int { } ::quickcheck::quickcheck! { fn quickcheck_swap(x: $int_type, y: $int_type) -> bool { - for &order in &test_helper::SWAP_ORDERINGS { + for &order in &helper::SWAP_ORDERINGS { let a = <$atomic_type>::new(x); assert_eq!(a.swap(y, order), x); assert_eq!(a.swap(x, order), y); @@ -591,7 +593,7 @@ macro_rules! __test_atomic_int { break z; } }; - for &(success, failure) in &test_helper::COMPARE_EXCHANGE_ORDERINGS { + for &(success, failure) in &helper::COMPARE_EXCHANGE_ORDERINGS { let a = <$atomic_type>::new(x); assert_eq!(a.compare_exchange(x, y, success, failure).unwrap(), x); assert_eq!(a.load(Ordering::Relaxed), y); @@ -601,7 +603,7 @@ macro_rules! __test_atomic_int { true } fn quickcheck_fetch_add(x: $int_type, y: $int_type) -> bool { - for &order in &test_helper::SWAP_ORDERINGS { + for &order in &helper::SWAP_ORDERINGS { let a = <$atomic_type>::new(x); assert_eq!(a.fetch_add(y, order), x); assert_eq!(a.load(Ordering::Relaxed), x.wrapping_add(y)); @@ -612,7 +614,7 @@ macro_rules! __test_atomic_int { true } fn quickcheck_add(x: $int_type, y: $int_type) -> bool { - for &order in &test_helper::SWAP_ORDERINGS { + for &order in &helper::SWAP_ORDERINGS { let a = <$atomic_type>::new(x); a.add(y, order); assert_eq!(a.load(Ordering::Relaxed), x.wrapping_add(y)); @@ -623,7 +625,7 @@ macro_rules! __test_atomic_int { true } fn quickcheck_fetch_sub(x: $int_type, y: $int_type) -> bool { - for &order in &test_helper::SWAP_ORDERINGS { + for &order in &helper::SWAP_ORDERINGS { let a = <$atomic_type>::new(x); assert_eq!(a.fetch_sub(y, order), x); assert_eq!(a.load(Ordering::Relaxed), x.wrapping_sub(y)); @@ -634,7 +636,7 @@ macro_rules! __test_atomic_int { true } fn quickcheck_sub(x: $int_type, y: $int_type) -> bool { - for &order in &test_helper::SWAP_ORDERINGS { + for &order in &helper::SWAP_ORDERINGS { let a = <$atomic_type>::new(x); a.sub(y, order); assert_eq!(a.load(Ordering::Relaxed), x.wrapping_sub(y)); @@ -645,7 +647,7 @@ macro_rules! __test_atomic_int { true } fn quickcheck_fetch_and(x: $int_type, y: $int_type) -> bool { - for &order in &test_helper::SWAP_ORDERINGS { + for &order in &helper::SWAP_ORDERINGS { let a = <$atomic_type>::new(x); assert_eq!(a.fetch_and(y, order), x); assert_eq!(a.load(Ordering::Relaxed), x & y); @@ -656,7 +658,7 @@ macro_rules! __test_atomic_int { true } fn quickcheck_and(x: $int_type, y: $int_type) -> bool { - for &order in &test_helper::SWAP_ORDERINGS { + for &order in &helper::SWAP_ORDERINGS { let a = <$atomic_type>::new(x); a.and(y, order); assert_eq!(a.load(Ordering::Relaxed), x & y); @@ -667,7 +669,7 @@ macro_rules! __test_atomic_int { true } fn quickcheck_fetch_nand(x: $int_type, y: $int_type) -> bool { - for &order in &test_helper::SWAP_ORDERINGS { + for &order in &helper::SWAP_ORDERINGS { let a = <$atomic_type>::new(x); assert_eq!(a.fetch_nand(y, order), x); assert_eq!(a.load(Ordering::Relaxed), !(x & y)); @@ -678,7 +680,7 @@ macro_rules! __test_atomic_int { true } fn quickcheck_fetch_or(x: $int_type, y: $int_type) -> bool { - for &order in &test_helper::SWAP_ORDERINGS { + for &order in &helper::SWAP_ORDERINGS { let a = <$atomic_type>::new(x); assert_eq!(a.fetch_or(y, order), x); assert_eq!(a.load(Ordering::Relaxed), x | y); @@ -689,7 +691,7 @@ macro_rules! __test_atomic_int { true } fn quickcheck_or(x: $int_type, y: $int_type) -> bool { - for &order in &test_helper::SWAP_ORDERINGS { + for &order in &helper::SWAP_ORDERINGS { let a = <$atomic_type>::new(x); a.or(y, order); assert_eq!(a.load(Ordering::Relaxed), x | y); @@ -700,7 +702,7 @@ macro_rules! __test_atomic_int { true } fn quickcheck_fetch_xor(x: $int_type, y: $int_type) -> bool { - for &order in &test_helper::SWAP_ORDERINGS { + for &order in &helper::SWAP_ORDERINGS { let a = <$atomic_type>::new(x); assert_eq!(a.fetch_xor(y, order), x); assert_eq!(a.load(Ordering::Relaxed), x ^ y); @@ -711,7 +713,7 @@ macro_rules! __test_atomic_int { true } fn quickcheck_xor(x: $int_type, y: $int_type) -> bool { - for &order in &test_helper::SWAP_ORDERINGS { + for &order in &helper::SWAP_ORDERINGS { let a = <$atomic_type>::new(x); a.xor(y, order); assert_eq!(a.load(Ordering::Relaxed), x ^ y); @@ -722,7 +724,7 @@ macro_rules! __test_atomic_int { true } fn quickcheck_fetch_max(x: $int_type, y: $int_type) -> bool { - for &order in &test_helper::SWAP_ORDERINGS { + for &order in &helper::SWAP_ORDERINGS { let a = <$atomic_type>::new(x); assert_eq!(a.fetch_max(y, order), x); assert_eq!(a.load(Ordering::Relaxed), core::cmp::max(x, y)); @@ -733,7 +735,7 @@ macro_rules! __test_atomic_int { true } fn quickcheck_fetch_min(x: $int_type, y: $int_type) -> bool { - for &order in &test_helper::SWAP_ORDERINGS { + for &order in &helper::SWAP_ORDERINGS { let a = <$atomic_type>::new(x); assert_eq!(a.fetch_min(y, order), x); assert_eq!(a.load(Ordering::Relaxed), core::cmp::min(x, y)); @@ -744,7 +746,7 @@ macro_rules! __test_atomic_int { true } fn quickcheck_fetch_not(x: $int_type) -> bool { - for &order in &test_helper::SWAP_ORDERINGS { + for &order in &helper::SWAP_ORDERINGS { let a = <$atomic_type>::new(x); assert_eq!(a.fetch_not(order), x); assert_eq!(a.load(Ordering::Relaxed), !x); @@ -754,7 +756,7 @@ macro_rules! __test_atomic_int { true } fn quickcheck_not(x: $int_type) -> bool { - for &order in &test_helper::SWAP_ORDERINGS { + for &order in &helper::SWAP_ORDERINGS { let a = <$atomic_type>::new(x); a.not(order); assert_eq!(a.load(Ordering::Relaxed), !x); @@ -764,7 +766,7 @@ macro_rules! __test_atomic_int { true } fn quickcheck_fetch_neg(x: $int_type) -> bool { - for &order in &test_helper::SWAP_ORDERINGS { + for &order in &helper::SWAP_ORDERINGS { let a = <$atomic_type>::new(x); assert_eq!(a.fetch_neg(order), x); assert_eq!(a.load(Ordering::Relaxed), x.wrapping_neg()); @@ -774,7 +776,7 @@ macro_rules! __test_atomic_int { true } fn quickcheck_neg(x: $int_type) -> bool { - for &order in &test_helper::SWAP_ORDERINGS { + for &order in &helper::SWAP_ORDERINGS { let a = <$atomic_type>::new(x); a.neg(order); assert_eq!(a.load(Ordering::Relaxed), x.wrapping_neg()); @@ -784,7 +786,7 @@ macro_rules! __test_atomic_int { true } fn quickcheck_bit_set(x: $int_type, bit: u32) -> bool { - for &order in &test_helper::SWAP_ORDERINGS { + for &order in &helper::SWAP_ORDERINGS { let a = <$atomic_type>::new(x); let b = a.bit_set(bit, order); let mask = <$int_type>::wrapping_shl(1, bit); @@ -794,7 +796,7 @@ macro_rules! __test_atomic_int { true } fn quickcheck_bit_clear(x: $int_type, bit: u32) -> bool { - for &order in &test_helper::SWAP_ORDERINGS { + for &order in &helper::SWAP_ORDERINGS { let a = <$atomic_type>::new(x); let b = a.bit_clear(bit, order); let mask = <$int_type>::wrapping_shl(1, bit); @@ -804,7 +806,7 @@ macro_rules! __test_atomic_int { true } fn quickcheck_bit_toggle(x: $int_type, bit: u32) -> bool { - for &order in &test_helper::SWAP_ORDERINGS { + for &order in &helper::SWAP_ORDERINGS { let a = <$atomic_type>::new(x); let b = a.bit_toggle(bit, order); let mask = <$int_type>::wrapping_shl(1, bit); @@ -941,7 +943,7 @@ macro_rules! __test_atomic_float { fn swap() { let a = <$atomic_type>::new(5.); test_swap_ordering(|order| a.swap(5., order)); - for &order in &test_helper::SWAP_ORDERINGS { + for &order in &helper::SWAP_ORDERINGS { assert_eq!(a.swap(10., order), 5.); assert_eq!(a.swap(5., order), 10.); } @@ -952,7 +954,7 @@ macro_rules! __test_atomic_float { test_compare_exchange_ordering(|success, failure| { a.compare_exchange(5., 5., success, failure) }); - for &(success, failure) in &test_helper::COMPARE_EXCHANGE_ORDERINGS { + for &(success, failure) in &helper::COMPARE_EXCHANGE_ORDERINGS { let a = <$atomic_type>::new(5.); assert_eq!(a.compare_exchange(5., 10., success, failure), Ok(5.)); assert_eq!(a.load(Ordering::Relaxed), 10.); @@ -966,7 +968,7 @@ macro_rules! __test_atomic_float { test_compare_exchange_ordering(|success, failure| { a.compare_exchange_weak(4., 4., success, failure) }); - for &(success, failure) in &test_helper::COMPARE_EXCHANGE_ORDERINGS { + for &(success, failure) in &helper::COMPARE_EXCHANGE_ORDERINGS { let a = <$atomic_type>::new(4.); assert_eq!(a.compare_exchange_weak(6., 8., success, failure), Err(4.)); let mut old = a.load(Ordering::Relaxed); @@ -984,7 +986,7 @@ macro_rules! __test_atomic_float { fn fetch_add() { let a = <$atomic_type>::new(0.); test_swap_ordering(|order| a.fetch_add(0., order)); - for &order in &test_helper::SWAP_ORDERINGS { + for &order in &helper::SWAP_ORDERINGS { let a = <$atomic_type>::new(0.); assert_eq!(a.fetch_add(10., order), 0.); assert_eq!(a.load(Ordering::Relaxed), 10.); @@ -997,7 +999,7 @@ macro_rules! __test_atomic_float { fn fetch_sub() { let a = <$atomic_type>::new(20.); test_swap_ordering(|order| a.fetch_sub(0., order)); - for &order in &test_helper::SWAP_ORDERINGS { + for &order in &helper::SWAP_ORDERINGS { let a = <$atomic_type>::new(20.); assert_eq!(a.fetch_sub(10., order), 20.); assert_eq!(a.load(Ordering::Relaxed), 10.); @@ -1010,7 +1012,7 @@ macro_rules! __test_atomic_float { fn fetch_max() { let a = <$atomic_type>::new(23.); test_swap_ordering(|order| a.fetch_max(23., order)); - for &order in &test_helper::SWAP_ORDERINGS { + for &order in &helper::SWAP_ORDERINGS { let a = <$atomic_type>::new(23.); assert_eq!(a.fetch_max(22., order), 23.); assert_eq!(a.load(Ordering::Relaxed), 23.); @@ -1022,7 +1024,7 @@ macro_rules! __test_atomic_float { fn fetch_min() { let a = <$atomic_type>::new(23.); test_swap_ordering(|order| a.fetch_min(23., order)); - for &order in &test_helper::SWAP_ORDERINGS { + for &order in &helper::SWAP_ORDERINGS { let a = <$atomic_type>::new(23.); assert_eq!(a.fetch_min(24., order), 23.); assert_eq!(a.load(Ordering::Relaxed), 23.); @@ -1034,7 +1036,7 @@ macro_rules! __test_atomic_float { fn fetch_neg() { let a = <$atomic_type>::new(5.); test_swap_ordering(|order| a.fetch_neg(order)); - for &order in &test_helper::SWAP_ORDERINGS { + for &order in &helper::SWAP_ORDERINGS { let a = <$atomic_type>::new(5.); assert_eq!(a.fetch_neg(order), 5.); assert_eq!(a.load(Ordering::Relaxed), -5.); @@ -1046,7 +1048,7 @@ macro_rules! __test_atomic_float { fn fetch_abs() { let a = <$atomic_type>::new(23.); test_swap_ordering(|order| a.fetch_abs(order)); - for &order in &test_helper::SWAP_ORDERINGS { + for &order in &helper::SWAP_ORDERINGS { let a = <$atomic_type>::new(-23.); assert_eq!(a.fetch_abs(order), -23.); assert_eq!(a.load(Ordering::Relaxed), 23.); @@ -1056,7 +1058,7 @@ macro_rules! __test_atomic_float { } ::quickcheck::quickcheck! { fn quickcheck_swap(x: $float_type, y: $float_type) -> bool { - for &order in &test_helper::SWAP_ORDERINGS { + for &order in &helper::SWAP_ORDERINGS { let a = <$atomic_type>::new(x); assert_float_op_eq!(a.swap(y, order), x); assert_float_op_eq!(a.swap(x, order), y); @@ -1070,7 +1072,7 @@ macro_rules! __test_atomic_float { break z; } }; - for &(success, failure) in &test_helper::COMPARE_EXCHANGE_ORDERINGS { + for &(success, failure) in &helper::COMPARE_EXCHANGE_ORDERINGS { let a = <$atomic_type>::new(x); assert_float_op_eq!(a.compare_exchange(x, y, success, failure).unwrap(), x); assert_float_op_eq!(a.load(Ordering::Relaxed), y); @@ -1089,7 +1091,7 @@ macro_rules! __test_atomic_float { // https://github.com/rust-lang/rust/issues/73288 return true; } - for &order in &test_helper::SWAP_ORDERINGS { + for &order in &helper::SWAP_ORDERINGS { let a = <$atomic_type>::new(x); assert_float_op_eq!(a.fetch_add(y, order), x); assert_float_op_eq!(a.load(Ordering::Relaxed), x + y); @@ -1106,7 +1108,7 @@ macro_rules! __test_atomic_float { // https://github.com/rust-lang/rust/issues/73288 return true; } - for &order in &test_helper::SWAP_ORDERINGS { + for &order in &helper::SWAP_ORDERINGS { let a = <$atomic_type>::new(x); assert_float_op_eq!(a.fetch_sub(y, order), x); assert_float_op_eq!(a.load(Ordering::Relaxed), x - y); @@ -1117,7 +1119,7 @@ macro_rules! __test_atomic_float { true } fn quickcheck_fetch_max(x: $float_type, y: $float_type) -> bool { - for &order in &test_helper::SWAP_ORDERINGS { + for &order in &helper::SWAP_ORDERINGS { let a = <$atomic_type>::new(x); assert_float_op_eq!(a.fetch_max(y, order), x); assert_float_op_eq!(a.load(Ordering::Relaxed), x.max(y)); @@ -1128,7 +1130,7 @@ macro_rules! __test_atomic_float { true } fn quickcheck_fetch_min(x: $float_type, y: $float_type) -> bool { - for &order in &test_helper::SWAP_ORDERINGS { + for &order in &helper::SWAP_ORDERINGS { let a = <$atomic_type>::new(x); assert_float_op_eq!(a.fetch_min(y, order), x); assert_float_op_eq!(a.load(Ordering::Relaxed), x.min(y)); @@ -1139,7 +1141,7 @@ macro_rules! __test_atomic_float { true } fn quickcheck_fetch_neg(x: $float_type) -> bool { - for &order in &test_helper::SWAP_ORDERINGS { + for &order in &helper::SWAP_ORDERINGS { let a = <$atomic_type>::new(x); assert_float_op_eq!(a.fetch_neg(order), x); assert_float_op_eq!(a.load(Ordering::Relaxed), -x); @@ -1149,7 +1151,7 @@ macro_rules! __test_atomic_float { true } fn quickcheck_fetch_abs(x: $float_type) -> bool { - for &order in &test_helper::SWAP_ORDERINGS { + for &order in &helper::SWAP_ORDERINGS { let a = <$atomic_type>::new(x); assert_float_op_eq!(a.fetch_abs(order), x); assert_float_op_eq!(a.fetch_abs(order), x.abs()); @@ -1170,7 +1172,7 @@ macro_rules! __test_atomic_bool { fn swap() { let a = <$atomic_type>::new(true); test_swap_ordering(|order| a.swap(true, order)); - for &order in &test_helper::SWAP_ORDERINGS { + for &order in &helper::SWAP_ORDERINGS { assert_eq!(a.swap(true, order), true); assert_eq!(a.swap(false, order), true); assert_eq!(a.swap(false, order), false); @@ -1183,7 +1185,7 @@ macro_rules! __test_atomic_bool { test_compare_exchange_ordering(|success, failure| { a.compare_exchange(true, true, success, failure) }); - for &(success, failure) in &test_helper::COMPARE_EXCHANGE_ORDERINGS { + for &(success, failure) in &helper::COMPARE_EXCHANGE_ORDERINGS { let a = <$atomic_type>::new(true); assert_eq!(a.compare_exchange(true, false, success, failure), Ok(true)); assert_eq!(a.load(Ordering::Relaxed), false); @@ -1197,7 +1199,7 @@ macro_rules! __test_atomic_bool { test_compare_exchange_ordering(|success, failure| { a.compare_exchange_weak(false, false, success, failure) }); - for &(success, failure) in &test_helper::COMPARE_EXCHANGE_ORDERINGS { + for &(success, failure) in &helper::COMPARE_EXCHANGE_ORDERINGS { let a = <$atomic_type>::new(false); assert_eq!(a.compare_exchange_weak(true, true, success, failure), Err(false)); let mut old = a.load(Ordering::Relaxed); @@ -1215,7 +1217,7 @@ macro_rules! __test_atomic_bool { fn fetch_and() { let a = <$atomic_type>::new(true); test_swap_ordering(|order| assert_eq!(a.fetch_and(true, order), true)); - for &order in &test_helper::SWAP_ORDERINGS { + for &order in &helper::SWAP_ORDERINGS { let a = <$atomic_type>::new(true); assert_eq!(a.fetch_and(false, order), true); assert_eq!(a.load(Ordering::Relaxed), false); @@ -1234,7 +1236,7 @@ macro_rules! __test_atomic_bool { fn and() { let a = <$atomic_type>::new(true); test_swap_ordering(|order| a.and(true, order)); - for &order in &test_helper::SWAP_ORDERINGS { + for &order in &helper::SWAP_ORDERINGS { let a = <$atomic_type>::new(true); a.and(false, order); assert_eq!(a.load(Ordering::Relaxed), false); @@ -1253,7 +1255,7 @@ macro_rules! __test_atomic_bool { fn fetch_or() { let a = <$atomic_type>::new(true); test_swap_ordering(|order| assert_eq!(a.fetch_or(false, order), true)); - for &order in &test_helper::SWAP_ORDERINGS { + for &order in &helper::SWAP_ORDERINGS { let a = <$atomic_type>::new(true); assert_eq!(a.fetch_or(false, order), true); assert_eq!(a.load(Ordering::Relaxed), true); @@ -1272,7 +1274,7 @@ macro_rules! __test_atomic_bool { fn or() { let a = <$atomic_type>::new(true); test_swap_ordering(|order| a.or(false, order)); - for &order in &test_helper::SWAP_ORDERINGS { + for &order in &helper::SWAP_ORDERINGS { let a = <$atomic_type>::new(true); a.or(false, order); assert_eq!(a.load(Ordering::Relaxed), true); @@ -1291,7 +1293,7 @@ macro_rules! __test_atomic_bool { fn fetch_xor() { let a = <$atomic_type>::new(true); test_swap_ordering(|order| assert_eq!(a.fetch_xor(false, order), true)); - for &order in &test_helper::SWAP_ORDERINGS { + for &order in &helper::SWAP_ORDERINGS { let a = <$atomic_type>::new(true); assert_eq!(a.fetch_xor(false, order), true); assert_eq!(a.load(Ordering::Relaxed), true); @@ -1310,7 +1312,7 @@ macro_rules! __test_atomic_bool { fn xor() { let a = <$atomic_type>::new(true); test_swap_ordering(|order| a.xor(false, order)); - for &order in &test_helper::SWAP_ORDERINGS { + for &order in &helper::SWAP_ORDERINGS { let a = <$atomic_type>::new(true); a.xor(false, order); assert_eq!(a.load(Ordering::Relaxed), true); @@ -1328,7 +1330,7 @@ macro_rules! __test_atomic_bool { ::quickcheck::quickcheck! { fn quickcheck_compare_exchange(x: bool, y: bool) -> bool { let z = !y; - for &(success, failure) in &test_helper::COMPARE_EXCHANGE_ORDERINGS { + for &(success, failure) in &helper::COMPARE_EXCHANGE_ORDERINGS { let a = <$atomic_type>::new(x); assert_eq!(a.compare_exchange(x, y, success, failure).unwrap(), x); assert_eq!(a.load(Ordering::Relaxed), y); @@ -1351,7 +1353,7 @@ macro_rules! __test_atomic_ptr { let a = <$atomic_type>::new(ptr::null_mut()); test_swap_ordering(|order| a.swap(ptr::null_mut(), order)); let x = &mut 1; - for &order in &test_helper::SWAP_ORDERINGS { + for &order in &helper::SWAP_ORDERINGS { assert_eq!(a.swap(x, order), ptr::null_mut()); assert_eq!(a.swap(ptr::null_mut(), order), x as *mut _); } @@ -1362,7 +1364,7 @@ macro_rules! __test_atomic_ptr { test_compare_exchange_ordering(|success, failure| { a.compare_exchange(ptr::null_mut(), ptr::null_mut(), success, failure) }); - for &(success, failure) in &test_helper::COMPARE_EXCHANGE_ORDERINGS { + for &(success, failure) in &helper::COMPARE_EXCHANGE_ORDERINGS { let a = <$atomic_type>::new(ptr::null_mut()); let x = &mut 1; assert_eq!( @@ -1383,7 +1385,7 @@ macro_rules! __test_atomic_ptr { test_compare_exchange_ordering(|success, failure| { a.compare_exchange_weak(ptr::null_mut(), ptr::null_mut(), success, failure) }); - for &(success, failure) in &test_helper::COMPARE_EXCHANGE_ORDERINGS { + for &(success, failure) in &helper::COMPARE_EXCHANGE_ORDERINGS { let a = <$atomic_type>::new(ptr::null_mut()); let x = &mut 1; assert_eq!(a.compare_exchange_weak(x, x, success, failure), Err(ptr::null_mut())); @@ -1401,7 +1403,7 @@ macro_rules! __test_atomic_ptr { fn quickcheck_swap(x: usize, y: usize) -> bool { let x = sptr::invalid_mut(x); let y = sptr::invalid_mut(y); - for &order in &test_helper::SWAP_ORDERINGS { + for &order in &helper::SWAP_ORDERINGS { let a = <$atomic_type>::new(x); assert_eq!(a.swap(y, order), x); assert_eq!(a.swap(x, order), y); @@ -1418,7 +1420,7 @@ macro_rules! __test_atomic_ptr { let x = sptr::invalid_mut(x); let y = sptr::invalid_mut(y); let z = sptr::invalid_mut(z); - for &(success, failure) in &test_helper::COMPARE_EXCHANGE_ORDERINGS { + for &(success, failure) in &helper::COMPARE_EXCHANGE_ORDERINGS { let a = <$atomic_type>::new(x); assert_eq!(a.compare_exchange(x, y, success, failure).unwrap(), x); assert_eq!(a.load(Ordering::Relaxed), y); @@ -1443,7 +1445,7 @@ macro_rules! __test_atomic_int_pub { fn fetch_update() { let a = <$atomic_type>::new(7); test_compare_exchange_ordering(|set, fetch| a.fetch_update(set, fetch, |x| Some(x))); - for &(success, failure) in &test_helper::COMPARE_EXCHANGE_ORDERINGS { + for &(success, failure) in &helper::COMPARE_EXCHANGE_ORDERINGS { let a = <$atomic_type>::new(7); assert_eq!(a.fetch_update(success, failure, |_| None), Err(7)); assert_eq!(a.fetch_update(success, failure, |x| Some(x + 1)), Ok(7)); @@ -1498,7 +1500,7 @@ macro_rules! __test_atomic_int_pub { break z; } }; - for &(success, failure) in &test_helper::COMPARE_EXCHANGE_ORDERINGS { + for &(success, failure) in &helper::COMPARE_EXCHANGE_ORDERINGS { let a = <$atomic_type>::new(x); assert_eq!( a.fetch_update(success, failure, |_| Some(y)) @@ -1531,7 +1533,7 @@ macro_rules! __test_atomic_float_pub { fn fetch_update() { let a = <$atomic_type>::new(7.); test_compare_exchange_ordering(|set, fetch| a.fetch_update(set, fetch, |x| Some(x))); - for &(success, failure) in &test_helper::COMPARE_EXCHANGE_ORDERINGS { + for &(success, failure) in &helper::COMPARE_EXCHANGE_ORDERINGS { let a = <$atomic_type>::new(7.); assert_eq!(a.fetch_update(success, failure, |_| None), Err(7.)); assert_eq!(a.fetch_update(success, failure, |x| Some(x + 1.)), Ok(7.)); @@ -1588,7 +1590,7 @@ macro_rules! __test_atomic_bool_pub { fn fetch_nand() { let a = <$atomic_type>::new(true); test_swap_ordering(|order| assert_eq!(a.fetch_nand(false, order), true)); - for &order in &test_helper::SWAP_ORDERINGS { + for &order in &helper::SWAP_ORDERINGS { let a = <$atomic_type>::new(true); assert_eq!(a.fetch_nand(false, order), true); assert_eq!(a.load(Ordering::Relaxed), true); @@ -1608,7 +1610,7 @@ macro_rules! __test_atomic_bool_pub { fn fetch_not() { let a = <$atomic_type>::new(true); test_swap_ordering(|order| a.fetch_not(order)); - for &order in &test_helper::SWAP_ORDERINGS { + for &order in &helper::SWAP_ORDERINGS { let a = <$atomic_type>::new(true); assert_eq!(a.fetch_not(order), true); assert_eq!(a.load(Ordering::Relaxed), false); @@ -1621,7 +1623,7 @@ macro_rules! __test_atomic_bool_pub { fn not() { let a = <$atomic_type>::new(true); test_swap_ordering(|order| a.fetch_not(order)); - for &order in &test_helper::SWAP_ORDERINGS { + for &order in &helper::SWAP_ORDERINGS { let a = <$atomic_type>::new(true); a.not(order); assert_eq!(a.load(Ordering::Relaxed), false); @@ -1634,7 +1636,7 @@ macro_rules! __test_atomic_bool_pub { fn fetch_update() { let a = <$atomic_type>::new(false); test_compare_exchange_ordering(|set, fetch| a.fetch_update(set, fetch, |x| Some(x))); - for &(success, failure) in &test_helper::COMPARE_EXCHANGE_ORDERINGS { + for &(success, failure) in &helper::COMPARE_EXCHANGE_ORDERINGS { let a = <$atomic_type>::new(false); assert_eq!(a.fetch_update(success, failure, |_| None), Err(false)); assert_eq!(a.fetch_update(success, failure, |x| Some(!x)), Ok(false)); @@ -1692,7 +1694,7 @@ macro_rules! __test_atomic_ptr_pub { fn fetch_update() { let a = <$atomic_type>::new(ptr::null_mut()); test_compare_exchange_ordering(|set, fetch| a.fetch_update(set, fetch, |x| Some(x))); - for &(success, failure) in &test_helper::COMPARE_EXCHANGE_ORDERINGS { + for &(success, failure) in &helper::COMPARE_EXCHANGE_ORDERINGS { let a = <$atomic_type>::new(ptr::null_mut()); assert_eq!(a.fetch_update(success, failure, |_| None), Err(ptr::null_mut())); assert_eq!( @@ -1828,7 +1830,7 @@ macro_rules! __test_atomic_ptr_pub { fn bit_set() { let a = <$atomic_type>::new(ptr::null_mut::().cast::().map_addr(|a| a | 1)); test_swap_ordering(|order| assert!(a.bit_set(0, order))); - for &order in &test_helper::SWAP_ORDERINGS { + for &order in &helper::SWAP_ORDERINGS { let pointer = &mut 1u64 as *mut u64 as *mut u8; let atom = <$atomic_type>::new(pointer); // Tag the bottom bit of the pointer. @@ -1843,7 +1845,7 @@ macro_rules! __test_atomic_ptr_pub { fn bit_clear() { let a = <$atomic_type>::new(ptr::null_mut::().cast::()); test_swap_ordering(|order| assert!(!a.bit_clear(0, order))); - for &order in &test_helper::SWAP_ORDERINGS { + for &order in &helper::SWAP_ORDERINGS { let pointer = &mut 1u64 as *mut u64 as *mut u8; // A tagged pointer let atom = <$atomic_type>::new(pointer.map_addr(|a| a | 1)); @@ -1856,7 +1858,7 @@ macro_rules! __test_atomic_ptr_pub { fn bit_toggle() { let a = <$atomic_type>::new(ptr::null_mut::().cast::()); test_swap_ordering(|order| a.bit_toggle(0, order)); - for &order in &test_helper::SWAP_ORDERINGS { + for &order in &helper::SWAP_ORDERINGS { let pointer = &mut 1u64 as *mut u64 as *mut u8; let atom = <$atomic_type>::new(pointer); // Toggle a tag bit on the pointer. @@ -2080,10 +2082,10 @@ pub(crate) fn assert_panic(f: impl FnOnce() -> T) -> std::st .unwrap_or_else(|| msg.downcast_ref::<&'static str>().copied().unwrap().into()) } pub(crate) fn rand_load_ordering() -> Ordering { - test_helper::LOAD_ORDERINGS[fastrand::usize(0..test_helper::LOAD_ORDERINGS.len())] + helper::LOAD_ORDERINGS[fastrand::usize(0..helper::LOAD_ORDERINGS.len())] } pub(crate) fn test_load_ordering(f: impl Fn(Ordering) -> T) { - for &order in &test_helper::LOAD_ORDERINGS { + for &order in &helper::LOAD_ORDERINGS { f(order); } @@ -2099,10 +2101,10 @@ pub(crate) fn test_load_ordering(f: impl Fn(Ordering) -> T) } } pub(crate) fn rand_store_ordering() -> Ordering { - test_helper::STORE_ORDERINGS[fastrand::usize(0..test_helper::STORE_ORDERINGS.len())] + helper::STORE_ORDERINGS[fastrand::usize(0..helper::STORE_ORDERINGS.len())] } pub(crate) fn test_store_ordering(f: impl Fn(Ordering) -> T) { - for &order in &test_helper::STORE_ORDERINGS { + for &order in &helper::STORE_ORDERINGS { f(order); } @@ -2118,18 +2120,17 @@ pub(crate) fn test_store_ordering(f: impl Fn(Ordering) -> T) } } pub(crate) fn rand_compare_exchange_ordering() -> (Ordering, Ordering) { - test_helper::COMPARE_EXCHANGE_ORDERINGS - [fastrand::usize(0..test_helper::COMPARE_EXCHANGE_ORDERINGS.len())] + helper::COMPARE_EXCHANGE_ORDERINGS[fastrand::usize(0..helper::COMPARE_EXCHANGE_ORDERINGS.len())] } pub(crate) fn test_compare_exchange_ordering( f: impl Fn(Ordering, Ordering) -> T, ) { - for &(success, failure) in &test_helper::COMPARE_EXCHANGE_ORDERINGS { + for &(success, failure) in &helper::COMPARE_EXCHANGE_ORDERINGS { f(success, failure); } if !skip_should_panic_test() { - for &order in &test_helper::SWAP_ORDERINGS { + for &order in &helper::SWAP_ORDERINGS { let msg = assert_panic(|| f(order, Ordering::AcqRel)); assert!( msg == "there is no such thing as an acquire-release failure ordering" @@ -2148,10 +2149,10 @@ pub(crate) fn test_compare_exchange_ordering( } } pub(crate) fn rand_swap_ordering() -> Ordering { - test_helper::SWAP_ORDERINGS[fastrand::usize(0..test_helper::SWAP_ORDERINGS.len())] + helper::SWAP_ORDERINGS[fastrand::usize(0..helper::SWAP_ORDERINGS.len())] } pub(crate) fn test_swap_ordering(f: impl Fn(Ordering) -> T) { - for &order in &test_helper::SWAP_ORDERINGS { + for &order in &helper::SWAP_ORDERINGS { f(order); } } @@ -2182,6 +2183,30 @@ fn is_panic_abort() -> bool { build_context::PANIC.contains("abort") } +pub(crate) const LOAD_ORDERINGS: [Ordering; 3] = + [Ordering::Relaxed, Ordering::Acquire, Ordering::SeqCst]; +pub(crate) const STORE_ORDERINGS: [Ordering; 3] = + [Ordering::Relaxed, Ordering::Release, Ordering::SeqCst]; +pub(crate) const SWAP_ORDERINGS: [Ordering; 5] = + [Ordering::Relaxed, Ordering::Release, Ordering::Acquire, Ordering::AcqRel, Ordering::SeqCst]; +pub(crate) const COMPARE_EXCHANGE_ORDERINGS: [(Ordering, Ordering); 15] = [ + (Ordering::Relaxed, Ordering::Relaxed), + (Ordering::Relaxed, Ordering::Acquire), + (Ordering::Relaxed, Ordering::SeqCst), + (Ordering::Acquire, Ordering::Relaxed), + (Ordering::Acquire, Ordering::Acquire), + (Ordering::Acquire, Ordering::SeqCst), + (Ordering::Release, Ordering::Relaxed), + (Ordering::Release, Ordering::Acquire), + (Ordering::Release, Ordering::SeqCst), + (Ordering::AcqRel, Ordering::Relaxed), + (Ordering::AcqRel, Ordering::Acquire), + (Ordering::AcqRel, Ordering::SeqCst), + (Ordering::SeqCst, Ordering::Relaxed), + (Ordering::SeqCst, Ordering::Acquire), + (Ordering::SeqCst, Ordering::SeqCst), +]; + #[repr(C, align(16))] pub(crate) struct Align16(pub(crate) T); diff --git a/tests/api-test/Cargo.toml b/tests/api-test/Cargo.toml index dae6f578..79b2fcdd 100644 --- a/tests/api-test/Cargo.toml +++ b/tests/api-test/Cargo.toml @@ -14,7 +14,6 @@ float = ["portable-atomic/float"] [dependencies] portable-atomic = { path = "../.." } -test-helper = { path = "../helper" } paste = "1" diff --git a/tests/api-test/src/helper.rs b/tests/api-test/src/helper.rs index 7eb973e0..f6ea4c65 100644 --- a/tests/api-test/src/helper.rs +++ b/tests/api-test/src/helper.rs @@ -1,6 +1,6 @@ // SPDX-License-Identifier: Apache-2.0 OR MIT -// TODO: merge this and src/tests/helper.rs in test-helper crate. +#![allow(dead_code)] macro_rules! __run_test { ($test_name:ident) => {{ @@ -29,7 +29,7 @@ macro_rules! __test_atomic_int { __run_test!(static_load_only); fn static_load_only() { static VAR: $atomic_type = <$atomic_type>::new(10); - for &order in &test_helper::LOAD_ORDERINGS { + for &order in &helper::LOAD_ORDERINGS { assert_eq!(VAR.load(order), 10); } } @@ -37,7 +37,7 @@ macro_rules! __test_atomic_int { fn load_store() { static VAR: $atomic_type = <$atomic_type>::new(10); for (&load_order, &store_order) in - test_helper::LOAD_ORDERINGS.iter().zip(&test_helper::STORE_ORDERINGS) + helper::LOAD_ORDERINGS.iter().zip(&helper::STORE_ORDERINGS) { assert_eq!(VAR.load(load_order), 10); VAR.store(5, store_order); @@ -51,7 +51,7 @@ macro_rules! __test_atomic_int { } __run_test!(swap); fn swap() { - for &order in &test_helper::SWAP_ORDERINGS { + for &order in &helper::SWAP_ORDERINGS { let a = <$atomic_type>::new(5); assert_eq!(a.swap(10, order), 5); assert_eq!(a.swap(5, order), 10); @@ -59,7 +59,7 @@ macro_rules! __test_atomic_int { } __run_test!(compare_exchange); fn compare_exchange() { - for &(success, failure) in &test_helper::COMPARE_EXCHANGE_ORDERINGS { + for &(success, failure) in &helper::COMPARE_EXCHANGE_ORDERINGS { let a = <$atomic_type>::new(5); assert_eq!(a.compare_exchange(5, 10, success, failure), Ok(5)); assert_eq!(a.load(Ordering::Relaxed), 10); @@ -69,7 +69,7 @@ macro_rules! __test_atomic_int { } __run_test!(compare_exchange_weak); fn compare_exchange_weak() { - for &(success, failure) in &test_helper::COMPARE_EXCHANGE_ORDERINGS { + for &(success, failure) in &helper::COMPARE_EXCHANGE_ORDERINGS { let a = <$atomic_type>::new(4); assert_eq!(a.compare_exchange_weak(6, 8, success, failure), Err(4)); let mut old = a.load(Ordering::Relaxed); @@ -85,7 +85,7 @@ macro_rules! __test_atomic_int { } __run_test!(fetch_add); fn fetch_add() { - for &order in &test_helper::SWAP_ORDERINGS { + for &order in &helper::SWAP_ORDERINGS { let a = <$atomic_type>::new(0); assert_eq!(a.fetch_add(10, order), 0); assert_eq!(a.load(Ordering::Relaxed), 10); @@ -96,7 +96,7 @@ macro_rules! __test_atomic_int { } __run_test!(add); fn add() { - for &order in &test_helper::SWAP_ORDERINGS { + for &order in &helper::SWAP_ORDERINGS { let a = <$atomic_type>::new(0); a.add(10, order); assert_eq!(a.load(Ordering::Relaxed), 10); @@ -107,7 +107,7 @@ macro_rules! __test_atomic_int { } __run_test!(fetch_sub); fn fetch_sub() { - for &order in &test_helper::SWAP_ORDERINGS { + for &order in &helper::SWAP_ORDERINGS { let a = <$atomic_type>::new(20); assert_eq!(a.fetch_sub(10, order), 20); assert_eq!(a.load(Ordering::Relaxed), 10); @@ -118,7 +118,7 @@ macro_rules! __test_atomic_int { } __run_test!(sub); fn sub() { - for &order in &test_helper::SWAP_ORDERINGS { + for &order in &helper::SWAP_ORDERINGS { let a = <$atomic_type>::new(20); a.sub(10, order); assert_eq!(a.load(Ordering::Relaxed), 10); @@ -129,7 +129,7 @@ macro_rules! __test_atomic_int { } __run_test!(fetch_and); fn fetch_and() { - for &order in &test_helper::SWAP_ORDERINGS { + for &order in &helper::SWAP_ORDERINGS { let a = <$atomic_type>::new(0b101101); assert_eq!(a.fetch_and(0b110011, order), 0b101101); assert_eq!(a.load(Ordering::Relaxed), 0b100001); @@ -137,7 +137,7 @@ macro_rules! __test_atomic_int { } __run_test!(and); fn and() { - for &order in &test_helper::SWAP_ORDERINGS { + for &order in &helper::SWAP_ORDERINGS { let a = <$atomic_type>::new(0b101101); a.and(0b110011, order); assert_eq!(a.load(Ordering::Relaxed), 0b100001); @@ -148,7 +148,7 @@ macro_rules! __test_atomic_int { __run_test!(fetch_nand); #[cfg(not(target_arch = "xtensa"))] fn fetch_nand() { - for &order in &test_helper::SWAP_ORDERINGS { + for &order in &helper::SWAP_ORDERINGS { let a = <$atomic_type>::new(0x13); assert_eq!(a.fetch_nand(0x31, order), 0x13); assert_eq!(a.load(Ordering::Relaxed), !(0x13 & 0x31)); @@ -156,7 +156,7 @@ macro_rules! __test_atomic_int { } __run_test!(fetch_or); fn fetch_or() { - for &order in &test_helper::SWAP_ORDERINGS { + for &order in &helper::SWAP_ORDERINGS { let a = <$atomic_type>::new(0b101101); assert_eq!(a.fetch_or(0b110011, order), 0b101101); assert_eq!(a.load(Ordering::Relaxed), 0b111111); @@ -164,7 +164,7 @@ macro_rules! __test_atomic_int { } __run_test!(or); fn or() { - for &order in &test_helper::SWAP_ORDERINGS { + for &order in &helper::SWAP_ORDERINGS { let a = <$atomic_type>::new(0b101101); a.or(0b110011, order); assert_eq!(a.load(Ordering::Relaxed), 0b111111); @@ -172,7 +172,7 @@ macro_rules! __test_atomic_int { } __run_test!(fetch_xor); fn fetch_xor() { - for &order in &test_helper::SWAP_ORDERINGS { + for &order in &helper::SWAP_ORDERINGS { let a = <$atomic_type>::new(0b101101); assert_eq!(a.fetch_xor(0b110011, order), 0b101101); assert_eq!(a.load(Ordering::Relaxed), 0b011110); @@ -180,7 +180,7 @@ macro_rules! __test_atomic_int { } __run_test!(xor); fn xor() { - for &order in &test_helper::SWAP_ORDERINGS { + for &order in &helper::SWAP_ORDERINGS { let a = <$atomic_type>::new(0b101101); a.xor(0b110011, order); assert_eq!(a.load(Ordering::Relaxed), 0b011110); @@ -191,7 +191,7 @@ macro_rules! __test_atomic_int { __run_test!(fetch_max); #[cfg(not(target_arch = "xtensa"))] fn fetch_max() { - for &order in &test_helper::SWAP_ORDERINGS { + for &order in &helper::SWAP_ORDERINGS { let a = <$atomic_type>::new(23); assert_eq!(a.fetch_max(22, order), 23); assert_eq!(a.load(Ordering::Relaxed), 23); @@ -209,7 +209,7 @@ macro_rules! __test_atomic_int { __run_test!(fetch_min); #[cfg(not(target_arch = "xtensa"))] fn fetch_min() { - for &order in &test_helper::SWAP_ORDERINGS { + for &order in &helper::SWAP_ORDERINGS { let a = <$atomic_type>::new(23); assert_eq!(a.fetch_min(24, order), 23); assert_eq!(a.load(Ordering::Relaxed), 23); @@ -224,7 +224,7 @@ macro_rules! __test_atomic_int { } __run_test!(fetch_not); fn fetch_not() { - for &order in &test_helper::SWAP_ORDERINGS { + for &order in &helper::SWAP_ORDERINGS { let a = <$atomic_type>::new(1); assert_eq!(a.fetch_not(order), 1); assert_eq!(a.load(Ordering::Relaxed), !1); @@ -232,7 +232,7 @@ macro_rules! __test_atomic_int { } __run_test!(not); fn not() { - for &order in &test_helper::SWAP_ORDERINGS { + for &order in &helper::SWAP_ORDERINGS { let a = <$atomic_type>::new(1); a.not(order); assert_eq!(a.load(Ordering::Relaxed), !1); @@ -240,7 +240,7 @@ macro_rules! __test_atomic_int { } __run_test!(fetch_neg); fn fetch_neg() { - for &order in &test_helper::SWAP_ORDERINGS { + for &order in &helper::SWAP_ORDERINGS { let a = <$atomic_type>::new(5); assert_eq!(a.fetch_neg(order), 5); assert_eq!(a.load(Ordering::Relaxed), <$int_type>::wrapping_neg(5)); @@ -250,7 +250,7 @@ macro_rules! __test_atomic_int { } __run_test!(neg); fn neg() { - for &order in &test_helper::SWAP_ORDERINGS { + for &order in &helper::SWAP_ORDERINGS { let a = <$atomic_type>::new(5); a.neg(order); assert_eq!(a.load(Ordering::Relaxed), <$int_type>::wrapping_neg(5)); @@ -260,7 +260,7 @@ macro_rules! __test_atomic_int { } __run_test!(bit_set); fn bit_set() { - for &order in &test_helper::SWAP_ORDERINGS { + for &order in &helper::SWAP_ORDERINGS { let a = <$atomic_type>::new(0b0000); assert!(!a.bit_set(0, order)); assert_eq!(a.load(Ordering::Relaxed), 0b0001); @@ -270,7 +270,7 @@ macro_rules! __test_atomic_int { } __run_test!(bit_clear); fn bit_clear() { - for &order in &test_helper::SWAP_ORDERINGS { + for &order in &helper::SWAP_ORDERINGS { let a = <$atomic_type>::new(0b0001); assert!(a.bit_clear(0, order)); assert_eq!(a.load(Ordering::Relaxed), 0b0000); @@ -280,7 +280,7 @@ macro_rules! __test_atomic_int { } __run_test!(bit_toggle); fn bit_toggle() { - for &order in &test_helper::SWAP_ORDERINGS { + for &order in &helper::SWAP_ORDERINGS { let a = <$atomic_type>::new(0b0000); assert!(!a.bit_toggle(0, order)); assert_eq!(a.load(Ordering::Relaxed), 0b0001); @@ -290,7 +290,7 @@ macro_rules! __test_atomic_int { } __run_test!(fetch_update); fn fetch_update() { - for &(success, failure) in &test_helper::COMPARE_EXCHANGE_ORDERINGS { + for &(success, failure) in &helper::COMPARE_EXCHANGE_ORDERINGS { let a = <$atomic_type>::new(7); assert_eq!(a.fetch_update(success, failure, |_| None), Err(7)); assert_eq!(a.fetch_update(success, failure, |x| Some(x + 1)), Ok(7)); @@ -321,7 +321,7 @@ macro_rules! __test_atomic_float { __run_test!(static_load_only); fn static_load_only() { static VAR: $atomic_type = <$atomic_type>::new(10.); - for &order in &test_helper::LOAD_ORDERINGS { + for &order in &helper::LOAD_ORDERINGS { assert_eq!(VAR.load(order), 10.); } } @@ -329,7 +329,7 @@ macro_rules! __test_atomic_float { fn load_store() { static VAR: $atomic_type = <$atomic_type>::new(10.); for (&load_order, &store_order) in - test_helper::LOAD_ORDERINGS.iter().zip(&test_helper::STORE_ORDERINGS) + helper::LOAD_ORDERINGS.iter().zip(&helper::STORE_ORDERINGS) { assert_eq!(VAR.load(load_order), 10.); VAR.store(5., store_order); @@ -343,7 +343,7 @@ macro_rules! __test_atomic_float { } __run_test!(swap); fn swap() { - for &order in &test_helper::SWAP_ORDERINGS { + for &order in &helper::SWAP_ORDERINGS { let a = <$atomic_type>::new(5.); assert_eq!(a.swap(10., order), 5.); assert_eq!(a.swap(5., order), 10.); @@ -351,7 +351,7 @@ macro_rules! __test_atomic_float { } __run_test!(compare_exchange); fn compare_exchange() { - for &(success, failure) in &test_helper::COMPARE_EXCHANGE_ORDERINGS { + for &(success, failure) in &helper::COMPARE_EXCHANGE_ORDERINGS { let a = <$atomic_type>::new(5.); assert_eq!(a.compare_exchange(5., 10., success, failure), Ok(5.)); assert_eq!(a.load(Ordering::Relaxed), 10.); @@ -361,7 +361,7 @@ macro_rules! __test_atomic_float { } __run_test!(compare_exchange_weak); fn compare_exchange_weak() { - for &(success, failure) in &test_helper::COMPARE_EXCHANGE_ORDERINGS { + for &(success, failure) in &helper::COMPARE_EXCHANGE_ORDERINGS { let a = <$atomic_type>::new(4.); assert_eq!(a.compare_exchange_weak(6., 8., success, failure), Err(4.)); let mut old = a.load(Ordering::Relaxed); @@ -377,7 +377,7 @@ macro_rules! __test_atomic_float { } __run_test!(fetch_add); fn fetch_add() { - for &order in &test_helper::SWAP_ORDERINGS { + for &order in &helper::SWAP_ORDERINGS { let a = <$atomic_type>::new(0.); assert_eq!(a.fetch_add(10., order), 0.); assert_eq!(a.load(Ordering::Relaxed), 10.); @@ -388,7 +388,7 @@ macro_rules! __test_atomic_float { } __run_test!(fetch_sub); fn fetch_sub() { - for &order in &test_helper::SWAP_ORDERINGS { + for &order in &helper::SWAP_ORDERINGS { let a = <$atomic_type>::new(20.); assert_eq!(a.fetch_sub(10., order), 20.); assert_eq!(a.load(Ordering::Relaxed), 10.); @@ -399,7 +399,7 @@ macro_rules! __test_atomic_float { } __run_test!(fetch_max); fn fetch_max() { - for &order in &test_helper::SWAP_ORDERINGS { + for &order in &helper::SWAP_ORDERINGS { let a = <$atomic_type>::new(23.); assert_eq!(a.fetch_max(22., order), 23.); assert_eq!(a.load(Ordering::Relaxed), 23.); @@ -414,7 +414,7 @@ macro_rules! __test_atomic_float { } __run_test!(fetch_min); fn fetch_min() { - for &order in &test_helper::SWAP_ORDERINGS { + for &order in &helper::SWAP_ORDERINGS { let a = <$atomic_type>::new(23.); assert_eq!(a.fetch_min(24., order), 23.); assert_eq!(a.load(Ordering::Relaxed), 23.); @@ -429,7 +429,7 @@ macro_rules! __test_atomic_float { } __run_test!(fetch_neg); fn fetch_neg() { - for &order in &test_helper::SWAP_ORDERINGS { + for &order in &helper::SWAP_ORDERINGS { let a = <$atomic_type>::new(5.); assert_eq!(a.fetch_neg(order), 5.); assert_eq!(a.load(Ordering::Relaxed), -5.); @@ -439,7 +439,7 @@ macro_rules! __test_atomic_float { } __run_test!(fetch_abs); fn fetch_abs() { - for &order in &test_helper::SWAP_ORDERINGS { + for &order in &helper::SWAP_ORDERINGS { let a = <$atomic_type>::new(-23.); assert_eq!(a.fetch_abs(order), -23.); assert_eq!(a.load(Ordering::Relaxed), 23.); @@ -449,7 +449,7 @@ macro_rules! __test_atomic_float { } __run_test!(fetch_update); fn fetch_update() { - for &(success, failure) in &test_helper::COMPARE_EXCHANGE_ORDERINGS { + for &(success, failure) in &helper::COMPARE_EXCHANGE_ORDERINGS { let a = <$atomic_type>::new(7.); assert_eq!(a.fetch_update(success, failure, |_| None), Err(7.)); assert_eq!(a.fetch_update(success, failure, |x| Some(x + 1.)), Ok(7.)); @@ -480,7 +480,7 @@ macro_rules! __test_atomic_bool { __run_test!(static_load_only); fn static_load_only() { static VAR: $atomic_type = <$atomic_type>::new(false); - for &order in &test_helper::LOAD_ORDERINGS { + for &order in &helper::LOAD_ORDERINGS { assert_eq!(VAR.load(order), false); } } @@ -488,7 +488,7 @@ macro_rules! __test_atomic_bool { fn load_store() { static VAR: $atomic_type = <$atomic_type>::new(false); for (&load_order, &store_order) in - test_helper::LOAD_ORDERINGS.iter().zip(&test_helper::STORE_ORDERINGS) + helper::LOAD_ORDERINGS.iter().zip(&helper::STORE_ORDERINGS) { assert_eq!(VAR.load(load_order), false); VAR.store(true, store_order); @@ -502,7 +502,7 @@ macro_rules! __test_atomic_bool { } __run_test!(swap); fn swap() { - for &order in &test_helper::SWAP_ORDERINGS { + for &order in &helper::SWAP_ORDERINGS { let a = <$atomic_type>::new(true); assert_eq!(a.swap(true, order), true); assert_eq!(a.swap(false, order), true); @@ -512,7 +512,7 @@ macro_rules! __test_atomic_bool { } __run_test!(compare_exchange); fn compare_exchange() { - for &(success, failure) in &test_helper::COMPARE_EXCHANGE_ORDERINGS { + for &(success, failure) in &helper::COMPARE_EXCHANGE_ORDERINGS { let a = <$atomic_type>::new(true); assert_eq!(a.compare_exchange(true, false, success, failure), Ok(true)); assert_eq!(a.load(Ordering::Relaxed), false); @@ -522,7 +522,7 @@ macro_rules! __test_atomic_bool { } __run_test!(compare_exchange_weak); fn compare_exchange_weak() { - for &(success, failure) in &test_helper::COMPARE_EXCHANGE_ORDERINGS { + for &(success, failure) in &helper::COMPARE_EXCHANGE_ORDERINGS { let a = <$atomic_type>::new(false); assert_eq!(a.compare_exchange_weak(true, true, success, failure), Err(false)); let mut old = a.load(Ordering::Relaxed); @@ -538,7 +538,7 @@ macro_rules! __test_atomic_bool { } __run_test!(fetch_and); fn fetch_and() { - for &order in &test_helper::SWAP_ORDERINGS { + for &order in &helper::SWAP_ORDERINGS { let a = <$atomic_type>::new(true); assert_eq!(a.fetch_and(false, order), true); assert_eq!(a.load(Ordering::Relaxed), false); @@ -555,7 +555,7 @@ macro_rules! __test_atomic_bool { } __run_test!(and); fn and() { - for &order in &test_helper::SWAP_ORDERINGS { + for &order in &helper::SWAP_ORDERINGS { let a = <$atomic_type>::new(true); a.and(false, order); assert_eq!(a.load(Ordering::Relaxed), false); @@ -572,7 +572,7 @@ macro_rules! __test_atomic_bool { } __run_test!(fetch_nand); fn fetch_nand() { - for &order in &test_helper::SWAP_ORDERINGS { + for &order in &helper::SWAP_ORDERINGS { let a = <$atomic_type>::new(true); assert_eq!(a.fetch_nand(false, order), true); assert_eq!(a.load(Ordering::Relaxed), true); @@ -590,7 +590,7 @@ macro_rules! __test_atomic_bool { } __run_test!(fetch_or); fn fetch_or() { - for &order in &test_helper::SWAP_ORDERINGS { + for &order in &helper::SWAP_ORDERINGS { let a = <$atomic_type>::new(true); assert_eq!(a.fetch_or(false, order), true); assert_eq!(a.load(Ordering::Relaxed), true); @@ -607,7 +607,7 @@ macro_rules! __test_atomic_bool { } __run_test!(or); fn or() { - for &order in &test_helper::SWAP_ORDERINGS { + for &order in &helper::SWAP_ORDERINGS { let a = <$atomic_type>::new(true); a.or(false, order); assert_eq!(a.load(Ordering::Relaxed), true); @@ -624,7 +624,7 @@ macro_rules! __test_atomic_bool { } __run_test!(fetch_xor); fn fetch_xor() { - for &order in &test_helper::SWAP_ORDERINGS { + for &order in &helper::SWAP_ORDERINGS { let a = <$atomic_type>::new(true); assert_eq!(a.fetch_xor(false, order), true); assert_eq!(a.load(Ordering::Relaxed), true); @@ -641,7 +641,7 @@ macro_rules! __test_atomic_bool { } __run_test!(xor); fn xor() { - for &order in &test_helper::SWAP_ORDERINGS { + for &order in &helper::SWAP_ORDERINGS { let a = <$atomic_type>::new(true); a.xor(false, order); assert_eq!(a.load(Ordering::Relaxed), true); @@ -658,7 +658,7 @@ macro_rules! __test_atomic_bool { } __run_test!(fetch_not); fn fetch_not() { - for &order in &test_helper::SWAP_ORDERINGS { + for &order in &helper::SWAP_ORDERINGS { let a = <$atomic_type>::new(true); assert_eq!(a.fetch_not(order), true); assert_eq!(a.load(Ordering::Relaxed), false); @@ -669,7 +669,7 @@ macro_rules! __test_atomic_bool { } __run_test!(not); fn not() { - for &order in &test_helper::SWAP_ORDERINGS { + for &order in &helper::SWAP_ORDERINGS { let a = <$atomic_type>::new(true); a.not(order); assert_eq!(a.load(Ordering::Relaxed), false); @@ -680,7 +680,7 @@ macro_rules! __test_atomic_bool { } __run_test!(fetch_update); fn fetch_update() { - for &(success, failure) in &test_helper::COMPARE_EXCHANGE_ORDERINGS { + for &(success, failure) in &helper::COMPARE_EXCHANGE_ORDERINGS { let a = <$atomic_type>::new(false); assert_eq!(a.fetch_update(success, failure, |_| None), Err(false)); assert_eq!(a.fetch_update(success, failure, |x| Some(!x)), Ok(false)); @@ -712,7 +712,7 @@ macro_rules! __test_atomic_ptr { __run_test!(static_load_only); fn static_load_only() { static VAR: $atomic_type = <$atomic_type>::new(core::ptr::null_mut()); - for &order in &test_helper::LOAD_ORDERINGS { + for &order in &helper::LOAD_ORDERINGS { assert_eq!(VAR.load(order), core::ptr::null_mut()); } } @@ -722,7 +722,7 @@ macro_rules! __test_atomic_ptr { let mut v = 1_u8; let p = &mut v as *mut u8; for (&load_order, &store_order) in - test_helper::LOAD_ORDERINGS.iter().zip(&test_helper::STORE_ORDERINGS) + helper::LOAD_ORDERINGS.iter().zip(&helper::STORE_ORDERINGS) { assert_eq!(VAR.load(load_order), core::ptr::null_mut()); VAR.store(p, store_order); @@ -738,14 +738,14 @@ macro_rules! __test_atomic_ptr { fn swap() { let a = <$atomic_type>::new(core::ptr::null_mut()); let x = &mut 1; - for &order in &test_helper::SWAP_ORDERINGS { + for &order in &helper::SWAP_ORDERINGS { assert_eq!(a.swap(x, order), core::ptr::null_mut()); assert_eq!(a.swap(core::ptr::null_mut(), order), x as *mut _); } } __run_test!(compare_exchange); fn compare_exchange() { - for &(success, failure) in &test_helper::COMPARE_EXCHANGE_ORDERINGS { + for &(success, failure) in &helper::COMPARE_EXCHANGE_ORDERINGS { let a = <$atomic_type>::new(core::ptr::null_mut()); let x = &mut 1; assert_eq!( @@ -767,7 +767,7 @@ macro_rules! __test_atomic_ptr { } __run_test!(compare_exchange_weak); fn compare_exchange_weak() { - for &(success, failure) in &test_helper::COMPARE_EXCHANGE_ORDERINGS { + for &(success, failure) in &helper::COMPARE_EXCHANGE_ORDERINGS { let a = <$atomic_type>::new(core::ptr::null_mut()); let x = &mut 1; assert_eq!( @@ -786,7 +786,7 @@ macro_rules! __test_atomic_ptr { } __run_test!(fetch_update); fn fetch_update() { - for &(success, failure) in &test_helper::COMPARE_EXCHANGE_ORDERINGS { + for &(success, failure) in &helper::COMPARE_EXCHANGE_ORDERINGS { let a = <$atomic_type>::new(core::ptr::null_mut()); assert_eq!(a.fetch_update(success, failure, |_| None), Err(core::ptr::null_mut())); assert_eq!( @@ -798,3 +798,31 @@ macro_rules! __test_atomic_ptr { } }; } + +use core::sync::atomic::Ordering; + +pub(crate) const LOAD_ORDERINGS: [Ordering; 3] = + [Ordering::Relaxed, Ordering::Acquire, Ordering::SeqCst]; +pub(crate) const STORE_ORDERINGS: [Ordering; 3] = + [Ordering::Relaxed, Ordering::Release, Ordering::SeqCst]; +pub(crate) const SWAP_ORDERINGS: [Ordering; 5] = + [Ordering::Relaxed, Ordering::Release, Ordering::Acquire, Ordering::AcqRel, Ordering::SeqCst]; +pub(crate) const COMPARE_EXCHANGE_ORDERINGS: [(Ordering, Ordering); 15] = [ + (Ordering::Relaxed, Ordering::Relaxed), + (Ordering::Relaxed, Ordering::Acquire), + (Ordering::Relaxed, Ordering::SeqCst), + (Ordering::Acquire, Ordering::Relaxed), + (Ordering::Acquire, Ordering::Acquire), + (Ordering::Acquire, Ordering::SeqCst), + (Ordering::Release, Ordering::Relaxed), + (Ordering::Release, Ordering::Acquire), + (Ordering::Release, Ordering::SeqCst), + (Ordering::AcqRel, Ordering::Relaxed), + (Ordering::AcqRel, Ordering::Acquire), + (Ordering::AcqRel, Ordering::SeqCst), + (Ordering::SeqCst, Ordering::Relaxed), + (Ordering::SeqCst, Ordering::Acquire), + (Ordering::SeqCst, Ordering::SeqCst), +]; +pub(crate) const FENCE_ORDERINGS: [Ordering; 4] = + [Ordering::Release, Ordering::Acquire, Ordering::AcqRel, Ordering::SeqCst]; diff --git a/tests/api-test/src/lib.rs b/tests/api-test/src/lib.rs index 4a77cee7..a054465b 100644 --- a/tests/api-test/src/lib.rs +++ b/tests/api-test/src/lib.rs @@ -55,7 +55,7 @@ pub fn all() { // https://github.com/ayrtonm/psx-sdk-rs/issues/6 #[cfg(not(all(target_arch = "mips", target_env = "psx")))] - for &order in &test_helper::FENCE_ORDERINGS { + for &order in &helper::FENCE_ORDERINGS { portable_atomic::fence(order); portable_atomic::compiler_fence(order); } diff --git a/tests/avr/Cargo.toml b/tests/avr/Cargo.toml index e16763c9..be395c33 100644 --- a/tests/avr/Cargo.toml +++ b/tests/avr/Cargo.toml @@ -6,7 +6,6 @@ publish = false [dependencies] portable-atomic = { path = "../..", features = ["float"] } -test-helper = { path = "../helper" } avr-device = "0.6" paste = "1" diff --git a/tests/avr/src/main.rs b/tests/avr/src/main.rs index b35356ec..7d3cb236 100644 --- a/tests/avr/src/main.rs +++ b/tests/avr/src/main.rs @@ -72,7 +72,7 @@ fn main() -> ! { }; } - for &order in &test_helper::FENCE_ORDERINGS { + for &order in &helper::FENCE_ORDERINGS { fence(order); compiler_fence(order); } diff --git a/tests/gba/Cargo.toml b/tests/gba/Cargo.toml index 20d05141..2d3929f5 100644 --- a/tests/gba/Cargo.toml +++ b/tests/gba/Cargo.toml @@ -6,7 +6,6 @@ publish = false [dependencies] portable-atomic = { path = "../..", features = ["float"] } -test-helper = { path = "../helper" } gba = "0.13" paste = "1" diff --git a/tests/gba/src/main.rs b/tests/gba/src/main.rs index 470c3d14..2cdd75f0 100644 --- a/tests/gba/src/main.rs +++ b/tests/gba/src/main.rs @@ -86,7 +86,7 @@ fn main() -> ! { println!("starting tests..."); // TODO: undefined reference to `__sync_synchronize' - // for &order in &test_helper::FENCE_ORDERINGS { + // for &order in &helper::FENCE_ORDERINGS { // fence(order); // compiler_fence(order); // } diff --git a/tests/helper/Cargo.toml b/tests/helper/Cargo.toml deleted file mode 100644 index 42ca610e..00000000 --- a/tests/helper/Cargo.toml +++ /dev/null @@ -1,30 +0,0 @@ -[package] -name = "test-helper" -version = "0.0.0" -edition = "2018" -rust-version = "1.34" # Prevent clippy from suggesting a code that requires a new version. -publish = false - -[lib] -doctest = false -doc = false -test = false - -[features] -std = ["fs-err", "libc", "windows-sys"] - -[dependencies] -critical-section = { version = "1", optional = true, features = ["restore-state-bool"] } -fs-err = { version = "2", optional = true } - -[target.'cfg(unix)'.dependencies] -libc = { version = "0.2.140", optional = true } - -[target.'cfg(windows)'.dependencies] -windows-sys = { version = "0.59", optional = true, features = [ - "Win32_Foundation", - "Win32_System_Threading", -] } - -[lints] -workspace = true diff --git a/tests/helper/src/cpuinfo.rs b/tests/helper/src/cpuinfo.rs deleted file mode 100644 index f109adca..00000000 --- a/tests/helper/src/cpuinfo.rs +++ /dev/null @@ -1,194 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT - -#![cfg(any(target_arch = "aarch64", target_arch = "arm64ec", target_arch = "powerpc64"))] - -use std::{boxed::Box, path::Path, vec::Vec}; - -use fs_err as fs; - -type Result> = std::result::Result; - -/// CPU feature detection by reading a file or calling a command. -/// -/// - On Linux/NetBSD, reading `/proc/cpuinfo`. -/// - On FreeBSD/OpenBSD, reading `/var/run/dmesg.boot`. -/// - On macOS, calling `sysctl hw.optional` command. -/// -/// This is used for testing to ensure that the result of the CPU feature -/// detection we are using matches the information we get from the other -/// approaches. -#[cfg(any(target_arch = "aarch64", target_arch = "arm64ec"))] -#[derive(Debug, Clone, Copy)] -pub struct ProcCpuinfo { - pub lse: bool, - pub lse2: Option, - pub rcpc3: Option, - pub lse128: Option, -} -#[cfg(target_arch = "powerpc64")] -#[derive(Debug, Clone, Copy)] -pub struct ProcCpuinfo { - pub power8: bool, - pub power9: bool, - pub power10: Option, -} -impl ProcCpuinfo { - #[cfg(any(target_arch = "aarch64", target_arch = "arm64ec"))] - pub fn new() -> Result { - use std::process::Command; - if cfg!(any(target_os = "linux", target_os = "android", target_os = "netbsd")) { - let text = fs::read_to_string("/proc/cpuinfo")?; - let features = text - .lines() - // On qemu-user, there is no 'Features' section because the host's /proc/cpuinfo will be referred to. - // TODO: check whether a runner is set instead. - .find_map(|line| line.strip_prefix("Features")).ok_or("no 'Features' section in /proc/cpuinfo")? - .splitn(2, ':') - .nth(1) - .unwrap() - .split(' ') - .map(str::trim) - .collect::>(); - std::eprintln!("Features={:?}", features); - Ok(Self { - lse: features.contains(&"atomics"), - lse2: Some(features.contains(&"uscat")), - lse128: Some(features.contains(&"lse128")), - rcpc3: Some(features.contains(&"lrcpc3")), - }) - } else if cfg!(target_os = "freebsd") { - let text = fs::read_to_string("/var/run/dmesg.boot")?; - let isa0 = text - .lines() - .find(|line| line.contains("Instruction Set Attributes 0")) - .ok_or("no 'Instruction Set Attributes 0' section in /var/run/dmesg.boot")? - .splitn(2, '=') - .nth(1) - .unwrap() - .trim() - .strip_prefix('<') - .unwrap() - .strip_suffix('>') - .unwrap() - .split(',') - .collect::>(); - let mmf2 = text - .lines() - .find(|line| line.contains("Memory Model Features 2")) - .ok_or("no 'Memory Model Features 2' section in /var/run/dmesg.boot")? - .splitn(2, '=') - .nth(1) - .unwrap() - .trim() - .strip_prefix('<') - .unwrap() - .strip_suffix('>') - .unwrap() - .split(',') - .collect::>(); - std::eprintln!("Instruction Set Attributes 0={:?}", isa0); - std::eprintln!("Memory Model Features 2={:?}", mmf2); - Ok(Self { - lse: isa0.contains(&"Atomic"), - lse2: Some(mmf2.contains(&"AT")), - // TODO - lse128: None, - rcpc3: None, - }) - } else if cfg!(target_os = "openbsd") { - let text = fs::read_to_string("/var/run/dmesg.boot")?; - let features = text - .lines() - .filter_map(|line| line.strip_prefix("cpu0: ")) - .last() - .ok_or("no 'cpu0' section in /var/run/dmesg.boot")? - .trim() - .split(',') - .collect::>(); - std::eprintln!("Features={:?}", features); - Ok(Self { - lse: features.contains(&"Atomic"), - // /var/run/dmesg.boot on OpenBSD doesn't have field for lse2 - lse2: None, - // TODO - lse128: None, - rcpc3: None, - }) - } else if cfg!(target_os = "macos") { - let output = Command::new("sysctl").arg("hw.optional").output()?; - assert!(output.status.success()); - let stdout = std::str::from_utf8(&output.stdout)?.trim(); - std::eprintln!("{}", stdout); - let sysctl = |name| { - stdout - .lines() - .find_map(|s| s.strip_prefix(&std::format!("{}: ", name))) - .unwrap_or("0") - .parse::() - .unwrap() - }; - Ok(Self { - lse: sysctl("hw.optional.arm.FEAT_LSE") != 0 - || sysctl("hw.optional.armv8_1_atomics") != 0, - lse2: Some(sysctl("hw.optional.arm.FEAT_LSE2") != 0), - lse128: Some(sysctl("hw.optional.arm.FEAT_LSE128") != 0), - rcpc3: Some(sysctl("hw.optional.arm.FEAT_LRCPC3") != 0), - }) - } else { - if !cfg!(windows) { - assert!(!Path::new("/proc/cpuinfo").exists()); - assert!(!Path::new("/var/run/dmesg.boot").exists()); - } - Err("unsupported OS".into()) - } - } - #[cfg(target_arch = "powerpc64")] - pub fn new() -> Result { - if cfg!(any(target_os = "linux", target_os = "android", target_os = "netbsd")) { - let text = fs::read_to_string("/proc/cpuinfo")?; - let cpu = text - .lines() - // On qemu-user, there is no 'cpu' section because the host's /proc/cpuinfo will be referred to. - // TODO: check whether a runner is set instead. - .find_map(|line| line.strip_prefix("cpu")).ok_or("no 'cpu' section in /proc/cpuinfo")? - .splitn(2, ':') - .nth(1) - .unwrap() - .split(' ') - .map(str::trim) - .collect::>(); - std::eprintln!("cpu={:?}", cpu); - let v = cpu.iter().find(|v| v.starts_with("POWER")).ok_or("cpu is not POWER")?; - let power10 = v.starts_with("POWER10"); - let power9 = power10 || v.starts_with("POWER9"); - let power8 = power9 || v.starts_with("POWER8"); - Ok(Self { power8, power9, power10: Some(power10) }) - } else if cfg!(target_os = "freebsd") { - let text = fs::read_to_string("/var/run/dmesg.boot")?; - let features2 = text - .lines() - .find(|line| { - line.split(|c: char| c.is_ascii_whitespace()).any(|f| f == "Features2") - }) - .ok_or("no 'cpuN: Features2' section in /var/run/dmesg.boot")? - .splitn(2, '<') - .nth(1) - .unwrap() - .trim() - .strip_suffix('>') - .unwrap() - .split(',') - .collect::>(); - std::eprintln!("features2={:?}", features2); - Ok(Self { - power8: features2.contains(&"ARCH207"), - power9: features2.contains(&"ARCH300"), - power10: None, - }) - } else { - assert!(!Path::new("/proc/cpuinfo").exists()); - assert!(!Path::new("/var/run/dmesg.boot").exists()); - Err("unsupported OS".into()) - } - } -} diff --git a/tests/helper/src/critical_section_std.rs b/tests/helper/src/critical_section_std.rs deleted file mode 100644 index 6e13b4c0..00000000 --- a/tests/helper/src/critical_section_std.rs +++ /dev/null @@ -1,95 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT - -// Based on https://github.com/rust-embedded/critical-section/blob/v1.1.1/src/std.rs, -// but don't use `static mut` and compatible with Rust 1.56 that we run tests. - -#![allow(clippy::no_mangle_with_rust_abi)] // critical_section::set_impl uses #[no_mangle] with extern "Rust" function - -use std::{ - cell::{Cell, UnsafeCell}, - mem::MaybeUninit, - sync::{Mutex, MutexGuard}, -}; - -use crate::once_lock::OnceLock; - -fn global_mutex() -> &'static Mutex<()> { - static GLOBAL_MUTEX: OnceLock> = OnceLock::new(); - fn init() -> Mutex<()> { - Mutex::new(()) - } - GLOBAL_MUTEX.get_or_init(init) -} - -// This is initialized if a thread has acquired the CS, uninitialized otherwise. -static GLOBAL_GUARD: SyncUnsafeCell>> = - SyncUnsafeCell::new(MaybeUninit::uninit()); - -std::thread_local! { - static IS_LOCKED: Cell = Cell::new(false); -} - -struct StdCriticalSection; -critical_section::set_impl!(StdCriticalSection); - -unsafe impl critical_section::Impl for StdCriticalSection { - unsafe fn acquire() -> bool { - // Allow reentrancy by checking thread local state - IS_LOCKED.with(|l| { - if l.get() { - // CS already acquired in the current thread. - return true; - } - - // Note: it is fine to set this flag *before* acquiring the mutex because it's thread local. - // No other thread can see its value, there's no potential for races. - // This way, we hold the mutex for slightly less time. - l.set(true); - - // Not acquired in the current thread, acquire it. - let guard = match global_mutex().lock() { - Ok(guard) => guard, - Err(err) => { - // Ignore poison on the global mutex in case a panic occurred - // while the mutex was held. - err.into_inner() - } - }; - GLOBAL_GUARD.get().write(MaybeUninit::new(guard)); - - false - }) - } - - unsafe fn release(nested_cs: bool) { - if !nested_cs { - // SAFETY: As per the acquire/release safety contract, release can only be called - // if the critical section is acquired in the current thread, - // in which case we know the GLOBAL_GUARD is initialized. - GLOBAL_GUARD.get().cast::>().drop_in_place(); - - // Note: it is fine to clear this flag *after* releasing the mutex because it's thread local. - // No other thread can see its value, there's no potential for races. - // This way, we hold the mutex for slightly less time. - IS_LOCKED.with(|l| l.set(false)); - } - } -} - -// See https://github.com/rust-lang/rust/issues/53639 -// In our use case, the use of `static mut` should be sound but uses one with less foot guns. -#[repr(transparent)] -struct SyncUnsafeCell { - value: UnsafeCell, -} -unsafe impl Sync for SyncUnsafeCell {} -impl SyncUnsafeCell { - #[inline] - const fn new(value: T) -> Self { - Self { value: UnsafeCell::new(value) } - } - #[inline] - const fn get(&self) -> *mut T { - self.value.get() - } -} diff --git a/tests/helper/src/gen/sys/aarch64_apple_darwin/mod.rs b/tests/helper/src/gen/sys/aarch64_apple_darwin/mod.rs deleted file mode 100644 index 861fb8dd..00000000 --- a/tests/helper/src/gen/sys/aarch64_apple_darwin/mod.rs +++ /dev/null @@ -1,10 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] -mod sys_sysctl; -pub use sys_sysctl::CTL_MAXNAME; -pub use sys_sysctl::sysctlbyname; -pub type c_char = i8; diff --git a/tests/helper/src/gen/sys/aarch64_apple_darwin/sys_sysctl.rs b/tests/helper/src/gen/sys/aarch64_apple_darwin/sys_sysctl.rs deleted file mode 100644 index ee017fc1..00000000 --- a/tests/helper/src/gen/sys/aarch64_apple_darwin/sys_sysctl.rs +++ /dev/null @@ -1,17 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -pub const CTL_MAXNAME: u32 = 12; -extern "C" { - pub fn sysctlbyname( - arg1: *const ::std::os::raw::c_char, - arg2: *mut ::core::ffi::c_void, - oldlenp: *mut usize, - arg3: *mut ::core::ffi::c_void, - newlen: usize, - ) -> ::std::os::raw::c_int; -} diff --git a/tests/helper/src/gen/sys/aarch64_apple_ios/mod.rs b/tests/helper/src/gen/sys/aarch64_apple_ios/mod.rs deleted file mode 100644 index 861fb8dd..00000000 --- a/tests/helper/src/gen/sys/aarch64_apple_ios/mod.rs +++ /dev/null @@ -1,10 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] -mod sys_sysctl; -pub use sys_sysctl::CTL_MAXNAME; -pub use sys_sysctl::sysctlbyname; -pub type c_char = i8; diff --git a/tests/helper/src/gen/sys/aarch64_apple_ios/sys_sysctl.rs b/tests/helper/src/gen/sys/aarch64_apple_ios/sys_sysctl.rs deleted file mode 100644 index ee017fc1..00000000 --- a/tests/helper/src/gen/sys/aarch64_apple_ios/sys_sysctl.rs +++ /dev/null @@ -1,17 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -pub const CTL_MAXNAME: u32 = 12; -extern "C" { - pub fn sysctlbyname( - arg1: *const ::std::os::raw::c_char, - arg2: *mut ::core::ffi::c_void, - oldlenp: *mut usize, - arg3: *mut ::core::ffi::c_void, - newlen: usize, - ) -> ::std::os::raw::c_int; -} diff --git a/tests/helper/src/gen/sys/aarch64_apple_tvos/mod.rs b/tests/helper/src/gen/sys/aarch64_apple_tvos/mod.rs deleted file mode 100644 index 861fb8dd..00000000 --- a/tests/helper/src/gen/sys/aarch64_apple_tvos/mod.rs +++ /dev/null @@ -1,10 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] -mod sys_sysctl; -pub use sys_sysctl::CTL_MAXNAME; -pub use sys_sysctl::sysctlbyname; -pub type c_char = i8; diff --git a/tests/helper/src/gen/sys/aarch64_apple_tvos/sys_sysctl.rs b/tests/helper/src/gen/sys/aarch64_apple_tvos/sys_sysctl.rs deleted file mode 100644 index ee017fc1..00000000 --- a/tests/helper/src/gen/sys/aarch64_apple_tvos/sys_sysctl.rs +++ /dev/null @@ -1,17 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -pub const CTL_MAXNAME: u32 = 12; -extern "C" { - pub fn sysctlbyname( - arg1: *const ::std::os::raw::c_char, - arg2: *mut ::core::ffi::c_void, - oldlenp: *mut usize, - arg3: *mut ::core::ffi::c_void, - newlen: usize, - ) -> ::std::os::raw::c_int; -} diff --git a/tests/helper/src/gen/sys/aarch64_apple_visionos/mod.rs b/tests/helper/src/gen/sys/aarch64_apple_visionos/mod.rs deleted file mode 100644 index 861fb8dd..00000000 --- a/tests/helper/src/gen/sys/aarch64_apple_visionos/mod.rs +++ /dev/null @@ -1,10 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] -mod sys_sysctl; -pub use sys_sysctl::CTL_MAXNAME; -pub use sys_sysctl::sysctlbyname; -pub type c_char = i8; diff --git a/tests/helper/src/gen/sys/aarch64_apple_visionos/sys_sysctl.rs b/tests/helper/src/gen/sys/aarch64_apple_visionos/sys_sysctl.rs deleted file mode 100644 index ee017fc1..00000000 --- a/tests/helper/src/gen/sys/aarch64_apple_visionos/sys_sysctl.rs +++ /dev/null @@ -1,17 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -pub const CTL_MAXNAME: u32 = 12; -extern "C" { - pub fn sysctlbyname( - arg1: *const ::std::os::raw::c_char, - arg2: *mut ::core::ffi::c_void, - oldlenp: *mut usize, - arg3: *mut ::core::ffi::c_void, - newlen: usize, - ) -> ::std::os::raw::c_int; -} diff --git a/tests/helper/src/gen/sys/aarch64_apple_watchos/mod.rs b/tests/helper/src/gen/sys/aarch64_apple_watchos/mod.rs deleted file mode 100644 index 861fb8dd..00000000 --- a/tests/helper/src/gen/sys/aarch64_apple_watchos/mod.rs +++ /dev/null @@ -1,10 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] -mod sys_sysctl; -pub use sys_sysctl::CTL_MAXNAME; -pub use sys_sysctl::sysctlbyname; -pub type c_char = i8; diff --git a/tests/helper/src/gen/sys/aarch64_apple_watchos/sys_sysctl.rs b/tests/helper/src/gen/sys/aarch64_apple_watchos/sys_sysctl.rs deleted file mode 100644 index ee017fc1..00000000 --- a/tests/helper/src/gen/sys/aarch64_apple_watchos/sys_sysctl.rs +++ /dev/null @@ -1,17 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -pub const CTL_MAXNAME: u32 = 12; -extern "C" { - pub fn sysctlbyname( - arg1: *const ::std::os::raw::c_char, - arg2: *mut ::core::ffi::c_void, - oldlenp: *mut usize, - arg3: *mut ::core::ffi::c_void, - newlen: usize, - ) -> ::std::os::raw::c_int; -} diff --git a/tests/helper/src/gen/sys/aarch64_be_linux_gnu/dlfcn.rs b/tests/helper/src/gen/sys/aarch64_be_linux_gnu/dlfcn.rs deleted file mode 100644 index 0c516f36..00000000 --- a/tests/helper/src/gen/sys/aarch64_be_linux_gnu/dlfcn.rs +++ /dev/null @@ -1,14 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -pub const RTLD_DEFAULT: *mut ::std::os::raw::c_void = ::core::ptr::null_mut(); -extern "C" { - pub fn dlsym( - __handle: *mut ::core::ffi::c_void, - __name: *const ::std::os::raw::c_char, - ) -> *mut ::core::ffi::c_void; -} diff --git a/tests/helper/src/gen/sys/aarch64_be_linux_gnu/elf.rs b/tests/helper/src/gen/sys/aarch64_be_linux_gnu/elf.rs deleted file mode 100644 index a3c1790d..00000000 --- a/tests/helper/src/gen/sys/aarch64_be_linux_gnu/elf.rs +++ /dev/null @@ -1,29 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -#[repr(C)] -#[derive(Copy, Clone)] -pub struct Elf32_auxv_t { - pub a_type: u32, - pub a_un: Elf32_auxv_t__bindgen_ty_1, -} -#[repr(C)] -#[derive(Copy, Clone)] -pub union Elf32_auxv_t__bindgen_ty_1 { - pub a_val: u32, -} -#[repr(C)] -#[derive(Copy, Clone)] -pub struct Elf64_auxv_t { - pub a_type: u64, - pub a_un: Elf64_auxv_t__bindgen_ty_1, -} -#[repr(C)] -#[derive(Copy, Clone)] -pub union Elf64_auxv_t__bindgen_ty_1 { - pub a_val: u64, -} diff --git a/tests/helper/src/gen/sys/aarch64_be_linux_gnu/linux_headers_asm_hwcap.rs b/tests/helper/src/gen/sys/aarch64_be_linux_gnu/linux_headers_asm_hwcap.rs deleted file mode 100644 index 3b593c9f..00000000 --- a/tests/helper/src/gen/sys/aarch64_be_linux_gnu/linux_headers_asm_hwcap.rs +++ /dev/null @@ -1,103 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -pub const HWCAP_FP: u32 = 1; -pub const HWCAP_ASIMD: u32 = 2; -pub const HWCAP_EVTSTRM: u32 = 4; -pub const HWCAP_AES: u32 = 8; -pub const HWCAP_PMULL: u32 = 16; -pub const HWCAP_SHA1: u32 = 32; -pub const HWCAP_SHA2: u32 = 64; -pub const HWCAP_CRC32: u32 = 128; -pub const HWCAP_ATOMICS: u32 = 256; -pub const HWCAP_FPHP: u32 = 512; -pub const HWCAP_ASIMDHP: u32 = 1024; -pub const HWCAP_CPUID: u32 = 2048; -pub const HWCAP_ASIMDRDM: u32 = 4096; -pub const HWCAP_JSCVT: u32 = 8192; -pub const HWCAP_FCMA: u32 = 16384; -pub const HWCAP_LRCPC: u32 = 32768; -pub const HWCAP_DCPOP: u32 = 65536; -pub const HWCAP_SHA3: u32 = 131072; -pub const HWCAP_SM3: u32 = 262144; -pub const HWCAP_SM4: u32 = 524288; -pub const HWCAP_ASIMDDP: u32 = 1048576; -pub const HWCAP_SHA512: u32 = 2097152; -pub const HWCAP_SVE: u32 = 4194304; -pub const HWCAP_ASIMDFHM: u32 = 8388608; -pub const HWCAP_DIT: u32 = 16777216; -pub const HWCAP_USCAT: u32 = 33554432; -pub const HWCAP_ILRCPC: u32 = 67108864; -pub const HWCAP_FLAGM: u32 = 134217728; -pub const HWCAP_SSBS: u32 = 268435456; -pub const HWCAP_SB: u32 = 536870912; -pub const HWCAP_PACA: u32 = 1073741824; -pub const HWCAP_PACG: u32 = 2147483648; -pub const HWCAP2_DCPODP: u32 = 1; -pub const HWCAP2_SVE2: u32 = 2; -pub const HWCAP2_SVEAES: u32 = 4; -pub const HWCAP2_SVEPMULL: u32 = 8; -pub const HWCAP2_SVEBITPERM: u32 = 16; -pub const HWCAP2_SVESHA3: u32 = 32; -pub const HWCAP2_SVESM4: u32 = 64; -pub const HWCAP2_FLAGM2: u32 = 128; -pub const HWCAP2_FRINT: u32 = 256; -pub const HWCAP2_SVEI8MM: u32 = 512; -pub const HWCAP2_SVEF32MM: u32 = 1024; -pub const HWCAP2_SVEF64MM: u32 = 2048; -pub const HWCAP2_SVEBF16: u32 = 4096; -pub const HWCAP2_I8MM: u32 = 8192; -pub const HWCAP2_BF16: u32 = 16384; -pub const HWCAP2_DGH: u32 = 32768; -pub const HWCAP2_RNG: u32 = 65536; -pub const HWCAP2_BTI: u32 = 131072; -pub const HWCAP2_MTE: u32 = 262144; -pub const HWCAP2_ECV: u32 = 524288; -pub const HWCAP2_AFP: u32 = 1048576; -pub const HWCAP2_RPRES: u32 = 2097152; -pub const HWCAP2_MTE3: u32 = 4194304; -pub const HWCAP2_SME: u32 = 8388608; -pub const HWCAP2_SME_I16I64: u32 = 16777216; -pub const HWCAP2_SME_F64F64: u32 = 33554432; -pub const HWCAP2_SME_I8I32: u32 = 67108864; -pub const HWCAP2_SME_F16F32: u32 = 134217728; -pub const HWCAP2_SME_B16F32: u32 = 268435456; -pub const HWCAP2_SME_F32F32: u32 = 536870912; -pub const HWCAP2_SME_FA64: u32 = 1073741824; -pub const HWCAP2_WFXT: u32 = 2147483648; -pub const HWCAP2_EBF16: u64 = 4294967296; -pub const HWCAP2_SVE_EBF16: u64 = 8589934592; -pub const HWCAP2_CSSC: u64 = 17179869184; -pub const HWCAP2_RPRFM: u64 = 34359738368; -pub const HWCAP2_SVE2P1: u64 = 68719476736; -pub const HWCAP2_SME2: u64 = 137438953472; -pub const HWCAP2_SME2P1: u64 = 274877906944; -pub const HWCAP2_SME_I16I32: u64 = 549755813888; -pub const HWCAP2_SME_BI32I32: u64 = 1099511627776; -pub const HWCAP2_SME_B16B16: u64 = 2199023255552; -pub const HWCAP2_SME_F16F16: u64 = 4398046511104; -pub const HWCAP2_MOPS: u64 = 8796093022208; -pub const HWCAP2_HBC: u64 = 17592186044416; -pub const HWCAP2_SVE_B16B16: u64 = 35184372088832; -pub const HWCAP2_LRCPC3: u64 = 70368744177664; -pub const HWCAP2_LSE128: u64 = 140737488355328; -pub const HWCAP2_FPMR: u64 = 281474976710656; -pub const HWCAP2_LUT: u64 = 562949953421312; -pub const HWCAP2_FAMINMAX: u64 = 1125899906842624; -pub const HWCAP2_F8CVT: u64 = 2251799813685248; -pub const HWCAP2_F8FMA: u64 = 4503599627370496; -pub const HWCAP2_F8DP4: u64 = 9007199254740992; -pub const HWCAP2_F8DP2: u64 = 18014398509481984; -pub const HWCAP2_F8E4M3: u64 = 36028797018963968; -pub const HWCAP2_F8E5M2: u64 = 72057594037927936; -pub const HWCAP2_SME_LUTV2: u64 = 144115188075855872; -pub const HWCAP2_SME_F8F16: u64 = 288230376151711744; -pub const HWCAP2_SME_F8F32: u64 = 576460752303423488; -pub const HWCAP2_SME_SF8FMA: u64 = 1152921504606846976; -pub const HWCAP2_SME_SF8DP4: u64 = 2305843009213693952; -pub const HWCAP2_SME_SF8DP2: u64 = 4611686018427387904; -pub const HWCAP2_POE: u64 = 9223372036854775808; diff --git a/tests/helper/src/gen/sys/aarch64_be_linux_gnu/linux_headers_asm_unistd.rs b/tests/helper/src/gen/sys/aarch64_be_linux_gnu/linux_headers_asm_unistd.rs deleted file mode 100644 index 3d00edab..00000000 --- a/tests/helper/src/gen/sys/aarch64_be_linux_gnu/linux_headers_asm_unistd.rs +++ /dev/null @@ -1,325 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -pub const __NR_io_setup: u32 = 0; -pub const __NR_io_destroy: u32 = 1; -pub const __NR_io_submit: u32 = 2; -pub const __NR_io_cancel: u32 = 3; -pub const __NR_io_getevents: u32 = 4; -pub const __NR_setxattr: u32 = 5; -pub const __NR_lsetxattr: u32 = 6; -pub const __NR_fsetxattr: u32 = 7; -pub const __NR_getxattr: u32 = 8; -pub const __NR_lgetxattr: u32 = 9; -pub const __NR_fgetxattr: u32 = 10; -pub const __NR_listxattr: u32 = 11; -pub const __NR_llistxattr: u32 = 12; -pub const __NR_flistxattr: u32 = 13; -pub const __NR_removexattr: u32 = 14; -pub const __NR_lremovexattr: u32 = 15; -pub const __NR_fremovexattr: u32 = 16; -pub const __NR_getcwd: u32 = 17; -pub const __NR_lookup_dcookie: u32 = 18; -pub const __NR_eventfd2: u32 = 19; -pub const __NR_epoll_create1: u32 = 20; -pub const __NR_epoll_ctl: u32 = 21; -pub const __NR_epoll_pwait: u32 = 22; -pub const __NR_dup: u32 = 23; -pub const __NR_dup3: u32 = 24; -pub const __NR_fcntl: u32 = 25; -pub const __NR_inotify_init1: u32 = 26; -pub const __NR_inotify_add_watch: u32 = 27; -pub const __NR_inotify_rm_watch: u32 = 28; -pub const __NR_ioctl: u32 = 29; -pub const __NR_ioprio_set: u32 = 30; -pub const __NR_ioprio_get: u32 = 31; -pub const __NR_flock: u32 = 32; -pub const __NR_mknodat: u32 = 33; -pub const __NR_mkdirat: u32 = 34; -pub const __NR_unlinkat: u32 = 35; -pub const __NR_symlinkat: u32 = 36; -pub const __NR_linkat: u32 = 37; -pub const __NR_renameat: u32 = 38; -pub const __NR_umount2: u32 = 39; -pub const __NR_mount: u32 = 40; -pub const __NR_pivot_root: u32 = 41; -pub const __NR_nfsservctl: u32 = 42; -pub const __NR_statfs: u32 = 43; -pub const __NR_fstatfs: u32 = 44; -pub const __NR_truncate: u32 = 45; -pub const __NR_ftruncate: u32 = 46; -pub const __NR_fallocate: u32 = 47; -pub const __NR_faccessat: u32 = 48; -pub const __NR_chdir: u32 = 49; -pub const __NR_fchdir: u32 = 50; -pub const __NR_chroot: u32 = 51; -pub const __NR_fchmod: u32 = 52; -pub const __NR_fchmodat: u32 = 53; -pub const __NR_fchownat: u32 = 54; -pub const __NR_fchown: u32 = 55; -pub const __NR_openat: u32 = 56; -pub const __NR_close: u32 = 57; -pub const __NR_vhangup: u32 = 58; -pub const __NR_pipe2: u32 = 59; -pub const __NR_quotactl: u32 = 60; -pub const __NR_getdents64: u32 = 61; -pub const __NR_lseek: u32 = 62; -pub const __NR_read: u32 = 63; -pub const __NR_write: u32 = 64; -pub const __NR_readv: u32 = 65; -pub const __NR_writev: u32 = 66; -pub const __NR_pread64: u32 = 67; -pub const __NR_pwrite64: u32 = 68; -pub const __NR_preadv: u32 = 69; -pub const __NR_pwritev: u32 = 70; -pub const __NR_sendfile: u32 = 71; -pub const __NR_pselect6: u32 = 72; -pub const __NR_ppoll: u32 = 73; -pub const __NR_signalfd4: u32 = 74; -pub const __NR_vmsplice: u32 = 75; -pub const __NR_splice: u32 = 76; -pub const __NR_tee: u32 = 77; -pub const __NR_readlinkat: u32 = 78; -pub const __NR_newfstatat: u32 = 79; -pub const __NR_fstat: u32 = 80; -pub const __NR_sync: u32 = 81; -pub const __NR_fsync: u32 = 82; -pub const __NR_fdatasync: u32 = 83; -pub const __NR_sync_file_range: u32 = 84; -pub const __NR_timerfd_create: u32 = 85; -pub const __NR_timerfd_settime: u32 = 86; -pub const __NR_timerfd_gettime: u32 = 87; -pub const __NR_utimensat: u32 = 88; -pub const __NR_acct: u32 = 89; -pub const __NR_capget: u32 = 90; -pub const __NR_capset: u32 = 91; -pub const __NR_personality: u32 = 92; -pub const __NR_exit: u32 = 93; -pub const __NR_exit_group: u32 = 94; -pub const __NR_waitid: u32 = 95; -pub const __NR_set_tid_address: u32 = 96; -pub const __NR_unshare: u32 = 97; -pub const __NR_futex: u32 = 98; -pub const __NR_set_robust_list: u32 = 99; -pub const __NR_get_robust_list: u32 = 100; -pub const __NR_nanosleep: u32 = 101; -pub const __NR_getitimer: u32 = 102; -pub const __NR_setitimer: u32 = 103; -pub const __NR_kexec_load: u32 = 104; -pub const __NR_init_module: u32 = 105; -pub const __NR_delete_module: u32 = 106; -pub const __NR_timer_create: u32 = 107; -pub const __NR_timer_gettime: u32 = 108; -pub const __NR_timer_getoverrun: u32 = 109; -pub const __NR_timer_settime: u32 = 110; -pub const __NR_timer_delete: u32 = 111; -pub const __NR_clock_settime: u32 = 112; -pub const __NR_clock_gettime: u32 = 113; -pub const __NR_clock_getres: u32 = 114; -pub const __NR_clock_nanosleep: u32 = 115; -pub const __NR_syslog: u32 = 116; -pub const __NR_ptrace: u32 = 117; -pub const __NR_sched_setparam: u32 = 118; -pub const __NR_sched_setscheduler: u32 = 119; -pub const __NR_sched_getscheduler: u32 = 120; -pub const __NR_sched_getparam: u32 = 121; -pub const __NR_sched_setaffinity: u32 = 122; -pub const __NR_sched_getaffinity: u32 = 123; -pub const __NR_sched_yield: u32 = 124; -pub const __NR_sched_get_priority_max: u32 = 125; -pub const __NR_sched_get_priority_min: u32 = 126; -pub const __NR_sched_rr_get_interval: u32 = 127; -pub const __NR_restart_syscall: u32 = 128; -pub const __NR_kill: u32 = 129; -pub const __NR_tkill: u32 = 130; -pub const __NR_tgkill: u32 = 131; -pub const __NR_sigaltstack: u32 = 132; -pub const __NR_rt_sigsuspend: u32 = 133; -pub const __NR_rt_sigaction: u32 = 134; -pub const __NR_rt_sigprocmask: u32 = 135; -pub const __NR_rt_sigpending: u32 = 136; -pub const __NR_rt_sigtimedwait: u32 = 137; -pub const __NR_rt_sigqueueinfo: u32 = 138; -pub const __NR_rt_sigreturn: u32 = 139; -pub const __NR_setpriority: u32 = 140; -pub const __NR_getpriority: u32 = 141; -pub const __NR_reboot: u32 = 142; -pub const __NR_setregid: u32 = 143; -pub const __NR_setgid: u32 = 144; -pub const __NR_setreuid: u32 = 145; -pub const __NR_setuid: u32 = 146; -pub const __NR_setresuid: u32 = 147; -pub const __NR_getresuid: u32 = 148; -pub const __NR_setresgid: u32 = 149; -pub const __NR_getresgid: u32 = 150; -pub const __NR_setfsuid: u32 = 151; -pub const __NR_setfsgid: u32 = 152; -pub const __NR_times: u32 = 153; -pub const __NR_setpgid: u32 = 154; -pub const __NR_getpgid: u32 = 155; -pub const __NR_getsid: u32 = 156; -pub const __NR_setsid: u32 = 157; -pub const __NR_getgroups: u32 = 158; -pub const __NR_setgroups: u32 = 159; -pub const __NR_uname: u32 = 160; -pub const __NR_sethostname: u32 = 161; -pub const __NR_setdomainname: u32 = 162; -pub const __NR_getrlimit: u32 = 163; -pub const __NR_setrlimit: u32 = 164; -pub const __NR_getrusage: u32 = 165; -pub const __NR_umask: u32 = 166; -pub const __NR_prctl: u32 = 167; -pub const __NR_getcpu: u32 = 168; -pub const __NR_gettimeofday: u32 = 169; -pub const __NR_settimeofday: u32 = 170; -pub const __NR_adjtimex: u32 = 171; -pub const __NR_getpid: u32 = 172; -pub const __NR_getppid: u32 = 173; -pub const __NR_getuid: u32 = 174; -pub const __NR_geteuid: u32 = 175; -pub const __NR_getgid: u32 = 176; -pub const __NR_getegid: u32 = 177; -pub const __NR_gettid: u32 = 178; -pub const __NR_sysinfo: u32 = 179; -pub const __NR_mq_open: u32 = 180; -pub const __NR_mq_unlink: u32 = 181; -pub const __NR_mq_timedsend: u32 = 182; -pub const __NR_mq_timedreceive: u32 = 183; -pub const __NR_mq_notify: u32 = 184; -pub const __NR_mq_getsetattr: u32 = 185; -pub const __NR_msgget: u32 = 186; -pub const __NR_msgctl: u32 = 187; -pub const __NR_msgrcv: u32 = 188; -pub const __NR_msgsnd: u32 = 189; -pub const __NR_semget: u32 = 190; -pub const __NR_semctl: u32 = 191; -pub const __NR_semtimedop: u32 = 192; -pub const __NR_semop: u32 = 193; -pub const __NR_shmget: u32 = 194; -pub const __NR_shmctl: u32 = 195; -pub const __NR_shmat: u32 = 196; -pub const __NR_shmdt: u32 = 197; -pub const __NR_socket: u32 = 198; -pub const __NR_socketpair: u32 = 199; -pub const __NR_bind: u32 = 200; -pub const __NR_listen: u32 = 201; -pub const __NR_accept: u32 = 202; -pub const __NR_connect: u32 = 203; -pub const __NR_getsockname: u32 = 204; -pub const __NR_getpeername: u32 = 205; -pub const __NR_sendto: u32 = 206; -pub const __NR_recvfrom: u32 = 207; -pub const __NR_setsockopt: u32 = 208; -pub const __NR_getsockopt: u32 = 209; -pub const __NR_shutdown: u32 = 210; -pub const __NR_sendmsg: u32 = 211; -pub const __NR_recvmsg: u32 = 212; -pub const __NR_readahead: u32 = 213; -pub const __NR_brk: u32 = 214; -pub const __NR_munmap: u32 = 215; -pub const __NR_mremap: u32 = 216; -pub const __NR_add_key: u32 = 217; -pub const __NR_request_key: u32 = 218; -pub const __NR_keyctl: u32 = 219; -pub const __NR_clone: u32 = 220; -pub const __NR_execve: u32 = 221; -pub const __NR_mmap: u32 = 222; -pub const __NR_fadvise64: u32 = 223; -pub const __NR_swapon: u32 = 224; -pub const __NR_swapoff: u32 = 225; -pub const __NR_mprotect: u32 = 226; -pub const __NR_msync: u32 = 227; -pub const __NR_mlock: u32 = 228; -pub const __NR_munlock: u32 = 229; -pub const __NR_mlockall: u32 = 230; -pub const __NR_munlockall: u32 = 231; -pub const __NR_mincore: u32 = 232; -pub const __NR_madvise: u32 = 233; -pub const __NR_remap_file_pages: u32 = 234; -pub const __NR_mbind: u32 = 235; -pub const __NR_get_mempolicy: u32 = 236; -pub const __NR_set_mempolicy: u32 = 237; -pub const __NR_migrate_pages: u32 = 238; -pub const __NR_move_pages: u32 = 239; -pub const __NR_rt_tgsigqueueinfo: u32 = 240; -pub const __NR_perf_event_open: u32 = 241; -pub const __NR_accept4: u32 = 242; -pub const __NR_recvmmsg: u32 = 243; -pub const __NR_wait4: u32 = 260; -pub const __NR_prlimit64: u32 = 261; -pub const __NR_fanotify_init: u32 = 262; -pub const __NR_fanotify_mark: u32 = 263; -pub const __NR_name_to_handle_at: u32 = 264; -pub const __NR_open_by_handle_at: u32 = 265; -pub const __NR_clock_adjtime: u32 = 266; -pub const __NR_syncfs: u32 = 267; -pub const __NR_setns: u32 = 268; -pub const __NR_sendmmsg: u32 = 269; -pub const __NR_process_vm_readv: u32 = 270; -pub const __NR_process_vm_writev: u32 = 271; -pub const __NR_kcmp: u32 = 272; -pub const __NR_finit_module: u32 = 273; -pub const __NR_sched_setattr: u32 = 274; -pub const __NR_sched_getattr: u32 = 275; -pub const __NR_renameat2: u32 = 276; -pub const __NR_seccomp: u32 = 277; -pub const __NR_getrandom: u32 = 278; -pub const __NR_memfd_create: u32 = 279; -pub const __NR_bpf: u32 = 280; -pub const __NR_execveat: u32 = 281; -pub const __NR_userfaultfd: u32 = 282; -pub const __NR_membarrier: u32 = 283; -pub const __NR_mlock2: u32 = 284; -pub const __NR_copy_file_range: u32 = 285; -pub const __NR_preadv2: u32 = 286; -pub const __NR_pwritev2: u32 = 287; -pub const __NR_pkey_mprotect: u32 = 288; -pub const __NR_pkey_alloc: u32 = 289; -pub const __NR_pkey_free: u32 = 290; -pub const __NR_statx: u32 = 291; -pub const __NR_io_pgetevents: u32 = 292; -pub const __NR_rseq: u32 = 293; -pub const __NR_kexec_file_load: u32 = 294; -pub const __NR_pidfd_send_signal: u32 = 424; -pub const __NR_io_uring_setup: u32 = 425; -pub const __NR_io_uring_enter: u32 = 426; -pub const __NR_io_uring_register: u32 = 427; -pub const __NR_open_tree: u32 = 428; -pub const __NR_move_mount: u32 = 429; -pub const __NR_fsopen: u32 = 430; -pub const __NR_fsconfig: u32 = 431; -pub const __NR_fsmount: u32 = 432; -pub const __NR_fspick: u32 = 433; -pub const __NR_pidfd_open: u32 = 434; -pub const __NR_clone3: u32 = 435; -pub const __NR_close_range: u32 = 436; -pub const __NR_openat2: u32 = 437; -pub const __NR_pidfd_getfd: u32 = 438; -pub const __NR_faccessat2: u32 = 439; -pub const __NR_process_madvise: u32 = 440; -pub const __NR_epoll_pwait2: u32 = 441; -pub const __NR_mount_setattr: u32 = 442; -pub const __NR_quotactl_fd: u32 = 443; -pub const __NR_landlock_create_ruleset: u32 = 444; -pub const __NR_landlock_add_rule: u32 = 445; -pub const __NR_landlock_restrict_self: u32 = 446; -pub const __NR_memfd_secret: u32 = 447; -pub const __NR_process_mrelease: u32 = 448; -pub const __NR_futex_waitv: u32 = 449; -pub const __NR_set_mempolicy_home_node: u32 = 450; -pub const __NR_cachestat: u32 = 451; -pub const __NR_fchmodat2: u32 = 452; -pub const __NR_map_shadow_stack: u32 = 453; -pub const __NR_futex_wake: u32 = 454; -pub const __NR_futex_wait: u32 = 455; -pub const __NR_futex_requeue: u32 = 456; -pub const __NR_statmount: u32 = 457; -pub const __NR_listmount: u32 = 458; -pub const __NR_lsm_get_self_attr: u32 = 459; -pub const __NR_lsm_set_self_attr: u32 = 460; -pub const __NR_lsm_list_modules: u32 = 461; -pub const __NR_mseal: u32 = 462; diff --git a/tests/helper/src/gen/sys/aarch64_be_linux_gnu/linux_headers_linux_auxvec.rs b/tests/helper/src/gen/sys/aarch64_be_linux_gnu/linux_headers_linux_auxvec.rs deleted file mode 100644 index da867dd1..00000000 --- a/tests/helper/src/gen/sys/aarch64_be_linux_gnu/linux_headers_linux_auxvec.rs +++ /dev/null @@ -1,37 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -pub const AT_SYSINFO_EHDR: u32 = 33; -pub const AT_MINSIGSTKSZ: u32 = 51; -pub const AT_VECTOR_SIZE_ARCH: u32 = 2; -pub const AT_NULL: u32 = 0; -pub const AT_IGNORE: u32 = 1; -pub const AT_EXECFD: u32 = 2; -pub const AT_PHDR: u32 = 3; -pub const AT_PHENT: u32 = 4; -pub const AT_PHNUM: u32 = 5; -pub const AT_PAGESZ: u32 = 6; -pub const AT_BASE: u32 = 7; -pub const AT_FLAGS: u32 = 8; -pub const AT_ENTRY: u32 = 9; -pub const AT_NOTELF: u32 = 10; -pub const AT_UID: u32 = 11; -pub const AT_EUID: u32 = 12; -pub const AT_GID: u32 = 13; -pub const AT_EGID: u32 = 14; -pub const AT_PLATFORM: u32 = 15; -pub const AT_HWCAP: u32 = 16; -pub const AT_CLKTCK: u32 = 17; -pub const AT_SECURE: u32 = 23; -pub const AT_BASE_PLATFORM: u32 = 24; -pub const AT_RANDOM: u32 = 25; -pub const AT_HWCAP2: u32 = 26; -pub const AT_RSEQ_FEATURE_SIZE: u32 = 27; -pub const AT_RSEQ_ALIGN: u32 = 28; -pub const AT_HWCAP3: u32 = 29; -pub const AT_HWCAP4: u32 = 30; -pub const AT_EXECFN: u32 = 31; diff --git a/tests/helper/src/gen/sys/aarch64_be_linux_gnu/linux_headers_linux_prctl.rs b/tests/helper/src/gen/sys/aarch64_be_linux_gnu/linux_headers_linux_prctl.rs deleted file mode 100644 index 6eeb3021..00000000 --- a/tests/helper/src/gen/sys/aarch64_be_linux_gnu/linux_headers_linux_prctl.rs +++ /dev/null @@ -1,189 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -pub const PR_SET_PDEATHSIG: u32 = 1; -pub const PR_GET_PDEATHSIG: u32 = 2; -pub const PR_GET_DUMPABLE: u32 = 3; -pub const PR_SET_DUMPABLE: u32 = 4; -pub const PR_GET_UNALIGN: u32 = 5; -pub const PR_SET_UNALIGN: u32 = 6; -pub const PR_UNALIGN_NOPRINT: u32 = 1; -pub const PR_UNALIGN_SIGBUS: u32 = 2; -pub const PR_GET_KEEPCAPS: u32 = 7; -pub const PR_SET_KEEPCAPS: u32 = 8; -pub const PR_GET_FPEMU: u32 = 9; -pub const PR_SET_FPEMU: u32 = 10; -pub const PR_FPEMU_NOPRINT: u32 = 1; -pub const PR_FPEMU_SIGFPE: u32 = 2; -pub const PR_GET_FPEXC: u32 = 11; -pub const PR_SET_FPEXC: u32 = 12; -pub const PR_FP_EXC_SW_ENABLE: u32 = 128; -pub const PR_FP_EXC_DIV: u32 = 65536; -pub const PR_FP_EXC_OVF: u32 = 131072; -pub const PR_FP_EXC_UND: u32 = 262144; -pub const PR_FP_EXC_RES: u32 = 524288; -pub const PR_FP_EXC_INV: u32 = 1048576; -pub const PR_FP_EXC_DISABLED: u32 = 0; -pub const PR_FP_EXC_NONRECOV: u32 = 1; -pub const PR_FP_EXC_ASYNC: u32 = 2; -pub const PR_FP_EXC_PRECISE: u32 = 3; -pub const PR_GET_TIMING: u32 = 13; -pub const PR_SET_TIMING: u32 = 14; -pub const PR_TIMING_STATISTICAL: u32 = 0; -pub const PR_TIMING_TIMESTAMP: u32 = 1; -pub const PR_SET_NAME: u32 = 15; -pub const PR_GET_NAME: u32 = 16; -pub const PR_GET_ENDIAN: u32 = 19; -pub const PR_SET_ENDIAN: u32 = 20; -pub const PR_ENDIAN_BIG: u32 = 0; -pub const PR_ENDIAN_LITTLE: u32 = 1; -pub const PR_ENDIAN_PPC_LITTLE: u32 = 2; -pub const PR_GET_SECCOMP: u32 = 21; -pub const PR_SET_SECCOMP: u32 = 22; -pub const PR_CAPBSET_READ: u32 = 23; -pub const PR_CAPBSET_DROP: u32 = 24; -pub const PR_GET_TSC: u32 = 25; -pub const PR_SET_TSC: u32 = 26; -pub const PR_TSC_ENABLE: u32 = 1; -pub const PR_TSC_SIGSEGV: u32 = 2; -pub const PR_GET_SECUREBITS: u32 = 27; -pub const PR_SET_SECUREBITS: u32 = 28; -pub const PR_SET_TIMERSLACK: u32 = 29; -pub const PR_GET_TIMERSLACK: u32 = 30; -pub const PR_TASK_PERF_EVENTS_DISABLE: u32 = 31; -pub const PR_TASK_PERF_EVENTS_ENABLE: u32 = 32; -pub const PR_MCE_KILL: u32 = 33; -pub const PR_MCE_KILL_CLEAR: u32 = 0; -pub const PR_MCE_KILL_SET: u32 = 1; -pub const PR_MCE_KILL_LATE: u32 = 0; -pub const PR_MCE_KILL_EARLY: u32 = 1; -pub const PR_MCE_KILL_DEFAULT: u32 = 2; -pub const PR_MCE_KILL_GET: u32 = 34; -pub const PR_SET_MM: u32 = 35; -pub const PR_SET_MM_START_CODE: u32 = 1; -pub const PR_SET_MM_END_CODE: u32 = 2; -pub const PR_SET_MM_START_DATA: u32 = 3; -pub const PR_SET_MM_END_DATA: u32 = 4; -pub const PR_SET_MM_START_STACK: u32 = 5; -pub const PR_SET_MM_START_BRK: u32 = 6; -pub const PR_SET_MM_BRK: u32 = 7; -pub const PR_SET_MM_ARG_START: u32 = 8; -pub const PR_SET_MM_ARG_END: u32 = 9; -pub const PR_SET_MM_ENV_START: u32 = 10; -pub const PR_SET_MM_ENV_END: u32 = 11; -pub const PR_SET_MM_AUXV: u32 = 12; -pub const PR_SET_MM_EXE_FILE: u32 = 13; -pub const PR_SET_MM_MAP: u32 = 14; -pub const PR_SET_MM_MAP_SIZE: u32 = 15; -pub const PR_SET_PTRACER: u32 = 1499557217; -pub const PR_SET_PTRACER_ANY: ::std::os::raw::c_ulong = -1i8 as ::std::os::raw::c_ulong; -pub const PR_SET_CHILD_SUBREAPER: u32 = 36; -pub const PR_GET_CHILD_SUBREAPER: u32 = 37; -pub const PR_SET_NO_NEW_PRIVS: u32 = 38; -pub const PR_GET_NO_NEW_PRIVS: u32 = 39; -pub const PR_GET_TID_ADDRESS: u32 = 40; -pub const PR_SET_THP_DISABLE: u32 = 41; -pub const PR_GET_THP_DISABLE: u32 = 42; -pub const PR_MPX_ENABLE_MANAGEMENT: u32 = 43; -pub const PR_MPX_DISABLE_MANAGEMENT: u32 = 44; -pub const PR_SET_FP_MODE: u32 = 45; -pub const PR_GET_FP_MODE: u32 = 46; -pub const PR_FP_MODE_FR: u32 = 1; -pub const PR_FP_MODE_FRE: u32 = 2; -pub const PR_CAP_AMBIENT: u32 = 47; -pub const PR_CAP_AMBIENT_IS_SET: u32 = 1; -pub const PR_CAP_AMBIENT_RAISE: u32 = 2; -pub const PR_CAP_AMBIENT_LOWER: u32 = 3; -pub const PR_CAP_AMBIENT_CLEAR_ALL: u32 = 4; -pub const PR_SVE_SET_VL: u32 = 50; -pub const PR_SVE_SET_VL_ONEXEC: u32 = 262144; -pub const PR_SVE_GET_VL: u32 = 51; -pub const PR_SVE_VL_LEN_MASK: u32 = 65535; -pub const PR_SVE_VL_INHERIT: u32 = 131072; -pub const PR_GET_SPECULATION_CTRL: u32 = 52; -pub const PR_SET_SPECULATION_CTRL: u32 = 53; -pub const PR_SPEC_STORE_BYPASS: u32 = 0; -pub const PR_SPEC_INDIRECT_BRANCH: u32 = 1; -pub const PR_SPEC_L1D_FLUSH: u32 = 2; -pub const PR_SPEC_NOT_AFFECTED: u32 = 0; -pub const PR_SPEC_PRCTL: u32 = 1; -pub const PR_SPEC_ENABLE: u32 = 2; -pub const PR_SPEC_DISABLE: u32 = 4; -pub const PR_SPEC_FORCE_DISABLE: u32 = 8; -pub const PR_SPEC_DISABLE_NOEXEC: u32 = 16; -pub const PR_PAC_RESET_KEYS: u32 = 54; -pub const PR_PAC_APIAKEY: u32 = 1; -pub const PR_PAC_APIBKEY: u32 = 2; -pub const PR_PAC_APDAKEY: u32 = 4; -pub const PR_PAC_APDBKEY: u32 = 8; -pub const PR_PAC_APGAKEY: u32 = 16; -pub const PR_SET_TAGGED_ADDR_CTRL: u32 = 55; -pub const PR_GET_TAGGED_ADDR_CTRL: u32 = 56; -pub const PR_TAGGED_ADDR_ENABLE: u32 = 1; -pub const PR_MTE_TCF_NONE: u32 = 0; -pub const PR_MTE_TCF_SYNC: u32 = 2; -pub const PR_MTE_TCF_ASYNC: u32 = 4; -pub const PR_MTE_TCF_MASK: u32 = 6; -pub const PR_MTE_TAG_SHIFT: u32 = 3; -pub const PR_MTE_TAG_MASK: u32 = 524280; -pub const PR_MTE_TCF_SHIFT: u32 = 1; -pub const PR_SET_IO_FLUSHER: u32 = 57; -pub const PR_GET_IO_FLUSHER: u32 = 58; -pub const PR_SET_SYSCALL_USER_DISPATCH: u32 = 59; -pub const PR_SYS_DISPATCH_OFF: u32 = 0; -pub const PR_SYS_DISPATCH_ON: u32 = 1; -pub const PR_PAC_SET_ENABLED_KEYS: u32 = 60; -pub const PR_PAC_GET_ENABLED_KEYS: u32 = 61; -pub const PR_SCHED_CORE: u32 = 62; -pub const PR_SCHED_CORE_GET: u32 = 0; -pub const PR_SCHED_CORE_CREATE: u32 = 1; -pub const PR_SCHED_CORE_SHARE_TO: u32 = 2; -pub const PR_SCHED_CORE_SHARE_FROM: u32 = 3; -pub const PR_SCHED_CORE_MAX: u32 = 4; -pub const PR_SCHED_CORE_SCOPE_THREAD: u32 = 0; -pub const PR_SCHED_CORE_SCOPE_THREAD_GROUP: u32 = 1; -pub const PR_SCHED_CORE_SCOPE_PROCESS_GROUP: u32 = 2; -pub const PR_SME_SET_VL: u32 = 63; -pub const PR_SME_SET_VL_ONEXEC: u32 = 262144; -pub const PR_SME_GET_VL: u32 = 64; -pub const PR_SME_VL_LEN_MASK: u32 = 65535; -pub const PR_SME_VL_INHERIT: u32 = 131072; -pub const PR_SET_MDWE: u32 = 65; -pub const PR_MDWE_REFUSE_EXEC_GAIN: u32 = 1; -pub const PR_MDWE_NO_INHERIT: u32 = 2; -pub const PR_GET_MDWE: u32 = 66; -pub const PR_SET_VMA: u32 = 1398164801; -pub const PR_SET_VMA_ANON_NAME: u32 = 0; -pub const PR_GET_AUXV: u32 = 1096112214; -pub const PR_SET_MEMORY_MERGE: u32 = 67; -pub const PR_GET_MEMORY_MERGE: u32 = 68; -pub const PR_RISCV_V_SET_CONTROL: u32 = 69; -pub const PR_RISCV_V_GET_CONTROL: u32 = 70; -pub const PR_RISCV_V_VSTATE_CTRL_DEFAULT: u32 = 0; -pub const PR_RISCV_V_VSTATE_CTRL_OFF: u32 = 1; -pub const PR_RISCV_V_VSTATE_CTRL_ON: u32 = 2; -pub const PR_RISCV_V_VSTATE_CTRL_INHERIT: u32 = 16; -pub const PR_RISCV_V_VSTATE_CTRL_CUR_MASK: u32 = 3; -pub const PR_RISCV_V_VSTATE_CTRL_NEXT_MASK: u32 = 12; -pub const PR_RISCV_V_VSTATE_CTRL_MASK: u32 = 31; -pub const PR_RISCV_SET_ICACHE_FLUSH_CTX: u32 = 71; -pub const PR_RISCV_CTX_SW_FENCEI_ON: u32 = 0; -pub const PR_RISCV_CTX_SW_FENCEI_OFF: u32 = 1; -pub const PR_RISCV_SCOPE_PER_PROCESS: u32 = 0; -pub const PR_RISCV_SCOPE_PER_THREAD: u32 = 1; -pub const PR_PPC_GET_DEXCR: u32 = 72; -pub const PR_PPC_SET_DEXCR: u32 = 73; -pub const PR_PPC_DEXCR_SBHE: u32 = 0; -pub const PR_PPC_DEXCR_IBRTPD: u32 = 1; -pub const PR_PPC_DEXCR_SRAPD: u32 = 2; -pub const PR_PPC_DEXCR_NPHIE: u32 = 3; -pub const PR_PPC_DEXCR_CTRL_EDITABLE: u32 = 1; -pub const PR_PPC_DEXCR_CTRL_SET: u32 = 2; -pub const PR_PPC_DEXCR_CTRL_CLEAR: u32 = 4; -pub const PR_PPC_DEXCR_CTRL_SET_ONEXEC: u32 = 8; -pub const PR_PPC_DEXCR_CTRL_CLEAR_ONEXEC: u32 = 16; -pub const PR_PPC_DEXCR_CTRL_MASK: u32 = 31; diff --git a/tests/helper/src/gen/sys/aarch64_be_linux_gnu/mod.rs b/tests/helper/src/gen/sys/aarch64_be_linux_gnu/mod.rs deleted file mode 100644 index 31b2768e..00000000 --- a/tests/helper/src/gen/sys/aarch64_be_linux_gnu/mod.rs +++ /dev/null @@ -1,647 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] -mod linux_headers_asm_hwcap; -pub use linux_headers_asm_hwcap::HWCAP_FP; -pub use linux_headers_asm_hwcap::HWCAP_ASIMD; -pub use linux_headers_asm_hwcap::HWCAP_EVTSTRM; -pub use linux_headers_asm_hwcap::HWCAP_AES; -pub use linux_headers_asm_hwcap::HWCAP_PMULL; -pub use linux_headers_asm_hwcap::HWCAP_SHA1; -pub use linux_headers_asm_hwcap::HWCAP_SHA2; -pub use linux_headers_asm_hwcap::HWCAP_CRC32; -pub use linux_headers_asm_hwcap::HWCAP_ATOMICS; -pub use linux_headers_asm_hwcap::HWCAP_FPHP; -pub use linux_headers_asm_hwcap::HWCAP_ASIMDHP; -pub use linux_headers_asm_hwcap::HWCAP_CPUID; -pub use linux_headers_asm_hwcap::HWCAP_ASIMDRDM; -pub use linux_headers_asm_hwcap::HWCAP_JSCVT; -pub use linux_headers_asm_hwcap::HWCAP_FCMA; -pub use linux_headers_asm_hwcap::HWCAP_LRCPC; -pub use linux_headers_asm_hwcap::HWCAP_DCPOP; -pub use linux_headers_asm_hwcap::HWCAP_SHA3; -pub use linux_headers_asm_hwcap::HWCAP_SM3; -pub use linux_headers_asm_hwcap::HWCAP_SM4; -pub use linux_headers_asm_hwcap::HWCAP_ASIMDDP; -pub use linux_headers_asm_hwcap::HWCAP_SHA512; -pub use linux_headers_asm_hwcap::HWCAP_SVE; -pub use linux_headers_asm_hwcap::HWCAP_ASIMDFHM; -pub use linux_headers_asm_hwcap::HWCAP_DIT; -pub use linux_headers_asm_hwcap::HWCAP_USCAT; -pub use linux_headers_asm_hwcap::HWCAP_ILRCPC; -pub use linux_headers_asm_hwcap::HWCAP_FLAGM; -pub use linux_headers_asm_hwcap::HWCAP_SSBS; -pub use linux_headers_asm_hwcap::HWCAP_SB; -pub use linux_headers_asm_hwcap::HWCAP_PACA; -pub use linux_headers_asm_hwcap::HWCAP_PACG; -pub use linux_headers_asm_hwcap::HWCAP2_DCPODP; -pub use linux_headers_asm_hwcap::HWCAP2_SVE2; -pub use linux_headers_asm_hwcap::HWCAP2_SVEAES; -pub use linux_headers_asm_hwcap::HWCAP2_SVEPMULL; -pub use linux_headers_asm_hwcap::HWCAP2_SVEBITPERM; -pub use linux_headers_asm_hwcap::HWCAP2_SVESHA3; -pub use linux_headers_asm_hwcap::HWCAP2_SVESM4; -pub use linux_headers_asm_hwcap::HWCAP2_FLAGM2; -pub use linux_headers_asm_hwcap::HWCAP2_FRINT; -pub use linux_headers_asm_hwcap::HWCAP2_SVEI8MM; -pub use linux_headers_asm_hwcap::HWCAP2_SVEF32MM; -pub use linux_headers_asm_hwcap::HWCAP2_SVEF64MM; -pub use linux_headers_asm_hwcap::HWCAP2_SVEBF16; -pub use linux_headers_asm_hwcap::HWCAP2_I8MM; -pub use linux_headers_asm_hwcap::HWCAP2_BF16; -pub use linux_headers_asm_hwcap::HWCAP2_DGH; -pub use linux_headers_asm_hwcap::HWCAP2_RNG; -pub use linux_headers_asm_hwcap::HWCAP2_BTI; -pub use linux_headers_asm_hwcap::HWCAP2_MTE; -pub use linux_headers_asm_hwcap::HWCAP2_ECV; -pub use linux_headers_asm_hwcap::HWCAP2_AFP; -pub use linux_headers_asm_hwcap::HWCAP2_RPRES; -pub use linux_headers_asm_hwcap::HWCAP2_MTE3; -pub use linux_headers_asm_hwcap::HWCAP2_SME; -pub use linux_headers_asm_hwcap::HWCAP2_SME_I16I64; -pub use linux_headers_asm_hwcap::HWCAP2_SME_F64F64; -pub use linux_headers_asm_hwcap::HWCAP2_SME_I8I32; -pub use linux_headers_asm_hwcap::HWCAP2_SME_F16F32; -pub use linux_headers_asm_hwcap::HWCAP2_SME_B16F32; -pub use linux_headers_asm_hwcap::HWCAP2_SME_F32F32; -pub use linux_headers_asm_hwcap::HWCAP2_SME_FA64; -pub use linux_headers_asm_hwcap::HWCAP2_WFXT; -pub use linux_headers_asm_hwcap::HWCAP2_EBF16; -pub use linux_headers_asm_hwcap::HWCAP2_SVE_EBF16; -pub use linux_headers_asm_hwcap::HWCAP2_CSSC; -pub use linux_headers_asm_hwcap::HWCAP2_RPRFM; -pub use linux_headers_asm_hwcap::HWCAP2_SVE2P1; -pub use linux_headers_asm_hwcap::HWCAP2_SME2; -pub use linux_headers_asm_hwcap::HWCAP2_SME2P1; -pub use linux_headers_asm_hwcap::HWCAP2_SME_I16I32; -pub use linux_headers_asm_hwcap::HWCAP2_SME_BI32I32; -pub use linux_headers_asm_hwcap::HWCAP2_SME_B16B16; -pub use linux_headers_asm_hwcap::HWCAP2_SME_F16F16; -pub use linux_headers_asm_hwcap::HWCAP2_MOPS; -pub use linux_headers_asm_hwcap::HWCAP2_HBC; -pub use linux_headers_asm_hwcap::HWCAP2_SVE_B16B16; -pub use linux_headers_asm_hwcap::HWCAP2_LRCPC3; -pub use linux_headers_asm_hwcap::HWCAP2_LSE128; -pub use linux_headers_asm_hwcap::HWCAP2_FPMR; -pub use linux_headers_asm_hwcap::HWCAP2_LUT; -pub use linux_headers_asm_hwcap::HWCAP2_FAMINMAX; -pub use linux_headers_asm_hwcap::HWCAP2_F8CVT; -pub use linux_headers_asm_hwcap::HWCAP2_F8FMA; -pub use linux_headers_asm_hwcap::HWCAP2_F8DP4; -pub use linux_headers_asm_hwcap::HWCAP2_F8DP2; -pub use linux_headers_asm_hwcap::HWCAP2_F8E4M3; -pub use linux_headers_asm_hwcap::HWCAP2_F8E5M2; -pub use linux_headers_asm_hwcap::HWCAP2_SME_LUTV2; -pub use linux_headers_asm_hwcap::HWCAP2_SME_F8F16; -pub use linux_headers_asm_hwcap::HWCAP2_SME_F8F32; -pub use linux_headers_asm_hwcap::HWCAP2_SME_SF8FMA; -pub use linux_headers_asm_hwcap::HWCAP2_SME_SF8DP4; -pub use linux_headers_asm_hwcap::HWCAP2_SME_SF8DP2; -pub use linux_headers_asm_hwcap::HWCAP2_POE; -mod linux_headers_asm_unistd; -pub use linux_headers_asm_unistd::__NR_io_setup; -pub use linux_headers_asm_unistd::__NR_io_destroy; -pub use linux_headers_asm_unistd::__NR_io_submit; -pub use linux_headers_asm_unistd::__NR_io_cancel; -pub use linux_headers_asm_unistd::__NR_io_getevents; -pub use linux_headers_asm_unistd::__NR_setxattr; -pub use linux_headers_asm_unistd::__NR_lsetxattr; -pub use linux_headers_asm_unistd::__NR_fsetxattr; -pub use linux_headers_asm_unistd::__NR_getxattr; -pub use linux_headers_asm_unistd::__NR_lgetxattr; -pub use linux_headers_asm_unistd::__NR_fgetxattr; -pub use linux_headers_asm_unistd::__NR_listxattr; -pub use linux_headers_asm_unistd::__NR_llistxattr; -pub use linux_headers_asm_unistd::__NR_flistxattr; -pub use linux_headers_asm_unistd::__NR_removexattr; -pub use linux_headers_asm_unistd::__NR_lremovexattr; -pub use linux_headers_asm_unistd::__NR_fremovexattr; -pub use linux_headers_asm_unistd::__NR_getcwd; -pub use linux_headers_asm_unistd::__NR_lookup_dcookie; -pub use linux_headers_asm_unistd::__NR_eventfd2; -pub use linux_headers_asm_unistd::__NR_epoll_create1; -pub use linux_headers_asm_unistd::__NR_epoll_ctl; -pub use linux_headers_asm_unistd::__NR_epoll_pwait; -pub use linux_headers_asm_unistd::__NR_dup; -pub use linux_headers_asm_unistd::__NR_dup3; -pub use linux_headers_asm_unistd::__NR_fcntl; -pub use linux_headers_asm_unistd::__NR_inotify_init1; -pub use linux_headers_asm_unistd::__NR_inotify_add_watch; -pub use linux_headers_asm_unistd::__NR_inotify_rm_watch; -pub use linux_headers_asm_unistd::__NR_ioctl; -pub use linux_headers_asm_unistd::__NR_ioprio_set; -pub use linux_headers_asm_unistd::__NR_ioprio_get; -pub use linux_headers_asm_unistd::__NR_flock; -pub use linux_headers_asm_unistd::__NR_mknodat; -pub use linux_headers_asm_unistd::__NR_mkdirat; -pub use linux_headers_asm_unistd::__NR_unlinkat; -pub use linux_headers_asm_unistd::__NR_symlinkat; -pub use linux_headers_asm_unistd::__NR_linkat; -pub use linux_headers_asm_unistd::__NR_renameat; -pub use linux_headers_asm_unistd::__NR_umount2; -pub use linux_headers_asm_unistd::__NR_mount; -pub use linux_headers_asm_unistd::__NR_pivot_root; -pub use linux_headers_asm_unistd::__NR_nfsservctl; -pub use linux_headers_asm_unistd::__NR_statfs; -pub use linux_headers_asm_unistd::__NR_fstatfs; -pub use linux_headers_asm_unistd::__NR_truncate; -pub use linux_headers_asm_unistd::__NR_ftruncate; -pub use linux_headers_asm_unistd::__NR_fallocate; -pub use linux_headers_asm_unistd::__NR_faccessat; -pub use linux_headers_asm_unistd::__NR_chdir; -pub use linux_headers_asm_unistd::__NR_fchdir; -pub use linux_headers_asm_unistd::__NR_chroot; -pub use linux_headers_asm_unistd::__NR_fchmod; -pub use linux_headers_asm_unistd::__NR_fchmodat; -pub use linux_headers_asm_unistd::__NR_fchownat; -pub use linux_headers_asm_unistd::__NR_fchown; -pub use linux_headers_asm_unistd::__NR_openat; -pub use linux_headers_asm_unistd::__NR_close; -pub use linux_headers_asm_unistd::__NR_vhangup; -pub use linux_headers_asm_unistd::__NR_pipe2; -pub use linux_headers_asm_unistd::__NR_quotactl; -pub use linux_headers_asm_unistd::__NR_getdents64; -pub use linux_headers_asm_unistd::__NR_lseek; -pub use linux_headers_asm_unistd::__NR_read; -pub use linux_headers_asm_unistd::__NR_write; -pub use linux_headers_asm_unistd::__NR_readv; -pub use linux_headers_asm_unistd::__NR_writev; -pub use linux_headers_asm_unistd::__NR_pread64; -pub use linux_headers_asm_unistd::__NR_pwrite64; -pub use linux_headers_asm_unistd::__NR_preadv; -pub use linux_headers_asm_unistd::__NR_pwritev; -pub use linux_headers_asm_unistd::__NR_sendfile; -pub use linux_headers_asm_unistd::__NR_pselect6; -pub use linux_headers_asm_unistd::__NR_ppoll; -pub use linux_headers_asm_unistd::__NR_signalfd4; -pub use linux_headers_asm_unistd::__NR_vmsplice; -pub use linux_headers_asm_unistd::__NR_splice; -pub use linux_headers_asm_unistd::__NR_tee; -pub use linux_headers_asm_unistd::__NR_readlinkat; -pub use linux_headers_asm_unistd::__NR_newfstatat; -pub use linux_headers_asm_unistd::__NR_fstat; -pub use linux_headers_asm_unistd::__NR_sync; -pub use linux_headers_asm_unistd::__NR_fsync; -pub use linux_headers_asm_unistd::__NR_fdatasync; -pub use linux_headers_asm_unistd::__NR_sync_file_range; -pub use linux_headers_asm_unistd::__NR_timerfd_create; -pub use linux_headers_asm_unistd::__NR_timerfd_settime; -pub use linux_headers_asm_unistd::__NR_timerfd_gettime; -pub use linux_headers_asm_unistd::__NR_utimensat; -pub use linux_headers_asm_unistd::__NR_acct; -pub use linux_headers_asm_unistd::__NR_capget; -pub use linux_headers_asm_unistd::__NR_capset; -pub use linux_headers_asm_unistd::__NR_personality; -pub use linux_headers_asm_unistd::__NR_exit; -pub use linux_headers_asm_unistd::__NR_exit_group; -pub use linux_headers_asm_unistd::__NR_waitid; -pub use linux_headers_asm_unistd::__NR_set_tid_address; -pub use linux_headers_asm_unistd::__NR_unshare; -pub use linux_headers_asm_unistd::__NR_futex; -pub use linux_headers_asm_unistd::__NR_set_robust_list; -pub use linux_headers_asm_unistd::__NR_get_robust_list; -pub use linux_headers_asm_unistd::__NR_nanosleep; -pub use linux_headers_asm_unistd::__NR_getitimer; -pub use linux_headers_asm_unistd::__NR_setitimer; -pub use linux_headers_asm_unistd::__NR_kexec_load; -pub use linux_headers_asm_unistd::__NR_init_module; -pub use linux_headers_asm_unistd::__NR_delete_module; -pub use linux_headers_asm_unistd::__NR_timer_create; -pub use linux_headers_asm_unistd::__NR_timer_gettime; -pub use linux_headers_asm_unistd::__NR_timer_getoverrun; -pub use linux_headers_asm_unistd::__NR_timer_settime; -pub use linux_headers_asm_unistd::__NR_timer_delete; -pub use linux_headers_asm_unistd::__NR_clock_settime; -pub use linux_headers_asm_unistd::__NR_clock_gettime; -pub use linux_headers_asm_unistd::__NR_clock_getres; -pub use linux_headers_asm_unistd::__NR_clock_nanosleep; -pub use linux_headers_asm_unistd::__NR_syslog; -pub use linux_headers_asm_unistd::__NR_ptrace; -pub use linux_headers_asm_unistd::__NR_sched_setparam; -pub use linux_headers_asm_unistd::__NR_sched_setscheduler; -pub use linux_headers_asm_unistd::__NR_sched_getscheduler; -pub use linux_headers_asm_unistd::__NR_sched_getparam; -pub use linux_headers_asm_unistd::__NR_sched_setaffinity; -pub use linux_headers_asm_unistd::__NR_sched_getaffinity; -pub use linux_headers_asm_unistd::__NR_sched_yield; -pub use linux_headers_asm_unistd::__NR_sched_get_priority_max; -pub use linux_headers_asm_unistd::__NR_sched_get_priority_min; -pub use linux_headers_asm_unistd::__NR_sched_rr_get_interval; -pub use linux_headers_asm_unistd::__NR_restart_syscall; -pub use linux_headers_asm_unistd::__NR_kill; -pub use linux_headers_asm_unistd::__NR_tkill; -pub use linux_headers_asm_unistd::__NR_tgkill; -pub use linux_headers_asm_unistd::__NR_sigaltstack; -pub use linux_headers_asm_unistd::__NR_rt_sigsuspend; -pub use linux_headers_asm_unistd::__NR_rt_sigaction; -pub use linux_headers_asm_unistd::__NR_rt_sigprocmask; -pub use linux_headers_asm_unistd::__NR_rt_sigpending; -pub use linux_headers_asm_unistd::__NR_rt_sigtimedwait; -pub use linux_headers_asm_unistd::__NR_rt_sigqueueinfo; -pub use linux_headers_asm_unistd::__NR_rt_sigreturn; -pub use linux_headers_asm_unistd::__NR_setpriority; -pub use linux_headers_asm_unistd::__NR_getpriority; -pub use linux_headers_asm_unistd::__NR_reboot; -pub use linux_headers_asm_unistd::__NR_setregid; -pub use linux_headers_asm_unistd::__NR_setgid; -pub use linux_headers_asm_unistd::__NR_setreuid; -pub use linux_headers_asm_unistd::__NR_setuid; -pub use linux_headers_asm_unistd::__NR_setresuid; -pub use linux_headers_asm_unistd::__NR_getresuid; -pub use linux_headers_asm_unistd::__NR_setresgid; -pub use linux_headers_asm_unistd::__NR_getresgid; -pub use linux_headers_asm_unistd::__NR_setfsuid; -pub use linux_headers_asm_unistd::__NR_setfsgid; -pub use linux_headers_asm_unistd::__NR_times; -pub use linux_headers_asm_unistd::__NR_setpgid; -pub use linux_headers_asm_unistd::__NR_getpgid; -pub use linux_headers_asm_unistd::__NR_getsid; -pub use linux_headers_asm_unistd::__NR_setsid; -pub use linux_headers_asm_unistd::__NR_getgroups; -pub use linux_headers_asm_unistd::__NR_setgroups; -pub use linux_headers_asm_unistd::__NR_uname; -pub use linux_headers_asm_unistd::__NR_sethostname; -pub use linux_headers_asm_unistd::__NR_setdomainname; -pub use linux_headers_asm_unistd::__NR_getrlimit; -pub use linux_headers_asm_unistd::__NR_setrlimit; -pub use linux_headers_asm_unistd::__NR_getrusage; -pub use linux_headers_asm_unistd::__NR_umask; -pub use linux_headers_asm_unistd::__NR_prctl; -pub use linux_headers_asm_unistd::__NR_getcpu; -pub use linux_headers_asm_unistd::__NR_gettimeofday; -pub use linux_headers_asm_unistd::__NR_settimeofday; -pub use linux_headers_asm_unistd::__NR_adjtimex; -pub use linux_headers_asm_unistd::__NR_getpid; -pub use linux_headers_asm_unistd::__NR_getppid; -pub use linux_headers_asm_unistd::__NR_getuid; -pub use linux_headers_asm_unistd::__NR_geteuid; -pub use linux_headers_asm_unistd::__NR_getgid; -pub use linux_headers_asm_unistd::__NR_getegid; -pub use linux_headers_asm_unistd::__NR_gettid; -pub use linux_headers_asm_unistd::__NR_sysinfo; -pub use linux_headers_asm_unistd::__NR_mq_open; -pub use linux_headers_asm_unistd::__NR_mq_unlink; -pub use linux_headers_asm_unistd::__NR_mq_timedsend; -pub use linux_headers_asm_unistd::__NR_mq_timedreceive; -pub use linux_headers_asm_unistd::__NR_mq_notify; -pub use linux_headers_asm_unistd::__NR_mq_getsetattr; -pub use linux_headers_asm_unistd::__NR_msgget; -pub use linux_headers_asm_unistd::__NR_msgctl; -pub use linux_headers_asm_unistd::__NR_msgrcv; -pub use linux_headers_asm_unistd::__NR_msgsnd; -pub use linux_headers_asm_unistd::__NR_semget; -pub use linux_headers_asm_unistd::__NR_semctl; -pub use linux_headers_asm_unistd::__NR_semtimedop; -pub use linux_headers_asm_unistd::__NR_semop; -pub use linux_headers_asm_unistd::__NR_shmget; -pub use linux_headers_asm_unistd::__NR_shmctl; -pub use linux_headers_asm_unistd::__NR_shmat; -pub use linux_headers_asm_unistd::__NR_shmdt; -pub use linux_headers_asm_unistd::__NR_socket; -pub use linux_headers_asm_unistd::__NR_socketpair; -pub use linux_headers_asm_unistd::__NR_bind; -pub use linux_headers_asm_unistd::__NR_listen; -pub use linux_headers_asm_unistd::__NR_accept; -pub use linux_headers_asm_unistd::__NR_connect; -pub use linux_headers_asm_unistd::__NR_getsockname; -pub use linux_headers_asm_unistd::__NR_getpeername; -pub use linux_headers_asm_unistd::__NR_sendto; -pub use linux_headers_asm_unistd::__NR_recvfrom; -pub use linux_headers_asm_unistd::__NR_setsockopt; -pub use linux_headers_asm_unistd::__NR_getsockopt; -pub use linux_headers_asm_unistd::__NR_shutdown; -pub use linux_headers_asm_unistd::__NR_sendmsg; -pub use linux_headers_asm_unistd::__NR_recvmsg; -pub use linux_headers_asm_unistd::__NR_readahead; -pub use linux_headers_asm_unistd::__NR_brk; -pub use linux_headers_asm_unistd::__NR_munmap; -pub use linux_headers_asm_unistd::__NR_mremap; -pub use linux_headers_asm_unistd::__NR_add_key; -pub use linux_headers_asm_unistd::__NR_request_key; -pub use linux_headers_asm_unistd::__NR_keyctl; -pub use linux_headers_asm_unistd::__NR_clone; -pub use linux_headers_asm_unistd::__NR_execve; -pub use linux_headers_asm_unistd::__NR_mmap; -pub use linux_headers_asm_unistd::__NR_fadvise64; -pub use linux_headers_asm_unistd::__NR_swapon; -pub use linux_headers_asm_unistd::__NR_swapoff; -pub use linux_headers_asm_unistd::__NR_mprotect; -pub use linux_headers_asm_unistd::__NR_msync; -pub use linux_headers_asm_unistd::__NR_mlock; -pub use linux_headers_asm_unistd::__NR_munlock; -pub use linux_headers_asm_unistd::__NR_mlockall; -pub use linux_headers_asm_unistd::__NR_munlockall; -pub use linux_headers_asm_unistd::__NR_mincore; -pub use linux_headers_asm_unistd::__NR_madvise; -pub use linux_headers_asm_unistd::__NR_remap_file_pages; -pub use linux_headers_asm_unistd::__NR_mbind; -pub use linux_headers_asm_unistd::__NR_get_mempolicy; -pub use linux_headers_asm_unistd::__NR_set_mempolicy; -pub use linux_headers_asm_unistd::__NR_migrate_pages; -pub use linux_headers_asm_unistd::__NR_move_pages; -pub use linux_headers_asm_unistd::__NR_rt_tgsigqueueinfo; -pub use linux_headers_asm_unistd::__NR_perf_event_open; -pub use linux_headers_asm_unistd::__NR_accept4; -pub use linux_headers_asm_unistd::__NR_recvmmsg; -pub use linux_headers_asm_unistd::__NR_wait4; -pub use linux_headers_asm_unistd::__NR_prlimit64; -pub use linux_headers_asm_unistd::__NR_fanotify_init; -pub use linux_headers_asm_unistd::__NR_fanotify_mark; -pub use linux_headers_asm_unistd::__NR_name_to_handle_at; -pub use linux_headers_asm_unistd::__NR_open_by_handle_at; -pub use linux_headers_asm_unistd::__NR_clock_adjtime; -pub use linux_headers_asm_unistd::__NR_syncfs; -pub use linux_headers_asm_unistd::__NR_setns; -pub use linux_headers_asm_unistd::__NR_sendmmsg; -pub use linux_headers_asm_unistd::__NR_process_vm_readv; -pub use linux_headers_asm_unistd::__NR_process_vm_writev; -pub use linux_headers_asm_unistd::__NR_kcmp; -pub use linux_headers_asm_unistd::__NR_finit_module; -pub use linux_headers_asm_unistd::__NR_sched_setattr; -pub use linux_headers_asm_unistd::__NR_sched_getattr; -pub use linux_headers_asm_unistd::__NR_renameat2; -pub use linux_headers_asm_unistd::__NR_seccomp; -pub use linux_headers_asm_unistd::__NR_getrandom; -pub use linux_headers_asm_unistd::__NR_memfd_create; -pub use linux_headers_asm_unistd::__NR_bpf; -pub use linux_headers_asm_unistd::__NR_execveat; -pub use linux_headers_asm_unistd::__NR_userfaultfd; -pub use linux_headers_asm_unistd::__NR_membarrier; -pub use linux_headers_asm_unistd::__NR_mlock2; -pub use linux_headers_asm_unistd::__NR_copy_file_range; -pub use linux_headers_asm_unistd::__NR_preadv2; -pub use linux_headers_asm_unistd::__NR_pwritev2; -pub use linux_headers_asm_unistd::__NR_pkey_mprotect; -pub use linux_headers_asm_unistd::__NR_pkey_alloc; -pub use linux_headers_asm_unistd::__NR_pkey_free; -pub use linux_headers_asm_unistd::__NR_statx; -pub use linux_headers_asm_unistd::__NR_io_pgetevents; -pub use linux_headers_asm_unistd::__NR_rseq; -pub use linux_headers_asm_unistd::__NR_kexec_file_load; -pub use linux_headers_asm_unistd::__NR_pidfd_send_signal; -pub use linux_headers_asm_unistd::__NR_io_uring_setup; -pub use linux_headers_asm_unistd::__NR_io_uring_enter; -pub use linux_headers_asm_unistd::__NR_io_uring_register; -pub use linux_headers_asm_unistd::__NR_open_tree; -pub use linux_headers_asm_unistd::__NR_move_mount; -pub use linux_headers_asm_unistd::__NR_fsopen; -pub use linux_headers_asm_unistd::__NR_fsconfig; -pub use linux_headers_asm_unistd::__NR_fsmount; -pub use linux_headers_asm_unistd::__NR_fspick; -pub use linux_headers_asm_unistd::__NR_pidfd_open; -pub use linux_headers_asm_unistd::__NR_clone3; -pub use linux_headers_asm_unistd::__NR_close_range; -pub use linux_headers_asm_unistd::__NR_openat2; -pub use linux_headers_asm_unistd::__NR_pidfd_getfd; -pub use linux_headers_asm_unistd::__NR_faccessat2; -pub use linux_headers_asm_unistd::__NR_process_madvise; -pub use linux_headers_asm_unistd::__NR_epoll_pwait2; -pub use linux_headers_asm_unistd::__NR_mount_setattr; -pub use linux_headers_asm_unistd::__NR_quotactl_fd; -pub use linux_headers_asm_unistd::__NR_landlock_create_ruleset; -pub use linux_headers_asm_unistd::__NR_landlock_add_rule; -pub use linux_headers_asm_unistd::__NR_landlock_restrict_self; -pub use linux_headers_asm_unistd::__NR_memfd_secret; -pub use linux_headers_asm_unistd::__NR_process_mrelease; -pub use linux_headers_asm_unistd::__NR_futex_waitv; -pub use linux_headers_asm_unistd::__NR_set_mempolicy_home_node; -pub use linux_headers_asm_unistd::__NR_cachestat; -pub use linux_headers_asm_unistd::__NR_fchmodat2; -pub use linux_headers_asm_unistd::__NR_map_shadow_stack; -pub use linux_headers_asm_unistd::__NR_futex_wake; -pub use linux_headers_asm_unistd::__NR_futex_wait; -pub use linux_headers_asm_unistd::__NR_futex_requeue; -pub use linux_headers_asm_unistd::__NR_statmount; -pub use linux_headers_asm_unistd::__NR_listmount; -pub use linux_headers_asm_unistd::__NR_lsm_get_self_attr; -pub use linux_headers_asm_unistd::__NR_lsm_set_self_attr; -pub use linux_headers_asm_unistd::__NR_lsm_list_modules; -pub use linux_headers_asm_unistd::__NR_mseal; -mod linux_headers_linux_auxvec; -pub use linux_headers_linux_auxvec::AT_SYSINFO_EHDR; -pub use linux_headers_linux_auxvec::AT_MINSIGSTKSZ; -pub use linux_headers_linux_auxvec::AT_VECTOR_SIZE_ARCH; -pub use linux_headers_linux_auxvec::AT_NULL; -pub use linux_headers_linux_auxvec::AT_IGNORE; -pub use linux_headers_linux_auxvec::AT_EXECFD; -pub use linux_headers_linux_auxvec::AT_PHDR; -pub use linux_headers_linux_auxvec::AT_PHENT; -pub use linux_headers_linux_auxvec::AT_PHNUM; -pub use linux_headers_linux_auxvec::AT_PAGESZ; -pub use linux_headers_linux_auxvec::AT_BASE; -pub use linux_headers_linux_auxvec::AT_FLAGS; -pub use linux_headers_linux_auxvec::AT_ENTRY; -pub use linux_headers_linux_auxvec::AT_NOTELF; -pub use linux_headers_linux_auxvec::AT_UID; -pub use linux_headers_linux_auxvec::AT_EUID; -pub use linux_headers_linux_auxvec::AT_GID; -pub use linux_headers_linux_auxvec::AT_EGID; -pub use linux_headers_linux_auxvec::AT_PLATFORM; -pub use linux_headers_linux_auxvec::AT_HWCAP; -pub use linux_headers_linux_auxvec::AT_CLKTCK; -pub use linux_headers_linux_auxvec::AT_SECURE; -pub use linux_headers_linux_auxvec::AT_BASE_PLATFORM; -pub use linux_headers_linux_auxvec::AT_RANDOM; -pub use linux_headers_linux_auxvec::AT_HWCAP2; -pub use linux_headers_linux_auxvec::AT_RSEQ_FEATURE_SIZE; -pub use linux_headers_linux_auxvec::AT_RSEQ_ALIGN; -pub use linux_headers_linux_auxvec::AT_HWCAP3; -pub use linux_headers_linux_auxvec::AT_HWCAP4; -pub use linux_headers_linux_auxvec::AT_EXECFN; -mod linux_headers_linux_prctl; -pub use linux_headers_linux_prctl::PR_SET_PDEATHSIG; -pub use linux_headers_linux_prctl::PR_GET_PDEATHSIG; -pub use linux_headers_linux_prctl::PR_GET_DUMPABLE; -pub use linux_headers_linux_prctl::PR_SET_DUMPABLE; -pub use linux_headers_linux_prctl::PR_GET_UNALIGN; -pub use linux_headers_linux_prctl::PR_SET_UNALIGN; -pub use linux_headers_linux_prctl::PR_UNALIGN_NOPRINT; -pub use linux_headers_linux_prctl::PR_UNALIGN_SIGBUS; -pub use linux_headers_linux_prctl::PR_GET_KEEPCAPS; -pub use linux_headers_linux_prctl::PR_SET_KEEPCAPS; -pub use linux_headers_linux_prctl::PR_GET_FPEMU; -pub use linux_headers_linux_prctl::PR_SET_FPEMU; -pub use linux_headers_linux_prctl::PR_FPEMU_NOPRINT; -pub use linux_headers_linux_prctl::PR_FPEMU_SIGFPE; -pub use linux_headers_linux_prctl::PR_GET_FPEXC; -pub use linux_headers_linux_prctl::PR_SET_FPEXC; -pub use linux_headers_linux_prctl::PR_FP_EXC_SW_ENABLE; -pub use linux_headers_linux_prctl::PR_FP_EXC_DIV; -pub use linux_headers_linux_prctl::PR_FP_EXC_OVF; -pub use linux_headers_linux_prctl::PR_FP_EXC_UND; -pub use linux_headers_linux_prctl::PR_FP_EXC_RES; -pub use linux_headers_linux_prctl::PR_FP_EXC_INV; -pub use linux_headers_linux_prctl::PR_FP_EXC_DISABLED; -pub use linux_headers_linux_prctl::PR_FP_EXC_NONRECOV; -pub use linux_headers_linux_prctl::PR_FP_EXC_ASYNC; -pub use linux_headers_linux_prctl::PR_FP_EXC_PRECISE; -pub use linux_headers_linux_prctl::PR_GET_TIMING; -pub use linux_headers_linux_prctl::PR_SET_TIMING; -pub use linux_headers_linux_prctl::PR_TIMING_STATISTICAL; -pub use linux_headers_linux_prctl::PR_TIMING_TIMESTAMP; -pub use linux_headers_linux_prctl::PR_SET_NAME; -pub use linux_headers_linux_prctl::PR_GET_NAME; -pub use linux_headers_linux_prctl::PR_GET_ENDIAN; -pub use linux_headers_linux_prctl::PR_SET_ENDIAN; -pub use linux_headers_linux_prctl::PR_ENDIAN_BIG; -pub use linux_headers_linux_prctl::PR_ENDIAN_LITTLE; -pub use linux_headers_linux_prctl::PR_ENDIAN_PPC_LITTLE; -pub use linux_headers_linux_prctl::PR_GET_SECCOMP; -pub use linux_headers_linux_prctl::PR_SET_SECCOMP; -pub use linux_headers_linux_prctl::PR_CAPBSET_READ; -pub use linux_headers_linux_prctl::PR_CAPBSET_DROP; -pub use linux_headers_linux_prctl::PR_GET_TSC; -pub use linux_headers_linux_prctl::PR_SET_TSC; -pub use linux_headers_linux_prctl::PR_TSC_ENABLE; -pub use linux_headers_linux_prctl::PR_TSC_SIGSEGV; -pub use linux_headers_linux_prctl::PR_GET_SECUREBITS; -pub use linux_headers_linux_prctl::PR_SET_SECUREBITS; -pub use linux_headers_linux_prctl::PR_SET_TIMERSLACK; -pub use linux_headers_linux_prctl::PR_GET_TIMERSLACK; -pub use linux_headers_linux_prctl::PR_TASK_PERF_EVENTS_DISABLE; -pub use linux_headers_linux_prctl::PR_TASK_PERF_EVENTS_ENABLE; -pub use linux_headers_linux_prctl::PR_MCE_KILL; -pub use linux_headers_linux_prctl::PR_MCE_KILL_CLEAR; -pub use linux_headers_linux_prctl::PR_MCE_KILL_SET; -pub use linux_headers_linux_prctl::PR_MCE_KILL_LATE; -pub use linux_headers_linux_prctl::PR_MCE_KILL_EARLY; -pub use linux_headers_linux_prctl::PR_MCE_KILL_DEFAULT; -pub use linux_headers_linux_prctl::PR_MCE_KILL_GET; -pub use linux_headers_linux_prctl::PR_SET_MM; -pub use linux_headers_linux_prctl::PR_SET_MM_START_CODE; -pub use linux_headers_linux_prctl::PR_SET_MM_END_CODE; -pub use linux_headers_linux_prctl::PR_SET_MM_START_DATA; -pub use linux_headers_linux_prctl::PR_SET_MM_END_DATA; -pub use linux_headers_linux_prctl::PR_SET_MM_START_STACK; -pub use linux_headers_linux_prctl::PR_SET_MM_START_BRK; -pub use linux_headers_linux_prctl::PR_SET_MM_BRK; -pub use linux_headers_linux_prctl::PR_SET_MM_ARG_START; -pub use linux_headers_linux_prctl::PR_SET_MM_ARG_END; -pub use linux_headers_linux_prctl::PR_SET_MM_ENV_START; -pub use linux_headers_linux_prctl::PR_SET_MM_ENV_END; -pub use linux_headers_linux_prctl::PR_SET_MM_AUXV; -pub use linux_headers_linux_prctl::PR_SET_MM_EXE_FILE; -pub use linux_headers_linux_prctl::PR_SET_MM_MAP; -pub use linux_headers_linux_prctl::PR_SET_MM_MAP_SIZE; -pub use linux_headers_linux_prctl::PR_SET_PTRACER; -pub use linux_headers_linux_prctl::PR_SET_PTRACER_ANY; -pub use linux_headers_linux_prctl::PR_SET_CHILD_SUBREAPER; -pub use linux_headers_linux_prctl::PR_GET_CHILD_SUBREAPER; -pub use linux_headers_linux_prctl::PR_SET_NO_NEW_PRIVS; -pub use linux_headers_linux_prctl::PR_GET_NO_NEW_PRIVS; -pub use linux_headers_linux_prctl::PR_GET_TID_ADDRESS; -pub use linux_headers_linux_prctl::PR_SET_THP_DISABLE; -pub use linux_headers_linux_prctl::PR_GET_THP_DISABLE; -pub use linux_headers_linux_prctl::PR_MPX_ENABLE_MANAGEMENT; -pub use linux_headers_linux_prctl::PR_MPX_DISABLE_MANAGEMENT; -pub use linux_headers_linux_prctl::PR_SET_FP_MODE; -pub use linux_headers_linux_prctl::PR_GET_FP_MODE; -pub use linux_headers_linux_prctl::PR_FP_MODE_FR; -pub use linux_headers_linux_prctl::PR_FP_MODE_FRE; -pub use linux_headers_linux_prctl::PR_CAP_AMBIENT; -pub use linux_headers_linux_prctl::PR_CAP_AMBIENT_IS_SET; -pub use linux_headers_linux_prctl::PR_CAP_AMBIENT_RAISE; -pub use linux_headers_linux_prctl::PR_CAP_AMBIENT_LOWER; -pub use linux_headers_linux_prctl::PR_CAP_AMBIENT_CLEAR_ALL; -pub use linux_headers_linux_prctl::PR_SVE_SET_VL; -pub use linux_headers_linux_prctl::PR_SVE_SET_VL_ONEXEC; -pub use linux_headers_linux_prctl::PR_SVE_GET_VL; -pub use linux_headers_linux_prctl::PR_SVE_VL_LEN_MASK; -pub use linux_headers_linux_prctl::PR_SVE_VL_INHERIT; -pub use linux_headers_linux_prctl::PR_GET_SPECULATION_CTRL; -pub use linux_headers_linux_prctl::PR_SET_SPECULATION_CTRL; -pub use linux_headers_linux_prctl::PR_SPEC_STORE_BYPASS; -pub use linux_headers_linux_prctl::PR_SPEC_INDIRECT_BRANCH; -pub use linux_headers_linux_prctl::PR_SPEC_L1D_FLUSH; -pub use linux_headers_linux_prctl::PR_SPEC_NOT_AFFECTED; -pub use linux_headers_linux_prctl::PR_SPEC_PRCTL; -pub use linux_headers_linux_prctl::PR_SPEC_ENABLE; -pub use linux_headers_linux_prctl::PR_SPEC_DISABLE; -pub use linux_headers_linux_prctl::PR_SPEC_FORCE_DISABLE; -pub use linux_headers_linux_prctl::PR_SPEC_DISABLE_NOEXEC; -pub use linux_headers_linux_prctl::PR_PAC_RESET_KEYS; -pub use linux_headers_linux_prctl::PR_PAC_APIAKEY; -pub use linux_headers_linux_prctl::PR_PAC_APIBKEY; -pub use linux_headers_linux_prctl::PR_PAC_APDAKEY; -pub use linux_headers_linux_prctl::PR_PAC_APDBKEY; -pub use linux_headers_linux_prctl::PR_PAC_APGAKEY; -pub use linux_headers_linux_prctl::PR_SET_TAGGED_ADDR_CTRL; -pub use linux_headers_linux_prctl::PR_GET_TAGGED_ADDR_CTRL; -pub use linux_headers_linux_prctl::PR_TAGGED_ADDR_ENABLE; -pub use linux_headers_linux_prctl::PR_MTE_TCF_NONE; -pub use linux_headers_linux_prctl::PR_MTE_TCF_SYNC; -pub use linux_headers_linux_prctl::PR_MTE_TCF_ASYNC; -pub use linux_headers_linux_prctl::PR_MTE_TCF_MASK; -pub use linux_headers_linux_prctl::PR_MTE_TAG_SHIFT; -pub use linux_headers_linux_prctl::PR_MTE_TAG_MASK; -pub use linux_headers_linux_prctl::PR_MTE_TCF_SHIFT; -pub use linux_headers_linux_prctl::PR_SET_IO_FLUSHER; -pub use linux_headers_linux_prctl::PR_GET_IO_FLUSHER; -pub use linux_headers_linux_prctl::PR_SET_SYSCALL_USER_DISPATCH; -pub use linux_headers_linux_prctl::PR_SYS_DISPATCH_OFF; -pub use linux_headers_linux_prctl::PR_SYS_DISPATCH_ON; -pub use linux_headers_linux_prctl::PR_PAC_SET_ENABLED_KEYS; -pub use linux_headers_linux_prctl::PR_PAC_GET_ENABLED_KEYS; -pub use linux_headers_linux_prctl::PR_SCHED_CORE; -pub use linux_headers_linux_prctl::PR_SCHED_CORE_GET; -pub use linux_headers_linux_prctl::PR_SCHED_CORE_CREATE; -pub use linux_headers_linux_prctl::PR_SCHED_CORE_SHARE_TO; -pub use linux_headers_linux_prctl::PR_SCHED_CORE_SHARE_FROM; -pub use linux_headers_linux_prctl::PR_SCHED_CORE_MAX; -pub use linux_headers_linux_prctl::PR_SCHED_CORE_SCOPE_THREAD; -pub use linux_headers_linux_prctl::PR_SCHED_CORE_SCOPE_THREAD_GROUP; -pub use linux_headers_linux_prctl::PR_SCHED_CORE_SCOPE_PROCESS_GROUP; -pub use linux_headers_linux_prctl::PR_SME_SET_VL; -pub use linux_headers_linux_prctl::PR_SME_SET_VL_ONEXEC; -pub use linux_headers_linux_prctl::PR_SME_GET_VL; -pub use linux_headers_linux_prctl::PR_SME_VL_LEN_MASK; -pub use linux_headers_linux_prctl::PR_SME_VL_INHERIT; -pub use linux_headers_linux_prctl::PR_SET_MDWE; -pub use linux_headers_linux_prctl::PR_MDWE_REFUSE_EXEC_GAIN; -pub use linux_headers_linux_prctl::PR_MDWE_NO_INHERIT; -pub use linux_headers_linux_prctl::PR_GET_MDWE; -pub use linux_headers_linux_prctl::PR_SET_VMA; -pub use linux_headers_linux_prctl::PR_SET_VMA_ANON_NAME; -pub use linux_headers_linux_prctl::PR_GET_AUXV; -pub use linux_headers_linux_prctl::PR_SET_MEMORY_MERGE; -pub use linux_headers_linux_prctl::PR_GET_MEMORY_MERGE; -pub use linux_headers_linux_prctl::PR_RISCV_V_SET_CONTROL; -pub use linux_headers_linux_prctl::PR_RISCV_V_GET_CONTROL; -pub use linux_headers_linux_prctl::PR_RISCV_V_VSTATE_CTRL_DEFAULT; -pub use linux_headers_linux_prctl::PR_RISCV_V_VSTATE_CTRL_OFF; -pub use linux_headers_linux_prctl::PR_RISCV_V_VSTATE_CTRL_ON; -pub use linux_headers_linux_prctl::PR_RISCV_V_VSTATE_CTRL_INHERIT; -pub use linux_headers_linux_prctl::PR_RISCV_V_VSTATE_CTRL_CUR_MASK; -pub use linux_headers_linux_prctl::PR_RISCV_V_VSTATE_CTRL_NEXT_MASK; -pub use linux_headers_linux_prctl::PR_RISCV_V_VSTATE_CTRL_MASK; -pub use linux_headers_linux_prctl::PR_RISCV_SET_ICACHE_FLUSH_CTX; -pub use linux_headers_linux_prctl::PR_RISCV_CTX_SW_FENCEI_ON; -pub use linux_headers_linux_prctl::PR_RISCV_CTX_SW_FENCEI_OFF; -pub use linux_headers_linux_prctl::PR_RISCV_SCOPE_PER_PROCESS; -pub use linux_headers_linux_prctl::PR_RISCV_SCOPE_PER_THREAD; -pub use linux_headers_linux_prctl::PR_PPC_GET_DEXCR; -pub use linux_headers_linux_prctl::PR_PPC_SET_DEXCR; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_SBHE; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_IBRTPD; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_SRAPD; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_NPHIE; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_CTRL_EDITABLE; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_CTRL_SET; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_CTRL_CLEAR; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_CTRL_SET_ONEXEC; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_CTRL_CLEAR_ONEXEC; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_CTRL_MASK; -mod dlfcn; -pub use dlfcn::RTLD_DEFAULT; -pub use dlfcn::dlsym; -mod elf; -pub use elf::Elf32_auxv_t; -pub use elf::Elf64_auxv_t; -mod sys_auxv; -pub use sys_auxv::getauxval; -mod unistd; -pub use unistd::syscall; -pub type c_char = u8; diff --git a/tests/helper/src/gen/sys/aarch64_be_linux_gnu/sys_auxv.rs b/tests/helper/src/gen/sys/aarch64_be_linux_gnu/sys_auxv.rs deleted file mode 100644 index 1fe1c678..00000000 --- a/tests/helper/src/gen/sys/aarch64_be_linux_gnu/sys_auxv.rs +++ /dev/null @@ -1,10 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -extern "C" { - pub fn getauxval(__type: ::std::os::raw::c_ulong) -> ::std::os::raw::c_ulong; -} diff --git a/tests/helper/src/gen/sys/aarch64_be_linux_gnu/unistd.rs b/tests/helper/src/gen/sys/aarch64_be_linux_gnu/unistd.rs deleted file mode 100644 index eab78d00..00000000 --- a/tests/helper/src/gen/sys/aarch64_be_linux_gnu/unistd.rs +++ /dev/null @@ -1,10 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -extern "C" { - pub fn syscall(__sysno: ::std::os::raw::c_long, ...) -> ::std::os::raw::c_long; -} diff --git a/tests/helper/src/gen/sys/aarch64_be_linux_gnu_ilp32/dlfcn.rs b/tests/helper/src/gen/sys/aarch64_be_linux_gnu_ilp32/dlfcn.rs deleted file mode 100644 index 0c516f36..00000000 --- a/tests/helper/src/gen/sys/aarch64_be_linux_gnu_ilp32/dlfcn.rs +++ /dev/null @@ -1,14 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -pub const RTLD_DEFAULT: *mut ::std::os::raw::c_void = ::core::ptr::null_mut(); -extern "C" { - pub fn dlsym( - __handle: *mut ::core::ffi::c_void, - __name: *const ::std::os::raw::c_char, - ) -> *mut ::core::ffi::c_void; -} diff --git a/tests/helper/src/gen/sys/aarch64_be_linux_gnu_ilp32/elf.rs b/tests/helper/src/gen/sys/aarch64_be_linux_gnu_ilp32/elf.rs deleted file mode 100644 index a3c1790d..00000000 --- a/tests/helper/src/gen/sys/aarch64_be_linux_gnu_ilp32/elf.rs +++ /dev/null @@ -1,29 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -#[repr(C)] -#[derive(Copy, Clone)] -pub struct Elf32_auxv_t { - pub a_type: u32, - pub a_un: Elf32_auxv_t__bindgen_ty_1, -} -#[repr(C)] -#[derive(Copy, Clone)] -pub union Elf32_auxv_t__bindgen_ty_1 { - pub a_val: u32, -} -#[repr(C)] -#[derive(Copy, Clone)] -pub struct Elf64_auxv_t { - pub a_type: u64, - pub a_un: Elf64_auxv_t__bindgen_ty_1, -} -#[repr(C)] -#[derive(Copy, Clone)] -pub union Elf64_auxv_t__bindgen_ty_1 { - pub a_val: u64, -} diff --git a/tests/helper/src/gen/sys/aarch64_be_linux_gnu_ilp32/linux_headers_asm_hwcap.rs b/tests/helper/src/gen/sys/aarch64_be_linux_gnu_ilp32/linux_headers_asm_hwcap.rs deleted file mode 100644 index 15bb533d..00000000 --- a/tests/helper/src/gen/sys/aarch64_be_linux_gnu_ilp32/linux_headers_asm_hwcap.rs +++ /dev/null @@ -1,39 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -pub const HWCAP_FP: u32 = 1; -pub const HWCAP_ASIMD: u32 = 2; -pub const HWCAP_EVTSTRM: u32 = 4; -pub const HWCAP_AES: u32 = 8; -pub const HWCAP_PMULL: u32 = 16; -pub const HWCAP_SHA1: u32 = 32; -pub const HWCAP_SHA2: u32 = 64; -pub const HWCAP_CRC32: u32 = 128; -pub const HWCAP_ATOMICS: u32 = 256; -pub const HWCAP_FPHP: u32 = 512; -pub const HWCAP_ASIMDHP: u32 = 1024; -pub const HWCAP_CPUID: u32 = 2048; -pub const HWCAP_ASIMDRDM: u32 = 4096; -pub const HWCAP_JSCVT: u32 = 8192; -pub const HWCAP_FCMA: u32 = 16384; -pub const HWCAP_LRCPC: u32 = 32768; -pub const HWCAP_DCPOP: u32 = 65536; -pub const HWCAP_SHA3: u32 = 131072; -pub const HWCAP_SM3: u32 = 262144; -pub const HWCAP_SM4: u32 = 524288; -pub const HWCAP_ASIMDDP: u32 = 1048576; -pub const HWCAP_SHA512: u32 = 2097152; -pub const HWCAP_SVE: u32 = 4194304; -pub const HWCAP_ASIMDFHM: u32 = 8388608; -pub const HWCAP_DIT: u32 = 16777216; -pub const HWCAP_USCAT: u32 = 33554432; -pub const HWCAP_ILRCPC: u32 = 67108864; -pub const HWCAP_FLAGM: u32 = 134217728; -pub const HWCAP_SSBS: u32 = 268435456; -pub const HWCAP_SB: u32 = 536870912; -pub const HWCAP_PACA: u32 = 1073741824; -pub const HWCAP_PACG: u32 = 2147483648; diff --git a/tests/helper/src/gen/sys/aarch64_be_linux_gnu_ilp32/linux_headers_asm_unistd.rs b/tests/helper/src/gen/sys/aarch64_be_linux_gnu_ilp32/linux_headers_asm_unistd.rs deleted file mode 100644 index d48e9376..00000000 --- a/tests/helper/src/gen/sys/aarch64_be_linux_gnu_ilp32/linux_headers_asm_unistd.rs +++ /dev/null @@ -1,292 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -pub const __NR_io_setup: u32 = 0; -pub const __NR_io_destroy: u32 = 1; -pub const __NR_io_submit: u32 = 2; -pub const __NR_io_cancel: u32 = 3; -pub const __NR_io_getevents: u32 = 4; -pub const __NR_setxattr: u32 = 5; -pub const __NR_lsetxattr: u32 = 6; -pub const __NR_fsetxattr: u32 = 7; -pub const __NR_getxattr: u32 = 8; -pub const __NR_lgetxattr: u32 = 9; -pub const __NR_fgetxattr: u32 = 10; -pub const __NR_listxattr: u32 = 11; -pub const __NR_llistxattr: u32 = 12; -pub const __NR_flistxattr: u32 = 13; -pub const __NR_removexattr: u32 = 14; -pub const __NR_lremovexattr: u32 = 15; -pub const __NR_fremovexattr: u32 = 16; -pub const __NR_getcwd: u32 = 17; -pub const __NR_lookup_dcookie: u32 = 18; -pub const __NR_eventfd2: u32 = 19; -pub const __NR_epoll_create1: u32 = 20; -pub const __NR_epoll_ctl: u32 = 21; -pub const __NR_epoll_pwait: u32 = 22; -pub const __NR_dup: u32 = 23; -pub const __NR_dup3: u32 = 24; -pub const __NR_inotify_init1: u32 = 26; -pub const __NR_inotify_add_watch: u32 = 27; -pub const __NR_inotify_rm_watch: u32 = 28; -pub const __NR_ioctl: u32 = 29; -pub const __NR_ioprio_set: u32 = 30; -pub const __NR_ioprio_get: u32 = 31; -pub const __NR_flock: u32 = 32; -pub const __NR_mknodat: u32 = 33; -pub const __NR_mkdirat: u32 = 34; -pub const __NR_unlinkat: u32 = 35; -pub const __NR_symlinkat: u32 = 36; -pub const __NR_linkat: u32 = 37; -pub const __NR_renameat: u32 = 38; -pub const __NR_umount2: u32 = 39; -pub const __NR_mount: u32 = 40; -pub const __NR_pivot_root: u32 = 41; -pub const __NR_nfsservctl: u32 = 42; -pub const __NR_fallocate: u32 = 47; -pub const __NR_faccessat: u32 = 48; -pub const __NR_chdir: u32 = 49; -pub const __NR_fchdir: u32 = 50; -pub const __NR_chroot: u32 = 51; -pub const __NR_fchmod: u32 = 52; -pub const __NR_fchmodat: u32 = 53; -pub const __NR_fchownat: u32 = 54; -pub const __NR_fchown: u32 = 55; -pub const __NR_openat: u32 = 56; -pub const __NR_close: u32 = 57; -pub const __NR_vhangup: u32 = 58; -pub const __NR_pipe2: u32 = 59; -pub const __NR_quotactl: u32 = 60; -pub const __NR_getdents64: u32 = 61; -pub const __NR_read: u32 = 63; -pub const __NR_write: u32 = 64; -pub const __NR_readv: u32 = 65; -pub const __NR_writev: u32 = 66; -pub const __NR_pread64: u32 = 67; -pub const __NR_pwrite64: u32 = 68; -pub const __NR_preadv: u32 = 69; -pub const __NR_pwritev: u32 = 70; -pub const __NR_pselect6: u32 = 72; -pub const __NR_ppoll: u32 = 73; -pub const __NR_signalfd4: u32 = 74; -pub const __NR_vmsplice: u32 = 75; -pub const __NR_splice: u32 = 76; -pub const __NR_tee: u32 = 77; -pub const __NR_readlinkat: u32 = 78; -pub const __NR_sync: u32 = 81; -pub const __NR_fsync: u32 = 82; -pub const __NR_fdatasync: u32 = 83; -pub const __NR_sync_file_range: u32 = 84; -pub const __NR_timerfd_create: u32 = 85; -pub const __NR_timerfd_settime: u32 = 86; -pub const __NR_timerfd_gettime: u32 = 87; -pub const __NR_utimensat: u32 = 88; -pub const __NR_acct: u32 = 89; -pub const __NR_capget: u32 = 90; -pub const __NR_capset: u32 = 91; -pub const __NR_personality: u32 = 92; -pub const __NR_exit: u32 = 93; -pub const __NR_exit_group: u32 = 94; -pub const __NR_waitid: u32 = 95; -pub const __NR_set_tid_address: u32 = 96; -pub const __NR_unshare: u32 = 97; -pub const __NR_futex: u32 = 98; -pub const __NR_set_robust_list: u32 = 99; -pub const __NR_get_robust_list: u32 = 100; -pub const __NR_nanosleep: u32 = 101; -pub const __NR_getitimer: u32 = 102; -pub const __NR_setitimer: u32 = 103; -pub const __NR_kexec_load: u32 = 104; -pub const __NR_init_module: u32 = 105; -pub const __NR_delete_module: u32 = 106; -pub const __NR_timer_create: u32 = 107; -pub const __NR_timer_gettime: u32 = 108; -pub const __NR_timer_getoverrun: u32 = 109; -pub const __NR_timer_settime: u32 = 110; -pub const __NR_timer_delete: u32 = 111; -pub const __NR_clock_settime: u32 = 112; -pub const __NR_clock_gettime: u32 = 113; -pub const __NR_clock_getres: u32 = 114; -pub const __NR_clock_nanosleep: u32 = 115; -pub const __NR_syslog: u32 = 116; -pub const __NR_ptrace: u32 = 117; -pub const __NR_sched_setparam: u32 = 118; -pub const __NR_sched_setscheduler: u32 = 119; -pub const __NR_sched_getscheduler: u32 = 120; -pub const __NR_sched_getparam: u32 = 121; -pub const __NR_sched_setaffinity: u32 = 122; -pub const __NR_sched_getaffinity: u32 = 123; -pub const __NR_sched_yield: u32 = 124; -pub const __NR_sched_get_priority_max: u32 = 125; -pub const __NR_sched_get_priority_min: u32 = 126; -pub const __NR_sched_rr_get_interval: u32 = 127; -pub const __NR_restart_syscall: u32 = 128; -pub const __NR_kill: u32 = 129; -pub const __NR_tkill: u32 = 130; -pub const __NR_tgkill: u32 = 131; -pub const __NR_sigaltstack: u32 = 132; -pub const __NR_rt_sigsuspend: u32 = 133; -pub const __NR_rt_sigaction: u32 = 134; -pub const __NR_rt_sigprocmask: u32 = 135; -pub const __NR_rt_sigpending: u32 = 136; -pub const __NR_rt_sigtimedwait: u32 = 137; -pub const __NR_rt_sigqueueinfo: u32 = 138; -pub const __NR_rt_sigreturn: u32 = 139; -pub const __NR_setpriority: u32 = 140; -pub const __NR_getpriority: u32 = 141; -pub const __NR_reboot: u32 = 142; -pub const __NR_setregid: u32 = 143; -pub const __NR_setgid: u32 = 144; -pub const __NR_setreuid: u32 = 145; -pub const __NR_setuid: u32 = 146; -pub const __NR_setresuid: u32 = 147; -pub const __NR_getresuid: u32 = 148; -pub const __NR_setresgid: u32 = 149; -pub const __NR_getresgid: u32 = 150; -pub const __NR_setfsuid: u32 = 151; -pub const __NR_setfsgid: u32 = 152; -pub const __NR_times: u32 = 153; -pub const __NR_setpgid: u32 = 154; -pub const __NR_getpgid: u32 = 155; -pub const __NR_getsid: u32 = 156; -pub const __NR_setsid: u32 = 157; -pub const __NR_getgroups: u32 = 158; -pub const __NR_setgroups: u32 = 159; -pub const __NR_uname: u32 = 160; -pub const __NR_sethostname: u32 = 161; -pub const __NR_setdomainname: u32 = 162; -pub const __NR_getrlimit: u32 = 163; -pub const __NR_setrlimit: u32 = 164; -pub const __NR_getrusage: u32 = 165; -pub const __NR_umask: u32 = 166; -pub const __NR_prctl: u32 = 167; -pub const __NR_getcpu: u32 = 168; -pub const __NR_gettimeofday: u32 = 169; -pub const __NR_settimeofday: u32 = 170; -pub const __NR_adjtimex: u32 = 171; -pub const __NR_getpid: u32 = 172; -pub const __NR_getppid: u32 = 173; -pub const __NR_getuid: u32 = 174; -pub const __NR_geteuid: u32 = 175; -pub const __NR_getgid: u32 = 176; -pub const __NR_getegid: u32 = 177; -pub const __NR_gettid: u32 = 178; -pub const __NR_sysinfo: u32 = 179; -pub const __NR_mq_open: u32 = 180; -pub const __NR_mq_unlink: u32 = 181; -pub const __NR_mq_timedsend: u32 = 182; -pub const __NR_mq_timedreceive: u32 = 183; -pub const __NR_mq_notify: u32 = 184; -pub const __NR_mq_getsetattr: u32 = 185; -pub const __NR_msgget: u32 = 186; -pub const __NR_msgctl: u32 = 187; -pub const __NR_msgrcv: u32 = 188; -pub const __NR_msgsnd: u32 = 189; -pub const __NR_semget: u32 = 190; -pub const __NR_semctl: u32 = 191; -pub const __NR_semtimedop: u32 = 192; -pub const __NR_semop: u32 = 193; -pub const __NR_shmget: u32 = 194; -pub const __NR_shmctl: u32 = 195; -pub const __NR_shmat: u32 = 196; -pub const __NR_shmdt: u32 = 197; -pub const __NR_socket: u32 = 198; -pub const __NR_socketpair: u32 = 199; -pub const __NR_bind: u32 = 200; -pub const __NR_listen: u32 = 201; -pub const __NR_accept: u32 = 202; -pub const __NR_connect: u32 = 203; -pub const __NR_getsockname: u32 = 204; -pub const __NR_getpeername: u32 = 205; -pub const __NR_sendto: u32 = 206; -pub const __NR_recvfrom: u32 = 207; -pub const __NR_setsockopt: u32 = 208; -pub const __NR_getsockopt: u32 = 209; -pub const __NR_shutdown: u32 = 210; -pub const __NR_sendmsg: u32 = 211; -pub const __NR_recvmsg: u32 = 212; -pub const __NR_readahead: u32 = 213; -pub const __NR_brk: u32 = 214; -pub const __NR_munmap: u32 = 215; -pub const __NR_mremap: u32 = 216; -pub const __NR_add_key: u32 = 217; -pub const __NR_request_key: u32 = 218; -pub const __NR_keyctl: u32 = 219; -pub const __NR_clone: u32 = 220; -pub const __NR_execve: u32 = 221; -pub const __NR_swapon: u32 = 224; -pub const __NR_swapoff: u32 = 225; -pub const __NR_mprotect: u32 = 226; -pub const __NR_msync: u32 = 227; -pub const __NR_mlock: u32 = 228; -pub const __NR_munlock: u32 = 229; -pub const __NR_mlockall: u32 = 230; -pub const __NR_munlockall: u32 = 231; -pub const __NR_mincore: u32 = 232; -pub const __NR_madvise: u32 = 233; -pub const __NR_remap_file_pages: u32 = 234; -pub const __NR_mbind: u32 = 235; -pub const __NR_get_mempolicy: u32 = 236; -pub const __NR_set_mempolicy: u32 = 237; -pub const __NR_migrate_pages: u32 = 238; -pub const __NR_move_pages: u32 = 239; -pub const __NR_rt_tgsigqueueinfo: u32 = 240; -pub const __NR_perf_event_open: u32 = 241; -pub const __NR_accept4: u32 = 242; -pub const __NR_recvmmsg: u32 = 243; -pub const __NR_arch_specific_syscall: u32 = 244; -pub const __NR_wait4: u32 = 260; -pub const __NR_prlimit64: u32 = 261; -pub const __NR_fanotify_init: u32 = 262; -pub const __NR_fanotify_mark: u32 = 263; -pub const __NR_name_to_handle_at: u32 = 264; -pub const __NR_open_by_handle_at: u32 = 265; -pub const __NR_clock_adjtime: u32 = 266; -pub const __NR_syncfs: u32 = 267; -pub const __NR_setns: u32 = 268; -pub const __NR_sendmmsg: u32 = 269; -pub const __NR_process_vm_readv: u32 = 270; -pub const __NR_process_vm_writev: u32 = 271; -pub const __NR_kcmp: u32 = 272; -pub const __NR_finit_module: u32 = 273; -pub const __NR_sched_setattr: u32 = 274; -pub const __NR_sched_getattr: u32 = 275; -pub const __NR_renameat2: u32 = 276; -pub const __NR_seccomp: u32 = 277; -pub const __NR_getrandom: u32 = 278; -pub const __NR_memfd_create: u32 = 279; -pub const __NR_bpf: u32 = 280; -pub const __NR_execveat: u32 = 281; -pub const __NR_userfaultfd: u32 = 282; -pub const __NR_membarrier: u32 = 283; -pub const __NR_mlock2: u32 = 284; -pub const __NR_copy_file_range: u32 = 285; -pub const __NR_preadv2: u32 = 286; -pub const __NR_pwritev2: u32 = 287; -pub const __NR_pkey_mprotect: u32 = 288; -pub const __NR_pkey_alloc: u32 = 289; -pub const __NR_pkey_free: u32 = 290; -pub const __NR_statx: u32 = 291; -pub const __NR_io_pgetevents: u32 = 292; -pub const __NR_rseq: u32 = 293; -pub const __NR_kexec_file_load: u32 = 294; -pub const __NR_pidfd_send_signal: u32 = 424; -pub const __NR_io_uring_setup: u32 = 425; -pub const __NR_io_uring_enter: u32 = 426; -pub const __NR_io_uring_register: u32 = 427; -pub const __NR_syscalls: u32 = 428; -pub const __NR_fcntl: u32 = 25; -pub const __NR_statfs: u32 = 43; -pub const __NR_fstatfs: u32 = 44; -pub const __NR_truncate: u32 = 45; -pub const __NR_ftruncate: u32 = 46; -pub const __NR_lseek: u32 = 62; -pub const __NR_sendfile: u32 = 71; -pub const __NR_newfstatat: u32 = 79; -pub const __NR_fstat: u32 = 80; -pub const __NR_mmap: u32 = 222; -pub const __NR_fadvise64: u32 = 223; diff --git a/tests/helper/src/gen/sys/aarch64_be_linux_gnu_ilp32/linux_headers_linux_auxvec.rs b/tests/helper/src/gen/sys/aarch64_be_linux_gnu_ilp32/linux_headers_linux_auxvec.rs deleted file mode 100644 index 2caf1af2..00000000 --- a/tests/helper/src/gen/sys/aarch64_be_linux_gnu_ilp32/linux_headers_linux_auxvec.rs +++ /dev/null @@ -1,33 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -pub const AT_SYSINFO_EHDR: u32 = 33; -pub const AT_MINSIGSTKSZ: u32 = 51; -pub const AT_VECTOR_SIZE_ARCH: u32 = 2; -pub const AT_NULL: u32 = 0; -pub const AT_IGNORE: u32 = 1; -pub const AT_EXECFD: u32 = 2; -pub const AT_PHDR: u32 = 3; -pub const AT_PHENT: u32 = 4; -pub const AT_PHNUM: u32 = 5; -pub const AT_PAGESZ: u32 = 6; -pub const AT_BASE: u32 = 7; -pub const AT_FLAGS: u32 = 8; -pub const AT_ENTRY: u32 = 9; -pub const AT_NOTELF: u32 = 10; -pub const AT_UID: u32 = 11; -pub const AT_EUID: u32 = 12; -pub const AT_GID: u32 = 13; -pub const AT_EGID: u32 = 14; -pub const AT_PLATFORM: u32 = 15; -pub const AT_HWCAP: u32 = 16; -pub const AT_CLKTCK: u32 = 17; -pub const AT_SECURE: u32 = 23; -pub const AT_BASE_PLATFORM: u32 = 24; -pub const AT_RANDOM: u32 = 25; -pub const AT_HWCAP2: u32 = 26; -pub const AT_EXECFN: u32 = 31; diff --git a/tests/helper/src/gen/sys/aarch64_be_linux_gnu_ilp32/linux_headers_linux_prctl.rs b/tests/helper/src/gen/sys/aarch64_be_linux_gnu_ilp32/linux_headers_linux_prctl.rs deleted file mode 100644 index bbf22b39..00000000 --- a/tests/helper/src/gen/sys/aarch64_be_linux_gnu_ilp32/linux_headers_linux_prctl.rs +++ /dev/null @@ -1,122 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -pub const PR_SET_PDEATHSIG: u32 = 1; -pub const PR_GET_PDEATHSIG: u32 = 2; -pub const PR_GET_DUMPABLE: u32 = 3; -pub const PR_SET_DUMPABLE: u32 = 4; -pub const PR_GET_UNALIGN: u32 = 5; -pub const PR_SET_UNALIGN: u32 = 6; -pub const PR_UNALIGN_NOPRINT: u32 = 1; -pub const PR_UNALIGN_SIGBUS: u32 = 2; -pub const PR_GET_KEEPCAPS: u32 = 7; -pub const PR_SET_KEEPCAPS: u32 = 8; -pub const PR_GET_FPEMU: u32 = 9; -pub const PR_SET_FPEMU: u32 = 10; -pub const PR_FPEMU_NOPRINT: u32 = 1; -pub const PR_FPEMU_SIGFPE: u32 = 2; -pub const PR_GET_FPEXC: u32 = 11; -pub const PR_SET_FPEXC: u32 = 12; -pub const PR_FP_EXC_SW_ENABLE: u32 = 128; -pub const PR_FP_EXC_DIV: u32 = 65536; -pub const PR_FP_EXC_OVF: u32 = 131072; -pub const PR_FP_EXC_UND: u32 = 262144; -pub const PR_FP_EXC_RES: u32 = 524288; -pub const PR_FP_EXC_INV: u32 = 1048576; -pub const PR_FP_EXC_DISABLED: u32 = 0; -pub const PR_FP_EXC_NONRECOV: u32 = 1; -pub const PR_FP_EXC_ASYNC: u32 = 2; -pub const PR_FP_EXC_PRECISE: u32 = 3; -pub const PR_GET_TIMING: u32 = 13; -pub const PR_SET_TIMING: u32 = 14; -pub const PR_TIMING_STATISTICAL: u32 = 0; -pub const PR_TIMING_TIMESTAMP: u32 = 1; -pub const PR_SET_NAME: u32 = 15; -pub const PR_GET_NAME: u32 = 16; -pub const PR_GET_ENDIAN: u32 = 19; -pub const PR_SET_ENDIAN: u32 = 20; -pub const PR_ENDIAN_BIG: u32 = 0; -pub const PR_ENDIAN_LITTLE: u32 = 1; -pub const PR_ENDIAN_PPC_LITTLE: u32 = 2; -pub const PR_GET_SECCOMP: u32 = 21; -pub const PR_SET_SECCOMP: u32 = 22; -pub const PR_CAPBSET_READ: u32 = 23; -pub const PR_CAPBSET_DROP: u32 = 24; -pub const PR_GET_TSC: u32 = 25; -pub const PR_SET_TSC: u32 = 26; -pub const PR_TSC_ENABLE: u32 = 1; -pub const PR_TSC_SIGSEGV: u32 = 2; -pub const PR_GET_SECUREBITS: u32 = 27; -pub const PR_SET_SECUREBITS: u32 = 28; -pub const PR_SET_TIMERSLACK: u32 = 29; -pub const PR_GET_TIMERSLACK: u32 = 30; -pub const PR_TASK_PERF_EVENTS_DISABLE: u32 = 31; -pub const PR_TASK_PERF_EVENTS_ENABLE: u32 = 32; -pub const PR_MCE_KILL: u32 = 33; -pub const PR_MCE_KILL_CLEAR: u32 = 0; -pub const PR_MCE_KILL_SET: u32 = 1; -pub const PR_MCE_KILL_LATE: u32 = 0; -pub const PR_MCE_KILL_EARLY: u32 = 1; -pub const PR_MCE_KILL_DEFAULT: u32 = 2; -pub const PR_MCE_KILL_GET: u32 = 34; -pub const PR_SET_MM: u32 = 35; -pub const PR_SET_MM_START_CODE: u32 = 1; -pub const PR_SET_MM_END_CODE: u32 = 2; -pub const PR_SET_MM_START_DATA: u32 = 3; -pub const PR_SET_MM_END_DATA: u32 = 4; -pub const PR_SET_MM_START_STACK: u32 = 5; -pub const PR_SET_MM_START_BRK: u32 = 6; -pub const PR_SET_MM_BRK: u32 = 7; -pub const PR_SET_MM_ARG_START: u32 = 8; -pub const PR_SET_MM_ARG_END: u32 = 9; -pub const PR_SET_MM_ENV_START: u32 = 10; -pub const PR_SET_MM_ENV_END: u32 = 11; -pub const PR_SET_MM_AUXV: u32 = 12; -pub const PR_SET_MM_EXE_FILE: u32 = 13; -pub const PR_SET_MM_MAP: u32 = 14; -pub const PR_SET_MM_MAP_SIZE: u32 = 15; -pub const PR_SET_PTRACER: u32 = 1499557217; -pub const PR_SET_PTRACER_ANY: ::std::os::raw::c_ulong = -1i8 as ::std::os::raw::c_ulong; -pub const PR_SET_CHILD_SUBREAPER: u32 = 36; -pub const PR_GET_CHILD_SUBREAPER: u32 = 37; -pub const PR_SET_NO_NEW_PRIVS: u32 = 38; -pub const PR_GET_NO_NEW_PRIVS: u32 = 39; -pub const PR_GET_TID_ADDRESS: u32 = 40; -pub const PR_SET_THP_DISABLE: u32 = 41; -pub const PR_GET_THP_DISABLE: u32 = 42; -pub const PR_MPX_ENABLE_MANAGEMENT: u32 = 43; -pub const PR_MPX_DISABLE_MANAGEMENT: u32 = 44; -pub const PR_SET_FP_MODE: u32 = 45; -pub const PR_GET_FP_MODE: u32 = 46; -pub const PR_FP_MODE_FR: u32 = 1; -pub const PR_FP_MODE_FRE: u32 = 2; -pub const PR_CAP_AMBIENT: u32 = 47; -pub const PR_CAP_AMBIENT_IS_SET: u32 = 1; -pub const PR_CAP_AMBIENT_RAISE: u32 = 2; -pub const PR_CAP_AMBIENT_LOWER: u32 = 3; -pub const PR_CAP_AMBIENT_CLEAR_ALL: u32 = 4; -pub const PR_SVE_SET_VL: u32 = 50; -pub const PR_SVE_SET_VL_ONEXEC: u32 = 262144; -pub const PR_SVE_GET_VL: u32 = 51; -pub const PR_SVE_VL_LEN_MASK: u32 = 65535; -pub const PR_SVE_VL_INHERIT: u32 = 131072; -pub const PR_GET_SPECULATION_CTRL: u32 = 52; -pub const PR_SET_SPECULATION_CTRL: u32 = 53; -pub const PR_SPEC_STORE_BYPASS: u32 = 0; -pub const PR_SPEC_INDIRECT_BRANCH: u32 = 1; -pub const PR_SPEC_NOT_AFFECTED: u32 = 0; -pub const PR_SPEC_PRCTL: u32 = 1; -pub const PR_SPEC_ENABLE: u32 = 2; -pub const PR_SPEC_DISABLE: u32 = 4; -pub const PR_SPEC_FORCE_DISABLE: u32 = 8; -pub const PR_SPEC_DISABLE_NOEXEC: u32 = 16; -pub const PR_PAC_RESET_KEYS: u32 = 54; -pub const PR_PAC_APIAKEY: u32 = 1; -pub const PR_PAC_APIBKEY: u32 = 2; -pub const PR_PAC_APDAKEY: u32 = 4; -pub const PR_PAC_APDBKEY: u32 = 8; -pub const PR_PAC_APGAKEY: u32 = 16; diff --git a/tests/helper/src/gen/sys/aarch64_be_linux_gnu_ilp32/mod.rs b/tests/helper/src/gen/sys/aarch64_be_linux_gnu_ilp32/mod.rs deleted file mode 100644 index 0404c062..00000000 --- a/tests/helper/src/gen/sys/aarch64_be_linux_gnu_ilp32/mod.rs +++ /dev/null @@ -1,479 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] -mod linux_headers_asm_hwcap; -pub use linux_headers_asm_hwcap::HWCAP_FP; -pub use linux_headers_asm_hwcap::HWCAP_ASIMD; -pub use linux_headers_asm_hwcap::HWCAP_EVTSTRM; -pub use linux_headers_asm_hwcap::HWCAP_AES; -pub use linux_headers_asm_hwcap::HWCAP_PMULL; -pub use linux_headers_asm_hwcap::HWCAP_SHA1; -pub use linux_headers_asm_hwcap::HWCAP_SHA2; -pub use linux_headers_asm_hwcap::HWCAP_CRC32; -pub use linux_headers_asm_hwcap::HWCAP_ATOMICS; -pub use linux_headers_asm_hwcap::HWCAP_FPHP; -pub use linux_headers_asm_hwcap::HWCAP_ASIMDHP; -pub use linux_headers_asm_hwcap::HWCAP_CPUID; -pub use linux_headers_asm_hwcap::HWCAP_ASIMDRDM; -pub use linux_headers_asm_hwcap::HWCAP_JSCVT; -pub use linux_headers_asm_hwcap::HWCAP_FCMA; -pub use linux_headers_asm_hwcap::HWCAP_LRCPC; -pub use linux_headers_asm_hwcap::HWCAP_DCPOP; -pub use linux_headers_asm_hwcap::HWCAP_SHA3; -pub use linux_headers_asm_hwcap::HWCAP_SM3; -pub use linux_headers_asm_hwcap::HWCAP_SM4; -pub use linux_headers_asm_hwcap::HWCAP_ASIMDDP; -pub use linux_headers_asm_hwcap::HWCAP_SHA512; -pub use linux_headers_asm_hwcap::HWCAP_SVE; -pub use linux_headers_asm_hwcap::HWCAP_ASIMDFHM; -pub use linux_headers_asm_hwcap::HWCAP_DIT; -pub use linux_headers_asm_hwcap::HWCAP_USCAT; -pub use linux_headers_asm_hwcap::HWCAP_ILRCPC; -pub use linux_headers_asm_hwcap::HWCAP_FLAGM; -pub use linux_headers_asm_hwcap::HWCAP_SSBS; -pub use linux_headers_asm_hwcap::HWCAP_SB; -pub use linux_headers_asm_hwcap::HWCAP_PACA; -pub use linux_headers_asm_hwcap::HWCAP_PACG; -mod linux_headers_asm_unistd; -pub use linux_headers_asm_unistd::__NR_io_setup; -pub use linux_headers_asm_unistd::__NR_io_destroy; -pub use linux_headers_asm_unistd::__NR_io_submit; -pub use linux_headers_asm_unistd::__NR_io_cancel; -pub use linux_headers_asm_unistd::__NR_io_getevents; -pub use linux_headers_asm_unistd::__NR_setxattr; -pub use linux_headers_asm_unistd::__NR_lsetxattr; -pub use linux_headers_asm_unistd::__NR_fsetxattr; -pub use linux_headers_asm_unistd::__NR_getxattr; -pub use linux_headers_asm_unistd::__NR_lgetxattr; -pub use linux_headers_asm_unistd::__NR_fgetxattr; -pub use linux_headers_asm_unistd::__NR_listxattr; -pub use linux_headers_asm_unistd::__NR_llistxattr; -pub use linux_headers_asm_unistd::__NR_flistxattr; -pub use linux_headers_asm_unistd::__NR_removexattr; -pub use linux_headers_asm_unistd::__NR_lremovexattr; -pub use linux_headers_asm_unistd::__NR_fremovexattr; -pub use linux_headers_asm_unistd::__NR_getcwd; -pub use linux_headers_asm_unistd::__NR_lookup_dcookie; -pub use linux_headers_asm_unistd::__NR_eventfd2; -pub use linux_headers_asm_unistd::__NR_epoll_create1; -pub use linux_headers_asm_unistd::__NR_epoll_ctl; -pub use linux_headers_asm_unistd::__NR_epoll_pwait; -pub use linux_headers_asm_unistd::__NR_dup; -pub use linux_headers_asm_unistd::__NR_dup3; -pub use linux_headers_asm_unistd::__NR_inotify_init1; -pub use linux_headers_asm_unistd::__NR_inotify_add_watch; -pub use linux_headers_asm_unistd::__NR_inotify_rm_watch; -pub use linux_headers_asm_unistd::__NR_ioctl; -pub use linux_headers_asm_unistd::__NR_ioprio_set; -pub use linux_headers_asm_unistd::__NR_ioprio_get; -pub use linux_headers_asm_unistd::__NR_flock; -pub use linux_headers_asm_unistd::__NR_mknodat; -pub use linux_headers_asm_unistd::__NR_mkdirat; -pub use linux_headers_asm_unistd::__NR_unlinkat; -pub use linux_headers_asm_unistd::__NR_symlinkat; -pub use linux_headers_asm_unistd::__NR_linkat; -pub use linux_headers_asm_unistd::__NR_renameat; -pub use linux_headers_asm_unistd::__NR_umount2; -pub use linux_headers_asm_unistd::__NR_mount; -pub use linux_headers_asm_unistd::__NR_pivot_root; -pub use linux_headers_asm_unistd::__NR_nfsservctl; -pub use linux_headers_asm_unistd::__NR_fallocate; -pub use linux_headers_asm_unistd::__NR_faccessat; -pub use linux_headers_asm_unistd::__NR_chdir; -pub use linux_headers_asm_unistd::__NR_fchdir; -pub use linux_headers_asm_unistd::__NR_chroot; -pub use linux_headers_asm_unistd::__NR_fchmod; -pub use linux_headers_asm_unistd::__NR_fchmodat; -pub use linux_headers_asm_unistd::__NR_fchownat; -pub use linux_headers_asm_unistd::__NR_fchown; -pub use linux_headers_asm_unistd::__NR_openat; -pub use linux_headers_asm_unistd::__NR_close; -pub use linux_headers_asm_unistd::__NR_vhangup; -pub use linux_headers_asm_unistd::__NR_pipe2; -pub use linux_headers_asm_unistd::__NR_quotactl; -pub use linux_headers_asm_unistd::__NR_getdents64; -pub use linux_headers_asm_unistd::__NR_read; -pub use linux_headers_asm_unistd::__NR_write; -pub use linux_headers_asm_unistd::__NR_readv; -pub use linux_headers_asm_unistd::__NR_writev; -pub use linux_headers_asm_unistd::__NR_pread64; -pub use linux_headers_asm_unistd::__NR_pwrite64; -pub use linux_headers_asm_unistd::__NR_preadv; -pub use linux_headers_asm_unistd::__NR_pwritev; -pub use linux_headers_asm_unistd::__NR_pselect6; -pub use linux_headers_asm_unistd::__NR_ppoll; -pub use linux_headers_asm_unistd::__NR_signalfd4; -pub use linux_headers_asm_unistd::__NR_vmsplice; -pub use linux_headers_asm_unistd::__NR_splice; -pub use linux_headers_asm_unistd::__NR_tee; -pub use linux_headers_asm_unistd::__NR_readlinkat; -pub use linux_headers_asm_unistd::__NR_sync; -pub use linux_headers_asm_unistd::__NR_fsync; -pub use linux_headers_asm_unistd::__NR_fdatasync; -pub use linux_headers_asm_unistd::__NR_sync_file_range; -pub use linux_headers_asm_unistd::__NR_timerfd_create; -pub use linux_headers_asm_unistd::__NR_timerfd_settime; -pub use linux_headers_asm_unistd::__NR_timerfd_gettime; -pub use linux_headers_asm_unistd::__NR_utimensat; -pub use linux_headers_asm_unistd::__NR_acct; -pub use linux_headers_asm_unistd::__NR_capget; -pub use linux_headers_asm_unistd::__NR_capset; -pub use linux_headers_asm_unistd::__NR_personality; -pub use linux_headers_asm_unistd::__NR_exit; -pub use linux_headers_asm_unistd::__NR_exit_group; -pub use linux_headers_asm_unistd::__NR_waitid; -pub use linux_headers_asm_unistd::__NR_set_tid_address; -pub use linux_headers_asm_unistd::__NR_unshare; -pub use linux_headers_asm_unistd::__NR_futex; -pub use linux_headers_asm_unistd::__NR_set_robust_list; -pub use linux_headers_asm_unistd::__NR_get_robust_list; -pub use linux_headers_asm_unistd::__NR_nanosleep; -pub use linux_headers_asm_unistd::__NR_getitimer; -pub use linux_headers_asm_unistd::__NR_setitimer; -pub use linux_headers_asm_unistd::__NR_kexec_load; -pub use linux_headers_asm_unistd::__NR_init_module; -pub use linux_headers_asm_unistd::__NR_delete_module; -pub use linux_headers_asm_unistd::__NR_timer_create; -pub use linux_headers_asm_unistd::__NR_timer_gettime; -pub use linux_headers_asm_unistd::__NR_timer_getoverrun; -pub use linux_headers_asm_unistd::__NR_timer_settime; -pub use linux_headers_asm_unistd::__NR_timer_delete; -pub use linux_headers_asm_unistd::__NR_clock_settime; -pub use linux_headers_asm_unistd::__NR_clock_gettime; -pub use linux_headers_asm_unistd::__NR_clock_getres; -pub use linux_headers_asm_unistd::__NR_clock_nanosleep; -pub use linux_headers_asm_unistd::__NR_syslog; -pub use linux_headers_asm_unistd::__NR_ptrace; -pub use linux_headers_asm_unistd::__NR_sched_setparam; -pub use linux_headers_asm_unistd::__NR_sched_setscheduler; -pub use linux_headers_asm_unistd::__NR_sched_getscheduler; -pub use linux_headers_asm_unistd::__NR_sched_getparam; -pub use linux_headers_asm_unistd::__NR_sched_setaffinity; -pub use linux_headers_asm_unistd::__NR_sched_getaffinity; -pub use linux_headers_asm_unistd::__NR_sched_yield; -pub use linux_headers_asm_unistd::__NR_sched_get_priority_max; -pub use linux_headers_asm_unistd::__NR_sched_get_priority_min; -pub use linux_headers_asm_unistd::__NR_sched_rr_get_interval; -pub use linux_headers_asm_unistd::__NR_restart_syscall; -pub use linux_headers_asm_unistd::__NR_kill; -pub use linux_headers_asm_unistd::__NR_tkill; -pub use linux_headers_asm_unistd::__NR_tgkill; -pub use linux_headers_asm_unistd::__NR_sigaltstack; -pub use linux_headers_asm_unistd::__NR_rt_sigsuspend; -pub use linux_headers_asm_unistd::__NR_rt_sigaction; -pub use linux_headers_asm_unistd::__NR_rt_sigprocmask; -pub use linux_headers_asm_unistd::__NR_rt_sigpending; -pub use linux_headers_asm_unistd::__NR_rt_sigtimedwait; -pub use linux_headers_asm_unistd::__NR_rt_sigqueueinfo; -pub use linux_headers_asm_unistd::__NR_rt_sigreturn; -pub use linux_headers_asm_unistd::__NR_setpriority; -pub use linux_headers_asm_unistd::__NR_getpriority; -pub use linux_headers_asm_unistd::__NR_reboot; -pub use linux_headers_asm_unistd::__NR_setregid; -pub use linux_headers_asm_unistd::__NR_setgid; -pub use linux_headers_asm_unistd::__NR_setreuid; -pub use linux_headers_asm_unistd::__NR_setuid; -pub use linux_headers_asm_unistd::__NR_setresuid; -pub use linux_headers_asm_unistd::__NR_getresuid; -pub use linux_headers_asm_unistd::__NR_setresgid; -pub use linux_headers_asm_unistd::__NR_getresgid; -pub use linux_headers_asm_unistd::__NR_setfsuid; -pub use linux_headers_asm_unistd::__NR_setfsgid; -pub use linux_headers_asm_unistd::__NR_times; -pub use linux_headers_asm_unistd::__NR_setpgid; -pub use linux_headers_asm_unistd::__NR_getpgid; -pub use linux_headers_asm_unistd::__NR_getsid; -pub use linux_headers_asm_unistd::__NR_setsid; -pub use linux_headers_asm_unistd::__NR_getgroups; -pub use linux_headers_asm_unistd::__NR_setgroups; -pub use linux_headers_asm_unistd::__NR_uname; -pub use linux_headers_asm_unistd::__NR_sethostname; -pub use linux_headers_asm_unistd::__NR_setdomainname; -pub use linux_headers_asm_unistd::__NR_getrlimit; -pub use linux_headers_asm_unistd::__NR_setrlimit; -pub use linux_headers_asm_unistd::__NR_getrusage; -pub use linux_headers_asm_unistd::__NR_umask; -pub use linux_headers_asm_unistd::__NR_prctl; -pub use linux_headers_asm_unistd::__NR_getcpu; -pub use linux_headers_asm_unistd::__NR_gettimeofday; -pub use linux_headers_asm_unistd::__NR_settimeofday; -pub use linux_headers_asm_unistd::__NR_adjtimex; -pub use linux_headers_asm_unistd::__NR_getpid; -pub use linux_headers_asm_unistd::__NR_getppid; -pub use linux_headers_asm_unistd::__NR_getuid; -pub use linux_headers_asm_unistd::__NR_geteuid; -pub use linux_headers_asm_unistd::__NR_getgid; -pub use linux_headers_asm_unistd::__NR_getegid; -pub use linux_headers_asm_unistd::__NR_gettid; -pub use linux_headers_asm_unistd::__NR_sysinfo; -pub use linux_headers_asm_unistd::__NR_mq_open; -pub use linux_headers_asm_unistd::__NR_mq_unlink; -pub use linux_headers_asm_unistd::__NR_mq_timedsend; -pub use linux_headers_asm_unistd::__NR_mq_timedreceive; -pub use linux_headers_asm_unistd::__NR_mq_notify; -pub use linux_headers_asm_unistd::__NR_mq_getsetattr; -pub use linux_headers_asm_unistd::__NR_msgget; -pub use linux_headers_asm_unistd::__NR_msgctl; -pub use linux_headers_asm_unistd::__NR_msgrcv; -pub use linux_headers_asm_unistd::__NR_msgsnd; -pub use linux_headers_asm_unistd::__NR_semget; -pub use linux_headers_asm_unistd::__NR_semctl; -pub use linux_headers_asm_unistd::__NR_semtimedop; -pub use linux_headers_asm_unistd::__NR_semop; -pub use linux_headers_asm_unistd::__NR_shmget; -pub use linux_headers_asm_unistd::__NR_shmctl; -pub use linux_headers_asm_unistd::__NR_shmat; -pub use linux_headers_asm_unistd::__NR_shmdt; -pub use linux_headers_asm_unistd::__NR_socket; -pub use linux_headers_asm_unistd::__NR_socketpair; -pub use linux_headers_asm_unistd::__NR_bind; -pub use linux_headers_asm_unistd::__NR_listen; -pub use linux_headers_asm_unistd::__NR_accept; -pub use linux_headers_asm_unistd::__NR_connect; -pub use linux_headers_asm_unistd::__NR_getsockname; -pub use linux_headers_asm_unistd::__NR_getpeername; -pub use linux_headers_asm_unistd::__NR_sendto; -pub use linux_headers_asm_unistd::__NR_recvfrom; -pub use linux_headers_asm_unistd::__NR_setsockopt; -pub use linux_headers_asm_unistd::__NR_getsockopt; -pub use linux_headers_asm_unistd::__NR_shutdown; -pub use linux_headers_asm_unistd::__NR_sendmsg; -pub use linux_headers_asm_unistd::__NR_recvmsg; -pub use linux_headers_asm_unistd::__NR_readahead; -pub use linux_headers_asm_unistd::__NR_brk; -pub use linux_headers_asm_unistd::__NR_munmap; -pub use linux_headers_asm_unistd::__NR_mremap; -pub use linux_headers_asm_unistd::__NR_add_key; -pub use linux_headers_asm_unistd::__NR_request_key; -pub use linux_headers_asm_unistd::__NR_keyctl; -pub use linux_headers_asm_unistd::__NR_clone; -pub use linux_headers_asm_unistd::__NR_execve; -pub use linux_headers_asm_unistd::__NR_swapon; -pub use linux_headers_asm_unistd::__NR_swapoff; -pub use linux_headers_asm_unistd::__NR_mprotect; -pub use linux_headers_asm_unistd::__NR_msync; -pub use linux_headers_asm_unistd::__NR_mlock; -pub use linux_headers_asm_unistd::__NR_munlock; -pub use linux_headers_asm_unistd::__NR_mlockall; -pub use linux_headers_asm_unistd::__NR_munlockall; -pub use linux_headers_asm_unistd::__NR_mincore; -pub use linux_headers_asm_unistd::__NR_madvise; -pub use linux_headers_asm_unistd::__NR_remap_file_pages; -pub use linux_headers_asm_unistd::__NR_mbind; -pub use linux_headers_asm_unistd::__NR_get_mempolicy; -pub use linux_headers_asm_unistd::__NR_set_mempolicy; -pub use linux_headers_asm_unistd::__NR_migrate_pages; -pub use linux_headers_asm_unistd::__NR_move_pages; -pub use linux_headers_asm_unistd::__NR_rt_tgsigqueueinfo; -pub use linux_headers_asm_unistd::__NR_perf_event_open; -pub use linux_headers_asm_unistd::__NR_accept4; -pub use linux_headers_asm_unistd::__NR_recvmmsg; -pub use linux_headers_asm_unistd::__NR_arch_specific_syscall; -pub use linux_headers_asm_unistd::__NR_wait4; -pub use linux_headers_asm_unistd::__NR_prlimit64; -pub use linux_headers_asm_unistd::__NR_fanotify_init; -pub use linux_headers_asm_unistd::__NR_fanotify_mark; -pub use linux_headers_asm_unistd::__NR_name_to_handle_at; -pub use linux_headers_asm_unistd::__NR_open_by_handle_at; -pub use linux_headers_asm_unistd::__NR_clock_adjtime; -pub use linux_headers_asm_unistd::__NR_syncfs; -pub use linux_headers_asm_unistd::__NR_setns; -pub use linux_headers_asm_unistd::__NR_sendmmsg; -pub use linux_headers_asm_unistd::__NR_process_vm_readv; -pub use linux_headers_asm_unistd::__NR_process_vm_writev; -pub use linux_headers_asm_unistd::__NR_kcmp; -pub use linux_headers_asm_unistd::__NR_finit_module; -pub use linux_headers_asm_unistd::__NR_sched_setattr; -pub use linux_headers_asm_unistd::__NR_sched_getattr; -pub use linux_headers_asm_unistd::__NR_renameat2; -pub use linux_headers_asm_unistd::__NR_seccomp; -pub use linux_headers_asm_unistd::__NR_getrandom; -pub use linux_headers_asm_unistd::__NR_memfd_create; -pub use linux_headers_asm_unistd::__NR_bpf; -pub use linux_headers_asm_unistd::__NR_execveat; -pub use linux_headers_asm_unistd::__NR_userfaultfd; -pub use linux_headers_asm_unistd::__NR_membarrier; -pub use linux_headers_asm_unistd::__NR_mlock2; -pub use linux_headers_asm_unistd::__NR_copy_file_range; -pub use linux_headers_asm_unistd::__NR_preadv2; -pub use linux_headers_asm_unistd::__NR_pwritev2; -pub use linux_headers_asm_unistd::__NR_pkey_mprotect; -pub use linux_headers_asm_unistd::__NR_pkey_alloc; -pub use linux_headers_asm_unistd::__NR_pkey_free; -pub use linux_headers_asm_unistd::__NR_statx; -pub use linux_headers_asm_unistd::__NR_io_pgetevents; -pub use linux_headers_asm_unistd::__NR_rseq; -pub use linux_headers_asm_unistd::__NR_kexec_file_load; -pub use linux_headers_asm_unistd::__NR_pidfd_send_signal; -pub use linux_headers_asm_unistd::__NR_io_uring_setup; -pub use linux_headers_asm_unistd::__NR_io_uring_enter; -pub use linux_headers_asm_unistd::__NR_io_uring_register; -pub use linux_headers_asm_unistd::__NR_syscalls; -pub use linux_headers_asm_unistd::__NR_fcntl; -pub use linux_headers_asm_unistd::__NR_statfs; -pub use linux_headers_asm_unistd::__NR_fstatfs; -pub use linux_headers_asm_unistd::__NR_truncate; -pub use linux_headers_asm_unistd::__NR_ftruncate; -pub use linux_headers_asm_unistd::__NR_lseek; -pub use linux_headers_asm_unistd::__NR_sendfile; -pub use linux_headers_asm_unistd::__NR_newfstatat; -pub use linux_headers_asm_unistd::__NR_fstat; -pub use linux_headers_asm_unistd::__NR_mmap; -pub use linux_headers_asm_unistd::__NR_fadvise64; -mod linux_headers_linux_auxvec; -pub use linux_headers_linux_auxvec::AT_SYSINFO_EHDR; -pub use linux_headers_linux_auxvec::AT_MINSIGSTKSZ; -pub use linux_headers_linux_auxvec::AT_VECTOR_SIZE_ARCH; -pub use linux_headers_linux_auxvec::AT_NULL; -pub use linux_headers_linux_auxvec::AT_IGNORE; -pub use linux_headers_linux_auxvec::AT_EXECFD; -pub use linux_headers_linux_auxvec::AT_PHDR; -pub use linux_headers_linux_auxvec::AT_PHENT; -pub use linux_headers_linux_auxvec::AT_PHNUM; -pub use linux_headers_linux_auxvec::AT_PAGESZ; -pub use linux_headers_linux_auxvec::AT_BASE; -pub use linux_headers_linux_auxvec::AT_FLAGS; -pub use linux_headers_linux_auxvec::AT_ENTRY; -pub use linux_headers_linux_auxvec::AT_NOTELF; -pub use linux_headers_linux_auxvec::AT_UID; -pub use linux_headers_linux_auxvec::AT_EUID; -pub use linux_headers_linux_auxvec::AT_GID; -pub use linux_headers_linux_auxvec::AT_EGID; -pub use linux_headers_linux_auxvec::AT_PLATFORM; -pub use linux_headers_linux_auxvec::AT_HWCAP; -pub use linux_headers_linux_auxvec::AT_CLKTCK; -pub use linux_headers_linux_auxvec::AT_SECURE; -pub use linux_headers_linux_auxvec::AT_BASE_PLATFORM; -pub use linux_headers_linux_auxvec::AT_RANDOM; -pub use linux_headers_linux_auxvec::AT_HWCAP2; -pub use linux_headers_linux_auxvec::AT_EXECFN; -mod linux_headers_linux_prctl; -pub use linux_headers_linux_prctl::PR_SET_PDEATHSIG; -pub use linux_headers_linux_prctl::PR_GET_PDEATHSIG; -pub use linux_headers_linux_prctl::PR_GET_DUMPABLE; -pub use linux_headers_linux_prctl::PR_SET_DUMPABLE; -pub use linux_headers_linux_prctl::PR_GET_UNALIGN; -pub use linux_headers_linux_prctl::PR_SET_UNALIGN; -pub use linux_headers_linux_prctl::PR_UNALIGN_NOPRINT; -pub use linux_headers_linux_prctl::PR_UNALIGN_SIGBUS; -pub use linux_headers_linux_prctl::PR_GET_KEEPCAPS; -pub use linux_headers_linux_prctl::PR_SET_KEEPCAPS; -pub use linux_headers_linux_prctl::PR_GET_FPEMU; -pub use linux_headers_linux_prctl::PR_SET_FPEMU; -pub use linux_headers_linux_prctl::PR_FPEMU_NOPRINT; -pub use linux_headers_linux_prctl::PR_FPEMU_SIGFPE; -pub use linux_headers_linux_prctl::PR_GET_FPEXC; -pub use linux_headers_linux_prctl::PR_SET_FPEXC; -pub use linux_headers_linux_prctl::PR_FP_EXC_SW_ENABLE; -pub use linux_headers_linux_prctl::PR_FP_EXC_DIV; -pub use linux_headers_linux_prctl::PR_FP_EXC_OVF; -pub use linux_headers_linux_prctl::PR_FP_EXC_UND; -pub use linux_headers_linux_prctl::PR_FP_EXC_RES; -pub use linux_headers_linux_prctl::PR_FP_EXC_INV; -pub use linux_headers_linux_prctl::PR_FP_EXC_DISABLED; -pub use linux_headers_linux_prctl::PR_FP_EXC_NONRECOV; -pub use linux_headers_linux_prctl::PR_FP_EXC_ASYNC; -pub use linux_headers_linux_prctl::PR_FP_EXC_PRECISE; -pub use linux_headers_linux_prctl::PR_GET_TIMING; -pub use linux_headers_linux_prctl::PR_SET_TIMING; -pub use linux_headers_linux_prctl::PR_TIMING_STATISTICAL; -pub use linux_headers_linux_prctl::PR_TIMING_TIMESTAMP; -pub use linux_headers_linux_prctl::PR_SET_NAME; -pub use linux_headers_linux_prctl::PR_GET_NAME; -pub use linux_headers_linux_prctl::PR_GET_ENDIAN; -pub use linux_headers_linux_prctl::PR_SET_ENDIAN; -pub use linux_headers_linux_prctl::PR_ENDIAN_BIG; -pub use linux_headers_linux_prctl::PR_ENDIAN_LITTLE; -pub use linux_headers_linux_prctl::PR_ENDIAN_PPC_LITTLE; -pub use linux_headers_linux_prctl::PR_GET_SECCOMP; -pub use linux_headers_linux_prctl::PR_SET_SECCOMP; -pub use linux_headers_linux_prctl::PR_CAPBSET_READ; -pub use linux_headers_linux_prctl::PR_CAPBSET_DROP; -pub use linux_headers_linux_prctl::PR_GET_TSC; -pub use linux_headers_linux_prctl::PR_SET_TSC; -pub use linux_headers_linux_prctl::PR_TSC_ENABLE; -pub use linux_headers_linux_prctl::PR_TSC_SIGSEGV; -pub use linux_headers_linux_prctl::PR_GET_SECUREBITS; -pub use linux_headers_linux_prctl::PR_SET_SECUREBITS; -pub use linux_headers_linux_prctl::PR_SET_TIMERSLACK; -pub use linux_headers_linux_prctl::PR_GET_TIMERSLACK; -pub use linux_headers_linux_prctl::PR_TASK_PERF_EVENTS_DISABLE; -pub use linux_headers_linux_prctl::PR_TASK_PERF_EVENTS_ENABLE; -pub use linux_headers_linux_prctl::PR_MCE_KILL; -pub use linux_headers_linux_prctl::PR_MCE_KILL_CLEAR; -pub use linux_headers_linux_prctl::PR_MCE_KILL_SET; -pub use linux_headers_linux_prctl::PR_MCE_KILL_LATE; -pub use linux_headers_linux_prctl::PR_MCE_KILL_EARLY; -pub use linux_headers_linux_prctl::PR_MCE_KILL_DEFAULT; -pub use linux_headers_linux_prctl::PR_MCE_KILL_GET; -pub use linux_headers_linux_prctl::PR_SET_MM; -pub use linux_headers_linux_prctl::PR_SET_MM_START_CODE; -pub use linux_headers_linux_prctl::PR_SET_MM_END_CODE; -pub use linux_headers_linux_prctl::PR_SET_MM_START_DATA; -pub use linux_headers_linux_prctl::PR_SET_MM_END_DATA; -pub use linux_headers_linux_prctl::PR_SET_MM_START_STACK; -pub use linux_headers_linux_prctl::PR_SET_MM_START_BRK; -pub use linux_headers_linux_prctl::PR_SET_MM_BRK; -pub use linux_headers_linux_prctl::PR_SET_MM_ARG_START; -pub use linux_headers_linux_prctl::PR_SET_MM_ARG_END; -pub use linux_headers_linux_prctl::PR_SET_MM_ENV_START; -pub use linux_headers_linux_prctl::PR_SET_MM_ENV_END; -pub use linux_headers_linux_prctl::PR_SET_MM_AUXV; -pub use linux_headers_linux_prctl::PR_SET_MM_EXE_FILE; -pub use linux_headers_linux_prctl::PR_SET_MM_MAP; -pub use linux_headers_linux_prctl::PR_SET_MM_MAP_SIZE; -pub use linux_headers_linux_prctl::PR_SET_PTRACER; -pub use linux_headers_linux_prctl::PR_SET_PTRACER_ANY; -pub use linux_headers_linux_prctl::PR_SET_CHILD_SUBREAPER; -pub use linux_headers_linux_prctl::PR_GET_CHILD_SUBREAPER; -pub use linux_headers_linux_prctl::PR_SET_NO_NEW_PRIVS; -pub use linux_headers_linux_prctl::PR_GET_NO_NEW_PRIVS; -pub use linux_headers_linux_prctl::PR_GET_TID_ADDRESS; -pub use linux_headers_linux_prctl::PR_SET_THP_DISABLE; -pub use linux_headers_linux_prctl::PR_GET_THP_DISABLE; -pub use linux_headers_linux_prctl::PR_MPX_ENABLE_MANAGEMENT; -pub use linux_headers_linux_prctl::PR_MPX_DISABLE_MANAGEMENT; -pub use linux_headers_linux_prctl::PR_SET_FP_MODE; -pub use linux_headers_linux_prctl::PR_GET_FP_MODE; -pub use linux_headers_linux_prctl::PR_FP_MODE_FR; -pub use linux_headers_linux_prctl::PR_FP_MODE_FRE; -pub use linux_headers_linux_prctl::PR_CAP_AMBIENT; -pub use linux_headers_linux_prctl::PR_CAP_AMBIENT_IS_SET; -pub use linux_headers_linux_prctl::PR_CAP_AMBIENT_RAISE; -pub use linux_headers_linux_prctl::PR_CAP_AMBIENT_LOWER; -pub use linux_headers_linux_prctl::PR_CAP_AMBIENT_CLEAR_ALL; -pub use linux_headers_linux_prctl::PR_SVE_SET_VL; -pub use linux_headers_linux_prctl::PR_SVE_SET_VL_ONEXEC; -pub use linux_headers_linux_prctl::PR_SVE_GET_VL; -pub use linux_headers_linux_prctl::PR_SVE_VL_LEN_MASK; -pub use linux_headers_linux_prctl::PR_SVE_VL_INHERIT; -pub use linux_headers_linux_prctl::PR_GET_SPECULATION_CTRL; -pub use linux_headers_linux_prctl::PR_SET_SPECULATION_CTRL; -pub use linux_headers_linux_prctl::PR_SPEC_STORE_BYPASS; -pub use linux_headers_linux_prctl::PR_SPEC_INDIRECT_BRANCH; -pub use linux_headers_linux_prctl::PR_SPEC_NOT_AFFECTED; -pub use linux_headers_linux_prctl::PR_SPEC_PRCTL; -pub use linux_headers_linux_prctl::PR_SPEC_ENABLE; -pub use linux_headers_linux_prctl::PR_SPEC_DISABLE; -pub use linux_headers_linux_prctl::PR_SPEC_FORCE_DISABLE; -pub use linux_headers_linux_prctl::PR_SPEC_DISABLE_NOEXEC; -pub use linux_headers_linux_prctl::PR_PAC_RESET_KEYS; -pub use linux_headers_linux_prctl::PR_PAC_APIAKEY; -pub use linux_headers_linux_prctl::PR_PAC_APIBKEY; -pub use linux_headers_linux_prctl::PR_PAC_APDAKEY; -pub use linux_headers_linux_prctl::PR_PAC_APDBKEY; -pub use linux_headers_linux_prctl::PR_PAC_APGAKEY; -mod dlfcn; -pub use dlfcn::RTLD_DEFAULT; -pub use dlfcn::dlsym; -mod elf; -pub use elf::Elf32_auxv_t; -pub use elf::Elf64_auxv_t; -mod sys_auxv; -pub use sys_auxv::getauxval; -mod unistd; -pub use unistd::syscall; -pub type c_char = u8; diff --git a/tests/helper/src/gen/sys/aarch64_be_linux_gnu_ilp32/sys_auxv.rs b/tests/helper/src/gen/sys/aarch64_be_linux_gnu_ilp32/sys_auxv.rs deleted file mode 100644 index 1fe1c678..00000000 --- a/tests/helper/src/gen/sys/aarch64_be_linux_gnu_ilp32/sys_auxv.rs +++ /dev/null @@ -1,10 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -extern "C" { - pub fn getauxval(__type: ::std::os::raw::c_ulong) -> ::std::os::raw::c_ulong; -} diff --git a/tests/helper/src/gen/sys/aarch64_be_linux_gnu_ilp32/unistd.rs b/tests/helper/src/gen/sys/aarch64_be_linux_gnu_ilp32/unistd.rs deleted file mode 100644 index eab78d00..00000000 --- a/tests/helper/src/gen/sys/aarch64_be_linux_gnu_ilp32/unistd.rs +++ /dev/null @@ -1,10 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -extern "C" { - pub fn syscall(__sysno: ::std::os::raw::c_long, ...) -> ::std::os::raw::c_long; -} diff --git a/tests/helper/src/gen/sys/aarch64_be_netbsd/machine_armreg.rs b/tests/helper/src/gen/sys/aarch64_be_netbsd/machine_armreg.rs deleted file mode 100644 index 552c2eed..00000000 --- a/tests/helper/src/gen/sys/aarch64_be_netbsd/machine_armreg.rs +++ /dev/null @@ -1,30 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -#[repr(C)] -#[derive(Copy, Clone)] -pub struct aarch64_sysctl_cpu_id { - pub ac_midr: u64, - pub ac_revidr: u64, - pub ac_mpidr: u64, - pub ac_aa64dfr0: u64, - pub ac_aa64dfr1: u64, - pub ac_aa64isar0: u64, - pub ac_aa64isar1: u64, - pub ac_aa64mmfr0: u64, - pub ac_aa64mmfr1: u64, - pub ac_aa64mmfr2: u64, - pub ac_aa64pfr0: u64, - pub ac_aa64pfr1: u64, - pub ac_aa64zfr0: u64, - pub ac_mvfr0: u32, - pub ac_mvfr1: u32, - pub ac_mvfr2: u32, - pub ac_pad: u32, - pub ac_clidr: u64, - pub ac_ctr: u64, -} diff --git a/tests/helper/src/gen/sys/aarch64_be_netbsd/mod.rs b/tests/helper/src/gen/sys/aarch64_be_netbsd/mod.rs deleted file mode 100644 index bee636ff..00000000 --- a/tests/helper/src/gen/sys/aarch64_be_netbsd/mod.rs +++ /dev/null @@ -1,474 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] -mod sys_syscall; -pub use sys_syscall::SYS_MAXSYSARGS; -pub use sys_syscall::SYS_syscall; -pub use sys_syscall::SYS_exit; -pub use sys_syscall::SYS_fork; -pub use sys_syscall::SYS_read; -pub use sys_syscall::SYS_write; -pub use sys_syscall::SYS_open; -pub use sys_syscall::SYS_close; -pub use sys_syscall::SYS_compat_50_wait4; -pub use sys_syscall::SYS_compat_43_ocreat; -pub use sys_syscall::SYS_link; -pub use sys_syscall::SYS_unlink; -pub use sys_syscall::SYS_chdir; -pub use sys_syscall::SYS_fchdir; -pub use sys_syscall::SYS_compat_50_mknod; -pub use sys_syscall::SYS_chmod; -pub use sys_syscall::SYS_chown; -pub use sys_syscall::SYS_break; -pub use sys_syscall::SYS_compat_20_getfsstat; -pub use sys_syscall::SYS_compat_43_olseek; -pub use sys_syscall::SYS_getpid; -pub use sys_syscall::SYS_compat_40_mount; -pub use sys_syscall::SYS_unmount; -pub use sys_syscall::SYS_setuid; -pub use sys_syscall::SYS_getuid; -pub use sys_syscall::SYS_geteuid; -pub use sys_syscall::SYS_ptrace; -pub use sys_syscall::SYS_recvmsg; -pub use sys_syscall::SYS_sendmsg; -pub use sys_syscall::SYS_recvfrom; -pub use sys_syscall::SYS_accept; -pub use sys_syscall::SYS_getpeername; -pub use sys_syscall::SYS_getsockname; -pub use sys_syscall::SYS_access; -pub use sys_syscall::SYS_chflags; -pub use sys_syscall::SYS_fchflags; -pub use sys_syscall::SYS_sync; -pub use sys_syscall::SYS_kill; -pub use sys_syscall::SYS_compat_43_stat43; -pub use sys_syscall::SYS_getppid; -pub use sys_syscall::SYS_compat_43_lstat43; -pub use sys_syscall::SYS_dup; -pub use sys_syscall::SYS_pipe; -pub use sys_syscall::SYS_getegid; -pub use sys_syscall::SYS_profil; -pub use sys_syscall::SYS_ktrace; -pub use sys_syscall::SYS_compat_13_sigaction13; -pub use sys_syscall::SYS_getgid; -pub use sys_syscall::SYS_compat_13_sigprocmask13; -pub use sys_syscall::SYS___getlogin; -pub use sys_syscall::SYS___setlogin; -pub use sys_syscall::SYS_acct; -pub use sys_syscall::SYS_compat_13_sigpending13; -pub use sys_syscall::SYS_compat_13_sigaltstack13; -pub use sys_syscall::SYS_ioctl; -pub use sys_syscall::SYS_compat_12_oreboot; -pub use sys_syscall::SYS_revoke; -pub use sys_syscall::SYS_symlink; -pub use sys_syscall::SYS_readlink; -pub use sys_syscall::SYS_execve; -pub use sys_syscall::SYS_umask; -pub use sys_syscall::SYS_chroot; -pub use sys_syscall::SYS_compat_43_fstat43; -pub use sys_syscall::SYS_compat_43_ogetkerninfo; -pub use sys_syscall::SYS_compat_43_ogetpagesize; -pub use sys_syscall::SYS_compat_12_msync; -pub use sys_syscall::SYS_vfork; -pub use sys_syscall::SYS_compat_43_ommap; -pub use sys_syscall::SYS_vadvise; -pub use sys_syscall::SYS_munmap; -pub use sys_syscall::SYS_mprotect; -pub use sys_syscall::SYS_madvise; -pub use sys_syscall::SYS_mincore; -pub use sys_syscall::SYS_getgroups; -pub use sys_syscall::SYS_setgroups; -pub use sys_syscall::SYS_getpgrp; -pub use sys_syscall::SYS_setpgid; -pub use sys_syscall::SYS_compat_50_setitimer; -pub use sys_syscall::SYS_compat_43_owait; -pub use sys_syscall::SYS_compat_12_oswapon; -pub use sys_syscall::SYS_compat_50_getitimer; -pub use sys_syscall::SYS_compat_43_ogethostname; -pub use sys_syscall::SYS_compat_43_osethostname; -pub use sys_syscall::SYS_compat_43_ogetdtablesize; -pub use sys_syscall::SYS_dup2; -pub use sys_syscall::SYS_getrandom; -pub use sys_syscall::SYS_fcntl; -pub use sys_syscall::SYS_compat_50_select; -pub use sys_syscall::SYS_fsync; -pub use sys_syscall::SYS_setpriority; -pub use sys_syscall::SYS_compat_30_socket; -pub use sys_syscall::SYS_connect; -pub use sys_syscall::SYS_compat_43_oaccept; -pub use sys_syscall::SYS_getpriority; -pub use sys_syscall::SYS_compat_43_osend; -pub use sys_syscall::SYS_compat_43_orecv; -pub use sys_syscall::SYS_compat_13_sigreturn13; -pub use sys_syscall::SYS_bind; -pub use sys_syscall::SYS_setsockopt; -pub use sys_syscall::SYS_listen; -pub use sys_syscall::SYS_compat_43_osigvec; -pub use sys_syscall::SYS_compat_43_osigblock; -pub use sys_syscall::SYS_compat_43_osigsetmask; -pub use sys_syscall::SYS_compat_13_sigsuspend13; -pub use sys_syscall::SYS_compat_43_osigstack; -pub use sys_syscall::SYS_compat_43_orecvmsg; -pub use sys_syscall::SYS_compat_43_osendmsg; -pub use sys_syscall::SYS_compat_50_gettimeofday; -pub use sys_syscall::SYS_compat_50_getrusage; -pub use sys_syscall::SYS_getsockopt; -pub use sys_syscall::SYS_readv; -pub use sys_syscall::SYS_writev; -pub use sys_syscall::SYS_compat_50_settimeofday; -pub use sys_syscall::SYS_fchown; -pub use sys_syscall::SYS_fchmod; -pub use sys_syscall::SYS_compat_43_orecvfrom; -pub use sys_syscall::SYS_setreuid; -pub use sys_syscall::SYS_setregid; -pub use sys_syscall::SYS_rename; -pub use sys_syscall::SYS_compat_43_otruncate; -pub use sys_syscall::SYS_compat_43_oftruncate; -pub use sys_syscall::SYS_flock; -pub use sys_syscall::SYS_mkfifo; -pub use sys_syscall::SYS_sendto; -pub use sys_syscall::SYS_shutdown; -pub use sys_syscall::SYS_socketpair; -pub use sys_syscall::SYS_mkdir; -pub use sys_syscall::SYS_rmdir; -pub use sys_syscall::SYS_compat_50_utimes; -pub use sys_syscall::SYS_compat_50_adjtime; -pub use sys_syscall::SYS_compat_43_ogetpeername; -pub use sys_syscall::SYS_compat_43_ogethostid; -pub use sys_syscall::SYS_compat_43_osethostid; -pub use sys_syscall::SYS_compat_43_ogetrlimit; -pub use sys_syscall::SYS_compat_43_osetrlimit; -pub use sys_syscall::SYS_compat_43_okillpg; -pub use sys_syscall::SYS_setsid; -pub use sys_syscall::SYS_compat_50_quotactl; -pub use sys_syscall::SYS_compat_43_oquota; -pub use sys_syscall::SYS_compat_43_ogetsockname; -pub use sys_syscall::SYS_nfssvc; -pub use sys_syscall::SYS_compat_43_ogetdirentries; -pub use sys_syscall::SYS_compat_20_statfs; -pub use sys_syscall::SYS_compat_20_fstatfs; -pub use sys_syscall::SYS_compat_30_getfh; -pub use sys_syscall::SYS_compat_09_ogetdomainname; -pub use sys_syscall::SYS_compat_09_osetdomainname; -pub use sys_syscall::SYS_compat_09_ouname; -pub use sys_syscall::SYS_sysarch; -pub use sys_syscall::SYS___futex; -pub use sys_syscall::SYS___futex_set_robust_list; -pub use sys_syscall::SYS___futex_get_robust_list; -pub use sys_syscall::SYS_pread; -pub use sys_syscall::SYS_pwrite; -pub use sys_syscall::SYS_compat_30_ntp_gettime; -pub use sys_syscall::SYS_ntp_adjtime; -pub use sys_syscall::SYS_timerfd_create; -pub use sys_syscall::SYS_timerfd_settime; -pub use sys_syscall::SYS_timerfd_gettime; -pub use sys_syscall::SYS_setgid; -pub use sys_syscall::SYS_setegid; -pub use sys_syscall::SYS_seteuid; -pub use sys_syscall::SYS_lfs_bmapv; -pub use sys_syscall::SYS_lfs_markv; -pub use sys_syscall::SYS_lfs_segclean; -pub use sys_syscall::SYS_compat_50_lfs_segwait; -pub use sys_syscall::SYS_compat_12_stat12; -pub use sys_syscall::SYS_compat_12_fstat12; -pub use sys_syscall::SYS_compat_12_lstat12; -pub use sys_syscall::SYS_pathconf; -pub use sys_syscall::SYS_fpathconf; -pub use sys_syscall::SYS_getsockopt2; -pub use sys_syscall::SYS_getrlimit; -pub use sys_syscall::SYS_setrlimit; -pub use sys_syscall::SYS_compat_12_getdirentries; -pub use sys_syscall::SYS_mmap; -pub use sys_syscall::SYS___syscall; -pub use sys_syscall::SYS_lseek; -pub use sys_syscall::SYS_truncate; -pub use sys_syscall::SYS_ftruncate; -pub use sys_syscall::SYS___sysctl; -pub use sys_syscall::SYS_mlock; -pub use sys_syscall::SYS_munlock; -pub use sys_syscall::SYS_undelete; -pub use sys_syscall::SYS_compat_50_futimes; -pub use sys_syscall::SYS_getpgid; -pub use sys_syscall::SYS_reboot; -pub use sys_syscall::SYS_poll; -pub use sys_syscall::SYS_afssys; -pub use sys_syscall::SYS_compat_14___semctl; -pub use sys_syscall::SYS_semget; -pub use sys_syscall::SYS_semop; -pub use sys_syscall::SYS_semconfig; -pub use sys_syscall::SYS_compat_14_msgctl; -pub use sys_syscall::SYS_msgget; -pub use sys_syscall::SYS_msgsnd; -pub use sys_syscall::SYS_msgrcv; -pub use sys_syscall::SYS_shmat; -pub use sys_syscall::SYS_compat_14_shmctl; -pub use sys_syscall::SYS_shmdt; -pub use sys_syscall::SYS_shmget; -pub use sys_syscall::SYS_compat_50_clock_gettime; -pub use sys_syscall::SYS_compat_50_clock_settime; -pub use sys_syscall::SYS_compat_50_clock_getres; -pub use sys_syscall::SYS_timer_create; -pub use sys_syscall::SYS_timer_delete; -pub use sys_syscall::SYS_compat_50_timer_settime; -pub use sys_syscall::SYS_compat_50_timer_gettime; -pub use sys_syscall::SYS_timer_getoverrun; -pub use sys_syscall::SYS_compat_50_nanosleep; -pub use sys_syscall::SYS_fdatasync; -pub use sys_syscall::SYS_mlockall; -pub use sys_syscall::SYS_munlockall; -pub use sys_syscall::SYS_compat_50___sigtimedwait; -pub use sys_syscall::SYS_sigqueueinfo; -pub use sys_syscall::SYS_modctl; -pub use sys_syscall::SYS__ksem_init; -pub use sys_syscall::SYS__ksem_open; -pub use sys_syscall::SYS__ksem_unlink; -pub use sys_syscall::SYS__ksem_close; -pub use sys_syscall::SYS__ksem_post; -pub use sys_syscall::SYS__ksem_wait; -pub use sys_syscall::SYS__ksem_trywait; -pub use sys_syscall::SYS__ksem_getvalue; -pub use sys_syscall::SYS__ksem_destroy; -pub use sys_syscall::SYS__ksem_timedwait; -pub use sys_syscall::SYS_mq_open; -pub use sys_syscall::SYS_mq_close; -pub use sys_syscall::SYS_mq_unlink; -pub use sys_syscall::SYS_mq_getattr; -pub use sys_syscall::SYS_mq_setattr; -pub use sys_syscall::SYS_mq_notify; -pub use sys_syscall::SYS_mq_send; -pub use sys_syscall::SYS_mq_receive; -pub use sys_syscall::SYS_compat_50_mq_timedsend; -pub use sys_syscall::SYS_compat_50_mq_timedreceive; -pub use sys_syscall::SYS_eventfd; -pub use sys_syscall::SYS___posix_rename; -pub use sys_syscall::SYS_swapctl; -pub use sys_syscall::SYS_compat_30_getdents; -pub use sys_syscall::SYS_minherit; -pub use sys_syscall::SYS_lchmod; -pub use sys_syscall::SYS_lchown; -pub use sys_syscall::SYS_compat_50_lutimes; -pub use sys_syscall::SYS___msync13; -pub use sys_syscall::SYS_compat_30___stat13; -pub use sys_syscall::SYS_compat_30___fstat13; -pub use sys_syscall::SYS_compat_30___lstat13; -pub use sys_syscall::SYS___sigaltstack14; -pub use sys_syscall::SYS___vfork14; -pub use sys_syscall::SYS___posix_chown; -pub use sys_syscall::SYS___posix_fchown; -pub use sys_syscall::SYS___posix_lchown; -pub use sys_syscall::SYS_getsid; -pub use sys_syscall::SYS___clone; -pub use sys_syscall::SYS_fktrace; -pub use sys_syscall::SYS_preadv; -pub use sys_syscall::SYS_pwritev; -pub use sys_syscall::SYS_compat_16___sigaction14; -pub use sys_syscall::SYS___sigpending14; -pub use sys_syscall::SYS___sigprocmask14; -pub use sys_syscall::SYS___sigsuspend14; -pub use sys_syscall::SYS_compat_16___sigreturn14; -pub use sys_syscall::SYS___getcwd; -pub use sys_syscall::SYS_fchroot; -pub use sys_syscall::SYS_compat_30_fhopen; -pub use sys_syscall::SYS_compat_30_fhstat; -pub use sys_syscall::SYS_compat_20_fhstatfs; -pub use sys_syscall::SYS_compat_50_____semctl13; -pub use sys_syscall::SYS_compat_50___msgctl13; -pub use sys_syscall::SYS_compat_50___shmctl13; -pub use sys_syscall::SYS_lchflags; -pub use sys_syscall::SYS_issetugid; -pub use sys_syscall::SYS_utrace; -pub use sys_syscall::SYS_getcontext; -pub use sys_syscall::SYS_setcontext; -pub use sys_syscall::SYS__lwp_create; -pub use sys_syscall::SYS__lwp_exit; -pub use sys_syscall::SYS__lwp_self; -pub use sys_syscall::SYS__lwp_wait; -pub use sys_syscall::SYS__lwp_suspend; -pub use sys_syscall::SYS__lwp_continue; -pub use sys_syscall::SYS__lwp_wakeup; -pub use sys_syscall::SYS__lwp_getprivate; -pub use sys_syscall::SYS__lwp_setprivate; -pub use sys_syscall::SYS__lwp_kill; -pub use sys_syscall::SYS__lwp_detach; -pub use sys_syscall::SYS_compat_50__lwp_park; -pub use sys_syscall::SYS__lwp_unpark; -pub use sys_syscall::SYS__lwp_unpark_all; -pub use sys_syscall::SYS__lwp_setname; -pub use sys_syscall::SYS__lwp_getname; -pub use sys_syscall::SYS__lwp_ctl; -pub use sys_syscall::SYS_compat_60_sa_register; -pub use sys_syscall::SYS_compat_60_sa_stacks; -pub use sys_syscall::SYS_compat_60_sa_enable; -pub use sys_syscall::SYS_compat_60_sa_setconcurrency; -pub use sys_syscall::SYS_compat_60_sa_yield; -pub use sys_syscall::SYS_compat_60_sa_preempt; -pub use sys_syscall::SYS___sigaction_sigtramp; -pub use sys_syscall::SYS_rasctl; -pub use sys_syscall::SYS_kqueue; -pub use sys_syscall::SYS_compat_50_kevent; -pub use sys_syscall::SYS__sched_setparam; -pub use sys_syscall::SYS__sched_getparam; -pub use sys_syscall::SYS__sched_setaffinity; -pub use sys_syscall::SYS__sched_getaffinity; -pub use sys_syscall::SYS_sched_yield; -pub use sys_syscall::SYS__sched_protect; -pub use sys_syscall::SYS_fsync_range; -pub use sys_syscall::SYS_uuidgen; -pub use sys_syscall::SYS_compat_90_getvfsstat; -pub use sys_syscall::SYS_compat_90_statvfs1; -pub use sys_syscall::SYS_compat_90_fstatvfs1; -pub use sys_syscall::SYS_compat_30_fhstatvfs1; -pub use sys_syscall::SYS_extattrctl; -pub use sys_syscall::SYS_extattr_set_file; -pub use sys_syscall::SYS_extattr_get_file; -pub use sys_syscall::SYS_extattr_delete_file; -pub use sys_syscall::SYS_extattr_set_fd; -pub use sys_syscall::SYS_extattr_get_fd; -pub use sys_syscall::SYS_extattr_delete_fd; -pub use sys_syscall::SYS_extattr_set_link; -pub use sys_syscall::SYS_extattr_get_link; -pub use sys_syscall::SYS_extattr_delete_link; -pub use sys_syscall::SYS_extattr_list_fd; -pub use sys_syscall::SYS_extattr_list_file; -pub use sys_syscall::SYS_extattr_list_link; -pub use sys_syscall::SYS_compat_50_pselect; -pub use sys_syscall::SYS_compat_50_pollts; -pub use sys_syscall::SYS_setxattr; -pub use sys_syscall::SYS_lsetxattr; -pub use sys_syscall::SYS_fsetxattr; -pub use sys_syscall::SYS_getxattr; -pub use sys_syscall::SYS_lgetxattr; -pub use sys_syscall::SYS_fgetxattr; -pub use sys_syscall::SYS_listxattr; -pub use sys_syscall::SYS_llistxattr; -pub use sys_syscall::SYS_flistxattr; -pub use sys_syscall::SYS_removexattr; -pub use sys_syscall::SYS_lremovexattr; -pub use sys_syscall::SYS_fremovexattr; -pub use sys_syscall::SYS_compat_50___stat30; -pub use sys_syscall::SYS_compat_50___fstat30; -pub use sys_syscall::SYS_compat_50___lstat30; -pub use sys_syscall::SYS___getdents30; -pub use sys_syscall::SYS_compat_30___fhstat30; -pub use sys_syscall::SYS_compat_50___ntp_gettime30; -pub use sys_syscall::SYS___socket30; -pub use sys_syscall::SYS___getfh30; -pub use sys_syscall::SYS___fhopen40; -pub use sys_syscall::SYS_compat_90_fhstatvfs1; -pub use sys_syscall::SYS_compat_50___fhstat40; -pub use sys_syscall::SYS_aio_cancel; -pub use sys_syscall::SYS_aio_error; -pub use sys_syscall::SYS_aio_fsync; -pub use sys_syscall::SYS_aio_read; -pub use sys_syscall::SYS_aio_return; -pub use sys_syscall::SYS_compat_50_aio_suspend; -pub use sys_syscall::SYS_aio_write; -pub use sys_syscall::SYS_lio_listio; -pub use sys_syscall::SYS___mount50; -pub use sys_syscall::SYS_mremap; -pub use sys_syscall::SYS_pset_create; -pub use sys_syscall::SYS_pset_destroy; -pub use sys_syscall::SYS_pset_assign; -pub use sys_syscall::SYS__pset_bind; -pub use sys_syscall::SYS___posix_fadvise50; -pub use sys_syscall::SYS___select50; -pub use sys_syscall::SYS___gettimeofday50; -pub use sys_syscall::SYS___settimeofday50; -pub use sys_syscall::SYS___utimes50; -pub use sys_syscall::SYS___adjtime50; -pub use sys_syscall::SYS___lfs_segwait50; -pub use sys_syscall::SYS___futimes50; -pub use sys_syscall::SYS___lutimes50; -pub use sys_syscall::SYS___setitimer50; -pub use sys_syscall::SYS___getitimer50; -pub use sys_syscall::SYS___clock_gettime50; -pub use sys_syscall::SYS___clock_settime50; -pub use sys_syscall::SYS___clock_getres50; -pub use sys_syscall::SYS___nanosleep50; -pub use sys_syscall::SYS_____sigtimedwait50; -pub use sys_syscall::SYS___mq_timedsend50; -pub use sys_syscall::SYS___mq_timedreceive50; -pub use sys_syscall::SYS_compat_60__lwp_park; -pub use sys_syscall::SYS_compat_100___kevent50; -pub use sys_syscall::SYS___pselect50; -pub use sys_syscall::SYS___pollts50; -pub use sys_syscall::SYS___aio_suspend50; -pub use sys_syscall::SYS___stat50; -pub use sys_syscall::SYS___fstat50; -pub use sys_syscall::SYS___lstat50; -pub use sys_syscall::SYS_____semctl50; -pub use sys_syscall::SYS___shmctl50; -pub use sys_syscall::SYS___msgctl50; -pub use sys_syscall::SYS___getrusage50; -pub use sys_syscall::SYS___timer_settime50; -pub use sys_syscall::SYS___timer_gettime50; -pub use sys_syscall::SYS___ntp_gettime50; -pub use sys_syscall::SYS___wait450; -pub use sys_syscall::SYS___mknod50; -pub use sys_syscall::SYS___fhstat50; -pub use sys_syscall::SYS_pipe2; -pub use sys_syscall::SYS_compat_100_dup3; -pub use sys_syscall::SYS_kqueue1; -pub use sys_syscall::SYS_paccept; -pub use sys_syscall::SYS_linkat; -pub use sys_syscall::SYS_renameat; -pub use sys_syscall::SYS_mkfifoat; -pub use sys_syscall::SYS_mknodat; -pub use sys_syscall::SYS_mkdirat; -pub use sys_syscall::SYS_faccessat; -pub use sys_syscall::SYS_fchmodat; -pub use sys_syscall::SYS_fchownat; -pub use sys_syscall::SYS_fexecve; -pub use sys_syscall::SYS_fstatat; -pub use sys_syscall::SYS_utimensat; -pub use sys_syscall::SYS_openat; -pub use sys_syscall::SYS_readlinkat; -pub use sys_syscall::SYS_symlinkat; -pub use sys_syscall::SYS_unlinkat; -pub use sys_syscall::SYS_futimens; -pub use sys_syscall::SYS___quotactl; -pub use sys_syscall::SYS_posix_spawn; -pub use sys_syscall::SYS_recvmmsg; -pub use sys_syscall::SYS_sendmmsg; -pub use sys_syscall::SYS_clock_nanosleep; -pub use sys_syscall::SYS____lwp_park60; -pub use sys_syscall::SYS_posix_fallocate; -pub use sys_syscall::SYS_fdiscard; -pub use sys_syscall::SYS_wait6; -pub use sys_syscall::SYS_clock_getcpuclockid2; -pub use sys_syscall::SYS___getvfsstat90; -pub use sys_syscall::SYS___statvfs190; -pub use sys_syscall::SYS___fstatvfs190; -pub use sys_syscall::SYS___fhstatvfs190; -pub use sys_syscall::SYS___acl_get_link; -pub use sys_syscall::SYS___acl_set_link; -pub use sys_syscall::SYS___acl_delete_link; -pub use sys_syscall::SYS___acl_aclcheck_link; -pub use sys_syscall::SYS___acl_get_file; -pub use sys_syscall::SYS___acl_set_file; -pub use sys_syscall::SYS___acl_get_fd; -pub use sys_syscall::SYS___acl_set_fd; -pub use sys_syscall::SYS___acl_delete_file; -pub use sys_syscall::SYS___acl_delete_fd; -pub use sys_syscall::SYS___acl_aclcheck_file; -pub use sys_syscall::SYS___acl_aclcheck_fd; -pub use sys_syscall::SYS_lpathconf; -pub use sys_syscall::SYS_memfd_create; -pub use sys_syscall::SYS___kevent100; -pub use sys_syscall::SYS_epoll_create1; -pub use sys_syscall::SYS_epoll_ctl; -pub use sys_syscall::SYS_epoll_pwait2; -pub use sys_syscall::SYS___dup3100; -pub use sys_syscall::SYS_MAXSYSCALL; -pub use sys_syscall::SYS_NSYSENT; -mod sys_sysctl; -pub use sys_sysctl::SYSCTL_VERS_1; -pub use sys_sysctl::SYSCTL_VERSION; -pub use sys_sysctl::CTL_QUERY; -pub use sys_sysctl::sysctlbyname; -pub use sys_sysctl::sysctlnode; -mod machine_armreg; -pub use machine_armreg::aarch64_sysctl_cpu_id; -pub type c_char = u8; diff --git a/tests/helper/src/gen/sys/aarch64_be_netbsd/sys_syscall.rs b/tests/helper/src/gen/sys/aarch64_be_netbsd/sys_syscall.rs deleted file mode 100644 index fc14a1d5..00000000 --- a/tests/helper/src/gen/sys/aarch64_be_netbsd/sys_syscall.rs +++ /dev/null @@ -1,465 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -pub const SYS_MAXSYSARGS: u32 = 8; -pub const SYS_syscall: u32 = 0; -pub const SYS_exit: u32 = 1; -pub const SYS_fork: u32 = 2; -pub const SYS_read: u32 = 3; -pub const SYS_write: u32 = 4; -pub const SYS_open: u32 = 5; -pub const SYS_close: u32 = 6; -pub const SYS_compat_50_wait4: u32 = 7; -pub const SYS_compat_43_ocreat: u32 = 8; -pub const SYS_link: u32 = 9; -pub const SYS_unlink: u32 = 10; -pub const SYS_chdir: u32 = 12; -pub const SYS_fchdir: u32 = 13; -pub const SYS_compat_50_mknod: u32 = 14; -pub const SYS_chmod: u32 = 15; -pub const SYS_chown: u32 = 16; -pub const SYS_break: u32 = 17; -pub const SYS_compat_20_getfsstat: u32 = 18; -pub const SYS_compat_43_olseek: u32 = 19; -pub const SYS_getpid: u32 = 20; -pub const SYS_compat_40_mount: u32 = 21; -pub const SYS_unmount: u32 = 22; -pub const SYS_setuid: u32 = 23; -pub const SYS_getuid: u32 = 24; -pub const SYS_geteuid: u32 = 25; -pub const SYS_ptrace: u32 = 26; -pub const SYS_recvmsg: u32 = 27; -pub const SYS_sendmsg: u32 = 28; -pub const SYS_recvfrom: u32 = 29; -pub const SYS_accept: u32 = 30; -pub const SYS_getpeername: u32 = 31; -pub const SYS_getsockname: u32 = 32; -pub const SYS_access: u32 = 33; -pub const SYS_chflags: u32 = 34; -pub const SYS_fchflags: u32 = 35; -pub const SYS_sync: u32 = 36; -pub const SYS_kill: u32 = 37; -pub const SYS_compat_43_stat43: u32 = 38; -pub const SYS_getppid: u32 = 39; -pub const SYS_compat_43_lstat43: u32 = 40; -pub const SYS_dup: u32 = 41; -pub const SYS_pipe: u32 = 42; -pub const SYS_getegid: u32 = 43; -pub const SYS_profil: u32 = 44; -pub const SYS_ktrace: u32 = 45; -pub const SYS_compat_13_sigaction13: u32 = 46; -pub const SYS_getgid: u32 = 47; -pub const SYS_compat_13_sigprocmask13: u32 = 48; -pub const SYS___getlogin: u32 = 49; -pub const SYS___setlogin: u32 = 50; -pub const SYS_acct: u32 = 51; -pub const SYS_compat_13_sigpending13: u32 = 52; -pub const SYS_compat_13_sigaltstack13: u32 = 53; -pub const SYS_ioctl: u32 = 54; -pub const SYS_compat_12_oreboot: u32 = 55; -pub const SYS_revoke: u32 = 56; -pub const SYS_symlink: u32 = 57; -pub const SYS_readlink: u32 = 58; -pub const SYS_execve: u32 = 59; -pub const SYS_umask: u32 = 60; -pub const SYS_chroot: u32 = 61; -pub const SYS_compat_43_fstat43: u32 = 62; -pub const SYS_compat_43_ogetkerninfo: u32 = 63; -pub const SYS_compat_43_ogetpagesize: u32 = 64; -pub const SYS_compat_12_msync: u32 = 65; -pub const SYS_vfork: u32 = 66; -pub const SYS_compat_43_ommap: u32 = 71; -pub const SYS_vadvise: u32 = 72; -pub const SYS_munmap: u32 = 73; -pub const SYS_mprotect: u32 = 74; -pub const SYS_madvise: u32 = 75; -pub const SYS_mincore: u32 = 78; -pub const SYS_getgroups: u32 = 79; -pub const SYS_setgroups: u32 = 80; -pub const SYS_getpgrp: u32 = 81; -pub const SYS_setpgid: u32 = 82; -pub const SYS_compat_50_setitimer: u32 = 83; -pub const SYS_compat_43_owait: u32 = 84; -pub const SYS_compat_12_oswapon: u32 = 85; -pub const SYS_compat_50_getitimer: u32 = 86; -pub const SYS_compat_43_ogethostname: u32 = 87; -pub const SYS_compat_43_osethostname: u32 = 88; -pub const SYS_compat_43_ogetdtablesize: u32 = 89; -pub const SYS_dup2: u32 = 90; -pub const SYS_getrandom: u32 = 91; -pub const SYS_fcntl: u32 = 92; -pub const SYS_compat_50_select: u32 = 93; -pub const SYS_fsync: u32 = 95; -pub const SYS_setpriority: u32 = 96; -pub const SYS_compat_30_socket: u32 = 97; -pub const SYS_connect: u32 = 98; -pub const SYS_compat_43_oaccept: u32 = 99; -pub const SYS_getpriority: u32 = 100; -pub const SYS_compat_43_osend: u32 = 101; -pub const SYS_compat_43_orecv: u32 = 102; -pub const SYS_compat_13_sigreturn13: u32 = 103; -pub const SYS_bind: u32 = 104; -pub const SYS_setsockopt: u32 = 105; -pub const SYS_listen: u32 = 106; -pub const SYS_compat_43_osigvec: u32 = 108; -pub const SYS_compat_43_osigblock: u32 = 109; -pub const SYS_compat_43_osigsetmask: u32 = 110; -pub const SYS_compat_13_sigsuspend13: u32 = 111; -pub const SYS_compat_43_osigstack: u32 = 112; -pub const SYS_compat_43_orecvmsg: u32 = 113; -pub const SYS_compat_43_osendmsg: u32 = 114; -pub const SYS_compat_50_gettimeofday: u32 = 116; -pub const SYS_compat_50_getrusage: u32 = 117; -pub const SYS_getsockopt: u32 = 118; -pub const SYS_readv: u32 = 120; -pub const SYS_writev: u32 = 121; -pub const SYS_compat_50_settimeofday: u32 = 122; -pub const SYS_fchown: u32 = 123; -pub const SYS_fchmod: u32 = 124; -pub const SYS_compat_43_orecvfrom: u32 = 125; -pub const SYS_setreuid: u32 = 126; -pub const SYS_setregid: u32 = 127; -pub const SYS_rename: u32 = 128; -pub const SYS_compat_43_otruncate: u32 = 129; -pub const SYS_compat_43_oftruncate: u32 = 130; -pub const SYS_flock: u32 = 131; -pub const SYS_mkfifo: u32 = 132; -pub const SYS_sendto: u32 = 133; -pub const SYS_shutdown: u32 = 134; -pub const SYS_socketpair: u32 = 135; -pub const SYS_mkdir: u32 = 136; -pub const SYS_rmdir: u32 = 137; -pub const SYS_compat_50_utimes: u32 = 138; -pub const SYS_compat_50_adjtime: u32 = 140; -pub const SYS_compat_43_ogetpeername: u32 = 141; -pub const SYS_compat_43_ogethostid: u32 = 142; -pub const SYS_compat_43_osethostid: u32 = 143; -pub const SYS_compat_43_ogetrlimit: u32 = 144; -pub const SYS_compat_43_osetrlimit: u32 = 145; -pub const SYS_compat_43_okillpg: u32 = 146; -pub const SYS_setsid: u32 = 147; -pub const SYS_compat_50_quotactl: u32 = 148; -pub const SYS_compat_43_oquota: u32 = 149; -pub const SYS_compat_43_ogetsockname: u32 = 150; -pub const SYS_nfssvc: u32 = 155; -pub const SYS_compat_43_ogetdirentries: u32 = 156; -pub const SYS_compat_20_statfs: u32 = 157; -pub const SYS_compat_20_fstatfs: u32 = 158; -pub const SYS_compat_30_getfh: u32 = 161; -pub const SYS_compat_09_ogetdomainname: u32 = 162; -pub const SYS_compat_09_osetdomainname: u32 = 163; -pub const SYS_compat_09_ouname: u32 = 164; -pub const SYS_sysarch: u32 = 165; -pub const SYS___futex: u32 = 166; -pub const SYS___futex_set_robust_list: u32 = 167; -pub const SYS___futex_get_robust_list: u32 = 168; -pub const SYS_pread: u32 = 173; -pub const SYS_pwrite: u32 = 174; -pub const SYS_compat_30_ntp_gettime: u32 = 175; -pub const SYS_ntp_adjtime: u32 = 176; -pub const SYS_timerfd_create: u32 = 177; -pub const SYS_timerfd_settime: u32 = 178; -pub const SYS_timerfd_gettime: u32 = 179; -pub const SYS_setgid: u32 = 181; -pub const SYS_setegid: u32 = 182; -pub const SYS_seteuid: u32 = 183; -pub const SYS_lfs_bmapv: u32 = 184; -pub const SYS_lfs_markv: u32 = 185; -pub const SYS_lfs_segclean: u32 = 186; -pub const SYS_compat_50_lfs_segwait: u32 = 187; -pub const SYS_compat_12_stat12: u32 = 188; -pub const SYS_compat_12_fstat12: u32 = 189; -pub const SYS_compat_12_lstat12: u32 = 190; -pub const SYS_pathconf: u32 = 191; -pub const SYS_fpathconf: u32 = 192; -pub const SYS_getsockopt2: u32 = 193; -pub const SYS_getrlimit: u32 = 194; -pub const SYS_setrlimit: u32 = 195; -pub const SYS_compat_12_getdirentries: u32 = 196; -pub const SYS_mmap: u32 = 197; -pub const SYS___syscall: u32 = 198; -pub const SYS_lseek: u32 = 199; -pub const SYS_truncate: u32 = 200; -pub const SYS_ftruncate: u32 = 201; -pub const SYS___sysctl: u32 = 202; -pub const SYS_mlock: u32 = 203; -pub const SYS_munlock: u32 = 204; -pub const SYS_undelete: u32 = 205; -pub const SYS_compat_50_futimes: u32 = 206; -pub const SYS_getpgid: u32 = 207; -pub const SYS_reboot: u32 = 208; -pub const SYS_poll: u32 = 209; -pub const SYS_afssys: u32 = 210; -pub const SYS_compat_14___semctl: u32 = 220; -pub const SYS_semget: u32 = 221; -pub const SYS_semop: u32 = 222; -pub const SYS_semconfig: u32 = 223; -pub const SYS_compat_14_msgctl: u32 = 224; -pub const SYS_msgget: u32 = 225; -pub const SYS_msgsnd: u32 = 226; -pub const SYS_msgrcv: u32 = 227; -pub const SYS_shmat: u32 = 228; -pub const SYS_compat_14_shmctl: u32 = 229; -pub const SYS_shmdt: u32 = 230; -pub const SYS_shmget: u32 = 231; -pub const SYS_compat_50_clock_gettime: u32 = 232; -pub const SYS_compat_50_clock_settime: u32 = 233; -pub const SYS_compat_50_clock_getres: u32 = 234; -pub const SYS_timer_create: u32 = 235; -pub const SYS_timer_delete: u32 = 236; -pub const SYS_compat_50_timer_settime: u32 = 237; -pub const SYS_compat_50_timer_gettime: u32 = 238; -pub const SYS_timer_getoverrun: u32 = 239; -pub const SYS_compat_50_nanosleep: u32 = 240; -pub const SYS_fdatasync: u32 = 241; -pub const SYS_mlockall: u32 = 242; -pub const SYS_munlockall: u32 = 243; -pub const SYS_compat_50___sigtimedwait: u32 = 244; -pub const SYS_sigqueueinfo: u32 = 245; -pub const SYS_modctl: u32 = 246; -pub const SYS__ksem_init: u32 = 247; -pub const SYS__ksem_open: u32 = 248; -pub const SYS__ksem_unlink: u32 = 249; -pub const SYS__ksem_close: u32 = 250; -pub const SYS__ksem_post: u32 = 251; -pub const SYS__ksem_wait: u32 = 252; -pub const SYS__ksem_trywait: u32 = 253; -pub const SYS__ksem_getvalue: u32 = 254; -pub const SYS__ksem_destroy: u32 = 255; -pub const SYS__ksem_timedwait: u32 = 256; -pub const SYS_mq_open: u32 = 257; -pub const SYS_mq_close: u32 = 258; -pub const SYS_mq_unlink: u32 = 259; -pub const SYS_mq_getattr: u32 = 260; -pub const SYS_mq_setattr: u32 = 261; -pub const SYS_mq_notify: u32 = 262; -pub const SYS_mq_send: u32 = 263; -pub const SYS_mq_receive: u32 = 264; -pub const SYS_compat_50_mq_timedsend: u32 = 265; -pub const SYS_compat_50_mq_timedreceive: u32 = 266; -pub const SYS_eventfd: u32 = 267; -pub const SYS___posix_rename: u32 = 270; -pub const SYS_swapctl: u32 = 271; -pub const SYS_compat_30_getdents: u32 = 272; -pub const SYS_minherit: u32 = 273; -pub const SYS_lchmod: u32 = 274; -pub const SYS_lchown: u32 = 275; -pub const SYS_compat_50_lutimes: u32 = 276; -pub const SYS___msync13: u32 = 277; -pub const SYS_compat_30___stat13: u32 = 278; -pub const SYS_compat_30___fstat13: u32 = 279; -pub const SYS_compat_30___lstat13: u32 = 280; -pub const SYS___sigaltstack14: u32 = 281; -pub const SYS___vfork14: u32 = 282; -pub const SYS___posix_chown: u32 = 283; -pub const SYS___posix_fchown: u32 = 284; -pub const SYS___posix_lchown: u32 = 285; -pub const SYS_getsid: u32 = 286; -pub const SYS___clone: u32 = 287; -pub const SYS_fktrace: u32 = 288; -pub const SYS_preadv: u32 = 289; -pub const SYS_pwritev: u32 = 290; -pub const SYS_compat_16___sigaction14: u32 = 291; -pub const SYS___sigpending14: u32 = 292; -pub const SYS___sigprocmask14: u32 = 293; -pub const SYS___sigsuspend14: u32 = 294; -pub const SYS_compat_16___sigreturn14: u32 = 295; -pub const SYS___getcwd: u32 = 296; -pub const SYS_fchroot: u32 = 297; -pub const SYS_compat_30_fhopen: u32 = 298; -pub const SYS_compat_30_fhstat: u32 = 299; -pub const SYS_compat_20_fhstatfs: u32 = 300; -pub const SYS_compat_50_____semctl13: u32 = 301; -pub const SYS_compat_50___msgctl13: u32 = 302; -pub const SYS_compat_50___shmctl13: u32 = 303; -pub const SYS_lchflags: u32 = 304; -pub const SYS_issetugid: u32 = 305; -pub const SYS_utrace: u32 = 306; -pub const SYS_getcontext: u32 = 307; -pub const SYS_setcontext: u32 = 308; -pub const SYS__lwp_create: u32 = 309; -pub const SYS__lwp_exit: u32 = 310; -pub const SYS__lwp_self: u32 = 311; -pub const SYS__lwp_wait: u32 = 312; -pub const SYS__lwp_suspend: u32 = 313; -pub const SYS__lwp_continue: u32 = 314; -pub const SYS__lwp_wakeup: u32 = 315; -pub const SYS__lwp_getprivate: u32 = 316; -pub const SYS__lwp_setprivate: u32 = 317; -pub const SYS__lwp_kill: u32 = 318; -pub const SYS__lwp_detach: u32 = 319; -pub const SYS_compat_50__lwp_park: u32 = 320; -pub const SYS__lwp_unpark: u32 = 321; -pub const SYS__lwp_unpark_all: u32 = 322; -pub const SYS__lwp_setname: u32 = 323; -pub const SYS__lwp_getname: u32 = 324; -pub const SYS__lwp_ctl: u32 = 325; -pub const SYS_compat_60_sa_register: u32 = 330; -pub const SYS_compat_60_sa_stacks: u32 = 331; -pub const SYS_compat_60_sa_enable: u32 = 332; -pub const SYS_compat_60_sa_setconcurrency: u32 = 333; -pub const SYS_compat_60_sa_yield: u32 = 334; -pub const SYS_compat_60_sa_preempt: u32 = 335; -pub const SYS___sigaction_sigtramp: u32 = 340; -pub const SYS_rasctl: u32 = 343; -pub const SYS_kqueue: u32 = 344; -pub const SYS_compat_50_kevent: u32 = 345; -pub const SYS__sched_setparam: u32 = 346; -pub const SYS__sched_getparam: u32 = 347; -pub const SYS__sched_setaffinity: u32 = 348; -pub const SYS__sched_getaffinity: u32 = 349; -pub const SYS_sched_yield: u32 = 350; -pub const SYS__sched_protect: u32 = 351; -pub const SYS_fsync_range: u32 = 354; -pub const SYS_uuidgen: u32 = 355; -pub const SYS_compat_90_getvfsstat: u32 = 356; -pub const SYS_compat_90_statvfs1: u32 = 357; -pub const SYS_compat_90_fstatvfs1: u32 = 358; -pub const SYS_compat_30_fhstatvfs1: u32 = 359; -pub const SYS_extattrctl: u32 = 360; -pub const SYS_extattr_set_file: u32 = 361; -pub const SYS_extattr_get_file: u32 = 362; -pub const SYS_extattr_delete_file: u32 = 363; -pub const SYS_extattr_set_fd: u32 = 364; -pub const SYS_extattr_get_fd: u32 = 365; -pub const SYS_extattr_delete_fd: u32 = 366; -pub const SYS_extattr_set_link: u32 = 367; -pub const SYS_extattr_get_link: u32 = 368; -pub const SYS_extattr_delete_link: u32 = 369; -pub const SYS_extattr_list_fd: u32 = 370; -pub const SYS_extattr_list_file: u32 = 371; -pub const SYS_extattr_list_link: u32 = 372; -pub const SYS_compat_50_pselect: u32 = 373; -pub const SYS_compat_50_pollts: u32 = 374; -pub const SYS_setxattr: u32 = 375; -pub const SYS_lsetxattr: u32 = 376; -pub const SYS_fsetxattr: u32 = 377; -pub const SYS_getxattr: u32 = 378; -pub const SYS_lgetxattr: u32 = 379; -pub const SYS_fgetxattr: u32 = 380; -pub const SYS_listxattr: u32 = 381; -pub const SYS_llistxattr: u32 = 382; -pub const SYS_flistxattr: u32 = 383; -pub const SYS_removexattr: u32 = 384; -pub const SYS_lremovexattr: u32 = 385; -pub const SYS_fremovexattr: u32 = 386; -pub const SYS_compat_50___stat30: u32 = 387; -pub const SYS_compat_50___fstat30: u32 = 388; -pub const SYS_compat_50___lstat30: u32 = 389; -pub const SYS___getdents30: u32 = 390; -pub const SYS_compat_30___fhstat30: u32 = 392; -pub const SYS_compat_50___ntp_gettime30: u32 = 393; -pub const SYS___socket30: u32 = 394; -pub const SYS___getfh30: u32 = 395; -pub const SYS___fhopen40: u32 = 396; -pub const SYS_compat_90_fhstatvfs1: u32 = 397; -pub const SYS_compat_50___fhstat40: u32 = 398; -pub const SYS_aio_cancel: u32 = 399; -pub const SYS_aio_error: u32 = 400; -pub const SYS_aio_fsync: u32 = 401; -pub const SYS_aio_read: u32 = 402; -pub const SYS_aio_return: u32 = 403; -pub const SYS_compat_50_aio_suspend: u32 = 404; -pub const SYS_aio_write: u32 = 405; -pub const SYS_lio_listio: u32 = 406; -pub const SYS___mount50: u32 = 410; -pub const SYS_mremap: u32 = 411; -pub const SYS_pset_create: u32 = 412; -pub const SYS_pset_destroy: u32 = 413; -pub const SYS_pset_assign: u32 = 414; -pub const SYS__pset_bind: u32 = 415; -pub const SYS___posix_fadvise50: u32 = 416; -pub const SYS___select50: u32 = 417; -pub const SYS___gettimeofday50: u32 = 418; -pub const SYS___settimeofday50: u32 = 419; -pub const SYS___utimes50: u32 = 420; -pub const SYS___adjtime50: u32 = 421; -pub const SYS___lfs_segwait50: u32 = 422; -pub const SYS___futimes50: u32 = 423; -pub const SYS___lutimes50: u32 = 424; -pub const SYS___setitimer50: u32 = 425; -pub const SYS___getitimer50: u32 = 426; -pub const SYS___clock_gettime50: u32 = 427; -pub const SYS___clock_settime50: u32 = 428; -pub const SYS___clock_getres50: u32 = 429; -pub const SYS___nanosleep50: u32 = 430; -pub const SYS_____sigtimedwait50: u32 = 431; -pub const SYS___mq_timedsend50: u32 = 432; -pub const SYS___mq_timedreceive50: u32 = 433; -pub const SYS_compat_60__lwp_park: u32 = 434; -pub const SYS_compat_100___kevent50: u32 = 435; -pub const SYS___pselect50: u32 = 436; -pub const SYS___pollts50: u32 = 437; -pub const SYS___aio_suspend50: u32 = 438; -pub const SYS___stat50: u32 = 439; -pub const SYS___fstat50: u32 = 440; -pub const SYS___lstat50: u32 = 441; -pub const SYS_____semctl50: u32 = 442; -pub const SYS___shmctl50: u32 = 443; -pub const SYS___msgctl50: u32 = 444; -pub const SYS___getrusage50: u32 = 445; -pub const SYS___timer_settime50: u32 = 446; -pub const SYS___timer_gettime50: u32 = 447; -pub const SYS___ntp_gettime50: u32 = 448; -pub const SYS___wait450: u32 = 449; -pub const SYS___mknod50: u32 = 450; -pub const SYS___fhstat50: u32 = 451; -pub const SYS_pipe2: u32 = 453; -pub const SYS_compat_100_dup3: u32 = 454; -pub const SYS_kqueue1: u32 = 455; -pub const SYS_paccept: u32 = 456; -pub const SYS_linkat: u32 = 457; -pub const SYS_renameat: u32 = 458; -pub const SYS_mkfifoat: u32 = 459; -pub const SYS_mknodat: u32 = 460; -pub const SYS_mkdirat: u32 = 461; -pub const SYS_faccessat: u32 = 462; -pub const SYS_fchmodat: u32 = 463; -pub const SYS_fchownat: u32 = 464; -pub const SYS_fexecve: u32 = 465; -pub const SYS_fstatat: u32 = 466; -pub const SYS_utimensat: u32 = 467; -pub const SYS_openat: u32 = 468; -pub const SYS_readlinkat: u32 = 469; -pub const SYS_symlinkat: u32 = 470; -pub const SYS_unlinkat: u32 = 471; -pub const SYS_futimens: u32 = 472; -pub const SYS___quotactl: u32 = 473; -pub const SYS_posix_spawn: u32 = 474; -pub const SYS_recvmmsg: u32 = 475; -pub const SYS_sendmmsg: u32 = 476; -pub const SYS_clock_nanosleep: u32 = 477; -pub const SYS____lwp_park60: u32 = 478; -pub const SYS_posix_fallocate: u32 = 479; -pub const SYS_fdiscard: u32 = 480; -pub const SYS_wait6: u32 = 481; -pub const SYS_clock_getcpuclockid2: u32 = 482; -pub const SYS___getvfsstat90: u32 = 483; -pub const SYS___statvfs190: u32 = 484; -pub const SYS___fstatvfs190: u32 = 485; -pub const SYS___fhstatvfs190: u32 = 486; -pub const SYS___acl_get_link: u32 = 487; -pub const SYS___acl_set_link: u32 = 488; -pub const SYS___acl_delete_link: u32 = 489; -pub const SYS___acl_aclcheck_link: u32 = 490; -pub const SYS___acl_get_file: u32 = 491; -pub const SYS___acl_set_file: u32 = 492; -pub const SYS___acl_get_fd: u32 = 493; -pub const SYS___acl_set_fd: u32 = 494; -pub const SYS___acl_delete_file: u32 = 495; -pub const SYS___acl_delete_fd: u32 = 496; -pub const SYS___acl_aclcheck_file: u32 = 497; -pub const SYS___acl_aclcheck_fd: u32 = 498; -pub const SYS_lpathconf: u32 = 499; -pub const SYS_memfd_create: u32 = 500; -pub const SYS___kevent100: u32 = 501; -pub const SYS_epoll_create1: u32 = 502; -pub const SYS_epoll_ctl: u32 = 503; -pub const SYS_epoll_pwait2: u32 = 504; -pub const SYS___dup3100: u32 = 505; -pub const SYS_MAXSYSCALL: u32 = 506; -pub const SYS_NSYSENT: u32 = 512; diff --git a/tests/helper/src/gen/sys/aarch64_be_netbsd/sys_sysctl.rs b/tests/helper/src/gen/sys/aarch64_be_netbsd/sys_sysctl.rs deleted file mode 100644 index 684719b9..00000000 --- a/tests/helper/src/gen/sys/aarch64_be_netbsd/sys_sysctl.rs +++ /dev/null @@ -1,135 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -pub type u_quad_t = u64; -pub const SYSCTL_VERS_1: u32 = 16777216; -pub const SYSCTL_VERSION: u32 = 16777216; -pub const CTL_QUERY: i32 = -2; -pub type sysctlfn = *mut ::core::ffi::c_void; -extern "C" { - pub fn sysctlbyname( - arg1: *const ::std::os::raw::c_char, - arg2: *mut ::core::ffi::c_void, - arg3: *mut usize, - arg4: *const ::core::ffi::c_void, - arg5: usize, - ) -> ::std::os::raw::c_int; -} -#[repr(C)] -#[derive(Copy, Clone)] -pub struct sysctlnode { - pub sysctl_flags: u32, - pub sysctl_num: i32, - pub sysctl_name: [::std::os::raw::c_char; 32usize], - pub sysctl_ver: u32, - pub __rsvd: u32, - pub sysctl_un: sysctlnode__bindgen_ty_1, - pub _sysctl_size: sysctlnode__bindgen_ty_2, - pub _sysctl_func: sysctlnode__bindgen_ty_3, - pub _sysctl_parent: sysctlnode__bindgen_ty_4, - pub _sysctl_desc: sysctlnode__bindgen_ty_5, -} -#[repr(C)] -#[derive(Copy, Clone)] -pub union sysctlnode__bindgen_ty_1 { - pub scu_child: sysctlnode__bindgen_ty_1__bindgen_ty_1, - pub scu_data: sysctlnode__bindgen_ty_1__bindgen_ty_2, - pub scu_alias: i32, - pub scu_idata: i32, - pub scu_qdata: u_quad_t, - pub scu_bdata: bool, -} -#[repr(C)] -#[derive(Copy, Clone)] -pub struct sysctlnode__bindgen_ty_1__bindgen_ty_1 { - pub suc_csize: u32, - pub suc_clen: u32, - pub _suc_child: sysctlnode__bindgen_ty_1__bindgen_ty_1__bindgen_ty_1, -} -#[repr(C)] -#[derive(Copy, Clone)] -pub union sysctlnode__bindgen_ty_1__bindgen_ty_1__bindgen_ty_1 { - pub __sysc_upad: u64, - pub __sysc_ustr: sysctlnode__bindgen_ty_1__bindgen_ty_1__bindgen_ty_1__bindgen_ty_1, -} -#[repr(C)] -#[derive(Copy, Clone)] -pub struct sysctlnode__bindgen_ty_1__bindgen_ty_1__bindgen_ty_1__bindgen_ty_1 { - pub __sysc_sdatum: *mut sysctlnode, -} -#[repr(C)] -#[derive(Copy, Clone)] -pub struct sysctlnode__bindgen_ty_1__bindgen_ty_2 { - pub _sud_data: sysctlnode__bindgen_ty_1__bindgen_ty_2__bindgen_ty_1, - pub _sud_offset: sysctlnode__bindgen_ty_1__bindgen_ty_2__bindgen_ty_2, -} -#[repr(C)] -#[derive(Copy, Clone)] -pub union sysctlnode__bindgen_ty_1__bindgen_ty_2__bindgen_ty_1 { - pub __sysc_upad: u64, - pub __sysc_ustr: sysctlnode__bindgen_ty_1__bindgen_ty_2__bindgen_ty_1__bindgen_ty_1, -} -#[repr(C)] -#[derive(Copy, Clone)] -pub struct sysctlnode__bindgen_ty_1__bindgen_ty_2__bindgen_ty_1__bindgen_ty_1 { - pub __sysc_sdatum: *mut ::core::ffi::c_void, -} -#[repr(C)] -#[derive(Copy, Clone)] -pub union sysctlnode__bindgen_ty_1__bindgen_ty_2__bindgen_ty_2 { - pub __sysc_upad: u64, - pub __sysc_ustr: sysctlnode__bindgen_ty_1__bindgen_ty_2__bindgen_ty_2__bindgen_ty_1, -} -#[repr(C)] -#[derive(Copy, Clone)] -pub struct sysctlnode__bindgen_ty_1__bindgen_ty_2__bindgen_ty_2__bindgen_ty_1 { - pub __sysc_sdatum: usize, -} -#[repr(C)] -#[derive(Copy, Clone)] -pub union sysctlnode__bindgen_ty_2 { - pub __sysc_upad: u64, - pub __sysc_ustr: sysctlnode__bindgen_ty_2__bindgen_ty_1, -} -#[repr(C)] -#[derive(Copy, Clone)] -pub struct sysctlnode__bindgen_ty_2__bindgen_ty_1 { - pub __sysc_sdatum: usize, -} -#[repr(C)] -#[derive(Copy, Clone)] -pub union sysctlnode__bindgen_ty_3 { - pub __sysc_upad: u64, - pub __sysc_ustr: sysctlnode__bindgen_ty_3__bindgen_ty_1, -} -#[repr(C)] -#[derive(Copy, Clone)] -pub struct sysctlnode__bindgen_ty_3__bindgen_ty_1 { - pub __sysc_sdatum: sysctlfn, -} -#[repr(C)] -#[derive(Copy, Clone)] -pub union sysctlnode__bindgen_ty_4 { - pub __sysc_upad: u64, - pub __sysc_ustr: sysctlnode__bindgen_ty_4__bindgen_ty_1, -} -#[repr(C)] -#[derive(Copy, Clone)] -pub struct sysctlnode__bindgen_ty_4__bindgen_ty_1 { - pub __sysc_sdatum: *mut sysctlnode, -} -#[repr(C)] -#[derive(Copy, Clone)] -pub union sysctlnode__bindgen_ty_5 { - pub __sysc_upad: u64, - pub __sysc_ustr: sysctlnode__bindgen_ty_5__bindgen_ty_1, -} -#[repr(C)] -#[derive(Copy, Clone)] -pub struct sysctlnode__bindgen_ty_5__bindgen_ty_1 { - pub __sysc_sdatum: *const ::std::os::raw::c_char, -} diff --git a/tests/helper/src/gen/sys/aarch64_freebsd/dlfcn.rs b/tests/helper/src/gen/sys/aarch64_freebsd/dlfcn.rs deleted file mode 100644 index e7bac10c..00000000 --- a/tests/helper/src/gen/sys/aarch64_freebsd/dlfcn.rs +++ /dev/null @@ -1,15 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -pub const RTLD_DEFAULT: *mut ::std::os::raw::c_void = -2i8 - as *mut ::std::os::raw::c_void; -extern "C" { - pub fn dlsym( - arg1: *mut ::core::ffi::c_void, - arg2: *const ::std::os::raw::c_char, - ) -> *mut ::core::ffi::c_void; -} diff --git a/tests/helper/src/gen/sys/aarch64_freebsd/machine_elf.rs b/tests/helper/src/gen/sys/aarch64_freebsd/machine_elf.rs deleted file mode 100644 index a070e867..00000000 --- a/tests/helper/src/gen/sys/aarch64_freebsd/machine_elf.rs +++ /dev/null @@ -1,109 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -#[repr(C)] -#[derive(Copy, Clone)] -pub struct Elf32_Auxinfo { - pub a_type: ::std::os::raw::c_int, - pub a_un: Elf32_Auxinfo__bindgen_ty_1, -} -#[repr(C)] -#[derive(Copy, Clone)] -pub union Elf32_Auxinfo__bindgen_ty_1 { - pub a_val: ::std::os::raw::c_int, -} -#[repr(C)] -#[derive(Copy, Clone)] -pub struct Elf64_Auxinfo { - pub a_type: ::std::os::raw::c_long, - pub a_un: Elf64_Auxinfo__bindgen_ty_1, -} -#[repr(C)] -#[derive(Copy, Clone)] -pub union Elf64_Auxinfo__bindgen_ty_1 { - pub a_val: ::std::os::raw::c_long, - pub a_ptr: *mut ::core::ffi::c_void, - pub a_fcn: ::core::option::Option, -} -pub type Elf_Auxinfo = Elf64_Auxinfo; -pub const HWCAP_FP: u32 = 1; -pub const HWCAP_ASIMD: u32 = 2; -pub const HWCAP_EVTSTRM: u32 = 4; -pub const HWCAP_AES: u32 = 8; -pub const HWCAP_PMULL: u32 = 16; -pub const HWCAP_SHA1: u32 = 32; -pub const HWCAP_SHA2: u32 = 64; -pub const HWCAP_CRC32: u32 = 128; -pub const HWCAP_ATOMICS: u32 = 256; -pub const HWCAP_FPHP: u32 = 512; -pub const HWCAP_ASIMDHP: u32 = 1024; -pub const HWCAP_CPUID: u32 = 2048; -pub const HWCAP_ASIMDRDM: u32 = 4096; -pub const HWCAP_JSCVT: u32 = 8192; -pub const HWCAP_FCMA: u32 = 16384; -pub const HWCAP_LRCPC: u32 = 32768; -pub const HWCAP_DCPOP: u32 = 65536; -pub const HWCAP_SHA3: u32 = 131072; -pub const HWCAP_SM3: u32 = 262144; -pub const HWCAP_SM4: u32 = 524288; -pub const HWCAP_ASIMDDP: u32 = 1048576; -pub const HWCAP_SHA512: u32 = 2097152; -pub const HWCAP_SVE: u32 = 4194304; -pub const HWCAP_ASIMDFHM: u32 = 8388608; -pub const HWCAP_DIT: u32 = 16777216; -pub const HWCAP_USCAT: u32 = 33554432; -pub const HWCAP_ILRCPC: u32 = 67108864; -pub const HWCAP_FLAGM: u32 = 134217728; -pub const HWCAP_SSBS: u32 = 268435456; -pub const HWCAP_SB: u32 = 536870912; -pub const HWCAP_PACA: u32 = 1073741824; -pub const HWCAP_PACG: u32 = 2147483648; -pub const HWCAP2_DCPODP: u32 = 1; -pub const HWCAP2_SVE2: u32 = 2; -pub const HWCAP2_SVEAES: u32 = 4; -pub const HWCAP2_SVEPMULL: u32 = 8; -pub const HWCAP2_SVEBITPERM: u32 = 16; -pub const HWCAP2_SVESHA3: u32 = 32; -pub const HWCAP2_SVESM4: u32 = 64; -pub const HWCAP2_FLAGM2: u32 = 128; -pub const HWCAP2_FRINT: u32 = 256; -pub const HWCAP2_SVEI8MM: u32 = 512; -pub const HWCAP2_SVEF32MM: u32 = 1024; -pub const HWCAP2_SVEF64MM: u32 = 2048; -pub const HWCAP2_SVEBF16: u32 = 4096; -pub const HWCAP2_I8MM: u32 = 8192; -pub const HWCAP2_BF16: u32 = 16384; -pub const HWCAP2_DGH: u32 = 32768; -pub const HWCAP2_RNG: u32 = 65536; -pub const HWCAP2_BTI: u32 = 131072; -pub const HWCAP2_MTE: u32 = 262144; -pub const HWCAP2_ECV: u32 = 524288; -pub const HWCAP2_AFP: u32 = 1048576; -pub const HWCAP2_RPRES: u32 = 2097152; -pub const HWCAP2_MTE3: u32 = 4194304; -pub const HWCAP2_SME: u32 = 8388608; -pub const HWCAP2_SME_I16I64: u32 = 16777216; -pub const HWCAP2_SME_F64F64: u32 = 33554432; -pub const HWCAP2_SME_I8I32: u32 = 67108864; -pub const HWCAP2_SME_F16F32: u32 = 134217728; -pub const HWCAP2_SME_B16F32: u32 = 268435456; -pub const HWCAP2_SME_F32F32: u32 = 536870912; -pub const HWCAP2_SME_FA64: u32 = 1073741824; -pub const HWCAP2_WFXT: u32 = 2147483648; -pub const HWCAP2_EBF16: u64 = 4294967296; -pub const HWCAP2_SVE_EBF16: u64 = 8589934592; -pub const HWCAP2_CSSC: u64 = 17179869184; -pub const HWCAP2_RPRFM: u64 = 34359738368; -pub const HWCAP2_SVE2P1: u64 = 68719476736; -pub const HWCAP2_SME2: u64 = 137438953472; -pub const HWCAP2_SME2P1: u64 = 274877906944; -pub const HWCAP2_SME_I16I32: u64 = 549755813888; -pub const HWCAP2_SME_BI32I32: u64 = 1099511627776; -pub const HWCAP2_SME_B16B16: u64 = 2199023255552; -pub const HWCAP2_SME_F16F16: u64 = 4398046511104; -pub const HWCAP2_MOPS: u64 = 8796093022208; -pub const HWCAP2_HBC: u64 = 17592186044416; diff --git a/tests/helper/src/gen/sys/aarch64_freebsd/mod.rs b/tests/helper/src/gen/sys/aarch64_freebsd/mod.rs deleted file mode 100644 index 69be514b..00000000 --- a/tests/helper/src/gen/sys/aarch64_freebsd/mod.rs +++ /dev/null @@ -1,568 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] -mod dlfcn; -pub use dlfcn::RTLD_DEFAULT; -pub use dlfcn::dlsym; -mod sys_auxv; -pub use sys_auxv::elf_aux_info; -mod sys_syscall; -pub use sys_syscall::SYS_syscall; -pub use sys_syscall::SYS_exit; -pub use sys_syscall::SYS_fork; -pub use sys_syscall::SYS_read; -pub use sys_syscall::SYS_write; -pub use sys_syscall::SYS_open; -pub use sys_syscall::SYS_close; -pub use sys_syscall::SYS_wait4; -pub use sys_syscall::SYS_link; -pub use sys_syscall::SYS_unlink; -pub use sys_syscall::SYS_chdir; -pub use sys_syscall::SYS_fchdir; -pub use sys_syscall::SYS_freebsd11_mknod; -pub use sys_syscall::SYS_chmod; -pub use sys_syscall::SYS_chown; -pub use sys_syscall::SYS_break; -pub use sys_syscall::SYS_getpid; -pub use sys_syscall::SYS_mount; -pub use sys_syscall::SYS_unmount; -pub use sys_syscall::SYS_setuid; -pub use sys_syscall::SYS_getuid; -pub use sys_syscall::SYS_geteuid; -pub use sys_syscall::SYS_ptrace; -pub use sys_syscall::SYS_recvmsg; -pub use sys_syscall::SYS_sendmsg; -pub use sys_syscall::SYS_recvfrom; -pub use sys_syscall::SYS_accept; -pub use sys_syscall::SYS_getpeername; -pub use sys_syscall::SYS_getsockname; -pub use sys_syscall::SYS_access; -pub use sys_syscall::SYS_chflags; -pub use sys_syscall::SYS_fchflags; -pub use sys_syscall::SYS_sync; -pub use sys_syscall::SYS_kill; -pub use sys_syscall::SYS_getppid; -pub use sys_syscall::SYS_dup; -pub use sys_syscall::SYS_freebsd10_pipe; -pub use sys_syscall::SYS_getegid; -pub use sys_syscall::SYS_profil; -pub use sys_syscall::SYS_ktrace; -pub use sys_syscall::SYS_getgid; -pub use sys_syscall::SYS_getlogin; -pub use sys_syscall::SYS_setlogin; -pub use sys_syscall::SYS_acct; -pub use sys_syscall::SYS_sigaltstack; -pub use sys_syscall::SYS_ioctl; -pub use sys_syscall::SYS_reboot; -pub use sys_syscall::SYS_revoke; -pub use sys_syscall::SYS_symlink; -pub use sys_syscall::SYS_readlink; -pub use sys_syscall::SYS_execve; -pub use sys_syscall::SYS_umask; -pub use sys_syscall::SYS_chroot; -pub use sys_syscall::SYS_msync; -pub use sys_syscall::SYS_vfork; -pub use sys_syscall::SYS_freebsd11_vadvise; -pub use sys_syscall::SYS_munmap; -pub use sys_syscall::SYS_mprotect; -pub use sys_syscall::SYS_madvise; -pub use sys_syscall::SYS_mincore; -pub use sys_syscall::SYS_getgroups; -pub use sys_syscall::SYS_setgroups; -pub use sys_syscall::SYS_getpgrp; -pub use sys_syscall::SYS_setpgid; -pub use sys_syscall::SYS_setitimer; -pub use sys_syscall::SYS_swapon; -pub use sys_syscall::SYS_getitimer; -pub use sys_syscall::SYS_getdtablesize; -pub use sys_syscall::SYS_dup2; -pub use sys_syscall::SYS_fcntl; -pub use sys_syscall::SYS_select; -pub use sys_syscall::SYS_fsync; -pub use sys_syscall::SYS_setpriority; -pub use sys_syscall::SYS_socket; -pub use sys_syscall::SYS_connect; -pub use sys_syscall::SYS_getpriority; -pub use sys_syscall::SYS_bind; -pub use sys_syscall::SYS_setsockopt; -pub use sys_syscall::SYS_listen; -pub use sys_syscall::SYS_gettimeofday; -pub use sys_syscall::SYS_getrusage; -pub use sys_syscall::SYS_getsockopt; -pub use sys_syscall::SYS_readv; -pub use sys_syscall::SYS_writev; -pub use sys_syscall::SYS_settimeofday; -pub use sys_syscall::SYS_fchown; -pub use sys_syscall::SYS_fchmod; -pub use sys_syscall::SYS_setreuid; -pub use sys_syscall::SYS_setregid; -pub use sys_syscall::SYS_rename; -pub use sys_syscall::SYS_flock; -pub use sys_syscall::SYS_mkfifo; -pub use sys_syscall::SYS_sendto; -pub use sys_syscall::SYS_shutdown; -pub use sys_syscall::SYS_socketpair; -pub use sys_syscall::SYS_mkdir; -pub use sys_syscall::SYS_rmdir; -pub use sys_syscall::SYS_utimes; -pub use sys_syscall::SYS_adjtime; -pub use sys_syscall::SYS_setsid; -pub use sys_syscall::SYS_quotactl; -pub use sys_syscall::SYS_nlm_syscall; -pub use sys_syscall::SYS_nfssvc; -pub use sys_syscall::SYS_lgetfh; -pub use sys_syscall::SYS_getfh; -pub use sys_syscall::SYS_sysarch; -pub use sys_syscall::SYS_rtprio; -pub use sys_syscall::SYS_semsys; -pub use sys_syscall::SYS_msgsys; -pub use sys_syscall::SYS_shmsys; -pub use sys_syscall::SYS_setfib; -pub use sys_syscall::SYS_ntp_adjtime; -pub use sys_syscall::SYS_setgid; -pub use sys_syscall::SYS_setegid; -pub use sys_syscall::SYS_seteuid; -pub use sys_syscall::SYS_freebsd11_stat; -pub use sys_syscall::SYS_freebsd11_fstat; -pub use sys_syscall::SYS_freebsd11_lstat; -pub use sys_syscall::SYS_pathconf; -pub use sys_syscall::SYS_fpathconf; -pub use sys_syscall::SYS_getrlimit; -pub use sys_syscall::SYS_setrlimit; -pub use sys_syscall::SYS_freebsd11_getdirentries; -pub use sys_syscall::SYS___syscall; -pub use sys_syscall::SYS___sysctl; -pub use sys_syscall::SYS_mlock; -pub use sys_syscall::SYS_munlock; -pub use sys_syscall::SYS_undelete; -pub use sys_syscall::SYS_futimes; -pub use sys_syscall::SYS_getpgid; -pub use sys_syscall::SYS_poll; -pub use sys_syscall::SYS_freebsd7___semctl; -pub use sys_syscall::SYS_semget; -pub use sys_syscall::SYS_semop; -pub use sys_syscall::SYS_freebsd7_msgctl; -pub use sys_syscall::SYS_msgget; -pub use sys_syscall::SYS_msgsnd; -pub use sys_syscall::SYS_msgrcv; -pub use sys_syscall::SYS_shmat; -pub use sys_syscall::SYS_freebsd7_shmctl; -pub use sys_syscall::SYS_shmdt; -pub use sys_syscall::SYS_shmget; -pub use sys_syscall::SYS_clock_gettime; -pub use sys_syscall::SYS_clock_settime; -pub use sys_syscall::SYS_clock_getres; -pub use sys_syscall::SYS_ktimer_create; -pub use sys_syscall::SYS_ktimer_delete; -pub use sys_syscall::SYS_ktimer_settime; -pub use sys_syscall::SYS_ktimer_gettime; -pub use sys_syscall::SYS_ktimer_getoverrun; -pub use sys_syscall::SYS_nanosleep; -pub use sys_syscall::SYS_ffclock_getcounter; -pub use sys_syscall::SYS_ffclock_setestimate; -pub use sys_syscall::SYS_ffclock_getestimate; -pub use sys_syscall::SYS_clock_nanosleep; -pub use sys_syscall::SYS_clock_getcpuclockid2; -pub use sys_syscall::SYS_ntp_gettime; -pub use sys_syscall::SYS_minherit; -pub use sys_syscall::SYS_rfork; -pub use sys_syscall::SYS_issetugid; -pub use sys_syscall::SYS_lchown; -pub use sys_syscall::SYS_aio_read; -pub use sys_syscall::SYS_aio_write; -pub use sys_syscall::SYS_lio_listio; -pub use sys_syscall::SYS_freebsd11_getdents; -pub use sys_syscall::SYS_lchmod; -pub use sys_syscall::SYS_lutimes; -pub use sys_syscall::SYS_freebsd11_nstat; -pub use sys_syscall::SYS_freebsd11_nfstat; -pub use sys_syscall::SYS_freebsd11_nlstat; -pub use sys_syscall::SYS_preadv; -pub use sys_syscall::SYS_pwritev; -pub use sys_syscall::SYS_fhopen; -pub use sys_syscall::SYS_freebsd11_fhstat; -pub use sys_syscall::SYS_modnext; -pub use sys_syscall::SYS_modstat; -pub use sys_syscall::SYS_modfnext; -pub use sys_syscall::SYS_modfind; -pub use sys_syscall::SYS_kldload; -pub use sys_syscall::SYS_kldunload; -pub use sys_syscall::SYS_kldfind; -pub use sys_syscall::SYS_kldnext; -pub use sys_syscall::SYS_kldstat; -pub use sys_syscall::SYS_kldfirstmod; -pub use sys_syscall::SYS_getsid; -pub use sys_syscall::SYS_setresuid; -pub use sys_syscall::SYS_setresgid; -pub use sys_syscall::SYS_aio_return; -pub use sys_syscall::SYS_aio_suspend; -pub use sys_syscall::SYS_aio_cancel; -pub use sys_syscall::SYS_aio_error; -pub use sys_syscall::SYS_yield; -pub use sys_syscall::SYS_mlockall; -pub use sys_syscall::SYS_munlockall; -pub use sys_syscall::SYS___getcwd; -pub use sys_syscall::SYS_sched_setparam; -pub use sys_syscall::SYS_sched_getparam; -pub use sys_syscall::SYS_sched_setscheduler; -pub use sys_syscall::SYS_sched_getscheduler; -pub use sys_syscall::SYS_sched_yield; -pub use sys_syscall::SYS_sched_get_priority_max; -pub use sys_syscall::SYS_sched_get_priority_min; -pub use sys_syscall::SYS_sched_rr_get_interval; -pub use sys_syscall::SYS_utrace; -pub use sys_syscall::SYS_kldsym; -pub use sys_syscall::SYS_jail; -pub use sys_syscall::SYS_nnpfs_syscall; -pub use sys_syscall::SYS_sigprocmask; -pub use sys_syscall::SYS_sigsuspend; -pub use sys_syscall::SYS_sigpending; -pub use sys_syscall::SYS_sigtimedwait; -pub use sys_syscall::SYS_sigwaitinfo; -pub use sys_syscall::SYS___acl_get_file; -pub use sys_syscall::SYS___acl_set_file; -pub use sys_syscall::SYS___acl_get_fd; -pub use sys_syscall::SYS___acl_set_fd; -pub use sys_syscall::SYS___acl_delete_file; -pub use sys_syscall::SYS___acl_delete_fd; -pub use sys_syscall::SYS___acl_aclcheck_file; -pub use sys_syscall::SYS___acl_aclcheck_fd; -pub use sys_syscall::SYS_extattrctl; -pub use sys_syscall::SYS_extattr_set_file; -pub use sys_syscall::SYS_extattr_get_file; -pub use sys_syscall::SYS_extattr_delete_file; -pub use sys_syscall::SYS_aio_waitcomplete; -pub use sys_syscall::SYS_getresuid; -pub use sys_syscall::SYS_getresgid; -pub use sys_syscall::SYS_kqueue; -pub use sys_syscall::SYS_freebsd11_kevent; -pub use sys_syscall::SYS_extattr_set_fd; -pub use sys_syscall::SYS_extattr_get_fd; -pub use sys_syscall::SYS_extattr_delete_fd; -pub use sys_syscall::SYS___setugid; -pub use sys_syscall::SYS_eaccess; -pub use sys_syscall::SYS_afs3_syscall; -pub use sys_syscall::SYS_nmount; -pub use sys_syscall::SYS___mac_get_proc; -pub use sys_syscall::SYS___mac_set_proc; -pub use sys_syscall::SYS___mac_get_fd; -pub use sys_syscall::SYS___mac_get_file; -pub use sys_syscall::SYS___mac_set_fd; -pub use sys_syscall::SYS___mac_set_file; -pub use sys_syscall::SYS_kenv; -pub use sys_syscall::SYS_lchflags; -pub use sys_syscall::SYS_uuidgen; -pub use sys_syscall::SYS_sendfile; -pub use sys_syscall::SYS_mac_syscall; -pub use sys_syscall::SYS_freebsd11_getfsstat; -pub use sys_syscall::SYS_freebsd11_statfs; -pub use sys_syscall::SYS_freebsd11_fstatfs; -pub use sys_syscall::SYS_freebsd11_fhstatfs; -pub use sys_syscall::SYS_ksem_close; -pub use sys_syscall::SYS_ksem_post; -pub use sys_syscall::SYS_ksem_wait; -pub use sys_syscall::SYS_ksem_trywait; -pub use sys_syscall::SYS_ksem_init; -pub use sys_syscall::SYS_ksem_open; -pub use sys_syscall::SYS_ksem_unlink; -pub use sys_syscall::SYS_ksem_getvalue; -pub use sys_syscall::SYS_ksem_destroy; -pub use sys_syscall::SYS___mac_get_pid; -pub use sys_syscall::SYS___mac_get_link; -pub use sys_syscall::SYS___mac_set_link; -pub use sys_syscall::SYS_extattr_set_link; -pub use sys_syscall::SYS_extattr_get_link; -pub use sys_syscall::SYS_extattr_delete_link; -pub use sys_syscall::SYS___mac_execve; -pub use sys_syscall::SYS_sigaction; -pub use sys_syscall::SYS_sigreturn; -pub use sys_syscall::SYS_getcontext; -pub use sys_syscall::SYS_setcontext; -pub use sys_syscall::SYS_swapcontext; -pub use sys_syscall::SYS_freebsd13_swapoff; -pub use sys_syscall::SYS___acl_get_link; -pub use sys_syscall::SYS___acl_set_link; -pub use sys_syscall::SYS___acl_delete_link; -pub use sys_syscall::SYS___acl_aclcheck_link; -pub use sys_syscall::SYS_sigwait; -pub use sys_syscall::SYS_thr_create; -pub use sys_syscall::SYS_thr_exit; -pub use sys_syscall::SYS_thr_self; -pub use sys_syscall::SYS_thr_kill; -pub use sys_syscall::SYS_freebsd10__umtx_lock; -pub use sys_syscall::SYS_freebsd10__umtx_unlock; -pub use sys_syscall::SYS_jail_attach; -pub use sys_syscall::SYS_extattr_list_fd; -pub use sys_syscall::SYS_extattr_list_file; -pub use sys_syscall::SYS_extattr_list_link; -pub use sys_syscall::SYS_ksem_timedwait; -pub use sys_syscall::SYS_thr_suspend; -pub use sys_syscall::SYS_thr_wake; -pub use sys_syscall::SYS_kldunloadf; -pub use sys_syscall::SYS_audit; -pub use sys_syscall::SYS_auditon; -pub use sys_syscall::SYS_getauid; -pub use sys_syscall::SYS_setauid; -pub use sys_syscall::SYS_getaudit; -pub use sys_syscall::SYS_setaudit; -pub use sys_syscall::SYS_getaudit_addr; -pub use sys_syscall::SYS_setaudit_addr; -pub use sys_syscall::SYS_auditctl; -pub use sys_syscall::SYS__umtx_op; -pub use sys_syscall::SYS_thr_new; -pub use sys_syscall::SYS_sigqueue; -pub use sys_syscall::SYS_kmq_open; -pub use sys_syscall::SYS_kmq_setattr; -pub use sys_syscall::SYS_kmq_timedreceive; -pub use sys_syscall::SYS_kmq_timedsend; -pub use sys_syscall::SYS_kmq_notify; -pub use sys_syscall::SYS_kmq_unlink; -pub use sys_syscall::SYS_abort2; -pub use sys_syscall::SYS_thr_set_name; -pub use sys_syscall::SYS_aio_fsync; -pub use sys_syscall::SYS_rtprio_thread; -pub use sys_syscall::SYS_sctp_peeloff; -pub use sys_syscall::SYS_sctp_generic_sendmsg; -pub use sys_syscall::SYS_sctp_generic_sendmsg_iov; -pub use sys_syscall::SYS_sctp_generic_recvmsg; -pub use sys_syscall::SYS_pread; -pub use sys_syscall::SYS_pwrite; -pub use sys_syscall::SYS_mmap; -pub use sys_syscall::SYS_lseek; -pub use sys_syscall::SYS_truncate; -pub use sys_syscall::SYS_ftruncate; -pub use sys_syscall::SYS_thr_kill2; -pub use sys_syscall::SYS_freebsd12_shm_open; -pub use sys_syscall::SYS_shm_unlink; -pub use sys_syscall::SYS_cpuset; -pub use sys_syscall::SYS_cpuset_setid; -pub use sys_syscall::SYS_cpuset_getid; -pub use sys_syscall::SYS_cpuset_getaffinity; -pub use sys_syscall::SYS_cpuset_setaffinity; -pub use sys_syscall::SYS_faccessat; -pub use sys_syscall::SYS_fchmodat; -pub use sys_syscall::SYS_fchownat; -pub use sys_syscall::SYS_fexecve; -pub use sys_syscall::SYS_freebsd11_fstatat; -pub use sys_syscall::SYS_futimesat; -pub use sys_syscall::SYS_linkat; -pub use sys_syscall::SYS_mkdirat; -pub use sys_syscall::SYS_mkfifoat; -pub use sys_syscall::SYS_freebsd11_mknodat; -pub use sys_syscall::SYS_openat; -pub use sys_syscall::SYS_readlinkat; -pub use sys_syscall::SYS_renameat; -pub use sys_syscall::SYS_symlinkat; -pub use sys_syscall::SYS_unlinkat; -pub use sys_syscall::SYS_posix_openpt; -pub use sys_syscall::SYS_gssd_syscall; -pub use sys_syscall::SYS_jail_get; -pub use sys_syscall::SYS_jail_set; -pub use sys_syscall::SYS_jail_remove; -pub use sys_syscall::SYS_freebsd12_closefrom; -pub use sys_syscall::SYS___semctl; -pub use sys_syscall::SYS_msgctl; -pub use sys_syscall::SYS_shmctl; -pub use sys_syscall::SYS_lpathconf; -pub use sys_syscall::SYS___cap_rights_get; -pub use sys_syscall::SYS_cap_enter; -pub use sys_syscall::SYS_cap_getmode; -pub use sys_syscall::SYS_pdfork; -pub use sys_syscall::SYS_pdkill; -pub use sys_syscall::SYS_pdgetpid; -pub use sys_syscall::SYS_pselect; -pub use sys_syscall::SYS_getloginclass; -pub use sys_syscall::SYS_setloginclass; -pub use sys_syscall::SYS_rctl_get_racct; -pub use sys_syscall::SYS_rctl_get_rules; -pub use sys_syscall::SYS_rctl_get_limits; -pub use sys_syscall::SYS_rctl_add_rule; -pub use sys_syscall::SYS_rctl_remove_rule; -pub use sys_syscall::SYS_posix_fallocate; -pub use sys_syscall::SYS_posix_fadvise; -pub use sys_syscall::SYS_wait6; -pub use sys_syscall::SYS_cap_rights_limit; -pub use sys_syscall::SYS_cap_ioctls_limit; -pub use sys_syscall::SYS_cap_ioctls_get; -pub use sys_syscall::SYS_cap_fcntls_limit; -pub use sys_syscall::SYS_cap_fcntls_get; -pub use sys_syscall::SYS_bindat; -pub use sys_syscall::SYS_connectat; -pub use sys_syscall::SYS_chflagsat; -pub use sys_syscall::SYS_accept4; -pub use sys_syscall::SYS_pipe2; -pub use sys_syscall::SYS_aio_mlock; -pub use sys_syscall::SYS_procctl; -pub use sys_syscall::SYS_ppoll; -pub use sys_syscall::SYS_futimens; -pub use sys_syscall::SYS_utimensat; -pub use sys_syscall::SYS_fdatasync; -pub use sys_syscall::SYS_fstat; -pub use sys_syscall::SYS_fstatat; -pub use sys_syscall::SYS_fhstat; -pub use sys_syscall::SYS_getdirentries; -pub use sys_syscall::SYS_statfs; -pub use sys_syscall::SYS_fstatfs; -pub use sys_syscall::SYS_getfsstat; -pub use sys_syscall::SYS_fhstatfs; -pub use sys_syscall::SYS_mknodat; -pub use sys_syscall::SYS_kevent; -pub use sys_syscall::SYS_cpuset_getdomain; -pub use sys_syscall::SYS_cpuset_setdomain; -pub use sys_syscall::SYS_getrandom; -pub use sys_syscall::SYS_getfhat; -pub use sys_syscall::SYS_fhlink; -pub use sys_syscall::SYS_fhlinkat; -pub use sys_syscall::SYS_fhreadlink; -pub use sys_syscall::SYS_funlinkat; -pub use sys_syscall::SYS_copy_file_range; -pub use sys_syscall::SYS___sysctlbyname; -pub use sys_syscall::SYS_shm_open2; -pub use sys_syscall::SYS_shm_rename; -pub use sys_syscall::SYS_sigfastblock; -pub use sys_syscall::SYS___realpathat; -pub use sys_syscall::SYS_close_range; -pub use sys_syscall::SYS_rpctls_syscall; -pub use sys_syscall::SYS___specialfd; -pub use sys_syscall::SYS_aio_writev; -pub use sys_syscall::SYS_aio_readv; -pub use sys_syscall::SYS_fspacectl; -pub use sys_syscall::SYS_sched_getcpu; -pub use sys_syscall::SYS_swapoff; -pub use sys_syscall::SYS_kqueuex; -pub use sys_syscall::SYS_membarrier; -pub use sys_syscall::SYS_timerfd_create; -pub use sys_syscall::SYS_timerfd_gettime; -pub use sys_syscall::SYS_timerfd_settime; -pub use sys_syscall::SYS_kcmp; -pub use sys_syscall::SYS_getrlimitusage; -pub use sys_syscall::SYS_MAXSYSCALL; -mod sys_sysctl; -pub use sys_sysctl::CTL_KERN; -pub use sys_sysctl::KERN_PROC; -pub use sys_sysctl::KERN_PROC_AUXV; -mod sys_elf_common; -pub use sys_elf_common::AT_NULL; -pub use sys_elf_common::AT_IGNORE; -pub use sys_elf_common::AT_EXECFD; -pub use sys_elf_common::AT_PHDR; -pub use sys_elf_common::AT_PHENT; -pub use sys_elf_common::AT_PHNUM; -pub use sys_elf_common::AT_PAGESZ; -pub use sys_elf_common::AT_BASE; -pub use sys_elf_common::AT_FLAGS; -pub use sys_elf_common::AT_ENTRY; -pub use sys_elf_common::AT_NOTELF; -pub use sys_elf_common::AT_UID; -pub use sys_elf_common::AT_EUID; -pub use sys_elf_common::AT_GID; -pub use sys_elf_common::AT_EGID; -pub use sys_elf_common::AT_EXECPATH; -pub use sys_elf_common::AT_CANARY; -pub use sys_elf_common::AT_CANARYLEN; -pub use sys_elf_common::AT_OSRELDATE; -pub use sys_elf_common::AT_NCPUS; -pub use sys_elf_common::AT_PAGESIZES; -pub use sys_elf_common::AT_PAGESIZESLEN; -pub use sys_elf_common::AT_TIMEKEEP; -pub use sys_elf_common::AT_STACKPROT; -pub use sys_elf_common::AT_EHDRFLAGS; -pub use sys_elf_common::AT_HWCAP; -pub use sys_elf_common::AT_HWCAP2; -pub use sys_elf_common::AT_BSDFLAGS; -pub use sys_elf_common::AT_ARGC; -pub use sys_elf_common::AT_ARGV; -pub use sys_elf_common::AT_ENVC; -pub use sys_elf_common::AT_ENVV; -pub use sys_elf_common::AT_PS_STRINGS; -pub use sys_elf_common::AT_FXRNG; -pub use sys_elf_common::AT_KPRELOAD; -pub use sys_elf_common::AT_USRSTACKBASE; -pub use sys_elf_common::AT_USRSTACKLIM; -pub use sys_elf_common::AT_CHERI_STATS; -pub use sys_elf_common::AT_COUNT; -mod machine_elf; -pub use machine_elf::Elf32_Auxinfo; -pub use machine_elf::Elf64_Auxinfo; -pub use machine_elf::Elf_Auxinfo; -pub use machine_elf::HWCAP_FP; -pub use machine_elf::HWCAP_ASIMD; -pub use machine_elf::HWCAP_EVTSTRM; -pub use machine_elf::HWCAP_AES; -pub use machine_elf::HWCAP_PMULL; -pub use machine_elf::HWCAP_SHA1; -pub use machine_elf::HWCAP_SHA2; -pub use machine_elf::HWCAP_CRC32; -pub use machine_elf::HWCAP_ATOMICS; -pub use machine_elf::HWCAP_FPHP; -pub use machine_elf::HWCAP_ASIMDHP; -pub use machine_elf::HWCAP_CPUID; -pub use machine_elf::HWCAP_ASIMDRDM; -pub use machine_elf::HWCAP_JSCVT; -pub use machine_elf::HWCAP_FCMA; -pub use machine_elf::HWCAP_LRCPC; -pub use machine_elf::HWCAP_DCPOP; -pub use machine_elf::HWCAP_SHA3; -pub use machine_elf::HWCAP_SM3; -pub use machine_elf::HWCAP_SM4; -pub use machine_elf::HWCAP_ASIMDDP; -pub use machine_elf::HWCAP_SHA512; -pub use machine_elf::HWCAP_SVE; -pub use machine_elf::HWCAP_ASIMDFHM; -pub use machine_elf::HWCAP_DIT; -pub use machine_elf::HWCAP_USCAT; -pub use machine_elf::HWCAP_ILRCPC; -pub use machine_elf::HWCAP_FLAGM; -pub use machine_elf::HWCAP_SSBS; -pub use machine_elf::HWCAP_SB; -pub use machine_elf::HWCAP_PACA; -pub use machine_elf::HWCAP_PACG; -pub use machine_elf::HWCAP2_DCPODP; -pub use machine_elf::HWCAP2_SVE2; -pub use machine_elf::HWCAP2_SVEAES; -pub use machine_elf::HWCAP2_SVEPMULL; -pub use machine_elf::HWCAP2_SVEBITPERM; -pub use machine_elf::HWCAP2_SVESHA3; -pub use machine_elf::HWCAP2_SVESM4; -pub use machine_elf::HWCAP2_FLAGM2; -pub use machine_elf::HWCAP2_FRINT; -pub use machine_elf::HWCAP2_SVEI8MM; -pub use machine_elf::HWCAP2_SVEF32MM; -pub use machine_elf::HWCAP2_SVEF64MM; -pub use machine_elf::HWCAP2_SVEBF16; -pub use machine_elf::HWCAP2_I8MM; -pub use machine_elf::HWCAP2_BF16; -pub use machine_elf::HWCAP2_DGH; -pub use machine_elf::HWCAP2_RNG; -pub use machine_elf::HWCAP2_BTI; -pub use machine_elf::HWCAP2_MTE; -pub use machine_elf::HWCAP2_ECV; -pub use machine_elf::HWCAP2_AFP; -pub use machine_elf::HWCAP2_RPRES; -pub use machine_elf::HWCAP2_MTE3; -pub use machine_elf::HWCAP2_SME; -pub use machine_elf::HWCAP2_SME_I16I64; -pub use machine_elf::HWCAP2_SME_F64F64; -pub use machine_elf::HWCAP2_SME_I8I32; -pub use machine_elf::HWCAP2_SME_F16F32; -pub use machine_elf::HWCAP2_SME_B16F32; -pub use machine_elf::HWCAP2_SME_F32F32; -pub use machine_elf::HWCAP2_SME_FA64; -pub use machine_elf::HWCAP2_WFXT; -pub use machine_elf::HWCAP2_EBF16; -pub use machine_elf::HWCAP2_SVE_EBF16; -pub use machine_elf::HWCAP2_CSSC; -pub use machine_elf::HWCAP2_RPRFM; -pub use machine_elf::HWCAP2_SVE2P1; -pub use machine_elf::HWCAP2_SME2; -pub use machine_elf::HWCAP2_SME2P1; -pub use machine_elf::HWCAP2_SME_I16I32; -pub use machine_elf::HWCAP2_SME_BI32I32; -pub use machine_elf::HWCAP2_SME_B16B16; -pub use machine_elf::HWCAP2_SME_F16F16; -pub use machine_elf::HWCAP2_MOPS; -pub use machine_elf::HWCAP2_HBC; -pub type c_char = u8; diff --git a/tests/helper/src/gen/sys/aarch64_freebsd/sys_auxv.rs b/tests/helper/src/gen/sys/aarch64_freebsd/sys_auxv.rs deleted file mode 100644 index 7b6c1be2..00000000 --- a/tests/helper/src/gen/sys/aarch64_freebsd/sys_auxv.rs +++ /dev/null @@ -1,14 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -extern "C" { - pub fn elf_aux_info( - aux: ::std::os::raw::c_int, - buf: *mut ::core::ffi::c_void, - buflen: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; -} diff --git a/tests/helper/src/gen/sys/aarch64_freebsd/sys_elf_common.rs b/tests/helper/src/gen/sys/aarch64_freebsd/sys_elf_common.rs deleted file mode 100644 index 85bae3b6..00000000 --- a/tests/helper/src/gen/sys/aarch64_freebsd/sys_elf_common.rs +++ /dev/null @@ -1,46 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -pub const AT_NULL: u32 = 0; -pub const AT_IGNORE: u32 = 1; -pub const AT_EXECFD: u32 = 2; -pub const AT_PHDR: u32 = 3; -pub const AT_PHENT: u32 = 4; -pub const AT_PHNUM: u32 = 5; -pub const AT_PAGESZ: u32 = 6; -pub const AT_BASE: u32 = 7; -pub const AT_FLAGS: u32 = 8; -pub const AT_ENTRY: u32 = 9; -pub const AT_NOTELF: u32 = 10; -pub const AT_UID: u32 = 11; -pub const AT_EUID: u32 = 12; -pub const AT_GID: u32 = 13; -pub const AT_EGID: u32 = 14; -pub const AT_EXECPATH: u32 = 15; -pub const AT_CANARY: u32 = 16; -pub const AT_CANARYLEN: u32 = 17; -pub const AT_OSRELDATE: u32 = 18; -pub const AT_NCPUS: u32 = 19; -pub const AT_PAGESIZES: u32 = 20; -pub const AT_PAGESIZESLEN: u32 = 21; -pub const AT_TIMEKEEP: u32 = 22; -pub const AT_STACKPROT: u32 = 23; -pub const AT_EHDRFLAGS: u32 = 24; -pub const AT_HWCAP: u32 = 25; -pub const AT_HWCAP2: u32 = 26; -pub const AT_BSDFLAGS: u32 = 27; -pub const AT_ARGC: u32 = 28; -pub const AT_ARGV: u32 = 29; -pub const AT_ENVC: u32 = 30; -pub const AT_ENVV: u32 = 31; -pub const AT_PS_STRINGS: u32 = 32; -pub const AT_FXRNG: u32 = 33; -pub const AT_KPRELOAD: u32 = 34; -pub const AT_USRSTACKBASE: u32 = 35; -pub const AT_USRSTACKLIM: u32 = 36; -pub const AT_CHERI_STATS: u32 = 37; -pub const AT_COUNT: u32 = 38; diff --git a/tests/helper/src/gen/sys/aarch64_freebsd/sys_syscall.rs b/tests/helper/src/gen/sys/aarch64_freebsd/sys_syscall.rs deleted file mode 100644 index 9437b0b4..00000000 --- a/tests/helper/src/gen/sys/aarch64_freebsd/sys_syscall.rs +++ /dev/null @@ -1,437 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -pub const SYS_syscall: u32 = 0; -pub const SYS_exit: u32 = 1; -pub const SYS_fork: u32 = 2; -pub const SYS_read: u32 = 3; -pub const SYS_write: u32 = 4; -pub const SYS_open: u32 = 5; -pub const SYS_close: u32 = 6; -pub const SYS_wait4: u32 = 7; -pub const SYS_link: u32 = 9; -pub const SYS_unlink: u32 = 10; -pub const SYS_chdir: u32 = 12; -pub const SYS_fchdir: u32 = 13; -pub const SYS_freebsd11_mknod: u32 = 14; -pub const SYS_chmod: u32 = 15; -pub const SYS_chown: u32 = 16; -pub const SYS_break: u32 = 17; -pub const SYS_getpid: u32 = 20; -pub const SYS_mount: u32 = 21; -pub const SYS_unmount: u32 = 22; -pub const SYS_setuid: u32 = 23; -pub const SYS_getuid: u32 = 24; -pub const SYS_geteuid: u32 = 25; -pub const SYS_ptrace: u32 = 26; -pub const SYS_recvmsg: u32 = 27; -pub const SYS_sendmsg: u32 = 28; -pub const SYS_recvfrom: u32 = 29; -pub const SYS_accept: u32 = 30; -pub const SYS_getpeername: u32 = 31; -pub const SYS_getsockname: u32 = 32; -pub const SYS_access: u32 = 33; -pub const SYS_chflags: u32 = 34; -pub const SYS_fchflags: u32 = 35; -pub const SYS_sync: u32 = 36; -pub const SYS_kill: u32 = 37; -pub const SYS_getppid: u32 = 39; -pub const SYS_dup: u32 = 41; -pub const SYS_freebsd10_pipe: u32 = 42; -pub const SYS_getegid: u32 = 43; -pub const SYS_profil: u32 = 44; -pub const SYS_ktrace: u32 = 45; -pub const SYS_getgid: u32 = 47; -pub const SYS_getlogin: u32 = 49; -pub const SYS_setlogin: u32 = 50; -pub const SYS_acct: u32 = 51; -pub const SYS_sigaltstack: u32 = 53; -pub const SYS_ioctl: u32 = 54; -pub const SYS_reboot: u32 = 55; -pub const SYS_revoke: u32 = 56; -pub const SYS_symlink: u32 = 57; -pub const SYS_readlink: u32 = 58; -pub const SYS_execve: u32 = 59; -pub const SYS_umask: u32 = 60; -pub const SYS_chroot: u32 = 61; -pub const SYS_msync: u32 = 65; -pub const SYS_vfork: u32 = 66; -pub const SYS_freebsd11_vadvise: u32 = 72; -pub const SYS_munmap: u32 = 73; -pub const SYS_mprotect: u32 = 74; -pub const SYS_madvise: u32 = 75; -pub const SYS_mincore: u32 = 78; -pub const SYS_getgroups: u32 = 79; -pub const SYS_setgroups: u32 = 80; -pub const SYS_getpgrp: u32 = 81; -pub const SYS_setpgid: u32 = 82; -pub const SYS_setitimer: u32 = 83; -pub const SYS_swapon: u32 = 85; -pub const SYS_getitimer: u32 = 86; -pub const SYS_getdtablesize: u32 = 89; -pub const SYS_dup2: u32 = 90; -pub const SYS_fcntl: u32 = 92; -pub const SYS_select: u32 = 93; -pub const SYS_fsync: u32 = 95; -pub const SYS_setpriority: u32 = 96; -pub const SYS_socket: u32 = 97; -pub const SYS_connect: u32 = 98; -pub const SYS_getpriority: u32 = 100; -pub const SYS_bind: u32 = 104; -pub const SYS_setsockopt: u32 = 105; -pub const SYS_listen: u32 = 106; -pub const SYS_gettimeofday: u32 = 116; -pub const SYS_getrusage: u32 = 117; -pub const SYS_getsockopt: u32 = 118; -pub const SYS_readv: u32 = 120; -pub const SYS_writev: u32 = 121; -pub const SYS_settimeofday: u32 = 122; -pub const SYS_fchown: u32 = 123; -pub const SYS_fchmod: u32 = 124; -pub const SYS_setreuid: u32 = 126; -pub const SYS_setregid: u32 = 127; -pub const SYS_rename: u32 = 128; -pub const SYS_flock: u32 = 131; -pub const SYS_mkfifo: u32 = 132; -pub const SYS_sendto: u32 = 133; -pub const SYS_shutdown: u32 = 134; -pub const SYS_socketpair: u32 = 135; -pub const SYS_mkdir: u32 = 136; -pub const SYS_rmdir: u32 = 137; -pub const SYS_utimes: u32 = 138; -pub const SYS_adjtime: u32 = 140; -pub const SYS_setsid: u32 = 147; -pub const SYS_quotactl: u32 = 148; -pub const SYS_nlm_syscall: u32 = 154; -pub const SYS_nfssvc: u32 = 155; -pub const SYS_lgetfh: u32 = 160; -pub const SYS_getfh: u32 = 161; -pub const SYS_sysarch: u32 = 165; -pub const SYS_rtprio: u32 = 166; -pub const SYS_semsys: u32 = 169; -pub const SYS_msgsys: u32 = 170; -pub const SYS_shmsys: u32 = 171; -pub const SYS_setfib: u32 = 175; -pub const SYS_ntp_adjtime: u32 = 176; -pub const SYS_setgid: u32 = 181; -pub const SYS_setegid: u32 = 182; -pub const SYS_seteuid: u32 = 183; -pub const SYS_freebsd11_stat: u32 = 188; -pub const SYS_freebsd11_fstat: u32 = 189; -pub const SYS_freebsd11_lstat: u32 = 190; -pub const SYS_pathconf: u32 = 191; -pub const SYS_fpathconf: u32 = 192; -pub const SYS_getrlimit: u32 = 194; -pub const SYS_setrlimit: u32 = 195; -pub const SYS_freebsd11_getdirentries: u32 = 196; -pub const SYS___syscall: u32 = 198; -pub const SYS___sysctl: u32 = 202; -pub const SYS_mlock: u32 = 203; -pub const SYS_munlock: u32 = 204; -pub const SYS_undelete: u32 = 205; -pub const SYS_futimes: u32 = 206; -pub const SYS_getpgid: u32 = 207; -pub const SYS_poll: u32 = 209; -pub const SYS_freebsd7___semctl: u32 = 220; -pub const SYS_semget: u32 = 221; -pub const SYS_semop: u32 = 222; -pub const SYS_freebsd7_msgctl: u32 = 224; -pub const SYS_msgget: u32 = 225; -pub const SYS_msgsnd: u32 = 226; -pub const SYS_msgrcv: u32 = 227; -pub const SYS_shmat: u32 = 228; -pub const SYS_freebsd7_shmctl: u32 = 229; -pub const SYS_shmdt: u32 = 230; -pub const SYS_shmget: u32 = 231; -pub const SYS_clock_gettime: u32 = 232; -pub const SYS_clock_settime: u32 = 233; -pub const SYS_clock_getres: u32 = 234; -pub const SYS_ktimer_create: u32 = 235; -pub const SYS_ktimer_delete: u32 = 236; -pub const SYS_ktimer_settime: u32 = 237; -pub const SYS_ktimer_gettime: u32 = 238; -pub const SYS_ktimer_getoverrun: u32 = 239; -pub const SYS_nanosleep: u32 = 240; -pub const SYS_ffclock_getcounter: u32 = 241; -pub const SYS_ffclock_setestimate: u32 = 242; -pub const SYS_ffclock_getestimate: u32 = 243; -pub const SYS_clock_nanosleep: u32 = 244; -pub const SYS_clock_getcpuclockid2: u32 = 247; -pub const SYS_ntp_gettime: u32 = 248; -pub const SYS_minherit: u32 = 250; -pub const SYS_rfork: u32 = 251; -pub const SYS_issetugid: u32 = 253; -pub const SYS_lchown: u32 = 254; -pub const SYS_aio_read: u32 = 255; -pub const SYS_aio_write: u32 = 256; -pub const SYS_lio_listio: u32 = 257; -pub const SYS_freebsd11_getdents: u32 = 272; -pub const SYS_lchmod: u32 = 274; -pub const SYS_lutimes: u32 = 276; -pub const SYS_freebsd11_nstat: u32 = 278; -pub const SYS_freebsd11_nfstat: u32 = 279; -pub const SYS_freebsd11_nlstat: u32 = 280; -pub const SYS_preadv: u32 = 289; -pub const SYS_pwritev: u32 = 290; -pub const SYS_fhopen: u32 = 298; -pub const SYS_freebsd11_fhstat: u32 = 299; -pub const SYS_modnext: u32 = 300; -pub const SYS_modstat: u32 = 301; -pub const SYS_modfnext: u32 = 302; -pub const SYS_modfind: u32 = 303; -pub const SYS_kldload: u32 = 304; -pub const SYS_kldunload: u32 = 305; -pub const SYS_kldfind: u32 = 306; -pub const SYS_kldnext: u32 = 307; -pub const SYS_kldstat: u32 = 308; -pub const SYS_kldfirstmod: u32 = 309; -pub const SYS_getsid: u32 = 310; -pub const SYS_setresuid: u32 = 311; -pub const SYS_setresgid: u32 = 312; -pub const SYS_aio_return: u32 = 314; -pub const SYS_aio_suspend: u32 = 315; -pub const SYS_aio_cancel: u32 = 316; -pub const SYS_aio_error: u32 = 317; -pub const SYS_yield: u32 = 321; -pub const SYS_mlockall: u32 = 324; -pub const SYS_munlockall: u32 = 325; -pub const SYS___getcwd: u32 = 326; -pub const SYS_sched_setparam: u32 = 327; -pub const SYS_sched_getparam: u32 = 328; -pub const SYS_sched_setscheduler: u32 = 329; -pub const SYS_sched_getscheduler: u32 = 330; -pub const SYS_sched_yield: u32 = 331; -pub const SYS_sched_get_priority_max: u32 = 332; -pub const SYS_sched_get_priority_min: u32 = 333; -pub const SYS_sched_rr_get_interval: u32 = 334; -pub const SYS_utrace: u32 = 335; -pub const SYS_kldsym: u32 = 337; -pub const SYS_jail: u32 = 338; -pub const SYS_nnpfs_syscall: u32 = 339; -pub const SYS_sigprocmask: u32 = 340; -pub const SYS_sigsuspend: u32 = 341; -pub const SYS_sigpending: u32 = 343; -pub const SYS_sigtimedwait: u32 = 345; -pub const SYS_sigwaitinfo: u32 = 346; -pub const SYS___acl_get_file: u32 = 347; -pub const SYS___acl_set_file: u32 = 348; -pub const SYS___acl_get_fd: u32 = 349; -pub const SYS___acl_set_fd: u32 = 350; -pub const SYS___acl_delete_file: u32 = 351; -pub const SYS___acl_delete_fd: u32 = 352; -pub const SYS___acl_aclcheck_file: u32 = 353; -pub const SYS___acl_aclcheck_fd: u32 = 354; -pub const SYS_extattrctl: u32 = 355; -pub const SYS_extattr_set_file: u32 = 356; -pub const SYS_extattr_get_file: u32 = 357; -pub const SYS_extattr_delete_file: u32 = 358; -pub const SYS_aio_waitcomplete: u32 = 359; -pub const SYS_getresuid: u32 = 360; -pub const SYS_getresgid: u32 = 361; -pub const SYS_kqueue: u32 = 362; -pub const SYS_freebsd11_kevent: u32 = 363; -pub const SYS_extattr_set_fd: u32 = 371; -pub const SYS_extattr_get_fd: u32 = 372; -pub const SYS_extattr_delete_fd: u32 = 373; -pub const SYS___setugid: u32 = 374; -pub const SYS_eaccess: u32 = 376; -pub const SYS_afs3_syscall: u32 = 377; -pub const SYS_nmount: u32 = 378; -pub const SYS___mac_get_proc: u32 = 384; -pub const SYS___mac_set_proc: u32 = 385; -pub const SYS___mac_get_fd: u32 = 386; -pub const SYS___mac_get_file: u32 = 387; -pub const SYS___mac_set_fd: u32 = 388; -pub const SYS___mac_set_file: u32 = 389; -pub const SYS_kenv: u32 = 390; -pub const SYS_lchflags: u32 = 391; -pub const SYS_uuidgen: u32 = 392; -pub const SYS_sendfile: u32 = 393; -pub const SYS_mac_syscall: u32 = 394; -pub const SYS_freebsd11_getfsstat: u32 = 395; -pub const SYS_freebsd11_statfs: u32 = 396; -pub const SYS_freebsd11_fstatfs: u32 = 397; -pub const SYS_freebsd11_fhstatfs: u32 = 398; -pub const SYS_ksem_close: u32 = 400; -pub const SYS_ksem_post: u32 = 401; -pub const SYS_ksem_wait: u32 = 402; -pub const SYS_ksem_trywait: u32 = 403; -pub const SYS_ksem_init: u32 = 404; -pub const SYS_ksem_open: u32 = 405; -pub const SYS_ksem_unlink: u32 = 406; -pub const SYS_ksem_getvalue: u32 = 407; -pub const SYS_ksem_destroy: u32 = 408; -pub const SYS___mac_get_pid: u32 = 409; -pub const SYS___mac_get_link: u32 = 410; -pub const SYS___mac_set_link: u32 = 411; -pub const SYS_extattr_set_link: u32 = 412; -pub const SYS_extattr_get_link: u32 = 413; -pub const SYS_extattr_delete_link: u32 = 414; -pub const SYS___mac_execve: u32 = 415; -pub const SYS_sigaction: u32 = 416; -pub const SYS_sigreturn: u32 = 417; -pub const SYS_getcontext: u32 = 421; -pub const SYS_setcontext: u32 = 422; -pub const SYS_swapcontext: u32 = 423; -pub const SYS_freebsd13_swapoff: u32 = 424; -pub const SYS___acl_get_link: u32 = 425; -pub const SYS___acl_set_link: u32 = 426; -pub const SYS___acl_delete_link: u32 = 427; -pub const SYS___acl_aclcheck_link: u32 = 428; -pub const SYS_sigwait: u32 = 429; -pub const SYS_thr_create: u32 = 430; -pub const SYS_thr_exit: u32 = 431; -pub const SYS_thr_self: u32 = 432; -pub const SYS_thr_kill: u32 = 433; -pub const SYS_freebsd10__umtx_lock: u32 = 434; -pub const SYS_freebsd10__umtx_unlock: u32 = 435; -pub const SYS_jail_attach: u32 = 436; -pub const SYS_extattr_list_fd: u32 = 437; -pub const SYS_extattr_list_file: u32 = 438; -pub const SYS_extattr_list_link: u32 = 439; -pub const SYS_ksem_timedwait: u32 = 441; -pub const SYS_thr_suspend: u32 = 442; -pub const SYS_thr_wake: u32 = 443; -pub const SYS_kldunloadf: u32 = 444; -pub const SYS_audit: u32 = 445; -pub const SYS_auditon: u32 = 446; -pub const SYS_getauid: u32 = 447; -pub const SYS_setauid: u32 = 448; -pub const SYS_getaudit: u32 = 449; -pub const SYS_setaudit: u32 = 450; -pub const SYS_getaudit_addr: u32 = 451; -pub const SYS_setaudit_addr: u32 = 452; -pub const SYS_auditctl: u32 = 453; -pub const SYS__umtx_op: u32 = 454; -pub const SYS_thr_new: u32 = 455; -pub const SYS_sigqueue: u32 = 456; -pub const SYS_kmq_open: u32 = 457; -pub const SYS_kmq_setattr: u32 = 458; -pub const SYS_kmq_timedreceive: u32 = 459; -pub const SYS_kmq_timedsend: u32 = 460; -pub const SYS_kmq_notify: u32 = 461; -pub const SYS_kmq_unlink: u32 = 462; -pub const SYS_abort2: u32 = 463; -pub const SYS_thr_set_name: u32 = 464; -pub const SYS_aio_fsync: u32 = 465; -pub const SYS_rtprio_thread: u32 = 466; -pub const SYS_sctp_peeloff: u32 = 471; -pub const SYS_sctp_generic_sendmsg: u32 = 472; -pub const SYS_sctp_generic_sendmsg_iov: u32 = 473; -pub const SYS_sctp_generic_recvmsg: u32 = 474; -pub const SYS_pread: u32 = 475; -pub const SYS_pwrite: u32 = 476; -pub const SYS_mmap: u32 = 477; -pub const SYS_lseek: u32 = 478; -pub const SYS_truncate: u32 = 479; -pub const SYS_ftruncate: u32 = 480; -pub const SYS_thr_kill2: u32 = 481; -pub const SYS_freebsd12_shm_open: u32 = 482; -pub const SYS_shm_unlink: u32 = 483; -pub const SYS_cpuset: u32 = 484; -pub const SYS_cpuset_setid: u32 = 485; -pub const SYS_cpuset_getid: u32 = 486; -pub const SYS_cpuset_getaffinity: u32 = 487; -pub const SYS_cpuset_setaffinity: u32 = 488; -pub const SYS_faccessat: u32 = 489; -pub const SYS_fchmodat: u32 = 490; -pub const SYS_fchownat: u32 = 491; -pub const SYS_fexecve: u32 = 492; -pub const SYS_freebsd11_fstatat: u32 = 493; -pub const SYS_futimesat: u32 = 494; -pub const SYS_linkat: u32 = 495; -pub const SYS_mkdirat: u32 = 496; -pub const SYS_mkfifoat: u32 = 497; -pub const SYS_freebsd11_mknodat: u32 = 498; -pub const SYS_openat: u32 = 499; -pub const SYS_readlinkat: u32 = 500; -pub const SYS_renameat: u32 = 501; -pub const SYS_symlinkat: u32 = 502; -pub const SYS_unlinkat: u32 = 503; -pub const SYS_posix_openpt: u32 = 504; -pub const SYS_gssd_syscall: u32 = 505; -pub const SYS_jail_get: u32 = 506; -pub const SYS_jail_set: u32 = 507; -pub const SYS_jail_remove: u32 = 508; -pub const SYS_freebsd12_closefrom: u32 = 509; -pub const SYS___semctl: u32 = 510; -pub const SYS_msgctl: u32 = 511; -pub const SYS_shmctl: u32 = 512; -pub const SYS_lpathconf: u32 = 513; -pub const SYS___cap_rights_get: u32 = 515; -pub const SYS_cap_enter: u32 = 516; -pub const SYS_cap_getmode: u32 = 517; -pub const SYS_pdfork: u32 = 518; -pub const SYS_pdkill: u32 = 519; -pub const SYS_pdgetpid: u32 = 520; -pub const SYS_pselect: u32 = 522; -pub const SYS_getloginclass: u32 = 523; -pub const SYS_setloginclass: u32 = 524; -pub const SYS_rctl_get_racct: u32 = 525; -pub const SYS_rctl_get_rules: u32 = 526; -pub const SYS_rctl_get_limits: u32 = 527; -pub const SYS_rctl_add_rule: u32 = 528; -pub const SYS_rctl_remove_rule: u32 = 529; -pub const SYS_posix_fallocate: u32 = 530; -pub const SYS_posix_fadvise: u32 = 531; -pub const SYS_wait6: u32 = 532; -pub const SYS_cap_rights_limit: u32 = 533; -pub const SYS_cap_ioctls_limit: u32 = 534; -pub const SYS_cap_ioctls_get: u32 = 535; -pub const SYS_cap_fcntls_limit: u32 = 536; -pub const SYS_cap_fcntls_get: u32 = 537; -pub const SYS_bindat: u32 = 538; -pub const SYS_connectat: u32 = 539; -pub const SYS_chflagsat: u32 = 540; -pub const SYS_accept4: u32 = 541; -pub const SYS_pipe2: u32 = 542; -pub const SYS_aio_mlock: u32 = 543; -pub const SYS_procctl: u32 = 544; -pub const SYS_ppoll: u32 = 545; -pub const SYS_futimens: u32 = 546; -pub const SYS_utimensat: u32 = 547; -pub const SYS_fdatasync: u32 = 550; -pub const SYS_fstat: u32 = 551; -pub const SYS_fstatat: u32 = 552; -pub const SYS_fhstat: u32 = 553; -pub const SYS_getdirentries: u32 = 554; -pub const SYS_statfs: u32 = 555; -pub const SYS_fstatfs: u32 = 556; -pub const SYS_getfsstat: u32 = 557; -pub const SYS_fhstatfs: u32 = 558; -pub const SYS_mknodat: u32 = 559; -pub const SYS_kevent: u32 = 560; -pub const SYS_cpuset_getdomain: u32 = 561; -pub const SYS_cpuset_setdomain: u32 = 562; -pub const SYS_getrandom: u32 = 563; -pub const SYS_getfhat: u32 = 564; -pub const SYS_fhlink: u32 = 565; -pub const SYS_fhlinkat: u32 = 566; -pub const SYS_fhreadlink: u32 = 567; -pub const SYS_funlinkat: u32 = 568; -pub const SYS_copy_file_range: u32 = 569; -pub const SYS___sysctlbyname: u32 = 570; -pub const SYS_shm_open2: u32 = 571; -pub const SYS_shm_rename: u32 = 572; -pub const SYS_sigfastblock: u32 = 573; -pub const SYS___realpathat: u32 = 574; -pub const SYS_close_range: u32 = 575; -pub const SYS_rpctls_syscall: u32 = 576; -pub const SYS___specialfd: u32 = 577; -pub const SYS_aio_writev: u32 = 578; -pub const SYS_aio_readv: u32 = 579; -pub const SYS_fspacectl: u32 = 580; -pub const SYS_sched_getcpu: u32 = 581; -pub const SYS_swapoff: u32 = 582; -pub const SYS_kqueuex: u32 = 583; -pub const SYS_membarrier: u32 = 584; -pub const SYS_timerfd_create: u32 = 585; -pub const SYS_timerfd_gettime: u32 = 586; -pub const SYS_timerfd_settime: u32 = 587; -pub const SYS_kcmp: u32 = 588; -pub const SYS_getrlimitusage: u32 = 589; -pub const SYS_MAXSYSCALL: u32 = 590; diff --git a/tests/helper/src/gen/sys/aarch64_freebsd/sys_sysctl.rs b/tests/helper/src/gen/sys/aarch64_freebsd/sys_sysctl.rs deleted file mode 100644 index c84111ec..00000000 --- a/tests/helper/src/gen/sys/aarch64_freebsd/sys_sysctl.rs +++ /dev/null @@ -1,10 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -pub const CTL_KERN: u32 = 1; -pub const KERN_PROC: u32 = 14; -pub const KERN_PROC_AUXV: u32 = 36; diff --git a/tests/helper/src/gen/sys/aarch64_fuchsia/mod.rs b/tests/helper/src/gen/sys/aarch64_fuchsia/mod.rs deleted file mode 100644 index 27c5d34f..00000000 --- a/tests/helper/src/gen/sys/aarch64_fuchsia/mod.rs +++ /dev/null @@ -1,42 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] -mod zircon_system_public_zircon_types; -pub use zircon_system_public_zircon_types::zx_status_t; -mod zircon_system_public_zircon_errors; -pub use zircon_system_public_zircon_errors::ZX_OK; -mod zircon_system_public_zircon_features; -pub use zircon_system_public_zircon_features::ZX_FEATURE_KIND_CPU; -pub use zircon_system_public_zircon_features::ZX_FEATURE_KIND_HW_BREAKPOINT_COUNT; -pub use zircon_system_public_zircon_features::ZX_FEATURE_KIND_HW_WATCHPOINT_COUNT; -pub use zircon_system_public_zircon_features::ZX_FEATURE_KIND_ADDRESS_TAGGING; -pub use zircon_system_public_zircon_features::ZX_FEATURE_KIND_VM; -pub use zircon_system_public_zircon_features::ZX_HAS_CPU_FEATURES; -pub use zircon_system_public_zircon_features::ZX_VM_FEATURE_CAN_MAP_XOM; -pub use zircon_system_public_zircon_features::ZX_ARM64_FEATURE_ISA_FP; -pub use zircon_system_public_zircon_features::ZX_ARM64_FEATURE_ISA_ASIMD; -pub use zircon_system_public_zircon_features::ZX_ARM64_FEATURE_ISA_AES; -pub use zircon_system_public_zircon_features::ZX_ARM64_FEATURE_ISA_PMULL; -pub use zircon_system_public_zircon_features::ZX_ARM64_FEATURE_ISA_SHA1; -pub use zircon_system_public_zircon_features::ZX_ARM64_FEATURE_ISA_SHA256; -pub use zircon_system_public_zircon_features::ZX_ARM64_FEATURE_ISA_CRC32; -pub use zircon_system_public_zircon_features::ZX_ARM64_FEATURE_ISA_ATOMICS; -pub use zircon_system_public_zircon_features::ZX_ARM64_FEATURE_ISA_RDM; -pub use zircon_system_public_zircon_features::ZX_ARM64_FEATURE_ISA_SHA3; -pub use zircon_system_public_zircon_features::ZX_ARM64_FEATURE_ISA_SM3; -pub use zircon_system_public_zircon_features::ZX_ARM64_FEATURE_ISA_SM4; -pub use zircon_system_public_zircon_features::ZX_ARM64_FEATURE_ISA_DP; -pub use zircon_system_public_zircon_features::ZX_ARM64_FEATURE_ISA_DPB; -pub use zircon_system_public_zircon_features::ZX_ARM64_FEATURE_ISA_FHM; -pub use zircon_system_public_zircon_features::ZX_ARM64_FEATURE_ISA_TS; -pub use zircon_system_public_zircon_features::ZX_ARM64_FEATURE_ISA_RNDR; -pub use zircon_system_public_zircon_features::ZX_ARM64_FEATURE_ISA_SHA512; -pub use zircon_system_public_zircon_features::ZX_ARM64_FEATURE_ISA_I8MM; -pub use zircon_system_public_zircon_features::ZX_ARM64_FEATURE_ISA_SVE; -pub use zircon_system_public_zircon_features::ZX_ARM64_FEATURE_ISA_ARM32; -pub use zircon_system_public_zircon_features::ZX_ARM64_FEATURE_ISA_SHA2; -pub use zircon_system_public_zircon_features::ZX_ARM64_FEATURE_ADDRESS_TAGGING_TBI; -pub type c_char = u8; diff --git a/tests/helper/src/gen/sys/aarch64_fuchsia/zircon_system_public_zircon_errors.rs b/tests/helper/src/gen/sys/aarch64_fuchsia/zircon_system_public_zircon_errors.rs deleted file mode 100644 index b077ae8e..00000000 --- a/tests/helper/src/gen/sys/aarch64_fuchsia/zircon_system_public_zircon_errors.rs +++ /dev/null @@ -1,8 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -pub const ZX_OK: u32 = 0; diff --git a/tests/helper/src/gen/sys/aarch64_fuchsia/zircon_system_public_zircon_features.rs b/tests/helper/src/gen/sys/aarch64_fuchsia/zircon_system_public_zircon_features.rs deleted file mode 100644 index d48c0c1e..00000000 --- a/tests/helper/src/gen/sys/aarch64_fuchsia/zircon_system_public_zircon_features.rs +++ /dev/null @@ -1,37 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -pub const ZX_FEATURE_KIND_CPU: u32 = 0u8 as u32; -pub const ZX_FEATURE_KIND_HW_BREAKPOINT_COUNT: u32 = 1u8 as u32; -pub const ZX_FEATURE_KIND_HW_WATCHPOINT_COUNT: u32 = 2u8 as u32; -pub const ZX_FEATURE_KIND_ADDRESS_TAGGING: u32 = 3u8 as u32; -pub const ZX_FEATURE_KIND_VM: u32 = 4u8 as u32; -pub const ZX_HAS_CPU_FEATURES: u32 = 1u8 as u32; -pub const ZX_VM_FEATURE_CAN_MAP_XOM: u32 = 1u8 as u32; -pub const ZX_ARM64_FEATURE_ISA_FP: u32 = 2u8 as u32; -pub const ZX_ARM64_FEATURE_ISA_ASIMD: u32 = 4u8 as u32; -pub const ZX_ARM64_FEATURE_ISA_AES: u32 = 8u8 as u32; -pub const ZX_ARM64_FEATURE_ISA_PMULL: u32 = 16u8 as u32; -pub const ZX_ARM64_FEATURE_ISA_SHA1: u32 = 32u8 as u32; -pub const ZX_ARM64_FEATURE_ISA_SHA256: u32 = 64u8 as u32; -pub const ZX_ARM64_FEATURE_ISA_CRC32: u32 = 128u8 as u32; -pub const ZX_ARM64_FEATURE_ISA_ATOMICS: u32 = 256u16 as u32; -pub const ZX_ARM64_FEATURE_ISA_RDM: u32 = 512u16 as u32; -pub const ZX_ARM64_FEATURE_ISA_SHA3: u32 = 1024u16 as u32; -pub const ZX_ARM64_FEATURE_ISA_SM3: u32 = 2048u16 as u32; -pub const ZX_ARM64_FEATURE_ISA_SM4: u32 = 4096u16 as u32; -pub const ZX_ARM64_FEATURE_ISA_DP: u32 = 8192u16 as u32; -pub const ZX_ARM64_FEATURE_ISA_DPB: u32 = 16384u16 as u32; -pub const ZX_ARM64_FEATURE_ISA_FHM: u32 = 32768u16 as u32; -pub const ZX_ARM64_FEATURE_ISA_TS: u32 = 65536u32 as u32; -pub const ZX_ARM64_FEATURE_ISA_RNDR: u32 = 131072u32 as u32; -pub const ZX_ARM64_FEATURE_ISA_SHA512: u32 = 262144u32 as u32; -pub const ZX_ARM64_FEATURE_ISA_I8MM: u32 = 524288u32 as u32; -pub const ZX_ARM64_FEATURE_ISA_SVE: u32 = 1048576u32 as u32; -pub const ZX_ARM64_FEATURE_ISA_ARM32: u32 = 2097152u32 as u32; -pub const ZX_ARM64_FEATURE_ISA_SHA2: u32 = 64u8 as u32; -pub const ZX_ARM64_FEATURE_ADDRESS_TAGGING_TBI: u32 = 1u8 as u32; diff --git a/tests/helper/src/gen/sys/aarch64_fuchsia/zircon_system_public_zircon_types.rs b/tests/helper/src/gen/sys/aarch64_fuchsia/zircon_system_public_zircon_types.rs deleted file mode 100644 index 2821fdd6..00000000 --- a/tests/helper/src/gen/sys/aarch64_fuchsia/zircon_system_public_zircon_types.rs +++ /dev/null @@ -1,8 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -pub type zx_status_t = i32; diff --git a/tests/helper/src/gen/sys/aarch64_illumos/mod.rs b/tests/helper/src/gen/sys/aarch64_illumos/mod.rs deleted file mode 100644 index 732964d6..00000000 --- a/tests/helper/src/gen/sys/aarch64_illumos/mod.rs +++ /dev/null @@ -1,73 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] -mod sys_auxv; -pub use sys_auxv::getisax; -mod sys_auxv_aarch64; -pub use sys_auxv_aarch64::AV_AARCH64_FP; -pub use sys_auxv_aarch64::AV_AARCH64_ADVSIMD; -pub use sys_auxv_aarch64::AV_AARCH64_SVE; -pub use sys_auxv_aarch64::AV_AARCH64_CRC32; -pub use sys_auxv_aarch64::AV_AARCH64_SB; -pub use sys_auxv_aarch64::AV_AARCH64_SSBS; -pub use sys_auxv_aarch64::AV_AARCH64_DGH; -pub use sys_auxv_aarch64::AV_AARCH64_AES; -pub use sys_auxv_aarch64::AV_AARCH64_PMULL; -pub use sys_auxv_aarch64::AV_AARCH64_SHA1; -pub use sys_auxv_aarch64::AV_AARCH64_SHA256; -pub use sys_auxv_aarch64::AV_AARCH64_SHA512; -pub use sys_auxv_aarch64::AV_AARCH64_SHA3; -pub use sys_auxv_aarch64::AV_AARCH64_SM3; -pub use sys_auxv_aarch64::AV_AARCH64_SM4; -pub use sys_auxv_aarch64::AV_AARCH64_LSE; -pub use sys_auxv_aarch64::AV_AARCH64_RDM; -pub use sys_auxv_aarch64::AV_AARCH64_FP16; -pub use sys_auxv_aarch64::AV_AARCH64_DOTPROD; -pub use sys_auxv_aarch64::AV_AARCH64_FHM; -pub use sys_auxv_aarch64::AV_AARCH64_DCPOP; -pub use sys_auxv_aarch64::AV_AARCH64_F32MM; -pub use sys_auxv_aarch64::AV_AARCH64_F64MM; -pub use sys_auxv_aarch64::AV_AARCH64_DCPODP; -pub use sys_auxv_aarch64::AV_AARCH64_BF16; -pub use sys_auxv_aarch64::AV_AARCH64_I8MM; -pub use sys_auxv_aarch64::AV_AARCH64_FCMA; -pub use sys_auxv_aarch64::AV_AARCH64_JSCVT; -pub use sys_auxv_aarch64::AV_AARCH64_LRCPC; -pub use sys_auxv_aarch64::AV_AARCH64_PACA; -pub use sys_auxv_aarch64::AV_AARCH64_PACG; -pub use sys_auxv_aarch64::AV_AARCH64_DIT; -pub use sys_auxv_aarch64::AV_AARCH64_2_FLAGM; -pub use sys_auxv_aarch64::AV_AARCH64_2_ILRCPC; -pub use sys_auxv_aarch64::AV_AARCH64_2_LSE2; -pub use sys_auxv_aarch64::AV_AARCH64_2_FLAGM2; -pub use sys_auxv_aarch64::AV_AARCH64_2_FRINTTS; -pub use sys_auxv_aarch64::AV_AARCH64_2_BTI; -pub use sys_auxv_aarch64::AV_AARCH64_2_RNG; -pub use sys_auxv_aarch64::AV_AARCH64_2_MTE; -pub use sys_auxv_aarch64::AV_AARCH64_2_MTE3; -pub use sys_auxv_aarch64::AV_AARCH64_2_ECV; -pub use sys_auxv_aarch64::AV_AARCH64_2_AFP; -pub use sys_auxv_aarch64::AV_AARCH64_2_RPRES; -pub use sys_auxv_aarch64::AV_AARCH64_2_LD64B; -pub use sys_auxv_aarch64::AV_AARCH64_2_ST64BV; -pub use sys_auxv_aarch64::AV_AARCH64_2_ST64BV0; -pub use sys_auxv_aarch64::AV_AARCH64_2_WFXT; -pub use sys_auxv_aarch64::AV_AARCH64_2_MOPS; -pub use sys_auxv_aarch64::AV_AARCH64_2_HBC; -pub use sys_auxv_aarch64::AV_AARCH64_2_CMOW; -pub use sys_auxv_aarch64::AV_AARCH64_2_SVE2; -pub use sys_auxv_aarch64::AV_AARCH64_2_SVE2_AES; -pub use sys_auxv_aarch64::AV_AARCH64_2_SVE2_BITPERM; -pub use sys_auxv_aarch64::AV_AARCH64_2_SVE2_PMULL128; -pub use sys_auxv_aarch64::AV_AARCH64_2_SVE2_SHA3; -pub use sys_auxv_aarch64::AV_AARCH64_2_SVE2_SM4; -pub use sys_auxv_aarch64::AV_AARCH64_2_TME; -pub use sys_auxv_aarch64::AV_AARCH64_2_SME; -pub use sys_auxv_aarch64::AV_AARCH64_2_SME_FA64; -pub use sys_auxv_aarch64::AV_AARCH64_2_EBF16; -pub use sys_auxv_aarch64::AV_AARCH64_2_SME_F64F64; -pub use sys_auxv_aarch64::AV_AARCH64_2_SME_I16I64; -pub type c_char = u8; diff --git a/tests/helper/src/gen/sys/aarch64_illumos/sys_auxv.rs b/tests/helper/src/gen/sys/aarch64_illumos/sys_auxv.rs deleted file mode 100644 index 759f5323..00000000 --- a/tests/helper/src/gen/sys/aarch64_illumos/sys_auxv.rs +++ /dev/null @@ -1,11 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -pub type uint_t = ::std::os::raw::c_uint; -extern "C" { - pub fn getisax(arg1: *mut u32, arg2: uint_t) -> uint_t; -} diff --git a/tests/helper/src/gen/sys/aarch64_illumos/sys_auxv_aarch64.rs b/tests/helper/src/gen/sys/aarch64_illumos/sys_auxv_aarch64.rs deleted file mode 100644 index 957c76c5..00000000 --- a/tests/helper/src/gen/sys/aarch64_illumos/sys_auxv_aarch64.rs +++ /dev/null @@ -1,70 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -pub const AV_AARCH64_FP: u32 = 1; -pub const AV_AARCH64_ADVSIMD: u32 = 2; -pub const AV_AARCH64_SVE: u32 = 4; -pub const AV_AARCH64_CRC32: u32 = 8; -pub const AV_AARCH64_SB: u32 = 16; -pub const AV_AARCH64_SSBS: u32 = 32; -pub const AV_AARCH64_DGH: u32 = 64; -pub const AV_AARCH64_AES: u32 = 128; -pub const AV_AARCH64_PMULL: u32 = 256; -pub const AV_AARCH64_SHA1: u32 = 512; -pub const AV_AARCH64_SHA256: u32 = 1024; -pub const AV_AARCH64_SHA512: u32 = 2048; -pub const AV_AARCH64_SHA3: u32 = 4096; -pub const AV_AARCH64_SM3: u32 = 8192; -pub const AV_AARCH64_SM4: u32 = 16384; -pub const AV_AARCH64_LSE: u32 = 32768; -pub const AV_AARCH64_RDM: u32 = 65536; -pub const AV_AARCH64_FP16: u32 = 131072; -pub const AV_AARCH64_DOTPROD: u32 = 262144; -pub const AV_AARCH64_FHM: u32 = 524288; -pub const AV_AARCH64_DCPOP: u32 = 1048576; -pub const AV_AARCH64_F32MM: u32 = 2097152; -pub const AV_AARCH64_F64MM: u32 = 4194304; -pub const AV_AARCH64_DCPODP: u32 = 8388608; -pub const AV_AARCH64_BF16: u32 = 16777216; -pub const AV_AARCH64_I8MM: u32 = 33554432; -pub const AV_AARCH64_FCMA: u32 = 67108864; -pub const AV_AARCH64_JSCVT: u32 = 134217728; -pub const AV_AARCH64_LRCPC: u32 = 268435456; -pub const AV_AARCH64_PACA: u32 = 536870912; -pub const AV_AARCH64_PACG: u32 = 1073741824; -pub const AV_AARCH64_DIT: u32 = 2147483648; -pub const AV_AARCH64_2_FLAGM: u32 = 1; -pub const AV_AARCH64_2_ILRCPC: u32 = 2; -pub const AV_AARCH64_2_LSE2: u32 = 4; -pub const AV_AARCH64_2_FLAGM2: u32 = 8; -pub const AV_AARCH64_2_FRINTTS: u32 = 16; -pub const AV_AARCH64_2_BTI: u32 = 32; -pub const AV_AARCH64_2_RNG: u32 = 64; -pub const AV_AARCH64_2_MTE: u32 = 128; -pub const AV_AARCH64_2_MTE3: u32 = 256; -pub const AV_AARCH64_2_ECV: u32 = 512; -pub const AV_AARCH64_2_AFP: u32 = 1024; -pub const AV_AARCH64_2_RPRES: u32 = 2048; -pub const AV_AARCH64_2_LD64B: u32 = 4096; -pub const AV_AARCH64_2_ST64BV: u32 = 8192; -pub const AV_AARCH64_2_ST64BV0: u32 = 16384; -pub const AV_AARCH64_2_WFXT: u32 = 32768; -pub const AV_AARCH64_2_MOPS: u32 = 65536; -pub const AV_AARCH64_2_HBC: u32 = 131072; -pub const AV_AARCH64_2_CMOW: u32 = 262144; -pub const AV_AARCH64_2_SVE2: u32 = 524288; -pub const AV_AARCH64_2_SVE2_AES: u32 = 1048576; -pub const AV_AARCH64_2_SVE2_BITPERM: u32 = 2097152; -pub const AV_AARCH64_2_SVE2_PMULL128: u32 = 4194304; -pub const AV_AARCH64_2_SVE2_SHA3: u32 = 8388608; -pub const AV_AARCH64_2_SVE2_SM4: u32 = 16777216; -pub const AV_AARCH64_2_TME: u32 = 33554432; -pub const AV_AARCH64_2_SME: u32 = 67108864; -pub const AV_AARCH64_2_SME_FA64: u32 = 134217728; -pub const AV_AARCH64_2_EBF16: u32 = 268435456; -pub const AV_AARCH64_2_SME_F64F64: u32 = 536870912; -pub const AV_AARCH64_2_SME_I16I64: u32 = 1073741824; diff --git a/tests/helper/src/gen/sys/aarch64_linux_android/dlfcn.rs b/tests/helper/src/gen/sys/aarch64_linux_android/dlfcn.rs deleted file mode 100644 index 70c321a7..00000000 --- a/tests/helper/src/gen/sys/aarch64_linux_android/dlfcn.rs +++ /dev/null @@ -1,14 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -extern "C" { - pub fn dlsym( - __handle: *mut ::core::ffi::c_void, - __symbol: *const ::std::os::raw::c_char, - ) -> *mut ::core::ffi::c_void; -} -pub const RTLD_DEFAULT: *mut ::std::os::raw::c_void = ::core::ptr::null_mut(); diff --git a/tests/helper/src/gen/sys/aarch64_linux_android/elf.rs b/tests/helper/src/gen/sys/aarch64_linux_android/elf.rs deleted file mode 100644 index 67652ede..00000000 --- a/tests/helper/src/gen/sys/aarch64_linux_android/elf.rs +++ /dev/null @@ -1,31 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -pub type __u32 = ::std::os::raw::c_uint; -pub type __u64 = ::std::os::raw::c_ulonglong; -#[repr(C)] -#[derive(Copy, Clone)] -pub struct Elf32_auxv_t { - pub a_type: __u32, - pub a_un: Elf32_auxv_t__bindgen_ty_1, -} -#[repr(C)] -#[derive(Copy, Clone)] -pub union Elf32_auxv_t__bindgen_ty_1 { - pub a_val: __u32, -} -#[repr(C)] -#[derive(Copy, Clone)] -pub struct Elf64_auxv_t { - pub a_type: __u64, - pub a_un: Elf64_auxv_t__bindgen_ty_1, -} -#[repr(C)] -#[derive(Copy, Clone)] -pub union Elf64_auxv_t__bindgen_ty_1 { - pub a_val: __u64, -} diff --git a/tests/helper/src/gen/sys/aarch64_linux_android/linux_headers_asm_hwcap.rs b/tests/helper/src/gen/sys/aarch64_linux_android/linux_headers_asm_hwcap.rs deleted file mode 100644 index 3b593c9f..00000000 --- a/tests/helper/src/gen/sys/aarch64_linux_android/linux_headers_asm_hwcap.rs +++ /dev/null @@ -1,103 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -pub const HWCAP_FP: u32 = 1; -pub const HWCAP_ASIMD: u32 = 2; -pub const HWCAP_EVTSTRM: u32 = 4; -pub const HWCAP_AES: u32 = 8; -pub const HWCAP_PMULL: u32 = 16; -pub const HWCAP_SHA1: u32 = 32; -pub const HWCAP_SHA2: u32 = 64; -pub const HWCAP_CRC32: u32 = 128; -pub const HWCAP_ATOMICS: u32 = 256; -pub const HWCAP_FPHP: u32 = 512; -pub const HWCAP_ASIMDHP: u32 = 1024; -pub const HWCAP_CPUID: u32 = 2048; -pub const HWCAP_ASIMDRDM: u32 = 4096; -pub const HWCAP_JSCVT: u32 = 8192; -pub const HWCAP_FCMA: u32 = 16384; -pub const HWCAP_LRCPC: u32 = 32768; -pub const HWCAP_DCPOP: u32 = 65536; -pub const HWCAP_SHA3: u32 = 131072; -pub const HWCAP_SM3: u32 = 262144; -pub const HWCAP_SM4: u32 = 524288; -pub const HWCAP_ASIMDDP: u32 = 1048576; -pub const HWCAP_SHA512: u32 = 2097152; -pub const HWCAP_SVE: u32 = 4194304; -pub const HWCAP_ASIMDFHM: u32 = 8388608; -pub const HWCAP_DIT: u32 = 16777216; -pub const HWCAP_USCAT: u32 = 33554432; -pub const HWCAP_ILRCPC: u32 = 67108864; -pub const HWCAP_FLAGM: u32 = 134217728; -pub const HWCAP_SSBS: u32 = 268435456; -pub const HWCAP_SB: u32 = 536870912; -pub const HWCAP_PACA: u32 = 1073741824; -pub const HWCAP_PACG: u32 = 2147483648; -pub const HWCAP2_DCPODP: u32 = 1; -pub const HWCAP2_SVE2: u32 = 2; -pub const HWCAP2_SVEAES: u32 = 4; -pub const HWCAP2_SVEPMULL: u32 = 8; -pub const HWCAP2_SVEBITPERM: u32 = 16; -pub const HWCAP2_SVESHA3: u32 = 32; -pub const HWCAP2_SVESM4: u32 = 64; -pub const HWCAP2_FLAGM2: u32 = 128; -pub const HWCAP2_FRINT: u32 = 256; -pub const HWCAP2_SVEI8MM: u32 = 512; -pub const HWCAP2_SVEF32MM: u32 = 1024; -pub const HWCAP2_SVEF64MM: u32 = 2048; -pub const HWCAP2_SVEBF16: u32 = 4096; -pub const HWCAP2_I8MM: u32 = 8192; -pub const HWCAP2_BF16: u32 = 16384; -pub const HWCAP2_DGH: u32 = 32768; -pub const HWCAP2_RNG: u32 = 65536; -pub const HWCAP2_BTI: u32 = 131072; -pub const HWCAP2_MTE: u32 = 262144; -pub const HWCAP2_ECV: u32 = 524288; -pub const HWCAP2_AFP: u32 = 1048576; -pub const HWCAP2_RPRES: u32 = 2097152; -pub const HWCAP2_MTE3: u32 = 4194304; -pub const HWCAP2_SME: u32 = 8388608; -pub const HWCAP2_SME_I16I64: u32 = 16777216; -pub const HWCAP2_SME_F64F64: u32 = 33554432; -pub const HWCAP2_SME_I8I32: u32 = 67108864; -pub const HWCAP2_SME_F16F32: u32 = 134217728; -pub const HWCAP2_SME_B16F32: u32 = 268435456; -pub const HWCAP2_SME_F32F32: u32 = 536870912; -pub const HWCAP2_SME_FA64: u32 = 1073741824; -pub const HWCAP2_WFXT: u32 = 2147483648; -pub const HWCAP2_EBF16: u64 = 4294967296; -pub const HWCAP2_SVE_EBF16: u64 = 8589934592; -pub const HWCAP2_CSSC: u64 = 17179869184; -pub const HWCAP2_RPRFM: u64 = 34359738368; -pub const HWCAP2_SVE2P1: u64 = 68719476736; -pub const HWCAP2_SME2: u64 = 137438953472; -pub const HWCAP2_SME2P1: u64 = 274877906944; -pub const HWCAP2_SME_I16I32: u64 = 549755813888; -pub const HWCAP2_SME_BI32I32: u64 = 1099511627776; -pub const HWCAP2_SME_B16B16: u64 = 2199023255552; -pub const HWCAP2_SME_F16F16: u64 = 4398046511104; -pub const HWCAP2_MOPS: u64 = 8796093022208; -pub const HWCAP2_HBC: u64 = 17592186044416; -pub const HWCAP2_SVE_B16B16: u64 = 35184372088832; -pub const HWCAP2_LRCPC3: u64 = 70368744177664; -pub const HWCAP2_LSE128: u64 = 140737488355328; -pub const HWCAP2_FPMR: u64 = 281474976710656; -pub const HWCAP2_LUT: u64 = 562949953421312; -pub const HWCAP2_FAMINMAX: u64 = 1125899906842624; -pub const HWCAP2_F8CVT: u64 = 2251799813685248; -pub const HWCAP2_F8FMA: u64 = 4503599627370496; -pub const HWCAP2_F8DP4: u64 = 9007199254740992; -pub const HWCAP2_F8DP2: u64 = 18014398509481984; -pub const HWCAP2_F8E4M3: u64 = 36028797018963968; -pub const HWCAP2_F8E5M2: u64 = 72057594037927936; -pub const HWCAP2_SME_LUTV2: u64 = 144115188075855872; -pub const HWCAP2_SME_F8F16: u64 = 288230376151711744; -pub const HWCAP2_SME_F8F32: u64 = 576460752303423488; -pub const HWCAP2_SME_SF8FMA: u64 = 1152921504606846976; -pub const HWCAP2_SME_SF8DP4: u64 = 2305843009213693952; -pub const HWCAP2_SME_SF8DP2: u64 = 4611686018427387904; -pub const HWCAP2_POE: u64 = 9223372036854775808; diff --git a/tests/helper/src/gen/sys/aarch64_linux_android/linux_headers_asm_unistd.rs b/tests/helper/src/gen/sys/aarch64_linux_android/linux_headers_asm_unistd.rs deleted file mode 100644 index 3d00edab..00000000 --- a/tests/helper/src/gen/sys/aarch64_linux_android/linux_headers_asm_unistd.rs +++ /dev/null @@ -1,325 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -pub const __NR_io_setup: u32 = 0; -pub const __NR_io_destroy: u32 = 1; -pub const __NR_io_submit: u32 = 2; -pub const __NR_io_cancel: u32 = 3; -pub const __NR_io_getevents: u32 = 4; -pub const __NR_setxattr: u32 = 5; -pub const __NR_lsetxattr: u32 = 6; -pub const __NR_fsetxattr: u32 = 7; -pub const __NR_getxattr: u32 = 8; -pub const __NR_lgetxattr: u32 = 9; -pub const __NR_fgetxattr: u32 = 10; -pub const __NR_listxattr: u32 = 11; -pub const __NR_llistxattr: u32 = 12; -pub const __NR_flistxattr: u32 = 13; -pub const __NR_removexattr: u32 = 14; -pub const __NR_lremovexattr: u32 = 15; -pub const __NR_fremovexattr: u32 = 16; -pub const __NR_getcwd: u32 = 17; -pub const __NR_lookup_dcookie: u32 = 18; -pub const __NR_eventfd2: u32 = 19; -pub const __NR_epoll_create1: u32 = 20; -pub const __NR_epoll_ctl: u32 = 21; -pub const __NR_epoll_pwait: u32 = 22; -pub const __NR_dup: u32 = 23; -pub const __NR_dup3: u32 = 24; -pub const __NR_fcntl: u32 = 25; -pub const __NR_inotify_init1: u32 = 26; -pub const __NR_inotify_add_watch: u32 = 27; -pub const __NR_inotify_rm_watch: u32 = 28; -pub const __NR_ioctl: u32 = 29; -pub const __NR_ioprio_set: u32 = 30; -pub const __NR_ioprio_get: u32 = 31; -pub const __NR_flock: u32 = 32; -pub const __NR_mknodat: u32 = 33; -pub const __NR_mkdirat: u32 = 34; -pub const __NR_unlinkat: u32 = 35; -pub const __NR_symlinkat: u32 = 36; -pub const __NR_linkat: u32 = 37; -pub const __NR_renameat: u32 = 38; -pub const __NR_umount2: u32 = 39; -pub const __NR_mount: u32 = 40; -pub const __NR_pivot_root: u32 = 41; -pub const __NR_nfsservctl: u32 = 42; -pub const __NR_statfs: u32 = 43; -pub const __NR_fstatfs: u32 = 44; -pub const __NR_truncate: u32 = 45; -pub const __NR_ftruncate: u32 = 46; -pub const __NR_fallocate: u32 = 47; -pub const __NR_faccessat: u32 = 48; -pub const __NR_chdir: u32 = 49; -pub const __NR_fchdir: u32 = 50; -pub const __NR_chroot: u32 = 51; -pub const __NR_fchmod: u32 = 52; -pub const __NR_fchmodat: u32 = 53; -pub const __NR_fchownat: u32 = 54; -pub const __NR_fchown: u32 = 55; -pub const __NR_openat: u32 = 56; -pub const __NR_close: u32 = 57; -pub const __NR_vhangup: u32 = 58; -pub const __NR_pipe2: u32 = 59; -pub const __NR_quotactl: u32 = 60; -pub const __NR_getdents64: u32 = 61; -pub const __NR_lseek: u32 = 62; -pub const __NR_read: u32 = 63; -pub const __NR_write: u32 = 64; -pub const __NR_readv: u32 = 65; -pub const __NR_writev: u32 = 66; -pub const __NR_pread64: u32 = 67; -pub const __NR_pwrite64: u32 = 68; -pub const __NR_preadv: u32 = 69; -pub const __NR_pwritev: u32 = 70; -pub const __NR_sendfile: u32 = 71; -pub const __NR_pselect6: u32 = 72; -pub const __NR_ppoll: u32 = 73; -pub const __NR_signalfd4: u32 = 74; -pub const __NR_vmsplice: u32 = 75; -pub const __NR_splice: u32 = 76; -pub const __NR_tee: u32 = 77; -pub const __NR_readlinkat: u32 = 78; -pub const __NR_newfstatat: u32 = 79; -pub const __NR_fstat: u32 = 80; -pub const __NR_sync: u32 = 81; -pub const __NR_fsync: u32 = 82; -pub const __NR_fdatasync: u32 = 83; -pub const __NR_sync_file_range: u32 = 84; -pub const __NR_timerfd_create: u32 = 85; -pub const __NR_timerfd_settime: u32 = 86; -pub const __NR_timerfd_gettime: u32 = 87; -pub const __NR_utimensat: u32 = 88; -pub const __NR_acct: u32 = 89; -pub const __NR_capget: u32 = 90; -pub const __NR_capset: u32 = 91; -pub const __NR_personality: u32 = 92; -pub const __NR_exit: u32 = 93; -pub const __NR_exit_group: u32 = 94; -pub const __NR_waitid: u32 = 95; -pub const __NR_set_tid_address: u32 = 96; -pub const __NR_unshare: u32 = 97; -pub const __NR_futex: u32 = 98; -pub const __NR_set_robust_list: u32 = 99; -pub const __NR_get_robust_list: u32 = 100; -pub const __NR_nanosleep: u32 = 101; -pub const __NR_getitimer: u32 = 102; -pub const __NR_setitimer: u32 = 103; -pub const __NR_kexec_load: u32 = 104; -pub const __NR_init_module: u32 = 105; -pub const __NR_delete_module: u32 = 106; -pub const __NR_timer_create: u32 = 107; -pub const __NR_timer_gettime: u32 = 108; -pub const __NR_timer_getoverrun: u32 = 109; -pub const __NR_timer_settime: u32 = 110; -pub const __NR_timer_delete: u32 = 111; -pub const __NR_clock_settime: u32 = 112; -pub const __NR_clock_gettime: u32 = 113; -pub const __NR_clock_getres: u32 = 114; -pub const __NR_clock_nanosleep: u32 = 115; -pub const __NR_syslog: u32 = 116; -pub const __NR_ptrace: u32 = 117; -pub const __NR_sched_setparam: u32 = 118; -pub const __NR_sched_setscheduler: u32 = 119; -pub const __NR_sched_getscheduler: u32 = 120; -pub const __NR_sched_getparam: u32 = 121; -pub const __NR_sched_setaffinity: u32 = 122; -pub const __NR_sched_getaffinity: u32 = 123; -pub const __NR_sched_yield: u32 = 124; -pub const __NR_sched_get_priority_max: u32 = 125; -pub const __NR_sched_get_priority_min: u32 = 126; -pub const __NR_sched_rr_get_interval: u32 = 127; -pub const __NR_restart_syscall: u32 = 128; -pub const __NR_kill: u32 = 129; -pub const __NR_tkill: u32 = 130; -pub const __NR_tgkill: u32 = 131; -pub const __NR_sigaltstack: u32 = 132; -pub const __NR_rt_sigsuspend: u32 = 133; -pub const __NR_rt_sigaction: u32 = 134; -pub const __NR_rt_sigprocmask: u32 = 135; -pub const __NR_rt_sigpending: u32 = 136; -pub const __NR_rt_sigtimedwait: u32 = 137; -pub const __NR_rt_sigqueueinfo: u32 = 138; -pub const __NR_rt_sigreturn: u32 = 139; -pub const __NR_setpriority: u32 = 140; -pub const __NR_getpriority: u32 = 141; -pub const __NR_reboot: u32 = 142; -pub const __NR_setregid: u32 = 143; -pub const __NR_setgid: u32 = 144; -pub const __NR_setreuid: u32 = 145; -pub const __NR_setuid: u32 = 146; -pub const __NR_setresuid: u32 = 147; -pub const __NR_getresuid: u32 = 148; -pub const __NR_setresgid: u32 = 149; -pub const __NR_getresgid: u32 = 150; -pub const __NR_setfsuid: u32 = 151; -pub const __NR_setfsgid: u32 = 152; -pub const __NR_times: u32 = 153; -pub const __NR_setpgid: u32 = 154; -pub const __NR_getpgid: u32 = 155; -pub const __NR_getsid: u32 = 156; -pub const __NR_setsid: u32 = 157; -pub const __NR_getgroups: u32 = 158; -pub const __NR_setgroups: u32 = 159; -pub const __NR_uname: u32 = 160; -pub const __NR_sethostname: u32 = 161; -pub const __NR_setdomainname: u32 = 162; -pub const __NR_getrlimit: u32 = 163; -pub const __NR_setrlimit: u32 = 164; -pub const __NR_getrusage: u32 = 165; -pub const __NR_umask: u32 = 166; -pub const __NR_prctl: u32 = 167; -pub const __NR_getcpu: u32 = 168; -pub const __NR_gettimeofday: u32 = 169; -pub const __NR_settimeofday: u32 = 170; -pub const __NR_adjtimex: u32 = 171; -pub const __NR_getpid: u32 = 172; -pub const __NR_getppid: u32 = 173; -pub const __NR_getuid: u32 = 174; -pub const __NR_geteuid: u32 = 175; -pub const __NR_getgid: u32 = 176; -pub const __NR_getegid: u32 = 177; -pub const __NR_gettid: u32 = 178; -pub const __NR_sysinfo: u32 = 179; -pub const __NR_mq_open: u32 = 180; -pub const __NR_mq_unlink: u32 = 181; -pub const __NR_mq_timedsend: u32 = 182; -pub const __NR_mq_timedreceive: u32 = 183; -pub const __NR_mq_notify: u32 = 184; -pub const __NR_mq_getsetattr: u32 = 185; -pub const __NR_msgget: u32 = 186; -pub const __NR_msgctl: u32 = 187; -pub const __NR_msgrcv: u32 = 188; -pub const __NR_msgsnd: u32 = 189; -pub const __NR_semget: u32 = 190; -pub const __NR_semctl: u32 = 191; -pub const __NR_semtimedop: u32 = 192; -pub const __NR_semop: u32 = 193; -pub const __NR_shmget: u32 = 194; -pub const __NR_shmctl: u32 = 195; -pub const __NR_shmat: u32 = 196; -pub const __NR_shmdt: u32 = 197; -pub const __NR_socket: u32 = 198; -pub const __NR_socketpair: u32 = 199; -pub const __NR_bind: u32 = 200; -pub const __NR_listen: u32 = 201; -pub const __NR_accept: u32 = 202; -pub const __NR_connect: u32 = 203; -pub const __NR_getsockname: u32 = 204; -pub const __NR_getpeername: u32 = 205; -pub const __NR_sendto: u32 = 206; -pub const __NR_recvfrom: u32 = 207; -pub const __NR_setsockopt: u32 = 208; -pub const __NR_getsockopt: u32 = 209; -pub const __NR_shutdown: u32 = 210; -pub const __NR_sendmsg: u32 = 211; -pub const __NR_recvmsg: u32 = 212; -pub const __NR_readahead: u32 = 213; -pub const __NR_brk: u32 = 214; -pub const __NR_munmap: u32 = 215; -pub const __NR_mremap: u32 = 216; -pub const __NR_add_key: u32 = 217; -pub const __NR_request_key: u32 = 218; -pub const __NR_keyctl: u32 = 219; -pub const __NR_clone: u32 = 220; -pub const __NR_execve: u32 = 221; -pub const __NR_mmap: u32 = 222; -pub const __NR_fadvise64: u32 = 223; -pub const __NR_swapon: u32 = 224; -pub const __NR_swapoff: u32 = 225; -pub const __NR_mprotect: u32 = 226; -pub const __NR_msync: u32 = 227; -pub const __NR_mlock: u32 = 228; -pub const __NR_munlock: u32 = 229; -pub const __NR_mlockall: u32 = 230; -pub const __NR_munlockall: u32 = 231; -pub const __NR_mincore: u32 = 232; -pub const __NR_madvise: u32 = 233; -pub const __NR_remap_file_pages: u32 = 234; -pub const __NR_mbind: u32 = 235; -pub const __NR_get_mempolicy: u32 = 236; -pub const __NR_set_mempolicy: u32 = 237; -pub const __NR_migrate_pages: u32 = 238; -pub const __NR_move_pages: u32 = 239; -pub const __NR_rt_tgsigqueueinfo: u32 = 240; -pub const __NR_perf_event_open: u32 = 241; -pub const __NR_accept4: u32 = 242; -pub const __NR_recvmmsg: u32 = 243; -pub const __NR_wait4: u32 = 260; -pub const __NR_prlimit64: u32 = 261; -pub const __NR_fanotify_init: u32 = 262; -pub const __NR_fanotify_mark: u32 = 263; -pub const __NR_name_to_handle_at: u32 = 264; -pub const __NR_open_by_handle_at: u32 = 265; -pub const __NR_clock_adjtime: u32 = 266; -pub const __NR_syncfs: u32 = 267; -pub const __NR_setns: u32 = 268; -pub const __NR_sendmmsg: u32 = 269; -pub const __NR_process_vm_readv: u32 = 270; -pub const __NR_process_vm_writev: u32 = 271; -pub const __NR_kcmp: u32 = 272; -pub const __NR_finit_module: u32 = 273; -pub const __NR_sched_setattr: u32 = 274; -pub const __NR_sched_getattr: u32 = 275; -pub const __NR_renameat2: u32 = 276; -pub const __NR_seccomp: u32 = 277; -pub const __NR_getrandom: u32 = 278; -pub const __NR_memfd_create: u32 = 279; -pub const __NR_bpf: u32 = 280; -pub const __NR_execveat: u32 = 281; -pub const __NR_userfaultfd: u32 = 282; -pub const __NR_membarrier: u32 = 283; -pub const __NR_mlock2: u32 = 284; -pub const __NR_copy_file_range: u32 = 285; -pub const __NR_preadv2: u32 = 286; -pub const __NR_pwritev2: u32 = 287; -pub const __NR_pkey_mprotect: u32 = 288; -pub const __NR_pkey_alloc: u32 = 289; -pub const __NR_pkey_free: u32 = 290; -pub const __NR_statx: u32 = 291; -pub const __NR_io_pgetevents: u32 = 292; -pub const __NR_rseq: u32 = 293; -pub const __NR_kexec_file_load: u32 = 294; -pub const __NR_pidfd_send_signal: u32 = 424; -pub const __NR_io_uring_setup: u32 = 425; -pub const __NR_io_uring_enter: u32 = 426; -pub const __NR_io_uring_register: u32 = 427; -pub const __NR_open_tree: u32 = 428; -pub const __NR_move_mount: u32 = 429; -pub const __NR_fsopen: u32 = 430; -pub const __NR_fsconfig: u32 = 431; -pub const __NR_fsmount: u32 = 432; -pub const __NR_fspick: u32 = 433; -pub const __NR_pidfd_open: u32 = 434; -pub const __NR_clone3: u32 = 435; -pub const __NR_close_range: u32 = 436; -pub const __NR_openat2: u32 = 437; -pub const __NR_pidfd_getfd: u32 = 438; -pub const __NR_faccessat2: u32 = 439; -pub const __NR_process_madvise: u32 = 440; -pub const __NR_epoll_pwait2: u32 = 441; -pub const __NR_mount_setattr: u32 = 442; -pub const __NR_quotactl_fd: u32 = 443; -pub const __NR_landlock_create_ruleset: u32 = 444; -pub const __NR_landlock_add_rule: u32 = 445; -pub const __NR_landlock_restrict_self: u32 = 446; -pub const __NR_memfd_secret: u32 = 447; -pub const __NR_process_mrelease: u32 = 448; -pub const __NR_futex_waitv: u32 = 449; -pub const __NR_set_mempolicy_home_node: u32 = 450; -pub const __NR_cachestat: u32 = 451; -pub const __NR_fchmodat2: u32 = 452; -pub const __NR_map_shadow_stack: u32 = 453; -pub const __NR_futex_wake: u32 = 454; -pub const __NR_futex_wait: u32 = 455; -pub const __NR_futex_requeue: u32 = 456; -pub const __NR_statmount: u32 = 457; -pub const __NR_listmount: u32 = 458; -pub const __NR_lsm_get_self_attr: u32 = 459; -pub const __NR_lsm_set_self_attr: u32 = 460; -pub const __NR_lsm_list_modules: u32 = 461; -pub const __NR_mseal: u32 = 462; diff --git a/tests/helper/src/gen/sys/aarch64_linux_android/linux_headers_linux_auxvec.rs b/tests/helper/src/gen/sys/aarch64_linux_android/linux_headers_linux_auxvec.rs deleted file mode 100644 index da867dd1..00000000 --- a/tests/helper/src/gen/sys/aarch64_linux_android/linux_headers_linux_auxvec.rs +++ /dev/null @@ -1,37 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -pub const AT_SYSINFO_EHDR: u32 = 33; -pub const AT_MINSIGSTKSZ: u32 = 51; -pub const AT_VECTOR_SIZE_ARCH: u32 = 2; -pub const AT_NULL: u32 = 0; -pub const AT_IGNORE: u32 = 1; -pub const AT_EXECFD: u32 = 2; -pub const AT_PHDR: u32 = 3; -pub const AT_PHENT: u32 = 4; -pub const AT_PHNUM: u32 = 5; -pub const AT_PAGESZ: u32 = 6; -pub const AT_BASE: u32 = 7; -pub const AT_FLAGS: u32 = 8; -pub const AT_ENTRY: u32 = 9; -pub const AT_NOTELF: u32 = 10; -pub const AT_UID: u32 = 11; -pub const AT_EUID: u32 = 12; -pub const AT_GID: u32 = 13; -pub const AT_EGID: u32 = 14; -pub const AT_PLATFORM: u32 = 15; -pub const AT_HWCAP: u32 = 16; -pub const AT_CLKTCK: u32 = 17; -pub const AT_SECURE: u32 = 23; -pub const AT_BASE_PLATFORM: u32 = 24; -pub const AT_RANDOM: u32 = 25; -pub const AT_HWCAP2: u32 = 26; -pub const AT_RSEQ_FEATURE_SIZE: u32 = 27; -pub const AT_RSEQ_ALIGN: u32 = 28; -pub const AT_HWCAP3: u32 = 29; -pub const AT_HWCAP4: u32 = 30; -pub const AT_EXECFN: u32 = 31; diff --git a/tests/helper/src/gen/sys/aarch64_linux_android/linux_headers_linux_prctl.rs b/tests/helper/src/gen/sys/aarch64_linux_android/linux_headers_linux_prctl.rs deleted file mode 100644 index 6eeb3021..00000000 --- a/tests/helper/src/gen/sys/aarch64_linux_android/linux_headers_linux_prctl.rs +++ /dev/null @@ -1,189 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -pub const PR_SET_PDEATHSIG: u32 = 1; -pub const PR_GET_PDEATHSIG: u32 = 2; -pub const PR_GET_DUMPABLE: u32 = 3; -pub const PR_SET_DUMPABLE: u32 = 4; -pub const PR_GET_UNALIGN: u32 = 5; -pub const PR_SET_UNALIGN: u32 = 6; -pub const PR_UNALIGN_NOPRINT: u32 = 1; -pub const PR_UNALIGN_SIGBUS: u32 = 2; -pub const PR_GET_KEEPCAPS: u32 = 7; -pub const PR_SET_KEEPCAPS: u32 = 8; -pub const PR_GET_FPEMU: u32 = 9; -pub const PR_SET_FPEMU: u32 = 10; -pub const PR_FPEMU_NOPRINT: u32 = 1; -pub const PR_FPEMU_SIGFPE: u32 = 2; -pub const PR_GET_FPEXC: u32 = 11; -pub const PR_SET_FPEXC: u32 = 12; -pub const PR_FP_EXC_SW_ENABLE: u32 = 128; -pub const PR_FP_EXC_DIV: u32 = 65536; -pub const PR_FP_EXC_OVF: u32 = 131072; -pub const PR_FP_EXC_UND: u32 = 262144; -pub const PR_FP_EXC_RES: u32 = 524288; -pub const PR_FP_EXC_INV: u32 = 1048576; -pub const PR_FP_EXC_DISABLED: u32 = 0; -pub const PR_FP_EXC_NONRECOV: u32 = 1; -pub const PR_FP_EXC_ASYNC: u32 = 2; -pub const PR_FP_EXC_PRECISE: u32 = 3; -pub const PR_GET_TIMING: u32 = 13; -pub const PR_SET_TIMING: u32 = 14; -pub const PR_TIMING_STATISTICAL: u32 = 0; -pub const PR_TIMING_TIMESTAMP: u32 = 1; -pub const PR_SET_NAME: u32 = 15; -pub const PR_GET_NAME: u32 = 16; -pub const PR_GET_ENDIAN: u32 = 19; -pub const PR_SET_ENDIAN: u32 = 20; -pub const PR_ENDIAN_BIG: u32 = 0; -pub const PR_ENDIAN_LITTLE: u32 = 1; -pub const PR_ENDIAN_PPC_LITTLE: u32 = 2; -pub const PR_GET_SECCOMP: u32 = 21; -pub const PR_SET_SECCOMP: u32 = 22; -pub const PR_CAPBSET_READ: u32 = 23; -pub const PR_CAPBSET_DROP: u32 = 24; -pub const PR_GET_TSC: u32 = 25; -pub const PR_SET_TSC: u32 = 26; -pub const PR_TSC_ENABLE: u32 = 1; -pub const PR_TSC_SIGSEGV: u32 = 2; -pub const PR_GET_SECUREBITS: u32 = 27; -pub const PR_SET_SECUREBITS: u32 = 28; -pub const PR_SET_TIMERSLACK: u32 = 29; -pub const PR_GET_TIMERSLACK: u32 = 30; -pub const PR_TASK_PERF_EVENTS_DISABLE: u32 = 31; -pub const PR_TASK_PERF_EVENTS_ENABLE: u32 = 32; -pub const PR_MCE_KILL: u32 = 33; -pub const PR_MCE_KILL_CLEAR: u32 = 0; -pub const PR_MCE_KILL_SET: u32 = 1; -pub const PR_MCE_KILL_LATE: u32 = 0; -pub const PR_MCE_KILL_EARLY: u32 = 1; -pub const PR_MCE_KILL_DEFAULT: u32 = 2; -pub const PR_MCE_KILL_GET: u32 = 34; -pub const PR_SET_MM: u32 = 35; -pub const PR_SET_MM_START_CODE: u32 = 1; -pub const PR_SET_MM_END_CODE: u32 = 2; -pub const PR_SET_MM_START_DATA: u32 = 3; -pub const PR_SET_MM_END_DATA: u32 = 4; -pub const PR_SET_MM_START_STACK: u32 = 5; -pub const PR_SET_MM_START_BRK: u32 = 6; -pub const PR_SET_MM_BRK: u32 = 7; -pub const PR_SET_MM_ARG_START: u32 = 8; -pub const PR_SET_MM_ARG_END: u32 = 9; -pub const PR_SET_MM_ENV_START: u32 = 10; -pub const PR_SET_MM_ENV_END: u32 = 11; -pub const PR_SET_MM_AUXV: u32 = 12; -pub const PR_SET_MM_EXE_FILE: u32 = 13; -pub const PR_SET_MM_MAP: u32 = 14; -pub const PR_SET_MM_MAP_SIZE: u32 = 15; -pub const PR_SET_PTRACER: u32 = 1499557217; -pub const PR_SET_PTRACER_ANY: ::std::os::raw::c_ulong = -1i8 as ::std::os::raw::c_ulong; -pub const PR_SET_CHILD_SUBREAPER: u32 = 36; -pub const PR_GET_CHILD_SUBREAPER: u32 = 37; -pub const PR_SET_NO_NEW_PRIVS: u32 = 38; -pub const PR_GET_NO_NEW_PRIVS: u32 = 39; -pub const PR_GET_TID_ADDRESS: u32 = 40; -pub const PR_SET_THP_DISABLE: u32 = 41; -pub const PR_GET_THP_DISABLE: u32 = 42; -pub const PR_MPX_ENABLE_MANAGEMENT: u32 = 43; -pub const PR_MPX_DISABLE_MANAGEMENT: u32 = 44; -pub const PR_SET_FP_MODE: u32 = 45; -pub const PR_GET_FP_MODE: u32 = 46; -pub const PR_FP_MODE_FR: u32 = 1; -pub const PR_FP_MODE_FRE: u32 = 2; -pub const PR_CAP_AMBIENT: u32 = 47; -pub const PR_CAP_AMBIENT_IS_SET: u32 = 1; -pub const PR_CAP_AMBIENT_RAISE: u32 = 2; -pub const PR_CAP_AMBIENT_LOWER: u32 = 3; -pub const PR_CAP_AMBIENT_CLEAR_ALL: u32 = 4; -pub const PR_SVE_SET_VL: u32 = 50; -pub const PR_SVE_SET_VL_ONEXEC: u32 = 262144; -pub const PR_SVE_GET_VL: u32 = 51; -pub const PR_SVE_VL_LEN_MASK: u32 = 65535; -pub const PR_SVE_VL_INHERIT: u32 = 131072; -pub const PR_GET_SPECULATION_CTRL: u32 = 52; -pub const PR_SET_SPECULATION_CTRL: u32 = 53; -pub const PR_SPEC_STORE_BYPASS: u32 = 0; -pub const PR_SPEC_INDIRECT_BRANCH: u32 = 1; -pub const PR_SPEC_L1D_FLUSH: u32 = 2; -pub const PR_SPEC_NOT_AFFECTED: u32 = 0; -pub const PR_SPEC_PRCTL: u32 = 1; -pub const PR_SPEC_ENABLE: u32 = 2; -pub const PR_SPEC_DISABLE: u32 = 4; -pub const PR_SPEC_FORCE_DISABLE: u32 = 8; -pub const PR_SPEC_DISABLE_NOEXEC: u32 = 16; -pub const PR_PAC_RESET_KEYS: u32 = 54; -pub const PR_PAC_APIAKEY: u32 = 1; -pub const PR_PAC_APIBKEY: u32 = 2; -pub const PR_PAC_APDAKEY: u32 = 4; -pub const PR_PAC_APDBKEY: u32 = 8; -pub const PR_PAC_APGAKEY: u32 = 16; -pub const PR_SET_TAGGED_ADDR_CTRL: u32 = 55; -pub const PR_GET_TAGGED_ADDR_CTRL: u32 = 56; -pub const PR_TAGGED_ADDR_ENABLE: u32 = 1; -pub const PR_MTE_TCF_NONE: u32 = 0; -pub const PR_MTE_TCF_SYNC: u32 = 2; -pub const PR_MTE_TCF_ASYNC: u32 = 4; -pub const PR_MTE_TCF_MASK: u32 = 6; -pub const PR_MTE_TAG_SHIFT: u32 = 3; -pub const PR_MTE_TAG_MASK: u32 = 524280; -pub const PR_MTE_TCF_SHIFT: u32 = 1; -pub const PR_SET_IO_FLUSHER: u32 = 57; -pub const PR_GET_IO_FLUSHER: u32 = 58; -pub const PR_SET_SYSCALL_USER_DISPATCH: u32 = 59; -pub const PR_SYS_DISPATCH_OFF: u32 = 0; -pub const PR_SYS_DISPATCH_ON: u32 = 1; -pub const PR_PAC_SET_ENABLED_KEYS: u32 = 60; -pub const PR_PAC_GET_ENABLED_KEYS: u32 = 61; -pub const PR_SCHED_CORE: u32 = 62; -pub const PR_SCHED_CORE_GET: u32 = 0; -pub const PR_SCHED_CORE_CREATE: u32 = 1; -pub const PR_SCHED_CORE_SHARE_TO: u32 = 2; -pub const PR_SCHED_CORE_SHARE_FROM: u32 = 3; -pub const PR_SCHED_CORE_MAX: u32 = 4; -pub const PR_SCHED_CORE_SCOPE_THREAD: u32 = 0; -pub const PR_SCHED_CORE_SCOPE_THREAD_GROUP: u32 = 1; -pub const PR_SCHED_CORE_SCOPE_PROCESS_GROUP: u32 = 2; -pub const PR_SME_SET_VL: u32 = 63; -pub const PR_SME_SET_VL_ONEXEC: u32 = 262144; -pub const PR_SME_GET_VL: u32 = 64; -pub const PR_SME_VL_LEN_MASK: u32 = 65535; -pub const PR_SME_VL_INHERIT: u32 = 131072; -pub const PR_SET_MDWE: u32 = 65; -pub const PR_MDWE_REFUSE_EXEC_GAIN: u32 = 1; -pub const PR_MDWE_NO_INHERIT: u32 = 2; -pub const PR_GET_MDWE: u32 = 66; -pub const PR_SET_VMA: u32 = 1398164801; -pub const PR_SET_VMA_ANON_NAME: u32 = 0; -pub const PR_GET_AUXV: u32 = 1096112214; -pub const PR_SET_MEMORY_MERGE: u32 = 67; -pub const PR_GET_MEMORY_MERGE: u32 = 68; -pub const PR_RISCV_V_SET_CONTROL: u32 = 69; -pub const PR_RISCV_V_GET_CONTROL: u32 = 70; -pub const PR_RISCV_V_VSTATE_CTRL_DEFAULT: u32 = 0; -pub const PR_RISCV_V_VSTATE_CTRL_OFF: u32 = 1; -pub const PR_RISCV_V_VSTATE_CTRL_ON: u32 = 2; -pub const PR_RISCV_V_VSTATE_CTRL_INHERIT: u32 = 16; -pub const PR_RISCV_V_VSTATE_CTRL_CUR_MASK: u32 = 3; -pub const PR_RISCV_V_VSTATE_CTRL_NEXT_MASK: u32 = 12; -pub const PR_RISCV_V_VSTATE_CTRL_MASK: u32 = 31; -pub const PR_RISCV_SET_ICACHE_FLUSH_CTX: u32 = 71; -pub const PR_RISCV_CTX_SW_FENCEI_ON: u32 = 0; -pub const PR_RISCV_CTX_SW_FENCEI_OFF: u32 = 1; -pub const PR_RISCV_SCOPE_PER_PROCESS: u32 = 0; -pub const PR_RISCV_SCOPE_PER_THREAD: u32 = 1; -pub const PR_PPC_GET_DEXCR: u32 = 72; -pub const PR_PPC_SET_DEXCR: u32 = 73; -pub const PR_PPC_DEXCR_SBHE: u32 = 0; -pub const PR_PPC_DEXCR_IBRTPD: u32 = 1; -pub const PR_PPC_DEXCR_SRAPD: u32 = 2; -pub const PR_PPC_DEXCR_NPHIE: u32 = 3; -pub const PR_PPC_DEXCR_CTRL_EDITABLE: u32 = 1; -pub const PR_PPC_DEXCR_CTRL_SET: u32 = 2; -pub const PR_PPC_DEXCR_CTRL_CLEAR: u32 = 4; -pub const PR_PPC_DEXCR_CTRL_SET_ONEXEC: u32 = 8; -pub const PR_PPC_DEXCR_CTRL_CLEAR_ONEXEC: u32 = 16; -pub const PR_PPC_DEXCR_CTRL_MASK: u32 = 31; diff --git a/tests/helper/src/gen/sys/aarch64_linux_android/mod.rs b/tests/helper/src/gen/sys/aarch64_linux_android/mod.rs deleted file mode 100644 index cee7736c..00000000 --- a/tests/helper/src/gen/sys/aarch64_linux_android/mod.rs +++ /dev/null @@ -1,650 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] -mod linux_headers_asm_hwcap; -pub use linux_headers_asm_hwcap::HWCAP_FP; -pub use linux_headers_asm_hwcap::HWCAP_ASIMD; -pub use linux_headers_asm_hwcap::HWCAP_EVTSTRM; -pub use linux_headers_asm_hwcap::HWCAP_AES; -pub use linux_headers_asm_hwcap::HWCAP_PMULL; -pub use linux_headers_asm_hwcap::HWCAP_SHA1; -pub use linux_headers_asm_hwcap::HWCAP_SHA2; -pub use linux_headers_asm_hwcap::HWCAP_CRC32; -pub use linux_headers_asm_hwcap::HWCAP_ATOMICS; -pub use linux_headers_asm_hwcap::HWCAP_FPHP; -pub use linux_headers_asm_hwcap::HWCAP_ASIMDHP; -pub use linux_headers_asm_hwcap::HWCAP_CPUID; -pub use linux_headers_asm_hwcap::HWCAP_ASIMDRDM; -pub use linux_headers_asm_hwcap::HWCAP_JSCVT; -pub use linux_headers_asm_hwcap::HWCAP_FCMA; -pub use linux_headers_asm_hwcap::HWCAP_LRCPC; -pub use linux_headers_asm_hwcap::HWCAP_DCPOP; -pub use linux_headers_asm_hwcap::HWCAP_SHA3; -pub use linux_headers_asm_hwcap::HWCAP_SM3; -pub use linux_headers_asm_hwcap::HWCAP_SM4; -pub use linux_headers_asm_hwcap::HWCAP_ASIMDDP; -pub use linux_headers_asm_hwcap::HWCAP_SHA512; -pub use linux_headers_asm_hwcap::HWCAP_SVE; -pub use linux_headers_asm_hwcap::HWCAP_ASIMDFHM; -pub use linux_headers_asm_hwcap::HWCAP_DIT; -pub use linux_headers_asm_hwcap::HWCAP_USCAT; -pub use linux_headers_asm_hwcap::HWCAP_ILRCPC; -pub use linux_headers_asm_hwcap::HWCAP_FLAGM; -pub use linux_headers_asm_hwcap::HWCAP_SSBS; -pub use linux_headers_asm_hwcap::HWCAP_SB; -pub use linux_headers_asm_hwcap::HWCAP_PACA; -pub use linux_headers_asm_hwcap::HWCAP_PACG; -pub use linux_headers_asm_hwcap::HWCAP2_DCPODP; -pub use linux_headers_asm_hwcap::HWCAP2_SVE2; -pub use linux_headers_asm_hwcap::HWCAP2_SVEAES; -pub use linux_headers_asm_hwcap::HWCAP2_SVEPMULL; -pub use linux_headers_asm_hwcap::HWCAP2_SVEBITPERM; -pub use linux_headers_asm_hwcap::HWCAP2_SVESHA3; -pub use linux_headers_asm_hwcap::HWCAP2_SVESM4; -pub use linux_headers_asm_hwcap::HWCAP2_FLAGM2; -pub use linux_headers_asm_hwcap::HWCAP2_FRINT; -pub use linux_headers_asm_hwcap::HWCAP2_SVEI8MM; -pub use linux_headers_asm_hwcap::HWCAP2_SVEF32MM; -pub use linux_headers_asm_hwcap::HWCAP2_SVEF64MM; -pub use linux_headers_asm_hwcap::HWCAP2_SVEBF16; -pub use linux_headers_asm_hwcap::HWCAP2_I8MM; -pub use linux_headers_asm_hwcap::HWCAP2_BF16; -pub use linux_headers_asm_hwcap::HWCAP2_DGH; -pub use linux_headers_asm_hwcap::HWCAP2_RNG; -pub use linux_headers_asm_hwcap::HWCAP2_BTI; -pub use linux_headers_asm_hwcap::HWCAP2_MTE; -pub use linux_headers_asm_hwcap::HWCAP2_ECV; -pub use linux_headers_asm_hwcap::HWCAP2_AFP; -pub use linux_headers_asm_hwcap::HWCAP2_RPRES; -pub use linux_headers_asm_hwcap::HWCAP2_MTE3; -pub use linux_headers_asm_hwcap::HWCAP2_SME; -pub use linux_headers_asm_hwcap::HWCAP2_SME_I16I64; -pub use linux_headers_asm_hwcap::HWCAP2_SME_F64F64; -pub use linux_headers_asm_hwcap::HWCAP2_SME_I8I32; -pub use linux_headers_asm_hwcap::HWCAP2_SME_F16F32; -pub use linux_headers_asm_hwcap::HWCAP2_SME_B16F32; -pub use linux_headers_asm_hwcap::HWCAP2_SME_F32F32; -pub use linux_headers_asm_hwcap::HWCAP2_SME_FA64; -pub use linux_headers_asm_hwcap::HWCAP2_WFXT; -pub use linux_headers_asm_hwcap::HWCAP2_EBF16; -pub use linux_headers_asm_hwcap::HWCAP2_SVE_EBF16; -pub use linux_headers_asm_hwcap::HWCAP2_CSSC; -pub use linux_headers_asm_hwcap::HWCAP2_RPRFM; -pub use linux_headers_asm_hwcap::HWCAP2_SVE2P1; -pub use linux_headers_asm_hwcap::HWCAP2_SME2; -pub use linux_headers_asm_hwcap::HWCAP2_SME2P1; -pub use linux_headers_asm_hwcap::HWCAP2_SME_I16I32; -pub use linux_headers_asm_hwcap::HWCAP2_SME_BI32I32; -pub use linux_headers_asm_hwcap::HWCAP2_SME_B16B16; -pub use linux_headers_asm_hwcap::HWCAP2_SME_F16F16; -pub use linux_headers_asm_hwcap::HWCAP2_MOPS; -pub use linux_headers_asm_hwcap::HWCAP2_HBC; -pub use linux_headers_asm_hwcap::HWCAP2_SVE_B16B16; -pub use linux_headers_asm_hwcap::HWCAP2_LRCPC3; -pub use linux_headers_asm_hwcap::HWCAP2_LSE128; -pub use linux_headers_asm_hwcap::HWCAP2_FPMR; -pub use linux_headers_asm_hwcap::HWCAP2_LUT; -pub use linux_headers_asm_hwcap::HWCAP2_FAMINMAX; -pub use linux_headers_asm_hwcap::HWCAP2_F8CVT; -pub use linux_headers_asm_hwcap::HWCAP2_F8FMA; -pub use linux_headers_asm_hwcap::HWCAP2_F8DP4; -pub use linux_headers_asm_hwcap::HWCAP2_F8DP2; -pub use linux_headers_asm_hwcap::HWCAP2_F8E4M3; -pub use linux_headers_asm_hwcap::HWCAP2_F8E5M2; -pub use linux_headers_asm_hwcap::HWCAP2_SME_LUTV2; -pub use linux_headers_asm_hwcap::HWCAP2_SME_F8F16; -pub use linux_headers_asm_hwcap::HWCAP2_SME_F8F32; -pub use linux_headers_asm_hwcap::HWCAP2_SME_SF8FMA; -pub use linux_headers_asm_hwcap::HWCAP2_SME_SF8DP4; -pub use linux_headers_asm_hwcap::HWCAP2_SME_SF8DP2; -pub use linux_headers_asm_hwcap::HWCAP2_POE; -mod linux_headers_asm_unistd; -pub use linux_headers_asm_unistd::__NR_io_setup; -pub use linux_headers_asm_unistd::__NR_io_destroy; -pub use linux_headers_asm_unistd::__NR_io_submit; -pub use linux_headers_asm_unistd::__NR_io_cancel; -pub use linux_headers_asm_unistd::__NR_io_getevents; -pub use linux_headers_asm_unistd::__NR_setxattr; -pub use linux_headers_asm_unistd::__NR_lsetxattr; -pub use linux_headers_asm_unistd::__NR_fsetxattr; -pub use linux_headers_asm_unistd::__NR_getxattr; -pub use linux_headers_asm_unistd::__NR_lgetxattr; -pub use linux_headers_asm_unistd::__NR_fgetxattr; -pub use linux_headers_asm_unistd::__NR_listxattr; -pub use linux_headers_asm_unistd::__NR_llistxattr; -pub use linux_headers_asm_unistd::__NR_flistxattr; -pub use linux_headers_asm_unistd::__NR_removexattr; -pub use linux_headers_asm_unistd::__NR_lremovexattr; -pub use linux_headers_asm_unistd::__NR_fremovexattr; -pub use linux_headers_asm_unistd::__NR_getcwd; -pub use linux_headers_asm_unistd::__NR_lookup_dcookie; -pub use linux_headers_asm_unistd::__NR_eventfd2; -pub use linux_headers_asm_unistd::__NR_epoll_create1; -pub use linux_headers_asm_unistd::__NR_epoll_ctl; -pub use linux_headers_asm_unistd::__NR_epoll_pwait; -pub use linux_headers_asm_unistd::__NR_dup; -pub use linux_headers_asm_unistd::__NR_dup3; -pub use linux_headers_asm_unistd::__NR_fcntl; -pub use linux_headers_asm_unistd::__NR_inotify_init1; -pub use linux_headers_asm_unistd::__NR_inotify_add_watch; -pub use linux_headers_asm_unistd::__NR_inotify_rm_watch; -pub use linux_headers_asm_unistd::__NR_ioctl; -pub use linux_headers_asm_unistd::__NR_ioprio_set; -pub use linux_headers_asm_unistd::__NR_ioprio_get; -pub use linux_headers_asm_unistd::__NR_flock; -pub use linux_headers_asm_unistd::__NR_mknodat; -pub use linux_headers_asm_unistd::__NR_mkdirat; -pub use linux_headers_asm_unistd::__NR_unlinkat; -pub use linux_headers_asm_unistd::__NR_symlinkat; -pub use linux_headers_asm_unistd::__NR_linkat; -pub use linux_headers_asm_unistd::__NR_renameat; -pub use linux_headers_asm_unistd::__NR_umount2; -pub use linux_headers_asm_unistd::__NR_mount; -pub use linux_headers_asm_unistd::__NR_pivot_root; -pub use linux_headers_asm_unistd::__NR_nfsservctl; -pub use linux_headers_asm_unistd::__NR_statfs; -pub use linux_headers_asm_unistd::__NR_fstatfs; -pub use linux_headers_asm_unistd::__NR_truncate; -pub use linux_headers_asm_unistd::__NR_ftruncate; -pub use linux_headers_asm_unistd::__NR_fallocate; -pub use linux_headers_asm_unistd::__NR_faccessat; -pub use linux_headers_asm_unistd::__NR_chdir; -pub use linux_headers_asm_unistd::__NR_fchdir; -pub use linux_headers_asm_unistd::__NR_chroot; -pub use linux_headers_asm_unistd::__NR_fchmod; -pub use linux_headers_asm_unistd::__NR_fchmodat; -pub use linux_headers_asm_unistd::__NR_fchownat; -pub use linux_headers_asm_unistd::__NR_fchown; -pub use linux_headers_asm_unistd::__NR_openat; -pub use linux_headers_asm_unistd::__NR_close; -pub use linux_headers_asm_unistd::__NR_vhangup; -pub use linux_headers_asm_unistd::__NR_pipe2; -pub use linux_headers_asm_unistd::__NR_quotactl; -pub use linux_headers_asm_unistd::__NR_getdents64; -pub use linux_headers_asm_unistd::__NR_lseek; -pub use linux_headers_asm_unistd::__NR_read; -pub use linux_headers_asm_unistd::__NR_write; -pub use linux_headers_asm_unistd::__NR_readv; -pub use linux_headers_asm_unistd::__NR_writev; -pub use linux_headers_asm_unistd::__NR_pread64; -pub use linux_headers_asm_unistd::__NR_pwrite64; -pub use linux_headers_asm_unistd::__NR_preadv; -pub use linux_headers_asm_unistd::__NR_pwritev; -pub use linux_headers_asm_unistd::__NR_sendfile; -pub use linux_headers_asm_unistd::__NR_pselect6; -pub use linux_headers_asm_unistd::__NR_ppoll; -pub use linux_headers_asm_unistd::__NR_signalfd4; -pub use linux_headers_asm_unistd::__NR_vmsplice; -pub use linux_headers_asm_unistd::__NR_splice; -pub use linux_headers_asm_unistd::__NR_tee; -pub use linux_headers_asm_unistd::__NR_readlinkat; -pub use linux_headers_asm_unistd::__NR_newfstatat; -pub use linux_headers_asm_unistd::__NR_fstat; -pub use linux_headers_asm_unistd::__NR_sync; -pub use linux_headers_asm_unistd::__NR_fsync; -pub use linux_headers_asm_unistd::__NR_fdatasync; -pub use linux_headers_asm_unistd::__NR_sync_file_range; -pub use linux_headers_asm_unistd::__NR_timerfd_create; -pub use linux_headers_asm_unistd::__NR_timerfd_settime; -pub use linux_headers_asm_unistd::__NR_timerfd_gettime; -pub use linux_headers_asm_unistd::__NR_utimensat; -pub use linux_headers_asm_unistd::__NR_acct; -pub use linux_headers_asm_unistd::__NR_capget; -pub use linux_headers_asm_unistd::__NR_capset; -pub use linux_headers_asm_unistd::__NR_personality; -pub use linux_headers_asm_unistd::__NR_exit; -pub use linux_headers_asm_unistd::__NR_exit_group; -pub use linux_headers_asm_unistd::__NR_waitid; -pub use linux_headers_asm_unistd::__NR_set_tid_address; -pub use linux_headers_asm_unistd::__NR_unshare; -pub use linux_headers_asm_unistd::__NR_futex; -pub use linux_headers_asm_unistd::__NR_set_robust_list; -pub use linux_headers_asm_unistd::__NR_get_robust_list; -pub use linux_headers_asm_unistd::__NR_nanosleep; -pub use linux_headers_asm_unistd::__NR_getitimer; -pub use linux_headers_asm_unistd::__NR_setitimer; -pub use linux_headers_asm_unistd::__NR_kexec_load; -pub use linux_headers_asm_unistd::__NR_init_module; -pub use linux_headers_asm_unistd::__NR_delete_module; -pub use linux_headers_asm_unistd::__NR_timer_create; -pub use linux_headers_asm_unistd::__NR_timer_gettime; -pub use linux_headers_asm_unistd::__NR_timer_getoverrun; -pub use linux_headers_asm_unistd::__NR_timer_settime; -pub use linux_headers_asm_unistd::__NR_timer_delete; -pub use linux_headers_asm_unistd::__NR_clock_settime; -pub use linux_headers_asm_unistd::__NR_clock_gettime; -pub use linux_headers_asm_unistd::__NR_clock_getres; -pub use linux_headers_asm_unistd::__NR_clock_nanosleep; -pub use linux_headers_asm_unistd::__NR_syslog; -pub use linux_headers_asm_unistd::__NR_ptrace; -pub use linux_headers_asm_unistd::__NR_sched_setparam; -pub use linux_headers_asm_unistd::__NR_sched_setscheduler; -pub use linux_headers_asm_unistd::__NR_sched_getscheduler; -pub use linux_headers_asm_unistd::__NR_sched_getparam; -pub use linux_headers_asm_unistd::__NR_sched_setaffinity; -pub use linux_headers_asm_unistd::__NR_sched_getaffinity; -pub use linux_headers_asm_unistd::__NR_sched_yield; -pub use linux_headers_asm_unistd::__NR_sched_get_priority_max; -pub use linux_headers_asm_unistd::__NR_sched_get_priority_min; -pub use linux_headers_asm_unistd::__NR_sched_rr_get_interval; -pub use linux_headers_asm_unistd::__NR_restart_syscall; -pub use linux_headers_asm_unistd::__NR_kill; -pub use linux_headers_asm_unistd::__NR_tkill; -pub use linux_headers_asm_unistd::__NR_tgkill; -pub use linux_headers_asm_unistd::__NR_sigaltstack; -pub use linux_headers_asm_unistd::__NR_rt_sigsuspend; -pub use linux_headers_asm_unistd::__NR_rt_sigaction; -pub use linux_headers_asm_unistd::__NR_rt_sigprocmask; -pub use linux_headers_asm_unistd::__NR_rt_sigpending; -pub use linux_headers_asm_unistd::__NR_rt_sigtimedwait; -pub use linux_headers_asm_unistd::__NR_rt_sigqueueinfo; -pub use linux_headers_asm_unistd::__NR_rt_sigreturn; -pub use linux_headers_asm_unistd::__NR_setpriority; -pub use linux_headers_asm_unistd::__NR_getpriority; -pub use linux_headers_asm_unistd::__NR_reboot; -pub use linux_headers_asm_unistd::__NR_setregid; -pub use linux_headers_asm_unistd::__NR_setgid; -pub use linux_headers_asm_unistd::__NR_setreuid; -pub use linux_headers_asm_unistd::__NR_setuid; -pub use linux_headers_asm_unistd::__NR_setresuid; -pub use linux_headers_asm_unistd::__NR_getresuid; -pub use linux_headers_asm_unistd::__NR_setresgid; -pub use linux_headers_asm_unistd::__NR_getresgid; -pub use linux_headers_asm_unistd::__NR_setfsuid; -pub use linux_headers_asm_unistd::__NR_setfsgid; -pub use linux_headers_asm_unistd::__NR_times; -pub use linux_headers_asm_unistd::__NR_setpgid; -pub use linux_headers_asm_unistd::__NR_getpgid; -pub use linux_headers_asm_unistd::__NR_getsid; -pub use linux_headers_asm_unistd::__NR_setsid; -pub use linux_headers_asm_unistd::__NR_getgroups; -pub use linux_headers_asm_unistd::__NR_setgroups; -pub use linux_headers_asm_unistd::__NR_uname; -pub use linux_headers_asm_unistd::__NR_sethostname; -pub use linux_headers_asm_unistd::__NR_setdomainname; -pub use linux_headers_asm_unistd::__NR_getrlimit; -pub use linux_headers_asm_unistd::__NR_setrlimit; -pub use linux_headers_asm_unistd::__NR_getrusage; -pub use linux_headers_asm_unistd::__NR_umask; -pub use linux_headers_asm_unistd::__NR_prctl; -pub use linux_headers_asm_unistd::__NR_getcpu; -pub use linux_headers_asm_unistd::__NR_gettimeofday; -pub use linux_headers_asm_unistd::__NR_settimeofday; -pub use linux_headers_asm_unistd::__NR_adjtimex; -pub use linux_headers_asm_unistd::__NR_getpid; -pub use linux_headers_asm_unistd::__NR_getppid; -pub use linux_headers_asm_unistd::__NR_getuid; -pub use linux_headers_asm_unistd::__NR_geteuid; -pub use linux_headers_asm_unistd::__NR_getgid; -pub use linux_headers_asm_unistd::__NR_getegid; -pub use linux_headers_asm_unistd::__NR_gettid; -pub use linux_headers_asm_unistd::__NR_sysinfo; -pub use linux_headers_asm_unistd::__NR_mq_open; -pub use linux_headers_asm_unistd::__NR_mq_unlink; -pub use linux_headers_asm_unistd::__NR_mq_timedsend; -pub use linux_headers_asm_unistd::__NR_mq_timedreceive; -pub use linux_headers_asm_unistd::__NR_mq_notify; -pub use linux_headers_asm_unistd::__NR_mq_getsetattr; -pub use linux_headers_asm_unistd::__NR_msgget; -pub use linux_headers_asm_unistd::__NR_msgctl; -pub use linux_headers_asm_unistd::__NR_msgrcv; -pub use linux_headers_asm_unistd::__NR_msgsnd; -pub use linux_headers_asm_unistd::__NR_semget; -pub use linux_headers_asm_unistd::__NR_semctl; -pub use linux_headers_asm_unistd::__NR_semtimedop; -pub use linux_headers_asm_unistd::__NR_semop; -pub use linux_headers_asm_unistd::__NR_shmget; -pub use linux_headers_asm_unistd::__NR_shmctl; -pub use linux_headers_asm_unistd::__NR_shmat; -pub use linux_headers_asm_unistd::__NR_shmdt; -pub use linux_headers_asm_unistd::__NR_socket; -pub use linux_headers_asm_unistd::__NR_socketpair; -pub use linux_headers_asm_unistd::__NR_bind; -pub use linux_headers_asm_unistd::__NR_listen; -pub use linux_headers_asm_unistd::__NR_accept; -pub use linux_headers_asm_unistd::__NR_connect; -pub use linux_headers_asm_unistd::__NR_getsockname; -pub use linux_headers_asm_unistd::__NR_getpeername; -pub use linux_headers_asm_unistd::__NR_sendto; -pub use linux_headers_asm_unistd::__NR_recvfrom; -pub use linux_headers_asm_unistd::__NR_setsockopt; -pub use linux_headers_asm_unistd::__NR_getsockopt; -pub use linux_headers_asm_unistd::__NR_shutdown; -pub use linux_headers_asm_unistd::__NR_sendmsg; -pub use linux_headers_asm_unistd::__NR_recvmsg; -pub use linux_headers_asm_unistd::__NR_readahead; -pub use linux_headers_asm_unistd::__NR_brk; -pub use linux_headers_asm_unistd::__NR_munmap; -pub use linux_headers_asm_unistd::__NR_mremap; -pub use linux_headers_asm_unistd::__NR_add_key; -pub use linux_headers_asm_unistd::__NR_request_key; -pub use linux_headers_asm_unistd::__NR_keyctl; -pub use linux_headers_asm_unistd::__NR_clone; -pub use linux_headers_asm_unistd::__NR_execve; -pub use linux_headers_asm_unistd::__NR_mmap; -pub use linux_headers_asm_unistd::__NR_fadvise64; -pub use linux_headers_asm_unistd::__NR_swapon; -pub use linux_headers_asm_unistd::__NR_swapoff; -pub use linux_headers_asm_unistd::__NR_mprotect; -pub use linux_headers_asm_unistd::__NR_msync; -pub use linux_headers_asm_unistd::__NR_mlock; -pub use linux_headers_asm_unistd::__NR_munlock; -pub use linux_headers_asm_unistd::__NR_mlockall; -pub use linux_headers_asm_unistd::__NR_munlockall; -pub use linux_headers_asm_unistd::__NR_mincore; -pub use linux_headers_asm_unistd::__NR_madvise; -pub use linux_headers_asm_unistd::__NR_remap_file_pages; -pub use linux_headers_asm_unistd::__NR_mbind; -pub use linux_headers_asm_unistd::__NR_get_mempolicy; -pub use linux_headers_asm_unistd::__NR_set_mempolicy; -pub use linux_headers_asm_unistd::__NR_migrate_pages; -pub use linux_headers_asm_unistd::__NR_move_pages; -pub use linux_headers_asm_unistd::__NR_rt_tgsigqueueinfo; -pub use linux_headers_asm_unistd::__NR_perf_event_open; -pub use linux_headers_asm_unistd::__NR_accept4; -pub use linux_headers_asm_unistd::__NR_recvmmsg; -pub use linux_headers_asm_unistd::__NR_wait4; -pub use linux_headers_asm_unistd::__NR_prlimit64; -pub use linux_headers_asm_unistd::__NR_fanotify_init; -pub use linux_headers_asm_unistd::__NR_fanotify_mark; -pub use linux_headers_asm_unistd::__NR_name_to_handle_at; -pub use linux_headers_asm_unistd::__NR_open_by_handle_at; -pub use linux_headers_asm_unistd::__NR_clock_adjtime; -pub use linux_headers_asm_unistd::__NR_syncfs; -pub use linux_headers_asm_unistd::__NR_setns; -pub use linux_headers_asm_unistd::__NR_sendmmsg; -pub use linux_headers_asm_unistd::__NR_process_vm_readv; -pub use linux_headers_asm_unistd::__NR_process_vm_writev; -pub use linux_headers_asm_unistd::__NR_kcmp; -pub use linux_headers_asm_unistd::__NR_finit_module; -pub use linux_headers_asm_unistd::__NR_sched_setattr; -pub use linux_headers_asm_unistd::__NR_sched_getattr; -pub use linux_headers_asm_unistd::__NR_renameat2; -pub use linux_headers_asm_unistd::__NR_seccomp; -pub use linux_headers_asm_unistd::__NR_getrandom; -pub use linux_headers_asm_unistd::__NR_memfd_create; -pub use linux_headers_asm_unistd::__NR_bpf; -pub use linux_headers_asm_unistd::__NR_execveat; -pub use linux_headers_asm_unistd::__NR_userfaultfd; -pub use linux_headers_asm_unistd::__NR_membarrier; -pub use linux_headers_asm_unistd::__NR_mlock2; -pub use linux_headers_asm_unistd::__NR_copy_file_range; -pub use linux_headers_asm_unistd::__NR_preadv2; -pub use linux_headers_asm_unistd::__NR_pwritev2; -pub use linux_headers_asm_unistd::__NR_pkey_mprotect; -pub use linux_headers_asm_unistd::__NR_pkey_alloc; -pub use linux_headers_asm_unistd::__NR_pkey_free; -pub use linux_headers_asm_unistd::__NR_statx; -pub use linux_headers_asm_unistd::__NR_io_pgetevents; -pub use linux_headers_asm_unistd::__NR_rseq; -pub use linux_headers_asm_unistd::__NR_kexec_file_load; -pub use linux_headers_asm_unistd::__NR_pidfd_send_signal; -pub use linux_headers_asm_unistd::__NR_io_uring_setup; -pub use linux_headers_asm_unistd::__NR_io_uring_enter; -pub use linux_headers_asm_unistd::__NR_io_uring_register; -pub use linux_headers_asm_unistd::__NR_open_tree; -pub use linux_headers_asm_unistd::__NR_move_mount; -pub use linux_headers_asm_unistd::__NR_fsopen; -pub use linux_headers_asm_unistd::__NR_fsconfig; -pub use linux_headers_asm_unistd::__NR_fsmount; -pub use linux_headers_asm_unistd::__NR_fspick; -pub use linux_headers_asm_unistd::__NR_pidfd_open; -pub use linux_headers_asm_unistd::__NR_clone3; -pub use linux_headers_asm_unistd::__NR_close_range; -pub use linux_headers_asm_unistd::__NR_openat2; -pub use linux_headers_asm_unistd::__NR_pidfd_getfd; -pub use linux_headers_asm_unistd::__NR_faccessat2; -pub use linux_headers_asm_unistd::__NR_process_madvise; -pub use linux_headers_asm_unistd::__NR_epoll_pwait2; -pub use linux_headers_asm_unistd::__NR_mount_setattr; -pub use linux_headers_asm_unistd::__NR_quotactl_fd; -pub use linux_headers_asm_unistd::__NR_landlock_create_ruleset; -pub use linux_headers_asm_unistd::__NR_landlock_add_rule; -pub use linux_headers_asm_unistd::__NR_landlock_restrict_self; -pub use linux_headers_asm_unistd::__NR_memfd_secret; -pub use linux_headers_asm_unistd::__NR_process_mrelease; -pub use linux_headers_asm_unistd::__NR_futex_waitv; -pub use linux_headers_asm_unistd::__NR_set_mempolicy_home_node; -pub use linux_headers_asm_unistd::__NR_cachestat; -pub use linux_headers_asm_unistd::__NR_fchmodat2; -pub use linux_headers_asm_unistd::__NR_map_shadow_stack; -pub use linux_headers_asm_unistd::__NR_futex_wake; -pub use linux_headers_asm_unistd::__NR_futex_wait; -pub use linux_headers_asm_unistd::__NR_futex_requeue; -pub use linux_headers_asm_unistd::__NR_statmount; -pub use linux_headers_asm_unistd::__NR_listmount; -pub use linux_headers_asm_unistd::__NR_lsm_get_self_attr; -pub use linux_headers_asm_unistd::__NR_lsm_set_self_attr; -pub use linux_headers_asm_unistd::__NR_lsm_list_modules; -pub use linux_headers_asm_unistd::__NR_mseal; -mod linux_headers_linux_auxvec; -pub use linux_headers_linux_auxvec::AT_SYSINFO_EHDR; -pub use linux_headers_linux_auxvec::AT_MINSIGSTKSZ; -pub use linux_headers_linux_auxvec::AT_VECTOR_SIZE_ARCH; -pub use linux_headers_linux_auxvec::AT_NULL; -pub use linux_headers_linux_auxvec::AT_IGNORE; -pub use linux_headers_linux_auxvec::AT_EXECFD; -pub use linux_headers_linux_auxvec::AT_PHDR; -pub use linux_headers_linux_auxvec::AT_PHENT; -pub use linux_headers_linux_auxvec::AT_PHNUM; -pub use linux_headers_linux_auxvec::AT_PAGESZ; -pub use linux_headers_linux_auxvec::AT_BASE; -pub use linux_headers_linux_auxvec::AT_FLAGS; -pub use linux_headers_linux_auxvec::AT_ENTRY; -pub use linux_headers_linux_auxvec::AT_NOTELF; -pub use linux_headers_linux_auxvec::AT_UID; -pub use linux_headers_linux_auxvec::AT_EUID; -pub use linux_headers_linux_auxvec::AT_GID; -pub use linux_headers_linux_auxvec::AT_EGID; -pub use linux_headers_linux_auxvec::AT_PLATFORM; -pub use linux_headers_linux_auxvec::AT_HWCAP; -pub use linux_headers_linux_auxvec::AT_CLKTCK; -pub use linux_headers_linux_auxvec::AT_SECURE; -pub use linux_headers_linux_auxvec::AT_BASE_PLATFORM; -pub use linux_headers_linux_auxvec::AT_RANDOM; -pub use linux_headers_linux_auxvec::AT_HWCAP2; -pub use linux_headers_linux_auxvec::AT_RSEQ_FEATURE_SIZE; -pub use linux_headers_linux_auxvec::AT_RSEQ_ALIGN; -pub use linux_headers_linux_auxvec::AT_HWCAP3; -pub use linux_headers_linux_auxvec::AT_HWCAP4; -pub use linux_headers_linux_auxvec::AT_EXECFN; -mod linux_headers_linux_prctl; -pub use linux_headers_linux_prctl::PR_SET_PDEATHSIG; -pub use linux_headers_linux_prctl::PR_GET_PDEATHSIG; -pub use linux_headers_linux_prctl::PR_GET_DUMPABLE; -pub use linux_headers_linux_prctl::PR_SET_DUMPABLE; -pub use linux_headers_linux_prctl::PR_GET_UNALIGN; -pub use linux_headers_linux_prctl::PR_SET_UNALIGN; -pub use linux_headers_linux_prctl::PR_UNALIGN_NOPRINT; -pub use linux_headers_linux_prctl::PR_UNALIGN_SIGBUS; -pub use linux_headers_linux_prctl::PR_GET_KEEPCAPS; -pub use linux_headers_linux_prctl::PR_SET_KEEPCAPS; -pub use linux_headers_linux_prctl::PR_GET_FPEMU; -pub use linux_headers_linux_prctl::PR_SET_FPEMU; -pub use linux_headers_linux_prctl::PR_FPEMU_NOPRINT; -pub use linux_headers_linux_prctl::PR_FPEMU_SIGFPE; -pub use linux_headers_linux_prctl::PR_GET_FPEXC; -pub use linux_headers_linux_prctl::PR_SET_FPEXC; -pub use linux_headers_linux_prctl::PR_FP_EXC_SW_ENABLE; -pub use linux_headers_linux_prctl::PR_FP_EXC_DIV; -pub use linux_headers_linux_prctl::PR_FP_EXC_OVF; -pub use linux_headers_linux_prctl::PR_FP_EXC_UND; -pub use linux_headers_linux_prctl::PR_FP_EXC_RES; -pub use linux_headers_linux_prctl::PR_FP_EXC_INV; -pub use linux_headers_linux_prctl::PR_FP_EXC_DISABLED; -pub use linux_headers_linux_prctl::PR_FP_EXC_NONRECOV; -pub use linux_headers_linux_prctl::PR_FP_EXC_ASYNC; -pub use linux_headers_linux_prctl::PR_FP_EXC_PRECISE; -pub use linux_headers_linux_prctl::PR_GET_TIMING; -pub use linux_headers_linux_prctl::PR_SET_TIMING; -pub use linux_headers_linux_prctl::PR_TIMING_STATISTICAL; -pub use linux_headers_linux_prctl::PR_TIMING_TIMESTAMP; -pub use linux_headers_linux_prctl::PR_SET_NAME; -pub use linux_headers_linux_prctl::PR_GET_NAME; -pub use linux_headers_linux_prctl::PR_GET_ENDIAN; -pub use linux_headers_linux_prctl::PR_SET_ENDIAN; -pub use linux_headers_linux_prctl::PR_ENDIAN_BIG; -pub use linux_headers_linux_prctl::PR_ENDIAN_LITTLE; -pub use linux_headers_linux_prctl::PR_ENDIAN_PPC_LITTLE; -pub use linux_headers_linux_prctl::PR_GET_SECCOMP; -pub use linux_headers_linux_prctl::PR_SET_SECCOMP; -pub use linux_headers_linux_prctl::PR_CAPBSET_READ; -pub use linux_headers_linux_prctl::PR_CAPBSET_DROP; -pub use linux_headers_linux_prctl::PR_GET_TSC; -pub use linux_headers_linux_prctl::PR_SET_TSC; -pub use linux_headers_linux_prctl::PR_TSC_ENABLE; -pub use linux_headers_linux_prctl::PR_TSC_SIGSEGV; -pub use linux_headers_linux_prctl::PR_GET_SECUREBITS; -pub use linux_headers_linux_prctl::PR_SET_SECUREBITS; -pub use linux_headers_linux_prctl::PR_SET_TIMERSLACK; -pub use linux_headers_linux_prctl::PR_GET_TIMERSLACK; -pub use linux_headers_linux_prctl::PR_TASK_PERF_EVENTS_DISABLE; -pub use linux_headers_linux_prctl::PR_TASK_PERF_EVENTS_ENABLE; -pub use linux_headers_linux_prctl::PR_MCE_KILL; -pub use linux_headers_linux_prctl::PR_MCE_KILL_CLEAR; -pub use linux_headers_linux_prctl::PR_MCE_KILL_SET; -pub use linux_headers_linux_prctl::PR_MCE_KILL_LATE; -pub use linux_headers_linux_prctl::PR_MCE_KILL_EARLY; -pub use linux_headers_linux_prctl::PR_MCE_KILL_DEFAULT; -pub use linux_headers_linux_prctl::PR_MCE_KILL_GET; -pub use linux_headers_linux_prctl::PR_SET_MM; -pub use linux_headers_linux_prctl::PR_SET_MM_START_CODE; -pub use linux_headers_linux_prctl::PR_SET_MM_END_CODE; -pub use linux_headers_linux_prctl::PR_SET_MM_START_DATA; -pub use linux_headers_linux_prctl::PR_SET_MM_END_DATA; -pub use linux_headers_linux_prctl::PR_SET_MM_START_STACK; -pub use linux_headers_linux_prctl::PR_SET_MM_START_BRK; -pub use linux_headers_linux_prctl::PR_SET_MM_BRK; -pub use linux_headers_linux_prctl::PR_SET_MM_ARG_START; -pub use linux_headers_linux_prctl::PR_SET_MM_ARG_END; -pub use linux_headers_linux_prctl::PR_SET_MM_ENV_START; -pub use linux_headers_linux_prctl::PR_SET_MM_ENV_END; -pub use linux_headers_linux_prctl::PR_SET_MM_AUXV; -pub use linux_headers_linux_prctl::PR_SET_MM_EXE_FILE; -pub use linux_headers_linux_prctl::PR_SET_MM_MAP; -pub use linux_headers_linux_prctl::PR_SET_MM_MAP_SIZE; -pub use linux_headers_linux_prctl::PR_SET_PTRACER; -pub use linux_headers_linux_prctl::PR_SET_PTRACER_ANY; -pub use linux_headers_linux_prctl::PR_SET_CHILD_SUBREAPER; -pub use linux_headers_linux_prctl::PR_GET_CHILD_SUBREAPER; -pub use linux_headers_linux_prctl::PR_SET_NO_NEW_PRIVS; -pub use linux_headers_linux_prctl::PR_GET_NO_NEW_PRIVS; -pub use linux_headers_linux_prctl::PR_GET_TID_ADDRESS; -pub use linux_headers_linux_prctl::PR_SET_THP_DISABLE; -pub use linux_headers_linux_prctl::PR_GET_THP_DISABLE; -pub use linux_headers_linux_prctl::PR_MPX_ENABLE_MANAGEMENT; -pub use linux_headers_linux_prctl::PR_MPX_DISABLE_MANAGEMENT; -pub use linux_headers_linux_prctl::PR_SET_FP_MODE; -pub use linux_headers_linux_prctl::PR_GET_FP_MODE; -pub use linux_headers_linux_prctl::PR_FP_MODE_FR; -pub use linux_headers_linux_prctl::PR_FP_MODE_FRE; -pub use linux_headers_linux_prctl::PR_CAP_AMBIENT; -pub use linux_headers_linux_prctl::PR_CAP_AMBIENT_IS_SET; -pub use linux_headers_linux_prctl::PR_CAP_AMBIENT_RAISE; -pub use linux_headers_linux_prctl::PR_CAP_AMBIENT_LOWER; -pub use linux_headers_linux_prctl::PR_CAP_AMBIENT_CLEAR_ALL; -pub use linux_headers_linux_prctl::PR_SVE_SET_VL; -pub use linux_headers_linux_prctl::PR_SVE_SET_VL_ONEXEC; -pub use linux_headers_linux_prctl::PR_SVE_GET_VL; -pub use linux_headers_linux_prctl::PR_SVE_VL_LEN_MASK; -pub use linux_headers_linux_prctl::PR_SVE_VL_INHERIT; -pub use linux_headers_linux_prctl::PR_GET_SPECULATION_CTRL; -pub use linux_headers_linux_prctl::PR_SET_SPECULATION_CTRL; -pub use linux_headers_linux_prctl::PR_SPEC_STORE_BYPASS; -pub use linux_headers_linux_prctl::PR_SPEC_INDIRECT_BRANCH; -pub use linux_headers_linux_prctl::PR_SPEC_L1D_FLUSH; -pub use linux_headers_linux_prctl::PR_SPEC_NOT_AFFECTED; -pub use linux_headers_linux_prctl::PR_SPEC_PRCTL; -pub use linux_headers_linux_prctl::PR_SPEC_ENABLE; -pub use linux_headers_linux_prctl::PR_SPEC_DISABLE; -pub use linux_headers_linux_prctl::PR_SPEC_FORCE_DISABLE; -pub use linux_headers_linux_prctl::PR_SPEC_DISABLE_NOEXEC; -pub use linux_headers_linux_prctl::PR_PAC_RESET_KEYS; -pub use linux_headers_linux_prctl::PR_PAC_APIAKEY; -pub use linux_headers_linux_prctl::PR_PAC_APIBKEY; -pub use linux_headers_linux_prctl::PR_PAC_APDAKEY; -pub use linux_headers_linux_prctl::PR_PAC_APDBKEY; -pub use linux_headers_linux_prctl::PR_PAC_APGAKEY; -pub use linux_headers_linux_prctl::PR_SET_TAGGED_ADDR_CTRL; -pub use linux_headers_linux_prctl::PR_GET_TAGGED_ADDR_CTRL; -pub use linux_headers_linux_prctl::PR_TAGGED_ADDR_ENABLE; -pub use linux_headers_linux_prctl::PR_MTE_TCF_NONE; -pub use linux_headers_linux_prctl::PR_MTE_TCF_SYNC; -pub use linux_headers_linux_prctl::PR_MTE_TCF_ASYNC; -pub use linux_headers_linux_prctl::PR_MTE_TCF_MASK; -pub use linux_headers_linux_prctl::PR_MTE_TAG_SHIFT; -pub use linux_headers_linux_prctl::PR_MTE_TAG_MASK; -pub use linux_headers_linux_prctl::PR_MTE_TCF_SHIFT; -pub use linux_headers_linux_prctl::PR_SET_IO_FLUSHER; -pub use linux_headers_linux_prctl::PR_GET_IO_FLUSHER; -pub use linux_headers_linux_prctl::PR_SET_SYSCALL_USER_DISPATCH; -pub use linux_headers_linux_prctl::PR_SYS_DISPATCH_OFF; -pub use linux_headers_linux_prctl::PR_SYS_DISPATCH_ON; -pub use linux_headers_linux_prctl::PR_PAC_SET_ENABLED_KEYS; -pub use linux_headers_linux_prctl::PR_PAC_GET_ENABLED_KEYS; -pub use linux_headers_linux_prctl::PR_SCHED_CORE; -pub use linux_headers_linux_prctl::PR_SCHED_CORE_GET; -pub use linux_headers_linux_prctl::PR_SCHED_CORE_CREATE; -pub use linux_headers_linux_prctl::PR_SCHED_CORE_SHARE_TO; -pub use linux_headers_linux_prctl::PR_SCHED_CORE_SHARE_FROM; -pub use linux_headers_linux_prctl::PR_SCHED_CORE_MAX; -pub use linux_headers_linux_prctl::PR_SCHED_CORE_SCOPE_THREAD; -pub use linux_headers_linux_prctl::PR_SCHED_CORE_SCOPE_THREAD_GROUP; -pub use linux_headers_linux_prctl::PR_SCHED_CORE_SCOPE_PROCESS_GROUP; -pub use linux_headers_linux_prctl::PR_SME_SET_VL; -pub use linux_headers_linux_prctl::PR_SME_SET_VL_ONEXEC; -pub use linux_headers_linux_prctl::PR_SME_GET_VL; -pub use linux_headers_linux_prctl::PR_SME_VL_LEN_MASK; -pub use linux_headers_linux_prctl::PR_SME_VL_INHERIT; -pub use linux_headers_linux_prctl::PR_SET_MDWE; -pub use linux_headers_linux_prctl::PR_MDWE_REFUSE_EXEC_GAIN; -pub use linux_headers_linux_prctl::PR_MDWE_NO_INHERIT; -pub use linux_headers_linux_prctl::PR_GET_MDWE; -pub use linux_headers_linux_prctl::PR_SET_VMA; -pub use linux_headers_linux_prctl::PR_SET_VMA_ANON_NAME; -pub use linux_headers_linux_prctl::PR_GET_AUXV; -pub use linux_headers_linux_prctl::PR_SET_MEMORY_MERGE; -pub use linux_headers_linux_prctl::PR_GET_MEMORY_MERGE; -pub use linux_headers_linux_prctl::PR_RISCV_V_SET_CONTROL; -pub use linux_headers_linux_prctl::PR_RISCV_V_GET_CONTROL; -pub use linux_headers_linux_prctl::PR_RISCV_V_VSTATE_CTRL_DEFAULT; -pub use linux_headers_linux_prctl::PR_RISCV_V_VSTATE_CTRL_OFF; -pub use linux_headers_linux_prctl::PR_RISCV_V_VSTATE_CTRL_ON; -pub use linux_headers_linux_prctl::PR_RISCV_V_VSTATE_CTRL_INHERIT; -pub use linux_headers_linux_prctl::PR_RISCV_V_VSTATE_CTRL_CUR_MASK; -pub use linux_headers_linux_prctl::PR_RISCV_V_VSTATE_CTRL_NEXT_MASK; -pub use linux_headers_linux_prctl::PR_RISCV_V_VSTATE_CTRL_MASK; -pub use linux_headers_linux_prctl::PR_RISCV_SET_ICACHE_FLUSH_CTX; -pub use linux_headers_linux_prctl::PR_RISCV_CTX_SW_FENCEI_ON; -pub use linux_headers_linux_prctl::PR_RISCV_CTX_SW_FENCEI_OFF; -pub use linux_headers_linux_prctl::PR_RISCV_SCOPE_PER_PROCESS; -pub use linux_headers_linux_prctl::PR_RISCV_SCOPE_PER_THREAD; -pub use linux_headers_linux_prctl::PR_PPC_GET_DEXCR; -pub use linux_headers_linux_prctl::PR_PPC_SET_DEXCR; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_SBHE; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_IBRTPD; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_SRAPD; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_NPHIE; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_CTRL_EDITABLE; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_CTRL_SET; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_CTRL_CLEAR; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_CTRL_SET_ONEXEC; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_CTRL_CLEAR_ONEXEC; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_CTRL_MASK; -mod dlfcn; -pub use dlfcn::dlsym; -pub use dlfcn::RTLD_DEFAULT; -mod elf; -pub use elf::Elf32_auxv_t; -pub use elf::Elf64_auxv_t; -mod sys_auxv; -pub use sys_auxv::getauxval; -mod sys_system_properties; -pub use sys_system_properties::PROP_VALUE_MAX; -pub use sys_system_properties::__system_property_get; -mod unistd; -pub use unistd::syscall; -pub type c_char = u8; diff --git a/tests/helper/src/gen/sys/aarch64_linux_android/sys_auxv.rs b/tests/helper/src/gen/sys/aarch64_linux_android/sys_auxv.rs deleted file mode 100644 index 1fe1c678..00000000 --- a/tests/helper/src/gen/sys/aarch64_linux_android/sys_auxv.rs +++ /dev/null @@ -1,10 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -extern "C" { - pub fn getauxval(__type: ::std::os::raw::c_ulong) -> ::std::os::raw::c_ulong; -} diff --git a/tests/helper/src/gen/sys/aarch64_linux_android/sys_system_properties.rs b/tests/helper/src/gen/sys/aarch64_linux_android/sys_system_properties.rs deleted file mode 100644 index c658c641..00000000 --- a/tests/helper/src/gen/sys/aarch64_linux_android/sys_system_properties.rs +++ /dev/null @@ -1,14 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -pub const PROP_VALUE_MAX: u32 = 92; -extern "C" { - pub fn __system_property_get( - __name: *const ::std::os::raw::c_char, - __value: *mut ::std::os::raw::c_char, - ) -> ::std::os::raw::c_int; -} diff --git a/tests/helper/src/gen/sys/aarch64_linux_android/unistd.rs b/tests/helper/src/gen/sys/aarch64_linux_android/unistd.rs deleted file mode 100644 index 3d81fa05..00000000 --- a/tests/helper/src/gen/sys/aarch64_linux_android/unistd.rs +++ /dev/null @@ -1,10 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -extern "C" { - pub fn syscall(__number: ::std::os::raw::c_long, ...) -> ::std::os::raw::c_long; -} diff --git a/tests/helper/src/gen/sys/aarch64_linux_gnu/dlfcn.rs b/tests/helper/src/gen/sys/aarch64_linux_gnu/dlfcn.rs deleted file mode 100644 index 0c516f36..00000000 --- a/tests/helper/src/gen/sys/aarch64_linux_gnu/dlfcn.rs +++ /dev/null @@ -1,14 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -pub const RTLD_DEFAULT: *mut ::std::os::raw::c_void = ::core::ptr::null_mut(); -extern "C" { - pub fn dlsym( - __handle: *mut ::core::ffi::c_void, - __name: *const ::std::os::raw::c_char, - ) -> *mut ::core::ffi::c_void; -} diff --git a/tests/helper/src/gen/sys/aarch64_linux_gnu/elf.rs b/tests/helper/src/gen/sys/aarch64_linux_gnu/elf.rs deleted file mode 100644 index a3c1790d..00000000 --- a/tests/helper/src/gen/sys/aarch64_linux_gnu/elf.rs +++ /dev/null @@ -1,29 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -#[repr(C)] -#[derive(Copy, Clone)] -pub struct Elf32_auxv_t { - pub a_type: u32, - pub a_un: Elf32_auxv_t__bindgen_ty_1, -} -#[repr(C)] -#[derive(Copy, Clone)] -pub union Elf32_auxv_t__bindgen_ty_1 { - pub a_val: u32, -} -#[repr(C)] -#[derive(Copy, Clone)] -pub struct Elf64_auxv_t { - pub a_type: u64, - pub a_un: Elf64_auxv_t__bindgen_ty_1, -} -#[repr(C)] -#[derive(Copy, Clone)] -pub union Elf64_auxv_t__bindgen_ty_1 { - pub a_val: u64, -} diff --git a/tests/helper/src/gen/sys/aarch64_linux_gnu/linux_headers_asm_hwcap.rs b/tests/helper/src/gen/sys/aarch64_linux_gnu/linux_headers_asm_hwcap.rs deleted file mode 100644 index 3b593c9f..00000000 --- a/tests/helper/src/gen/sys/aarch64_linux_gnu/linux_headers_asm_hwcap.rs +++ /dev/null @@ -1,103 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -pub const HWCAP_FP: u32 = 1; -pub const HWCAP_ASIMD: u32 = 2; -pub const HWCAP_EVTSTRM: u32 = 4; -pub const HWCAP_AES: u32 = 8; -pub const HWCAP_PMULL: u32 = 16; -pub const HWCAP_SHA1: u32 = 32; -pub const HWCAP_SHA2: u32 = 64; -pub const HWCAP_CRC32: u32 = 128; -pub const HWCAP_ATOMICS: u32 = 256; -pub const HWCAP_FPHP: u32 = 512; -pub const HWCAP_ASIMDHP: u32 = 1024; -pub const HWCAP_CPUID: u32 = 2048; -pub const HWCAP_ASIMDRDM: u32 = 4096; -pub const HWCAP_JSCVT: u32 = 8192; -pub const HWCAP_FCMA: u32 = 16384; -pub const HWCAP_LRCPC: u32 = 32768; -pub const HWCAP_DCPOP: u32 = 65536; -pub const HWCAP_SHA3: u32 = 131072; -pub const HWCAP_SM3: u32 = 262144; -pub const HWCAP_SM4: u32 = 524288; -pub const HWCAP_ASIMDDP: u32 = 1048576; -pub const HWCAP_SHA512: u32 = 2097152; -pub const HWCAP_SVE: u32 = 4194304; -pub const HWCAP_ASIMDFHM: u32 = 8388608; -pub const HWCAP_DIT: u32 = 16777216; -pub const HWCAP_USCAT: u32 = 33554432; -pub const HWCAP_ILRCPC: u32 = 67108864; -pub const HWCAP_FLAGM: u32 = 134217728; -pub const HWCAP_SSBS: u32 = 268435456; -pub const HWCAP_SB: u32 = 536870912; -pub const HWCAP_PACA: u32 = 1073741824; -pub const HWCAP_PACG: u32 = 2147483648; -pub const HWCAP2_DCPODP: u32 = 1; -pub const HWCAP2_SVE2: u32 = 2; -pub const HWCAP2_SVEAES: u32 = 4; -pub const HWCAP2_SVEPMULL: u32 = 8; -pub const HWCAP2_SVEBITPERM: u32 = 16; -pub const HWCAP2_SVESHA3: u32 = 32; -pub const HWCAP2_SVESM4: u32 = 64; -pub const HWCAP2_FLAGM2: u32 = 128; -pub const HWCAP2_FRINT: u32 = 256; -pub const HWCAP2_SVEI8MM: u32 = 512; -pub const HWCAP2_SVEF32MM: u32 = 1024; -pub const HWCAP2_SVEF64MM: u32 = 2048; -pub const HWCAP2_SVEBF16: u32 = 4096; -pub const HWCAP2_I8MM: u32 = 8192; -pub const HWCAP2_BF16: u32 = 16384; -pub const HWCAP2_DGH: u32 = 32768; -pub const HWCAP2_RNG: u32 = 65536; -pub const HWCAP2_BTI: u32 = 131072; -pub const HWCAP2_MTE: u32 = 262144; -pub const HWCAP2_ECV: u32 = 524288; -pub const HWCAP2_AFP: u32 = 1048576; -pub const HWCAP2_RPRES: u32 = 2097152; -pub const HWCAP2_MTE3: u32 = 4194304; -pub const HWCAP2_SME: u32 = 8388608; -pub const HWCAP2_SME_I16I64: u32 = 16777216; -pub const HWCAP2_SME_F64F64: u32 = 33554432; -pub const HWCAP2_SME_I8I32: u32 = 67108864; -pub const HWCAP2_SME_F16F32: u32 = 134217728; -pub const HWCAP2_SME_B16F32: u32 = 268435456; -pub const HWCAP2_SME_F32F32: u32 = 536870912; -pub const HWCAP2_SME_FA64: u32 = 1073741824; -pub const HWCAP2_WFXT: u32 = 2147483648; -pub const HWCAP2_EBF16: u64 = 4294967296; -pub const HWCAP2_SVE_EBF16: u64 = 8589934592; -pub const HWCAP2_CSSC: u64 = 17179869184; -pub const HWCAP2_RPRFM: u64 = 34359738368; -pub const HWCAP2_SVE2P1: u64 = 68719476736; -pub const HWCAP2_SME2: u64 = 137438953472; -pub const HWCAP2_SME2P1: u64 = 274877906944; -pub const HWCAP2_SME_I16I32: u64 = 549755813888; -pub const HWCAP2_SME_BI32I32: u64 = 1099511627776; -pub const HWCAP2_SME_B16B16: u64 = 2199023255552; -pub const HWCAP2_SME_F16F16: u64 = 4398046511104; -pub const HWCAP2_MOPS: u64 = 8796093022208; -pub const HWCAP2_HBC: u64 = 17592186044416; -pub const HWCAP2_SVE_B16B16: u64 = 35184372088832; -pub const HWCAP2_LRCPC3: u64 = 70368744177664; -pub const HWCAP2_LSE128: u64 = 140737488355328; -pub const HWCAP2_FPMR: u64 = 281474976710656; -pub const HWCAP2_LUT: u64 = 562949953421312; -pub const HWCAP2_FAMINMAX: u64 = 1125899906842624; -pub const HWCAP2_F8CVT: u64 = 2251799813685248; -pub const HWCAP2_F8FMA: u64 = 4503599627370496; -pub const HWCAP2_F8DP4: u64 = 9007199254740992; -pub const HWCAP2_F8DP2: u64 = 18014398509481984; -pub const HWCAP2_F8E4M3: u64 = 36028797018963968; -pub const HWCAP2_F8E5M2: u64 = 72057594037927936; -pub const HWCAP2_SME_LUTV2: u64 = 144115188075855872; -pub const HWCAP2_SME_F8F16: u64 = 288230376151711744; -pub const HWCAP2_SME_F8F32: u64 = 576460752303423488; -pub const HWCAP2_SME_SF8FMA: u64 = 1152921504606846976; -pub const HWCAP2_SME_SF8DP4: u64 = 2305843009213693952; -pub const HWCAP2_SME_SF8DP2: u64 = 4611686018427387904; -pub const HWCAP2_POE: u64 = 9223372036854775808; diff --git a/tests/helper/src/gen/sys/aarch64_linux_gnu/linux_headers_asm_unistd.rs b/tests/helper/src/gen/sys/aarch64_linux_gnu/linux_headers_asm_unistd.rs deleted file mode 100644 index 3d00edab..00000000 --- a/tests/helper/src/gen/sys/aarch64_linux_gnu/linux_headers_asm_unistd.rs +++ /dev/null @@ -1,325 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -pub const __NR_io_setup: u32 = 0; -pub const __NR_io_destroy: u32 = 1; -pub const __NR_io_submit: u32 = 2; -pub const __NR_io_cancel: u32 = 3; -pub const __NR_io_getevents: u32 = 4; -pub const __NR_setxattr: u32 = 5; -pub const __NR_lsetxattr: u32 = 6; -pub const __NR_fsetxattr: u32 = 7; -pub const __NR_getxattr: u32 = 8; -pub const __NR_lgetxattr: u32 = 9; -pub const __NR_fgetxattr: u32 = 10; -pub const __NR_listxattr: u32 = 11; -pub const __NR_llistxattr: u32 = 12; -pub const __NR_flistxattr: u32 = 13; -pub const __NR_removexattr: u32 = 14; -pub const __NR_lremovexattr: u32 = 15; -pub const __NR_fremovexattr: u32 = 16; -pub const __NR_getcwd: u32 = 17; -pub const __NR_lookup_dcookie: u32 = 18; -pub const __NR_eventfd2: u32 = 19; -pub const __NR_epoll_create1: u32 = 20; -pub const __NR_epoll_ctl: u32 = 21; -pub const __NR_epoll_pwait: u32 = 22; -pub const __NR_dup: u32 = 23; -pub const __NR_dup3: u32 = 24; -pub const __NR_fcntl: u32 = 25; -pub const __NR_inotify_init1: u32 = 26; -pub const __NR_inotify_add_watch: u32 = 27; -pub const __NR_inotify_rm_watch: u32 = 28; -pub const __NR_ioctl: u32 = 29; -pub const __NR_ioprio_set: u32 = 30; -pub const __NR_ioprio_get: u32 = 31; -pub const __NR_flock: u32 = 32; -pub const __NR_mknodat: u32 = 33; -pub const __NR_mkdirat: u32 = 34; -pub const __NR_unlinkat: u32 = 35; -pub const __NR_symlinkat: u32 = 36; -pub const __NR_linkat: u32 = 37; -pub const __NR_renameat: u32 = 38; -pub const __NR_umount2: u32 = 39; -pub const __NR_mount: u32 = 40; -pub const __NR_pivot_root: u32 = 41; -pub const __NR_nfsservctl: u32 = 42; -pub const __NR_statfs: u32 = 43; -pub const __NR_fstatfs: u32 = 44; -pub const __NR_truncate: u32 = 45; -pub const __NR_ftruncate: u32 = 46; -pub const __NR_fallocate: u32 = 47; -pub const __NR_faccessat: u32 = 48; -pub const __NR_chdir: u32 = 49; -pub const __NR_fchdir: u32 = 50; -pub const __NR_chroot: u32 = 51; -pub const __NR_fchmod: u32 = 52; -pub const __NR_fchmodat: u32 = 53; -pub const __NR_fchownat: u32 = 54; -pub const __NR_fchown: u32 = 55; -pub const __NR_openat: u32 = 56; -pub const __NR_close: u32 = 57; -pub const __NR_vhangup: u32 = 58; -pub const __NR_pipe2: u32 = 59; -pub const __NR_quotactl: u32 = 60; -pub const __NR_getdents64: u32 = 61; -pub const __NR_lseek: u32 = 62; -pub const __NR_read: u32 = 63; -pub const __NR_write: u32 = 64; -pub const __NR_readv: u32 = 65; -pub const __NR_writev: u32 = 66; -pub const __NR_pread64: u32 = 67; -pub const __NR_pwrite64: u32 = 68; -pub const __NR_preadv: u32 = 69; -pub const __NR_pwritev: u32 = 70; -pub const __NR_sendfile: u32 = 71; -pub const __NR_pselect6: u32 = 72; -pub const __NR_ppoll: u32 = 73; -pub const __NR_signalfd4: u32 = 74; -pub const __NR_vmsplice: u32 = 75; -pub const __NR_splice: u32 = 76; -pub const __NR_tee: u32 = 77; -pub const __NR_readlinkat: u32 = 78; -pub const __NR_newfstatat: u32 = 79; -pub const __NR_fstat: u32 = 80; -pub const __NR_sync: u32 = 81; -pub const __NR_fsync: u32 = 82; -pub const __NR_fdatasync: u32 = 83; -pub const __NR_sync_file_range: u32 = 84; -pub const __NR_timerfd_create: u32 = 85; -pub const __NR_timerfd_settime: u32 = 86; -pub const __NR_timerfd_gettime: u32 = 87; -pub const __NR_utimensat: u32 = 88; -pub const __NR_acct: u32 = 89; -pub const __NR_capget: u32 = 90; -pub const __NR_capset: u32 = 91; -pub const __NR_personality: u32 = 92; -pub const __NR_exit: u32 = 93; -pub const __NR_exit_group: u32 = 94; -pub const __NR_waitid: u32 = 95; -pub const __NR_set_tid_address: u32 = 96; -pub const __NR_unshare: u32 = 97; -pub const __NR_futex: u32 = 98; -pub const __NR_set_robust_list: u32 = 99; -pub const __NR_get_robust_list: u32 = 100; -pub const __NR_nanosleep: u32 = 101; -pub const __NR_getitimer: u32 = 102; -pub const __NR_setitimer: u32 = 103; -pub const __NR_kexec_load: u32 = 104; -pub const __NR_init_module: u32 = 105; -pub const __NR_delete_module: u32 = 106; -pub const __NR_timer_create: u32 = 107; -pub const __NR_timer_gettime: u32 = 108; -pub const __NR_timer_getoverrun: u32 = 109; -pub const __NR_timer_settime: u32 = 110; -pub const __NR_timer_delete: u32 = 111; -pub const __NR_clock_settime: u32 = 112; -pub const __NR_clock_gettime: u32 = 113; -pub const __NR_clock_getres: u32 = 114; -pub const __NR_clock_nanosleep: u32 = 115; -pub const __NR_syslog: u32 = 116; -pub const __NR_ptrace: u32 = 117; -pub const __NR_sched_setparam: u32 = 118; -pub const __NR_sched_setscheduler: u32 = 119; -pub const __NR_sched_getscheduler: u32 = 120; -pub const __NR_sched_getparam: u32 = 121; -pub const __NR_sched_setaffinity: u32 = 122; -pub const __NR_sched_getaffinity: u32 = 123; -pub const __NR_sched_yield: u32 = 124; -pub const __NR_sched_get_priority_max: u32 = 125; -pub const __NR_sched_get_priority_min: u32 = 126; -pub const __NR_sched_rr_get_interval: u32 = 127; -pub const __NR_restart_syscall: u32 = 128; -pub const __NR_kill: u32 = 129; -pub const __NR_tkill: u32 = 130; -pub const __NR_tgkill: u32 = 131; -pub const __NR_sigaltstack: u32 = 132; -pub const __NR_rt_sigsuspend: u32 = 133; -pub const __NR_rt_sigaction: u32 = 134; -pub const __NR_rt_sigprocmask: u32 = 135; -pub const __NR_rt_sigpending: u32 = 136; -pub const __NR_rt_sigtimedwait: u32 = 137; -pub const __NR_rt_sigqueueinfo: u32 = 138; -pub const __NR_rt_sigreturn: u32 = 139; -pub const __NR_setpriority: u32 = 140; -pub const __NR_getpriority: u32 = 141; -pub const __NR_reboot: u32 = 142; -pub const __NR_setregid: u32 = 143; -pub const __NR_setgid: u32 = 144; -pub const __NR_setreuid: u32 = 145; -pub const __NR_setuid: u32 = 146; -pub const __NR_setresuid: u32 = 147; -pub const __NR_getresuid: u32 = 148; -pub const __NR_setresgid: u32 = 149; -pub const __NR_getresgid: u32 = 150; -pub const __NR_setfsuid: u32 = 151; -pub const __NR_setfsgid: u32 = 152; -pub const __NR_times: u32 = 153; -pub const __NR_setpgid: u32 = 154; -pub const __NR_getpgid: u32 = 155; -pub const __NR_getsid: u32 = 156; -pub const __NR_setsid: u32 = 157; -pub const __NR_getgroups: u32 = 158; -pub const __NR_setgroups: u32 = 159; -pub const __NR_uname: u32 = 160; -pub const __NR_sethostname: u32 = 161; -pub const __NR_setdomainname: u32 = 162; -pub const __NR_getrlimit: u32 = 163; -pub const __NR_setrlimit: u32 = 164; -pub const __NR_getrusage: u32 = 165; -pub const __NR_umask: u32 = 166; -pub const __NR_prctl: u32 = 167; -pub const __NR_getcpu: u32 = 168; -pub const __NR_gettimeofday: u32 = 169; -pub const __NR_settimeofday: u32 = 170; -pub const __NR_adjtimex: u32 = 171; -pub const __NR_getpid: u32 = 172; -pub const __NR_getppid: u32 = 173; -pub const __NR_getuid: u32 = 174; -pub const __NR_geteuid: u32 = 175; -pub const __NR_getgid: u32 = 176; -pub const __NR_getegid: u32 = 177; -pub const __NR_gettid: u32 = 178; -pub const __NR_sysinfo: u32 = 179; -pub const __NR_mq_open: u32 = 180; -pub const __NR_mq_unlink: u32 = 181; -pub const __NR_mq_timedsend: u32 = 182; -pub const __NR_mq_timedreceive: u32 = 183; -pub const __NR_mq_notify: u32 = 184; -pub const __NR_mq_getsetattr: u32 = 185; -pub const __NR_msgget: u32 = 186; -pub const __NR_msgctl: u32 = 187; -pub const __NR_msgrcv: u32 = 188; -pub const __NR_msgsnd: u32 = 189; -pub const __NR_semget: u32 = 190; -pub const __NR_semctl: u32 = 191; -pub const __NR_semtimedop: u32 = 192; -pub const __NR_semop: u32 = 193; -pub const __NR_shmget: u32 = 194; -pub const __NR_shmctl: u32 = 195; -pub const __NR_shmat: u32 = 196; -pub const __NR_shmdt: u32 = 197; -pub const __NR_socket: u32 = 198; -pub const __NR_socketpair: u32 = 199; -pub const __NR_bind: u32 = 200; -pub const __NR_listen: u32 = 201; -pub const __NR_accept: u32 = 202; -pub const __NR_connect: u32 = 203; -pub const __NR_getsockname: u32 = 204; -pub const __NR_getpeername: u32 = 205; -pub const __NR_sendto: u32 = 206; -pub const __NR_recvfrom: u32 = 207; -pub const __NR_setsockopt: u32 = 208; -pub const __NR_getsockopt: u32 = 209; -pub const __NR_shutdown: u32 = 210; -pub const __NR_sendmsg: u32 = 211; -pub const __NR_recvmsg: u32 = 212; -pub const __NR_readahead: u32 = 213; -pub const __NR_brk: u32 = 214; -pub const __NR_munmap: u32 = 215; -pub const __NR_mremap: u32 = 216; -pub const __NR_add_key: u32 = 217; -pub const __NR_request_key: u32 = 218; -pub const __NR_keyctl: u32 = 219; -pub const __NR_clone: u32 = 220; -pub const __NR_execve: u32 = 221; -pub const __NR_mmap: u32 = 222; -pub const __NR_fadvise64: u32 = 223; -pub const __NR_swapon: u32 = 224; -pub const __NR_swapoff: u32 = 225; -pub const __NR_mprotect: u32 = 226; -pub const __NR_msync: u32 = 227; -pub const __NR_mlock: u32 = 228; -pub const __NR_munlock: u32 = 229; -pub const __NR_mlockall: u32 = 230; -pub const __NR_munlockall: u32 = 231; -pub const __NR_mincore: u32 = 232; -pub const __NR_madvise: u32 = 233; -pub const __NR_remap_file_pages: u32 = 234; -pub const __NR_mbind: u32 = 235; -pub const __NR_get_mempolicy: u32 = 236; -pub const __NR_set_mempolicy: u32 = 237; -pub const __NR_migrate_pages: u32 = 238; -pub const __NR_move_pages: u32 = 239; -pub const __NR_rt_tgsigqueueinfo: u32 = 240; -pub const __NR_perf_event_open: u32 = 241; -pub const __NR_accept4: u32 = 242; -pub const __NR_recvmmsg: u32 = 243; -pub const __NR_wait4: u32 = 260; -pub const __NR_prlimit64: u32 = 261; -pub const __NR_fanotify_init: u32 = 262; -pub const __NR_fanotify_mark: u32 = 263; -pub const __NR_name_to_handle_at: u32 = 264; -pub const __NR_open_by_handle_at: u32 = 265; -pub const __NR_clock_adjtime: u32 = 266; -pub const __NR_syncfs: u32 = 267; -pub const __NR_setns: u32 = 268; -pub const __NR_sendmmsg: u32 = 269; -pub const __NR_process_vm_readv: u32 = 270; -pub const __NR_process_vm_writev: u32 = 271; -pub const __NR_kcmp: u32 = 272; -pub const __NR_finit_module: u32 = 273; -pub const __NR_sched_setattr: u32 = 274; -pub const __NR_sched_getattr: u32 = 275; -pub const __NR_renameat2: u32 = 276; -pub const __NR_seccomp: u32 = 277; -pub const __NR_getrandom: u32 = 278; -pub const __NR_memfd_create: u32 = 279; -pub const __NR_bpf: u32 = 280; -pub const __NR_execveat: u32 = 281; -pub const __NR_userfaultfd: u32 = 282; -pub const __NR_membarrier: u32 = 283; -pub const __NR_mlock2: u32 = 284; -pub const __NR_copy_file_range: u32 = 285; -pub const __NR_preadv2: u32 = 286; -pub const __NR_pwritev2: u32 = 287; -pub const __NR_pkey_mprotect: u32 = 288; -pub const __NR_pkey_alloc: u32 = 289; -pub const __NR_pkey_free: u32 = 290; -pub const __NR_statx: u32 = 291; -pub const __NR_io_pgetevents: u32 = 292; -pub const __NR_rseq: u32 = 293; -pub const __NR_kexec_file_load: u32 = 294; -pub const __NR_pidfd_send_signal: u32 = 424; -pub const __NR_io_uring_setup: u32 = 425; -pub const __NR_io_uring_enter: u32 = 426; -pub const __NR_io_uring_register: u32 = 427; -pub const __NR_open_tree: u32 = 428; -pub const __NR_move_mount: u32 = 429; -pub const __NR_fsopen: u32 = 430; -pub const __NR_fsconfig: u32 = 431; -pub const __NR_fsmount: u32 = 432; -pub const __NR_fspick: u32 = 433; -pub const __NR_pidfd_open: u32 = 434; -pub const __NR_clone3: u32 = 435; -pub const __NR_close_range: u32 = 436; -pub const __NR_openat2: u32 = 437; -pub const __NR_pidfd_getfd: u32 = 438; -pub const __NR_faccessat2: u32 = 439; -pub const __NR_process_madvise: u32 = 440; -pub const __NR_epoll_pwait2: u32 = 441; -pub const __NR_mount_setattr: u32 = 442; -pub const __NR_quotactl_fd: u32 = 443; -pub const __NR_landlock_create_ruleset: u32 = 444; -pub const __NR_landlock_add_rule: u32 = 445; -pub const __NR_landlock_restrict_self: u32 = 446; -pub const __NR_memfd_secret: u32 = 447; -pub const __NR_process_mrelease: u32 = 448; -pub const __NR_futex_waitv: u32 = 449; -pub const __NR_set_mempolicy_home_node: u32 = 450; -pub const __NR_cachestat: u32 = 451; -pub const __NR_fchmodat2: u32 = 452; -pub const __NR_map_shadow_stack: u32 = 453; -pub const __NR_futex_wake: u32 = 454; -pub const __NR_futex_wait: u32 = 455; -pub const __NR_futex_requeue: u32 = 456; -pub const __NR_statmount: u32 = 457; -pub const __NR_listmount: u32 = 458; -pub const __NR_lsm_get_self_attr: u32 = 459; -pub const __NR_lsm_set_self_attr: u32 = 460; -pub const __NR_lsm_list_modules: u32 = 461; -pub const __NR_mseal: u32 = 462; diff --git a/tests/helper/src/gen/sys/aarch64_linux_gnu/linux_headers_linux_auxvec.rs b/tests/helper/src/gen/sys/aarch64_linux_gnu/linux_headers_linux_auxvec.rs deleted file mode 100644 index da867dd1..00000000 --- a/tests/helper/src/gen/sys/aarch64_linux_gnu/linux_headers_linux_auxvec.rs +++ /dev/null @@ -1,37 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -pub const AT_SYSINFO_EHDR: u32 = 33; -pub const AT_MINSIGSTKSZ: u32 = 51; -pub const AT_VECTOR_SIZE_ARCH: u32 = 2; -pub const AT_NULL: u32 = 0; -pub const AT_IGNORE: u32 = 1; -pub const AT_EXECFD: u32 = 2; -pub const AT_PHDR: u32 = 3; -pub const AT_PHENT: u32 = 4; -pub const AT_PHNUM: u32 = 5; -pub const AT_PAGESZ: u32 = 6; -pub const AT_BASE: u32 = 7; -pub const AT_FLAGS: u32 = 8; -pub const AT_ENTRY: u32 = 9; -pub const AT_NOTELF: u32 = 10; -pub const AT_UID: u32 = 11; -pub const AT_EUID: u32 = 12; -pub const AT_GID: u32 = 13; -pub const AT_EGID: u32 = 14; -pub const AT_PLATFORM: u32 = 15; -pub const AT_HWCAP: u32 = 16; -pub const AT_CLKTCK: u32 = 17; -pub const AT_SECURE: u32 = 23; -pub const AT_BASE_PLATFORM: u32 = 24; -pub const AT_RANDOM: u32 = 25; -pub const AT_HWCAP2: u32 = 26; -pub const AT_RSEQ_FEATURE_SIZE: u32 = 27; -pub const AT_RSEQ_ALIGN: u32 = 28; -pub const AT_HWCAP3: u32 = 29; -pub const AT_HWCAP4: u32 = 30; -pub const AT_EXECFN: u32 = 31; diff --git a/tests/helper/src/gen/sys/aarch64_linux_gnu/linux_headers_linux_prctl.rs b/tests/helper/src/gen/sys/aarch64_linux_gnu/linux_headers_linux_prctl.rs deleted file mode 100644 index 6eeb3021..00000000 --- a/tests/helper/src/gen/sys/aarch64_linux_gnu/linux_headers_linux_prctl.rs +++ /dev/null @@ -1,189 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -pub const PR_SET_PDEATHSIG: u32 = 1; -pub const PR_GET_PDEATHSIG: u32 = 2; -pub const PR_GET_DUMPABLE: u32 = 3; -pub const PR_SET_DUMPABLE: u32 = 4; -pub const PR_GET_UNALIGN: u32 = 5; -pub const PR_SET_UNALIGN: u32 = 6; -pub const PR_UNALIGN_NOPRINT: u32 = 1; -pub const PR_UNALIGN_SIGBUS: u32 = 2; -pub const PR_GET_KEEPCAPS: u32 = 7; -pub const PR_SET_KEEPCAPS: u32 = 8; -pub const PR_GET_FPEMU: u32 = 9; -pub const PR_SET_FPEMU: u32 = 10; -pub const PR_FPEMU_NOPRINT: u32 = 1; -pub const PR_FPEMU_SIGFPE: u32 = 2; -pub const PR_GET_FPEXC: u32 = 11; -pub const PR_SET_FPEXC: u32 = 12; -pub const PR_FP_EXC_SW_ENABLE: u32 = 128; -pub const PR_FP_EXC_DIV: u32 = 65536; -pub const PR_FP_EXC_OVF: u32 = 131072; -pub const PR_FP_EXC_UND: u32 = 262144; -pub const PR_FP_EXC_RES: u32 = 524288; -pub const PR_FP_EXC_INV: u32 = 1048576; -pub const PR_FP_EXC_DISABLED: u32 = 0; -pub const PR_FP_EXC_NONRECOV: u32 = 1; -pub const PR_FP_EXC_ASYNC: u32 = 2; -pub const PR_FP_EXC_PRECISE: u32 = 3; -pub const PR_GET_TIMING: u32 = 13; -pub const PR_SET_TIMING: u32 = 14; -pub const PR_TIMING_STATISTICAL: u32 = 0; -pub const PR_TIMING_TIMESTAMP: u32 = 1; -pub const PR_SET_NAME: u32 = 15; -pub const PR_GET_NAME: u32 = 16; -pub const PR_GET_ENDIAN: u32 = 19; -pub const PR_SET_ENDIAN: u32 = 20; -pub const PR_ENDIAN_BIG: u32 = 0; -pub const PR_ENDIAN_LITTLE: u32 = 1; -pub const PR_ENDIAN_PPC_LITTLE: u32 = 2; -pub const PR_GET_SECCOMP: u32 = 21; -pub const PR_SET_SECCOMP: u32 = 22; -pub const PR_CAPBSET_READ: u32 = 23; -pub const PR_CAPBSET_DROP: u32 = 24; -pub const PR_GET_TSC: u32 = 25; -pub const PR_SET_TSC: u32 = 26; -pub const PR_TSC_ENABLE: u32 = 1; -pub const PR_TSC_SIGSEGV: u32 = 2; -pub const PR_GET_SECUREBITS: u32 = 27; -pub const PR_SET_SECUREBITS: u32 = 28; -pub const PR_SET_TIMERSLACK: u32 = 29; -pub const PR_GET_TIMERSLACK: u32 = 30; -pub const PR_TASK_PERF_EVENTS_DISABLE: u32 = 31; -pub const PR_TASK_PERF_EVENTS_ENABLE: u32 = 32; -pub const PR_MCE_KILL: u32 = 33; -pub const PR_MCE_KILL_CLEAR: u32 = 0; -pub const PR_MCE_KILL_SET: u32 = 1; -pub const PR_MCE_KILL_LATE: u32 = 0; -pub const PR_MCE_KILL_EARLY: u32 = 1; -pub const PR_MCE_KILL_DEFAULT: u32 = 2; -pub const PR_MCE_KILL_GET: u32 = 34; -pub const PR_SET_MM: u32 = 35; -pub const PR_SET_MM_START_CODE: u32 = 1; -pub const PR_SET_MM_END_CODE: u32 = 2; -pub const PR_SET_MM_START_DATA: u32 = 3; -pub const PR_SET_MM_END_DATA: u32 = 4; -pub const PR_SET_MM_START_STACK: u32 = 5; -pub const PR_SET_MM_START_BRK: u32 = 6; -pub const PR_SET_MM_BRK: u32 = 7; -pub const PR_SET_MM_ARG_START: u32 = 8; -pub const PR_SET_MM_ARG_END: u32 = 9; -pub const PR_SET_MM_ENV_START: u32 = 10; -pub const PR_SET_MM_ENV_END: u32 = 11; -pub const PR_SET_MM_AUXV: u32 = 12; -pub const PR_SET_MM_EXE_FILE: u32 = 13; -pub const PR_SET_MM_MAP: u32 = 14; -pub const PR_SET_MM_MAP_SIZE: u32 = 15; -pub const PR_SET_PTRACER: u32 = 1499557217; -pub const PR_SET_PTRACER_ANY: ::std::os::raw::c_ulong = -1i8 as ::std::os::raw::c_ulong; -pub const PR_SET_CHILD_SUBREAPER: u32 = 36; -pub const PR_GET_CHILD_SUBREAPER: u32 = 37; -pub const PR_SET_NO_NEW_PRIVS: u32 = 38; -pub const PR_GET_NO_NEW_PRIVS: u32 = 39; -pub const PR_GET_TID_ADDRESS: u32 = 40; -pub const PR_SET_THP_DISABLE: u32 = 41; -pub const PR_GET_THP_DISABLE: u32 = 42; -pub const PR_MPX_ENABLE_MANAGEMENT: u32 = 43; -pub const PR_MPX_DISABLE_MANAGEMENT: u32 = 44; -pub const PR_SET_FP_MODE: u32 = 45; -pub const PR_GET_FP_MODE: u32 = 46; -pub const PR_FP_MODE_FR: u32 = 1; -pub const PR_FP_MODE_FRE: u32 = 2; -pub const PR_CAP_AMBIENT: u32 = 47; -pub const PR_CAP_AMBIENT_IS_SET: u32 = 1; -pub const PR_CAP_AMBIENT_RAISE: u32 = 2; -pub const PR_CAP_AMBIENT_LOWER: u32 = 3; -pub const PR_CAP_AMBIENT_CLEAR_ALL: u32 = 4; -pub const PR_SVE_SET_VL: u32 = 50; -pub const PR_SVE_SET_VL_ONEXEC: u32 = 262144; -pub const PR_SVE_GET_VL: u32 = 51; -pub const PR_SVE_VL_LEN_MASK: u32 = 65535; -pub const PR_SVE_VL_INHERIT: u32 = 131072; -pub const PR_GET_SPECULATION_CTRL: u32 = 52; -pub const PR_SET_SPECULATION_CTRL: u32 = 53; -pub const PR_SPEC_STORE_BYPASS: u32 = 0; -pub const PR_SPEC_INDIRECT_BRANCH: u32 = 1; -pub const PR_SPEC_L1D_FLUSH: u32 = 2; -pub const PR_SPEC_NOT_AFFECTED: u32 = 0; -pub const PR_SPEC_PRCTL: u32 = 1; -pub const PR_SPEC_ENABLE: u32 = 2; -pub const PR_SPEC_DISABLE: u32 = 4; -pub const PR_SPEC_FORCE_DISABLE: u32 = 8; -pub const PR_SPEC_DISABLE_NOEXEC: u32 = 16; -pub const PR_PAC_RESET_KEYS: u32 = 54; -pub const PR_PAC_APIAKEY: u32 = 1; -pub const PR_PAC_APIBKEY: u32 = 2; -pub const PR_PAC_APDAKEY: u32 = 4; -pub const PR_PAC_APDBKEY: u32 = 8; -pub const PR_PAC_APGAKEY: u32 = 16; -pub const PR_SET_TAGGED_ADDR_CTRL: u32 = 55; -pub const PR_GET_TAGGED_ADDR_CTRL: u32 = 56; -pub const PR_TAGGED_ADDR_ENABLE: u32 = 1; -pub const PR_MTE_TCF_NONE: u32 = 0; -pub const PR_MTE_TCF_SYNC: u32 = 2; -pub const PR_MTE_TCF_ASYNC: u32 = 4; -pub const PR_MTE_TCF_MASK: u32 = 6; -pub const PR_MTE_TAG_SHIFT: u32 = 3; -pub const PR_MTE_TAG_MASK: u32 = 524280; -pub const PR_MTE_TCF_SHIFT: u32 = 1; -pub const PR_SET_IO_FLUSHER: u32 = 57; -pub const PR_GET_IO_FLUSHER: u32 = 58; -pub const PR_SET_SYSCALL_USER_DISPATCH: u32 = 59; -pub const PR_SYS_DISPATCH_OFF: u32 = 0; -pub const PR_SYS_DISPATCH_ON: u32 = 1; -pub const PR_PAC_SET_ENABLED_KEYS: u32 = 60; -pub const PR_PAC_GET_ENABLED_KEYS: u32 = 61; -pub const PR_SCHED_CORE: u32 = 62; -pub const PR_SCHED_CORE_GET: u32 = 0; -pub const PR_SCHED_CORE_CREATE: u32 = 1; -pub const PR_SCHED_CORE_SHARE_TO: u32 = 2; -pub const PR_SCHED_CORE_SHARE_FROM: u32 = 3; -pub const PR_SCHED_CORE_MAX: u32 = 4; -pub const PR_SCHED_CORE_SCOPE_THREAD: u32 = 0; -pub const PR_SCHED_CORE_SCOPE_THREAD_GROUP: u32 = 1; -pub const PR_SCHED_CORE_SCOPE_PROCESS_GROUP: u32 = 2; -pub const PR_SME_SET_VL: u32 = 63; -pub const PR_SME_SET_VL_ONEXEC: u32 = 262144; -pub const PR_SME_GET_VL: u32 = 64; -pub const PR_SME_VL_LEN_MASK: u32 = 65535; -pub const PR_SME_VL_INHERIT: u32 = 131072; -pub const PR_SET_MDWE: u32 = 65; -pub const PR_MDWE_REFUSE_EXEC_GAIN: u32 = 1; -pub const PR_MDWE_NO_INHERIT: u32 = 2; -pub const PR_GET_MDWE: u32 = 66; -pub const PR_SET_VMA: u32 = 1398164801; -pub const PR_SET_VMA_ANON_NAME: u32 = 0; -pub const PR_GET_AUXV: u32 = 1096112214; -pub const PR_SET_MEMORY_MERGE: u32 = 67; -pub const PR_GET_MEMORY_MERGE: u32 = 68; -pub const PR_RISCV_V_SET_CONTROL: u32 = 69; -pub const PR_RISCV_V_GET_CONTROL: u32 = 70; -pub const PR_RISCV_V_VSTATE_CTRL_DEFAULT: u32 = 0; -pub const PR_RISCV_V_VSTATE_CTRL_OFF: u32 = 1; -pub const PR_RISCV_V_VSTATE_CTRL_ON: u32 = 2; -pub const PR_RISCV_V_VSTATE_CTRL_INHERIT: u32 = 16; -pub const PR_RISCV_V_VSTATE_CTRL_CUR_MASK: u32 = 3; -pub const PR_RISCV_V_VSTATE_CTRL_NEXT_MASK: u32 = 12; -pub const PR_RISCV_V_VSTATE_CTRL_MASK: u32 = 31; -pub const PR_RISCV_SET_ICACHE_FLUSH_CTX: u32 = 71; -pub const PR_RISCV_CTX_SW_FENCEI_ON: u32 = 0; -pub const PR_RISCV_CTX_SW_FENCEI_OFF: u32 = 1; -pub const PR_RISCV_SCOPE_PER_PROCESS: u32 = 0; -pub const PR_RISCV_SCOPE_PER_THREAD: u32 = 1; -pub const PR_PPC_GET_DEXCR: u32 = 72; -pub const PR_PPC_SET_DEXCR: u32 = 73; -pub const PR_PPC_DEXCR_SBHE: u32 = 0; -pub const PR_PPC_DEXCR_IBRTPD: u32 = 1; -pub const PR_PPC_DEXCR_SRAPD: u32 = 2; -pub const PR_PPC_DEXCR_NPHIE: u32 = 3; -pub const PR_PPC_DEXCR_CTRL_EDITABLE: u32 = 1; -pub const PR_PPC_DEXCR_CTRL_SET: u32 = 2; -pub const PR_PPC_DEXCR_CTRL_CLEAR: u32 = 4; -pub const PR_PPC_DEXCR_CTRL_SET_ONEXEC: u32 = 8; -pub const PR_PPC_DEXCR_CTRL_CLEAR_ONEXEC: u32 = 16; -pub const PR_PPC_DEXCR_CTRL_MASK: u32 = 31; diff --git a/tests/helper/src/gen/sys/aarch64_linux_gnu/mod.rs b/tests/helper/src/gen/sys/aarch64_linux_gnu/mod.rs deleted file mode 100644 index 31b2768e..00000000 --- a/tests/helper/src/gen/sys/aarch64_linux_gnu/mod.rs +++ /dev/null @@ -1,647 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] -mod linux_headers_asm_hwcap; -pub use linux_headers_asm_hwcap::HWCAP_FP; -pub use linux_headers_asm_hwcap::HWCAP_ASIMD; -pub use linux_headers_asm_hwcap::HWCAP_EVTSTRM; -pub use linux_headers_asm_hwcap::HWCAP_AES; -pub use linux_headers_asm_hwcap::HWCAP_PMULL; -pub use linux_headers_asm_hwcap::HWCAP_SHA1; -pub use linux_headers_asm_hwcap::HWCAP_SHA2; -pub use linux_headers_asm_hwcap::HWCAP_CRC32; -pub use linux_headers_asm_hwcap::HWCAP_ATOMICS; -pub use linux_headers_asm_hwcap::HWCAP_FPHP; -pub use linux_headers_asm_hwcap::HWCAP_ASIMDHP; -pub use linux_headers_asm_hwcap::HWCAP_CPUID; -pub use linux_headers_asm_hwcap::HWCAP_ASIMDRDM; -pub use linux_headers_asm_hwcap::HWCAP_JSCVT; -pub use linux_headers_asm_hwcap::HWCAP_FCMA; -pub use linux_headers_asm_hwcap::HWCAP_LRCPC; -pub use linux_headers_asm_hwcap::HWCAP_DCPOP; -pub use linux_headers_asm_hwcap::HWCAP_SHA3; -pub use linux_headers_asm_hwcap::HWCAP_SM3; -pub use linux_headers_asm_hwcap::HWCAP_SM4; -pub use linux_headers_asm_hwcap::HWCAP_ASIMDDP; -pub use linux_headers_asm_hwcap::HWCAP_SHA512; -pub use linux_headers_asm_hwcap::HWCAP_SVE; -pub use linux_headers_asm_hwcap::HWCAP_ASIMDFHM; -pub use linux_headers_asm_hwcap::HWCAP_DIT; -pub use linux_headers_asm_hwcap::HWCAP_USCAT; -pub use linux_headers_asm_hwcap::HWCAP_ILRCPC; -pub use linux_headers_asm_hwcap::HWCAP_FLAGM; -pub use linux_headers_asm_hwcap::HWCAP_SSBS; -pub use linux_headers_asm_hwcap::HWCAP_SB; -pub use linux_headers_asm_hwcap::HWCAP_PACA; -pub use linux_headers_asm_hwcap::HWCAP_PACG; -pub use linux_headers_asm_hwcap::HWCAP2_DCPODP; -pub use linux_headers_asm_hwcap::HWCAP2_SVE2; -pub use linux_headers_asm_hwcap::HWCAP2_SVEAES; -pub use linux_headers_asm_hwcap::HWCAP2_SVEPMULL; -pub use linux_headers_asm_hwcap::HWCAP2_SVEBITPERM; -pub use linux_headers_asm_hwcap::HWCAP2_SVESHA3; -pub use linux_headers_asm_hwcap::HWCAP2_SVESM4; -pub use linux_headers_asm_hwcap::HWCAP2_FLAGM2; -pub use linux_headers_asm_hwcap::HWCAP2_FRINT; -pub use linux_headers_asm_hwcap::HWCAP2_SVEI8MM; -pub use linux_headers_asm_hwcap::HWCAP2_SVEF32MM; -pub use linux_headers_asm_hwcap::HWCAP2_SVEF64MM; -pub use linux_headers_asm_hwcap::HWCAP2_SVEBF16; -pub use linux_headers_asm_hwcap::HWCAP2_I8MM; -pub use linux_headers_asm_hwcap::HWCAP2_BF16; -pub use linux_headers_asm_hwcap::HWCAP2_DGH; -pub use linux_headers_asm_hwcap::HWCAP2_RNG; -pub use linux_headers_asm_hwcap::HWCAP2_BTI; -pub use linux_headers_asm_hwcap::HWCAP2_MTE; -pub use linux_headers_asm_hwcap::HWCAP2_ECV; -pub use linux_headers_asm_hwcap::HWCAP2_AFP; -pub use linux_headers_asm_hwcap::HWCAP2_RPRES; -pub use linux_headers_asm_hwcap::HWCAP2_MTE3; -pub use linux_headers_asm_hwcap::HWCAP2_SME; -pub use linux_headers_asm_hwcap::HWCAP2_SME_I16I64; -pub use linux_headers_asm_hwcap::HWCAP2_SME_F64F64; -pub use linux_headers_asm_hwcap::HWCAP2_SME_I8I32; -pub use linux_headers_asm_hwcap::HWCAP2_SME_F16F32; -pub use linux_headers_asm_hwcap::HWCAP2_SME_B16F32; -pub use linux_headers_asm_hwcap::HWCAP2_SME_F32F32; -pub use linux_headers_asm_hwcap::HWCAP2_SME_FA64; -pub use linux_headers_asm_hwcap::HWCAP2_WFXT; -pub use linux_headers_asm_hwcap::HWCAP2_EBF16; -pub use linux_headers_asm_hwcap::HWCAP2_SVE_EBF16; -pub use linux_headers_asm_hwcap::HWCAP2_CSSC; -pub use linux_headers_asm_hwcap::HWCAP2_RPRFM; -pub use linux_headers_asm_hwcap::HWCAP2_SVE2P1; -pub use linux_headers_asm_hwcap::HWCAP2_SME2; -pub use linux_headers_asm_hwcap::HWCAP2_SME2P1; -pub use linux_headers_asm_hwcap::HWCAP2_SME_I16I32; -pub use linux_headers_asm_hwcap::HWCAP2_SME_BI32I32; -pub use linux_headers_asm_hwcap::HWCAP2_SME_B16B16; -pub use linux_headers_asm_hwcap::HWCAP2_SME_F16F16; -pub use linux_headers_asm_hwcap::HWCAP2_MOPS; -pub use linux_headers_asm_hwcap::HWCAP2_HBC; -pub use linux_headers_asm_hwcap::HWCAP2_SVE_B16B16; -pub use linux_headers_asm_hwcap::HWCAP2_LRCPC3; -pub use linux_headers_asm_hwcap::HWCAP2_LSE128; -pub use linux_headers_asm_hwcap::HWCAP2_FPMR; -pub use linux_headers_asm_hwcap::HWCAP2_LUT; -pub use linux_headers_asm_hwcap::HWCAP2_FAMINMAX; -pub use linux_headers_asm_hwcap::HWCAP2_F8CVT; -pub use linux_headers_asm_hwcap::HWCAP2_F8FMA; -pub use linux_headers_asm_hwcap::HWCAP2_F8DP4; -pub use linux_headers_asm_hwcap::HWCAP2_F8DP2; -pub use linux_headers_asm_hwcap::HWCAP2_F8E4M3; -pub use linux_headers_asm_hwcap::HWCAP2_F8E5M2; -pub use linux_headers_asm_hwcap::HWCAP2_SME_LUTV2; -pub use linux_headers_asm_hwcap::HWCAP2_SME_F8F16; -pub use linux_headers_asm_hwcap::HWCAP2_SME_F8F32; -pub use linux_headers_asm_hwcap::HWCAP2_SME_SF8FMA; -pub use linux_headers_asm_hwcap::HWCAP2_SME_SF8DP4; -pub use linux_headers_asm_hwcap::HWCAP2_SME_SF8DP2; -pub use linux_headers_asm_hwcap::HWCAP2_POE; -mod linux_headers_asm_unistd; -pub use linux_headers_asm_unistd::__NR_io_setup; -pub use linux_headers_asm_unistd::__NR_io_destroy; -pub use linux_headers_asm_unistd::__NR_io_submit; -pub use linux_headers_asm_unistd::__NR_io_cancel; -pub use linux_headers_asm_unistd::__NR_io_getevents; -pub use linux_headers_asm_unistd::__NR_setxattr; -pub use linux_headers_asm_unistd::__NR_lsetxattr; -pub use linux_headers_asm_unistd::__NR_fsetxattr; -pub use linux_headers_asm_unistd::__NR_getxattr; -pub use linux_headers_asm_unistd::__NR_lgetxattr; -pub use linux_headers_asm_unistd::__NR_fgetxattr; -pub use linux_headers_asm_unistd::__NR_listxattr; -pub use linux_headers_asm_unistd::__NR_llistxattr; -pub use linux_headers_asm_unistd::__NR_flistxattr; -pub use linux_headers_asm_unistd::__NR_removexattr; -pub use linux_headers_asm_unistd::__NR_lremovexattr; -pub use linux_headers_asm_unistd::__NR_fremovexattr; -pub use linux_headers_asm_unistd::__NR_getcwd; -pub use linux_headers_asm_unistd::__NR_lookup_dcookie; -pub use linux_headers_asm_unistd::__NR_eventfd2; -pub use linux_headers_asm_unistd::__NR_epoll_create1; -pub use linux_headers_asm_unistd::__NR_epoll_ctl; -pub use linux_headers_asm_unistd::__NR_epoll_pwait; -pub use linux_headers_asm_unistd::__NR_dup; -pub use linux_headers_asm_unistd::__NR_dup3; -pub use linux_headers_asm_unistd::__NR_fcntl; -pub use linux_headers_asm_unistd::__NR_inotify_init1; -pub use linux_headers_asm_unistd::__NR_inotify_add_watch; -pub use linux_headers_asm_unistd::__NR_inotify_rm_watch; -pub use linux_headers_asm_unistd::__NR_ioctl; -pub use linux_headers_asm_unistd::__NR_ioprio_set; -pub use linux_headers_asm_unistd::__NR_ioprio_get; -pub use linux_headers_asm_unistd::__NR_flock; -pub use linux_headers_asm_unistd::__NR_mknodat; -pub use linux_headers_asm_unistd::__NR_mkdirat; -pub use linux_headers_asm_unistd::__NR_unlinkat; -pub use linux_headers_asm_unistd::__NR_symlinkat; -pub use linux_headers_asm_unistd::__NR_linkat; -pub use linux_headers_asm_unistd::__NR_renameat; -pub use linux_headers_asm_unistd::__NR_umount2; -pub use linux_headers_asm_unistd::__NR_mount; -pub use linux_headers_asm_unistd::__NR_pivot_root; -pub use linux_headers_asm_unistd::__NR_nfsservctl; -pub use linux_headers_asm_unistd::__NR_statfs; -pub use linux_headers_asm_unistd::__NR_fstatfs; -pub use linux_headers_asm_unistd::__NR_truncate; -pub use linux_headers_asm_unistd::__NR_ftruncate; -pub use linux_headers_asm_unistd::__NR_fallocate; -pub use linux_headers_asm_unistd::__NR_faccessat; -pub use linux_headers_asm_unistd::__NR_chdir; -pub use linux_headers_asm_unistd::__NR_fchdir; -pub use linux_headers_asm_unistd::__NR_chroot; -pub use linux_headers_asm_unistd::__NR_fchmod; -pub use linux_headers_asm_unistd::__NR_fchmodat; -pub use linux_headers_asm_unistd::__NR_fchownat; -pub use linux_headers_asm_unistd::__NR_fchown; -pub use linux_headers_asm_unistd::__NR_openat; -pub use linux_headers_asm_unistd::__NR_close; -pub use linux_headers_asm_unistd::__NR_vhangup; -pub use linux_headers_asm_unistd::__NR_pipe2; -pub use linux_headers_asm_unistd::__NR_quotactl; -pub use linux_headers_asm_unistd::__NR_getdents64; -pub use linux_headers_asm_unistd::__NR_lseek; -pub use linux_headers_asm_unistd::__NR_read; -pub use linux_headers_asm_unistd::__NR_write; -pub use linux_headers_asm_unistd::__NR_readv; -pub use linux_headers_asm_unistd::__NR_writev; -pub use linux_headers_asm_unistd::__NR_pread64; -pub use linux_headers_asm_unistd::__NR_pwrite64; -pub use linux_headers_asm_unistd::__NR_preadv; -pub use linux_headers_asm_unistd::__NR_pwritev; -pub use linux_headers_asm_unistd::__NR_sendfile; -pub use linux_headers_asm_unistd::__NR_pselect6; -pub use linux_headers_asm_unistd::__NR_ppoll; -pub use linux_headers_asm_unistd::__NR_signalfd4; -pub use linux_headers_asm_unistd::__NR_vmsplice; -pub use linux_headers_asm_unistd::__NR_splice; -pub use linux_headers_asm_unistd::__NR_tee; -pub use linux_headers_asm_unistd::__NR_readlinkat; -pub use linux_headers_asm_unistd::__NR_newfstatat; -pub use linux_headers_asm_unistd::__NR_fstat; -pub use linux_headers_asm_unistd::__NR_sync; -pub use linux_headers_asm_unistd::__NR_fsync; -pub use linux_headers_asm_unistd::__NR_fdatasync; -pub use linux_headers_asm_unistd::__NR_sync_file_range; -pub use linux_headers_asm_unistd::__NR_timerfd_create; -pub use linux_headers_asm_unistd::__NR_timerfd_settime; -pub use linux_headers_asm_unistd::__NR_timerfd_gettime; -pub use linux_headers_asm_unistd::__NR_utimensat; -pub use linux_headers_asm_unistd::__NR_acct; -pub use linux_headers_asm_unistd::__NR_capget; -pub use linux_headers_asm_unistd::__NR_capset; -pub use linux_headers_asm_unistd::__NR_personality; -pub use linux_headers_asm_unistd::__NR_exit; -pub use linux_headers_asm_unistd::__NR_exit_group; -pub use linux_headers_asm_unistd::__NR_waitid; -pub use linux_headers_asm_unistd::__NR_set_tid_address; -pub use linux_headers_asm_unistd::__NR_unshare; -pub use linux_headers_asm_unistd::__NR_futex; -pub use linux_headers_asm_unistd::__NR_set_robust_list; -pub use linux_headers_asm_unistd::__NR_get_robust_list; -pub use linux_headers_asm_unistd::__NR_nanosleep; -pub use linux_headers_asm_unistd::__NR_getitimer; -pub use linux_headers_asm_unistd::__NR_setitimer; -pub use linux_headers_asm_unistd::__NR_kexec_load; -pub use linux_headers_asm_unistd::__NR_init_module; -pub use linux_headers_asm_unistd::__NR_delete_module; -pub use linux_headers_asm_unistd::__NR_timer_create; -pub use linux_headers_asm_unistd::__NR_timer_gettime; -pub use linux_headers_asm_unistd::__NR_timer_getoverrun; -pub use linux_headers_asm_unistd::__NR_timer_settime; -pub use linux_headers_asm_unistd::__NR_timer_delete; -pub use linux_headers_asm_unistd::__NR_clock_settime; -pub use linux_headers_asm_unistd::__NR_clock_gettime; -pub use linux_headers_asm_unistd::__NR_clock_getres; -pub use linux_headers_asm_unistd::__NR_clock_nanosleep; -pub use linux_headers_asm_unistd::__NR_syslog; -pub use linux_headers_asm_unistd::__NR_ptrace; -pub use linux_headers_asm_unistd::__NR_sched_setparam; -pub use linux_headers_asm_unistd::__NR_sched_setscheduler; -pub use linux_headers_asm_unistd::__NR_sched_getscheduler; -pub use linux_headers_asm_unistd::__NR_sched_getparam; -pub use linux_headers_asm_unistd::__NR_sched_setaffinity; -pub use linux_headers_asm_unistd::__NR_sched_getaffinity; -pub use linux_headers_asm_unistd::__NR_sched_yield; -pub use linux_headers_asm_unistd::__NR_sched_get_priority_max; -pub use linux_headers_asm_unistd::__NR_sched_get_priority_min; -pub use linux_headers_asm_unistd::__NR_sched_rr_get_interval; -pub use linux_headers_asm_unistd::__NR_restart_syscall; -pub use linux_headers_asm_unistd::__NR_kill; -pub use linux_headers_asm_unistd::__NR_tkill; -pub use linux_headers_asm_unistd::__NR_tgkill; -pub use linux_headers_asm_unistd::__NR_sigaltstack; -pub use linux_headers_asm_unistd::__NR_rt_sigsuspend; -pub use linux_headers_asm_unistd::__NR_rt_sigaction; -pub use linux_headers_asm_unistd::__NR_rt_sigprocmask; -pub use linux_headers_asm_unistd::__NR_rt_sigpending; -pub use linux_headers_asm_unistd::__NR_rt_sigtimedwait; -pub use linux_headers_asm_unistd::__NR_rt_sigqueueinfo; -pub use linux_headers_asm_unistd::__NR_rt_sigreturn; -pub use linux_headers_asm_unistd::__NR_setpriority; -pub use linux_headers_asm_unistd::__NR_getpriority; -pub use linux_headers_asm_unistd::__NR_reboot; -pub use linux_headers_asm_unistd::__NR_setregid; -pub use linux_headers_asm_unistd::__NR_setgid; -pub use linux_headers_asm_unistd::__NR_setreuid; -pub use linux_headers_asm_unistd::__NR_setuid; -pub use linux_headers_asm_unistd::__NR_setresuid; -pub use linux_headers_asm_unistd::__NR_getresuid; -pub use linux_headers_asm_unistd::__NR_setresgid; -pub use linux_headers_asm_unistd::__NR_getresgid; -pub use linux_headers_asm_unistd::__NR_setfsuid; -pub use linux_headers_asm_unistd::__NR_setfsgid; -pub use linux_headers_asm_unistd::__NR_times; -pub use linux_headers_asm_unistd::__NR_setpgid; -pub use linux_headers_asm_unistd::__NR_getpgid; -pub use linux_headers_asm_unistd::__NR_getsid; -pub use linux_headers_asm_unistd::__NR_setsid; -pub use linux_headers_asm_unistd::__NR_getgroups; -pub use linux_headers_asm_unistd::__NR_setgroups; -pub use linux_headers_asm_unistd::__NR_uname; -pub use linux_headers_asm_unistd::__NR_sethostname; -pub use linux_headers_asm_unistd::__NR_setdomainname; -pub use linux_headers_asm_unistd::__NR_getrlimit; -pub use linux_headers_asm_unistd::__NR_setrlimit; -pub use linux_headers_asm_unistd::__NR_getrusage; -pub use linux_headers_asm_unistd::__NR_umask; -pub use linux_headers_asm_unistd::__NR_prctl; -pub use linux_headers_asm_unistd::__NR_getcpu; -pub use linux_headers_asm_unistd::__NR_gettimeofday; -pub use linux_headers_asm_unistd::__NR_settimeofday; -pub use linux_headers_asm_unistd::__NR_adjtimex; -pub use linux_headers_asm_unistd::__NR_getpid; -pub use linux_headers_asm_unistd::__NR_getppid; -pub use linux_headers_asm_unistd::__NR_getuid; -pub use linux_headers_asm_unistd::__NR_geteuid; -pub use linux_headers_asm_unistd::__NR_getgid; -pub use linux_headers_asm_unistd::__NR_getegid; -pub use linux_headers_asm_unistd::__NR_gettid; -pub use linux_headers_asm_unistd::__NR_sysinfo; -pub use linux_headers_asm_unistd::__NR_mq_open; -pub use linux_headers_asm_unistd::__NR_mq_unlink; -pub use linux_headers_asm_unistd::__NR_mq_timedsend; -pub use linux_headers_asm_unistd::__NR_mq_timedreceive; -pub use linux_headers_asm_unistd::__NR_mq_notify; -pub use linux_headers_asm_unistd::__NR_mq_getsetattr; -pub use linux_headers_asm_unistd::__NR_msgget; -pub use linux_headers_asm_unistd::__NR_msgctl; -pub use linux_headers_asm_unistd::__NR_msgrcv; -pub use linux_headers_asm_unistd::__NR_msgsnd; -pub use linux_headers_asm_unistd::__NR_semget; -pub use linux_headers_asm_unistd::__NR_semctl; -pub use linux_headers_asm_unistd::__NR_semtimedop; -pub use linux_headers_asm_unistd::__NR_semop; -pub use linux_headers_asm_unistd::__NR_shmget; -pub use linux_headers_asm_unistd::__NR_shmctl; -pub use linux_headers_asm_unistd::__NR_shmat; -pub use linux_headers_asm_unistd::__NR_shmdt; -pub use linux_headers_asm_unistd::__NR_socket; -pub use linux_headers_asm_unistd::__NR_socketpair; -pub use linux_headers_asm_unistd::__NR_bind; -pub use linux_headers_asm_unistd::__NR_listen; -pub use linux_headers_asm_unistd::__NR_accept; -pub use linux_headers_asm_unistd::__NR_connect; -pub use linux_headers_asm_unistd::__NR_getsockname; -pub use linux_headers_asm_unistd::__NR_getpeername; -pub use linux_headers_asm_unistd::__NR_sendto; -pub use linux_headers_asm_unistd::__NR_recvfrom; -pub use linux_headers_asm_unistd::__NR_setsockopt; -pub use linux_headers_asm_unistd::__NR_getsockopt; -pub use linux_headers_asm_unistd::__NR_shutdown; -pub use linux_headers_asm_unistd::__NR_sendmsg; -pub use linux_headers_asm_unistd::__NR_recvmsg; -pub use linux_headers_asm_unistd::__NR_readahead; -pub use linux_headers_asm_unistd::__NR_brk; -pub use linux_headers_asm_unistd::__NR_munmap; -pub use linux_headers_asm_unistd::__NR_mremap; -pub use linux_headers_asm_unistd::__NR_add_key; -pub use linux_headers_asm_unistd::__NR_request_key; -pub use linux_headers_asm_unistd::__NR_keyctl; -pub use linux_headers_asm_unistd::__NR_clone; -pub use linux_headers_asm_unistd::__NR_execve; -pub use linux_headers_asm_unistd::__NR_mmap; -pub use linux_headers_asm_unistd::__NR_fadvise64; -pub use linux_headers_asm_unistd::__NR_swapon; -pub use linux_headers_asm_unistd::__NR_swapoff; -pub use linux_headers_asm_unistd::__NR_mprotect; -pub use linux_headers_asm_unistd::__NR_msync; -pub use linux_headers_asm_unistd::__NR_mlock; -pub use linux_headers_asm_unistd::__NR_munlock; -pub use linux_headers_asm_unistd::__NR_mlockall; -pub use linux_headers_asm_unistd::__NR_munlockall; -pub use linux_headers_asm_unistd::__NR_mincore; -pub use linux_headers_asm_unistd::__NR_madvise; -pub use linux_headers_asm_unistd::__NR_remap_file_pages; -pub use linux_headers_asm_unistd::__NR_mbind; -pub use linux_headers_asm_unistd::__NR_get_mempolicy; -pub use linux_headers_asm_unistd::__NR_set_mempolicy; -pub use linux_headers_asm_unistd::__NR_migrate_pages; -pub use linux_headers_asm_unistd::__NR_move_pages; -pub use linux_headers_asm_unistd::__NR_rt_tgsigqueueinfo; -pub use linux_headers_asm_unistd::__NR_perf_event_open; -pub use linux_headers_asm_unistd::__NR_accept4; -pub use linux_headers_asm_unistd::__NR_recvmmsg; -pub use linux_headers_asm_unistd::__NR_wait4; -pub use linux_headers_asm_unistd::__NR_prlimit64; -pub use linux_headers_asm_unistd::__NR_fanotify_init; -pub use linux_headers_asm_unistd::__NR_fanotify_mark; -pub use linux_headers_asm_unistd::__NR_name_to_handle_at; -pub use linux_headers_asm_unistd::__NR_open_by_handle_at; -pub use linux_headers_asm_unistd::__NR_clock_adjtime; -pub use linux_headers_asm_unistd::__NR_syncfs; -pub use linux_headers_asm_unistd::__NR_setns; -pub use linux_headers_asm_unistd::__NR_sendmmsg; -pub use linux_headers_asm_unistd::__NR_process_vm_readv; -pub use linux_headers_asm_unistd::__NR_process_vm_writev; -pub use linux_headers_asm_unistd::__NR_kcmp; -pub use linux_headers_asm_unistd::__NR_finit_module; -pub use linux_headers_asm_unistd::__NR_sched_setattr; -pub use linux_headers_asm_unistd::__NR_sched_getattr; -pub use linux_headers_asm_unistd::__NR_renameat2; -pub use linux_headers_asm_unistd::__NR_seccomp; -pub use linux_headers_asm_unistd::__NR_getrandom; -pub use linux_headers_asm_unistd::__NR_memfd_create; -pub use linux_headers_asm_unistd::__NR_bpf; -pub use linux_headers_asm_unistd::__NR_execveat; -pub use linux_headers_asm_unistd::__NR_userfaultfd; -pub use linux_headers_asm_unistd::__NR_membarrier; -pub use linux_headers_asm_unistd::__NR_mlock2; -pub use linux_headers_asm_unistd::__NR_copy_file_range; -pub use linux_headers_asm_unistd::__NR_preadv2; -pub use linux_headers_asm_unistd::__NR_pwritev2; -pub use linux_headers_asm_unistd::__NR_pkey_mprotect; -pub use linux_headers_asm_unistd::__NR_pkey_alloc; -pub use linux_headers_asm_unistd::__NR_pkey_free; -pub use linux_headers_asm_unistd::__NR_statx; -pub use linux_headers_asm_unistd::__NR_io_pgetevents; -pub use linux_headers_asm_unistd::__NR_rseq; -pub use linux_headers_asm_unistd::__NR_kexec_file_load; -pub use linux_headers_asm_unistd::__NR_pidfd_send_signal; -pub use linux_headers_asm_unistd::__NR_io_uring_setup; -pub use linux_headers_asm_unistd::__NR_io_uring_enter; -pub use linux_headers_asm_unistd::__NR_io_uring_register; -pub use linux_headers_asm_unistd::__NR_open_tree; -pub use linux_headers_asm_unistd::__NR_move_mount; -pub use linux_headers_asm_unistd::__NR_fsopen; -pub use linux_headers_asm_unistd::__NR_fsconfig; -pub use linux_headers_asm_unistd::__NR_fsmount; -pub use linux_headers_asm_unistd::__NR_fspick; -pub use linux_headers_asm_unistd::__NR_pidfd_open; -pub use linux_headers_asm_unistd::__NR_clone3; -pub use linux_headers_asm_unistd::__NR_close_range; -pub use linux_headers_asm_unistd::__NR_openat2; -pub use linux_headers_asm_unistd::__NR_pidfd_getfd; -pub use linux_headers_asm_unistd::__NR_faccessat2; -pub use linux_headers_asm_unistd::__NR_process_madvise; -pub use linux_headers_asm_unistd::__NR_epoll_pwait2; -pub use linux_headers_asm_unistd::__NR_mount_setattr; -pub use linux_headers_asm_unistd::__NR_quotactl_fd; -pub use linux_headers_asm_unistd::__NR_landlock_create_ruleset; -pub use linux_headers_asm_unistd::__NR_landlock_add_rule; -pub use linux_headers_asm_unistd::__NR_landlock_restrict_self; -pub use linux_headers_asm_unistd::__NR_memfd_secret; -pub use linux_headers_asm_unistd::__NR_process_mrelease; -pub use linux_headers_asm_unistd::__NR_futex_waitv; -pub use linux_headers_asm_unistd::__NR_set_mempolicy_home_node; -pub use linux_headers_asm_unistd::__NR_cachestat; -pub use linux_headers_asm_unistd::__NR_fchmodat2; -pub use linux_headers_asm_unistd::__NR_map_shadow_stack; -pub use linux_headers_asm_unistd::__NR_futex_wake; -pub use linux_headers_asm_unistd::__NR_futex_wait; -pub use linux_headers_asm_unistd::__NR_futex_requeue; -pub use linux_headers_asm_unistd::__NR_statmount; -pub use linux_headers_asm_unistd::__NR_listmount; -pub use linux_headers_asm_unistd::__NR_lsm_get_self_attr; -pub use linux_headers_asm_unistd::__NR_lsm_set_self_attr; -pub use linux_headers_asm_unistd::__NR_lsm_list_modules; -pub use linux_headers_asm_unistd::__NR_mseal; -mod linux_headers_linux_auxvec; -pub use linux_headers_linux_auxvec::AT_SYSINFO_EHDR; -pub use linux_headers_linux_auxvec::AT_MINSIGSTKSZ; -pub use linux_headers_linux_auxvec::AT_VECTOR_SIZE_ARCH; -pub use linux_headers_linux_auxvec::AT_NULL; -pub use linux_headers_linux_auxvec::AT_IGNORE; -pub use linux_headers_linux_auxvec::AT_EXECFD; -pub use linux_headers_linux_auxvec::AT_PHDR; -pub use linux_headers_linux_auxvec::AT_PHENT; -pub use linux_headers_linux_auxvec::AT_PHNUM; -pub use linux_headers_linux_auxvec::AT_PAGESZ; -pub use linux_headers_linux_auxvec::AT_BASE; -pub use linux_headers_linux_auxvec::AT_FLAGS; -pub use linux_headers_linux_auxvec::AT_ENTRY; -pub use linux_headers_linux_auxvec::AT_NOTELF; -pub use linux_headers_linux_auxvec::AT_UID; -pub use linux_headers_linux_auxvec::AT_EUID; -pub use linux_headers_linux_auxvec::AT_GID; -pub use linux_headers_linux_auxvec::AT_EGID; -pub use linux_headers_linux_auxvec::AT_PLATFORM; -pub use linux_headers_linux_auxvec::AT_HWCAP; -pub use linux_headers_linux_auxvec::AT_CLKTCK; -pub use linux_headers_linux_auxvec::AT_SECURE; -pub use linux_headers_linux_auxvec::AT_BASE_PLATFORM; -pub use linux_headers_linux_auxvec::AT_RANDOM; -pub use linux_headers_linux_auxvec::AT_HWCAP2; -pub use linux_headers_linux_auxvec::AT_RSEQ_FEATURE_SIZE; -pub use linux_headers_linux_auxvec::AT_RSEQ_ALIGN; -pub use linux_headers_linux_auxvec::AT_HWCAP3; -pub use linux_headers_linux_auxvec::AT_HWCAP4; -pub use linux_headers_linux_auxvec::AT_EXECFN; -mod linux_headers_linux_prctl; -pub use linux_headers_linux_prctl::PR_SET_PDEATHSIG; -pub use linux_headers_linux_prctl::PR_GET_PDEATHSIG; -pub use linux_headers_linux_prctl::PR_GET_DUMPABLE; -pub use linux_headers_linux_prctl::PR_SET_DUMPABLE; -pub use linux_headers_linux_prctl::PR_GET_UNALIGN; -pub use linux_headers_linux_prctl::PR_SET_UNALIGN; -pub use linux_headers_linux_prctl::PR_UNALIGN_NOPRINT; -pub use linux_headers_linux_prctl::PR_UNALIGN_SIGBUS; -pub use linux_headers_linux_prctl::PR_GET_KEEPCAPS; -pub use linux_headers_linux_prctl::PR_SET_KEEPCAPS; -pub use linux_headers_linux_prctl::PR_GET_FPEMU; -pub use linux_headers_linux_prctl::PR_SET_FPEMU; -pub use linux_headers_linux_prctl::PR_FPEMU_NOPRINT; -pub use linux_headers_linux_prctl::PR_FPEMU_SIGFPE; -pub use linux_headers_linux_prctl::PR_GET_FPEXC; -pub use linux_headers_linux_prctl::PR_SET_FPEXC; -pub use linux_headers_linux_prctl::PR_FP_EXC_SW_ENABLE; -pub use linux_headers_linux_prctl::PR_FP_EXC_DIV; -pub use linux_headers_linux_prctl::PR_FP_EXC_OVF; -pub use linux_headers_linux_prctl::PR_FP_EXC_UND; -pub use linux_headers_linux_prctl::PR_FP_EXC_RES; -pub use linux_headers_linux_prctl::PR_FP_EXC_INV; -pub use linux_headers_linux_prctl::PR_FP_EXC_DISABLED; -pub use linux_headers_linux_prctl::PR_FP_EXC_NONRECOV; -pub use linux_headers_linux_prctl::PR_FP_EXC_ASYNC; -pub use linux_headers_linux_prctl::PR_FP_EXC_PRECISE; -pub use linux_headers_linux_prctl::PR_GET_TIMING; -pub use linux_headers_linux_prctl::PR_SET_TIMING; -pub use linux_headers_linux_prctl::PR_TIMING_STATISTICAL; -pub use linux_headers_linux_prctl::PR_TIMING_TIMESTAMP; -pub use linux_headers_linux_prctl::PR_SET_NAME; -pub use linux_headers_linux_prctl::PR_GET_NAME; -pub use linux_headers_linux_prctl::PR_GET_ENDIAN; -pub use linux_headers_linux_prctl::PR_SET_ENDIAN; -pub use linux_headers_linux_prctl::PR_ENDIAN_BIG; -pub use linux_headers_linux_prctl::PR_ENDIAN_LITTLE; -pub use linux_headers_linux_prctl::PR_ENDIAN_PPC_LITTLE; -pub use linux_headers_linux_prctl::PR_GET_SECCOMP; -pub use linux_headers_linux_prctl::PR_SET_SECCOMP; -pub use linux_headers_linux_prctl::PR_CAPBSET_READ; -pub use linux_headers_linux_prctl::PR_CAPBSET_DROP; -pub use linux_headers_linux_prctl::PR_GET_TSC; -pub use linux_headers_linux_prctl::PR_SET_TSC; -pub use linux_headers_linux_prctl::PR_TSC_ENABLE; -pub use linux_headers_linux_prctl::PR_TSC_SIGSEGV; -pub use linux_headers_linux_prctl::PR_GET_SECUREBITS; -pub use linux_headers_linux_prctl::PR_SET_SECUREBITS; -pub use linux_headers_linux_prctl::PR_SET_TIMERSLACK; -pub use linux_headers_linux_prctl::PR_GET_TIMERSLACK; -pub use linux_headers_linux_prctl::PR_TASK_PERF_EVENTS_DISABLE; -pub use linux_headers_linux_prctl::PR_TASK_PERF_EVENTS_ENABLE; -pub use linux_headers_linux_prctl::PR_MCE_KILL; -pub use linux_headers_linux_prctl::PR_MCE_KILL_CLEAR; -pub use linux_headers_linux_prctl::PR_MCE_KILL_SET; -pub use linux_headers_linux_prctl::PR_MCE_KILL_LATE; -pub use linux_headers_linux_prctl::PR_MCE_KILL_EARLY; -pub use linux_headers_linux_prctl::PR_MCE_KILL_DEFAULT; -pub use linux_headers_linux_prctl::PR_MCE_KILL_GET; -pub use linux_headers_linux_prctl::PR_SET_MM; -pub use linux_headers_linux_prctl::PR_SET_MM_START_CODE; -pub use linux_headers_linux_prctl::PR_SET_MM_END_CODE; -pub use linux_headers_linux_prctl::PR_SET_MM_START_DATA; -pub use linux_headers_linux_prctl::PR_SET_MM_END_DATA; -pub use linux_headers_linux_prctl::PR_SET_MM_START_STACK; -pub use linux_headers_linux_prctl::PR_SET_MM_START_BRK; -pub use linux_headers_linux_prctl::PR_SET_MM_BRK; -pub use linux_headers_linux_prctl::PR_SET_MM_ARG_START; -pub use linux_headers_linux_prctl::PR_SET_MM_ARG_END; -pub use linux_headers_linux_prctl::PR_SET_MM_ENV_START; -pub use linux_headers_linux_prctl::PR_SET_MM_ENV_END; -pub use linux_headers_linux_prctl::PR_SET_MM_AUXV; -pub use linux_headers_linux_prctl::PR_SET_MM_EXE_FILE; -pub use linux_headers_linux_prctl::PR_SET_MM_MAP; -pub use linux_headers_linux_prctl::PR_SET_MM_MAP_SIZE; -pub use linux_headers_linux_prctl::PR_SET_PTRACER; -pub use linux_headers_linux_prctl::PR_SET_PTRACER_ANY; -pub use linux_headers_linux_prctl::PR_SET_CHILD_SUBREAPER; -pub use linux_headers_linux_prctl::PR_GET_CHILD_SUBREAPER; -pub use linux_headers_linux_prctl::PR_SET_NO_NEW_PRIVS; -pub use linux_headers_linux_prctl::PR_GET_NO_NEW_PRIVS; -pub use linux_headers_linux_prctl::PR_GET_TID_ADDRESS; -pub use linux_headers_linux_prctl::PR_SET_THP_DISABLE; -pub use linux_headers_linux_prctl::PR_GET_THP_DISABLE; -pub use linux_headers_linux_prctl::PR_MPX_ENABLE_MANAGEMENT; -pub use linux_headers_linux_prctl::PR_MPX_DISABLE_MANAGEMENT; -pub use linux_headers_linux_prctl::PR_SET_FP_MODE; -pub use linux_headers_linux_prctl::PR_GET_FP_MODE; -pub use linux_headers_linux_prctl::PR_FP_MODE_FR; -pub use linux_headers_linux_prctl::PR_FP_MODE_FRE; -pub use linux_headers_linux_prctl::PR_CAP_AMBIENT; -pub use linux_headers_linux_prctl::PR_CAP_AMBIENT_IS_SET; -pub use linux_headers_linux_prctl::PR_CAP_AMBIENT_RAISE; -pub use linux_headers_linux_prctl::PR_CAP_AMBIENT_LOWER; -pub use linux_headers_linux_prctl::PR_CAP_AMBIENT_CLEAR_ALL; -pub use linux_headers_linux_prctl::PR_SVE_SET_VL; -pub use linux_headers_linux_prctl::PR_SVE_SET_VL_ONEXEC; -pub use linux_headers_linux_prctl::PR_SVE_GET_VL; -pub use linux_headers_linux_prctl::PR_SVE_VL_LEN_MASK; -pub use linux_headers_linux_prctl::PR_SVE_VL_INHERIT; -pub use linux_headers_linux_prctl::PR_GET_SPECULATION_CTRL; -pub use linux_headers_linux_prctl::PR_SET_SPECULATION_CTRL; -pub use linux_headers_linux_prctl::PR_SPEC_STORE_BYPASS; -pub use linux_headers_linux_prctl::PR_SPEC_INDIRECT_BRANCH; -pub use linux_headers_linux_prctl::PR_SPEC_L1D_FLUSH; -pub use linux_headers_linux_prctl::PR_SPEC_NOT_AFFECTED; -pub use linux_headers_linux_prctl::PR_SPEC_PRCTL; -pub use linux_headers_linux_prctl::PR_SPEC_ENABLE; -pub use linux_headers_linux_prctl::PR_SPEC_DISABLE; -pub use linux_headers_linux_prctl::PR_SPEC_FORCE_DISABLE; -pub use linux_headers_linux_prctl::PR_SPEC_DISABLE_NOEXEC; -pub use linux_headers_linux_prctl::PR_PAC_RESET_KEYS; -pub use linux_headers_linux_prctl::PR_PAC_APIAKEY; -pub use linux_headers_linux_prctl::PR_PAC_APIBKEY; -pub use linux_headers_linux_prctl::PR_PAC_APDAKEY; -pub use linux_headers_linux_prctl::PR_PAC_APDBKEY; -pub use linux_headers_linux_prctl::PR_PAC_APGAKEY; -pub use linux_headers_linux_prctl::PR_SET_TAGGED_ADDR_CTRL; -pub use linux_headers_linux_prctl::PR_GET_TAGGED_ADDR_CTRL; -pub use linux_headers_linux_prctl::PR_TAGGED_ADDR_ENABLE; -pub use linux_headers_linux_prctl::PR_MTE_TCF_NONE; -pub use linux_headers_linux_prctl::PR_MTE_TCF_SYNC; -pub use linux_headers_linux_prctl::PR_MTE_TCF_ASYNC; -pub use linux_headers_linux_prctl::PR_MTE_TCF_MASK; -pub use linux_headers_linux_prctl::PR_MTE_TAG_SHIFT; -pub use linux_headers_linux_prctl::PR_MTE_TAG_MASK; -pub use linux_headers_linux_prctl::PR_MTE_TCF_SHIFT; -pub use linux_headers_linux_prctl::PR_SET_IO_FLUSHER; -pub use linux_headers_linux_prctl::PR_GET_IO_FLUSHER; -pub use linux_headers_linux_prctl::PR_SET_SYSCALL_USER_DISPATCH; -pub use linux_headers_linux_prctl::PR_SYS_DISPATCH_OFF; -pub use linux_headers_linux_prctl::PR_SYS_DISPATCH_ON; -pub use linux_headers_linux_prctl::PR_PAC_SET_ENABLED_KEYS; -pub use linux_headers_linux_prctl::PR_PAC_GET_ENABLED_KEYS; -pub use linux_headers_linux_prctl::PR_SCHED_CORE; -pub use linux_headers_linux_prctl::PR_SCHED_CORE_GET; -pub use linux_headers_linux_prctl::PR_SCHED_CORE_CREATE; -pub use linux_headers_linux_prctl::PR_SCHED_CORE_SHARE_TO; -pub use linux_headers_linux_prctl::PR_SCHED_CORE_SHARE_FROM; -pub use linux_headers_linux_prctl::PR_SCHED_CORE_MAX; -pub use linux_headers_linux_prctl::PR_SCHED_CORE_SCOPE_THREAD; -pub use linux_headers_linux_prctl::PR_SCHED_CORE_SCOPE_THREAD_GROUP; -pub use linux_headers_linux_prctl::PR_SCHED_CORE_SCOPE_PROCESS_GROUP; -pub use linux_headers_linux_prctl::PR_SME_SET_VL; -pub use linux_headers_linux_prctl::PR_SME_SET_VL_ONEXEC; -pub use linux_headers_linux_prctl::PR_SME_GET_VL; -pub use linux_headers_linux_prctl::PR_SME_VL_LEN_MASK; -pub use linux_headers_linux_prctl::PR_SME_VL_INHERIT; -pub use linux_headers_linux_prctl::PR_SET_MDWE; -pub use linux_headers_linux_prctl::PR_MDWE_REFUSE_EXEC_GAIN; -pub use linux_headers_linux_prctl::PR_MDWE_NO_INHERIT; -pub use linux_headers_linux_prctl::PR_GET_MDWE; -pub use linux_headers_linux_prctl::PR_SET_VMA; -pub use linux_headers_linux_prctl::PR_SET_VMA_ANON_NAME; -pub use linux_headers_linux_prctl::PR_GET_AUXV; -pub use linux_headers_linux_prctl::PR_SET_MEMORY_MERGE; -pub use linux_headers_linux_prctl::PR_GET_MEMORY_MERGE; -pub use linux_headers_linux_prctl::PR_RISCV_V_SET_CONTROL; -pub use linux_headers_linux_prctl::PR_RISCV_V_GET_CONTROL; -pub use linux_headers_linux_prctl::PR_RISCV_V_VSTATE_CTRL_DEFAULT; -pub use linux_headers_linux_prctl::PR_RISCV_V_VSTATE_CTRL_OFF; -pub use linux_headers_linux_prctl::PR_RISCV_V_VSTATE_CTRL_ON; -pub use linux_headers_linux_prctl::PR_RISCV_V_VSTATE_CTRL_INHERIT; -pub use linux_headers_linux_prctl::PR_RISCV_V_VSTATE_CTRL_CUR_MASK; -pub use linux_headers_linux_prctl::PR_RISCV_V_VSTATE_CTRL_NEXT_MASK; -pub use linux_headers_linux_prctl::PR_RISCV_V_VSTATE_CTRL_MASK; -pub use linux_headers_linux_prctl::PR_RISCV_SET_ICACHE_FLUSH_CTX; -pub use linux_headers_linux_prctl::PR_RISCV_CTX_SW_FENCEI_ON; -pub use linux_headers_linux_prctl::PR_RISCV_CTX_SW_FENCEI_OFF; -pub use linux_headers_linux_prctl::PR_RISCV_SCOPE_PER_PROCESS; -pub use linux_headers_linux_prctl::PR_RISCV_SCOPE_PER_THREAD; -pub use linux_headers_linux_prctl::PR_PPC_GET_DEXCR; -pub use linux_headers_linux_prctl::PR_PPC_SET_DEXCR; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_SBHE; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_IBRTPD; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_SRAPD; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_NPHIE; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_CTRL_EDITABLE; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_CTRL_SET; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_CTRL_CLEAR; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_CTRL_SET_ONEXEC; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_CTRL_CLEAR_ONEXEC; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_CTRL_MASK; -mod dlfcn; -pub use dlfcn::RTLD_DEFAULT; -pub use dlfcn::dlsym; -mod elf; -pub use elf::Elf32_auxv_t; -pub use elf::Elf64_auxv_t; -mod sys_auxv; -pub use sys_auxv::getauxval; -mod unistd; -pub use unistd::syscall; -pub type c_char = u8; diff --git a/tests/helper/src/gen/sys/aarch64_linux_gnu/sys_auxv.rs b/tests/helper/src/gen/sys/aarch64_linux_gnu/sys_auxv.rs deleted file mode 100644 index 1fe1c678..00000000 --- a/tests/helper/src/gen/sys/aarch64_linux_gnu/sys_auxv.rs +++ /dev/null @@ -1,10 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -extern "C" { - pub fn getauxval(__type: ::std::os::raw::c_ulong) -> ::std::os::raw::c_ulong; -} diff --git a/tests/helper/src/gen/sys/aarch64_linux_gnu/unistd.rs b/tests/helper/src/gen/sys/aarch64_linux_gnu/unistd.rs deleted file mode 100644 index eab78d00..00000000 --- a/tests/helper/src/gen/sys/aarch64_linux_gnu/unistd.rs +++ /dev/null @@ -1,10 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -extern "C" { - pub fn syscall(__sysno: ::std::os::raw::c_long, ...) -> ::std::os::raw::c_long; -} diff --git a/tests/helper/src/gen/sys/aarch64_linux_gnu_ilp32/dlfcn.rs b/tests/helper/src/gen/sys/aarch64_linux_gnu_ilp32/dlfcn.rs deleted file mode 100644 index 0c516f36..00000000 --- a/tests/helper/src/gen/sys/aarch64_linux_gnu_ilp32/dlfcn.rs +++ /dev/null @@ -1,14 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -pub const RTLD_DEFAULT: *mut ::std::os::raw::c_void = ::core::ptr::null_mut(); -extern "C" { - pub fn dlsym( - __handle: *mut ::core::ffi::c_void, - __name: *const ::std::os::raw::c_char, - ) -> *mut ::core::ffi::c_void; -} diff --git a/tests/helper/src/gen/sys/aarch64_linux_gnu_ilp32/elf.rs b/tests/helper/src/gen/sys/aarch64_linux_gnu_ilp32/elf.rs deleted file mode 100644 index a3c1790d..00000000 --- a/tests/helper/src/gen/sys/aarch64_linux_gnu_ilp32/elf.rs +++ /dev/null @@ -1,29 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -#[repr(C)] -#[derive(Copy, Clone)] -pub struct Elf32_auxv_t { - pub a_type: u32, - pub a_un: Elf32_auxv_t__bindgen_ty_1, -} -#[repr(C)] -#[derive(Copy, Clone)] -pub union Elf32_auxv_t__bindgen_ty_1 { - pub a_val: u32, -} -#[repr(C)] -#[derive(Copy, Clone)] -pub struct Elf64_auxv_t { - pub a_type: u64, - pub a_un: Elf64_auxv_t__bindgen_ty_1, -} -#[repr(C)] -#[derive(Copy, Clone)] -pub union Elf64_auxv_t__bindgen_ty_1 { - pub a_val: u64, -} diff --git a/tests/helper/src/gen/sys/aarch64_linux_gnu_ilp32/linux_headers_asm_hwcap.rs b/tests/helper/src/gen/sys/aarch64_linux_gnu_ilp32/linux_headers_asm_hwcap.rs deleted file mode 100644 index 15bb533d..00000000 --- a/tests/helper/src/gen/sys/aarch64_linux_gnu_ilp32/linux_headers_asm_hwcap.rs +++ /dev/null @@ -1,39 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -pub const HWCAP_FP: u32 = 1; -pub const HWCAP_ASIMD: u32 = 2; -pub const HWCAP_EVTSTRM: u32 = 4; -pub const HWCAP_AES: u32 = 8; -pub const HWCAP_PMULL: u32 = 16; -pub const HWCAP_SHA1: u32 = 32; -pub const HWCAP_SHA2: u32 = 64; -pub const HWCAP_CRC32: u32 = 128; -pub const HWCAP_ATOMICS: u32 = 256; -pub const HWCAP_FPHP: u32 = 512; -pub const HWCAP_ASIMDHP: u32 = 1024; -pub const HWCAP_CPUID: u32 = 2048; -pub const HWCAP_ASIMDRDM: u32 = 4096; -pub const HWCAP_JSCVT: u32 = 8192; -pub const HWCAP_FCMA: u32 = 16384; -pub const HWCAP_LRCPC: u32 = 32768; -pub const HWCAP_DCPOP: u32 = 65536; -pub const HWCAP_SHA3: u32 = 131072; -pub const HWCAP_SM3: u32 = 262144; -pub const HWCAP_SM4: u32 = 524288; -pub const HWCAP_ASIMDDP: u32 = 1048576; -pub const HWCAP_SHA512: u32 = 2097152; -pub const HWCAP_SVE: u32 = 4194304; -pub const HWCAP_ASIMDFHM: u32 = 8388608; -pub const HWCAP_DIT: u32 = 16777216; -pub const HWCAP_USCAT: u32 = 33554432; -pub const HWCAP_ILRCPC: u32 = 67108864; -pub const HWCAP_FLAGM: u32 = 134217728; -pub const HWCAP_SSBS: u32 = 268435456; -pub const HWCAP_SB: u32 = 536870912; -pub const HWCAP_PACA: u32 = 1073741824; -pub const HWCAP_PACG: u32 = 2147483648; diff --git a/tests/helper/src/gen/sys/aarch64_linux_gnu_ilp32/linux_headers_asm_unistd.rs b/tests/helper/src/gen/sys/aarch64_linux_gnu_ilp32/linux_headers_asm_unistd.rs deleted file mode 100644 index d48e9376..00000000 --- a/tests/helper/src/gen/sys/aarch64_linux_gnu_ilp32/linux_headers_asm_unistd.rs +++ /dev/null @@ -1,292 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -pub const __NR_io_setup: u32 = 0; -pub const __NR_io_destroy: u32 = 1; -pub const __NR_io_submit: u32 = 2; -pub const __NR_io_cancel: u32 = 3; -pub const __NR_io_getevents: u32 = 4; -pub const __NR_setxattr: u32 = 5; -pub const __NR_lsetxattr: u32 = 6; -pub const __NR_fsetxattr: u32 = 7; -pub const __NR_getxattr: u32 = 8; -pub const __NR_lgetxattr: u32 = 9; -pub const __NR_fgetxattr: u32 = 10; -pub const __NR_listxattr: u32 = 11; -pub const __NR_llistxattr: u32 = 12; -pub const __NR_flistxattr: u32 = 13; -pub const __NR_removexattr: u32 = 14; -pub const __NR_lremovexattr: u32 = 15; -pub const __NR_fremovexattr: u32 = 16; -pub const __NR_getcwd: u32 = 17; -pub const __NR_lookup_dcookie: u32 = 18; -pub const __NR_eventfd2: u32 = 19; -pub const __NR_epoll_create1: u32 = 20; -pub const __NR_epoll_ctl: u32 = 21; -pub const __NR_epoll_pwait: u32 = 22; -pub const __NR_dup: u32 = 23; -pub const __NR_dup3: u32 = 24; -pub const __NR_inotify_init1: u32 = 26; -pub const __NR_inotify_add_watch: u32 = 27; -pub const __NR_inotify_rm_watch: u32 = 28; -pub const __NR_ioctl: u32 = 29; -pub const __NR_ioprio_set: u32 = 30; -pub const __NR_ioprio_get: u32 = 31; -pub const __NR_flock: u32 = 32; -pub const __NR_mknodat: u32 = 33; -pub const __NR_mkdirat: u32 = 34; -pub const __NR_unlinkat: u32 = 35; -pub const __NR_symlinkat: u32 = 36; -pub const __NR_linkat: u32 = 37; -pub const __NR_renameat: u32 = 38; -pub const __NR_umount2: u32 = 39; -pub const __NR_mount: u32 = 40; -pub const __NR_pivot_root: u32 = 41; -pub const __NR_nfsservctl: u32 = 42; -pub const __NR_fallocate: u32 = 47; -pub const __NR_faccessat: u32 = 48; -pub const __NR_chdir: u32 = 49; -pub const __NR_fchdir: u32 = 50; -pub const __NR_chroot: u32 = 51; -pub const __NR_fchmod: u32 = 52; -pub const __NR_fchmodat: u32 = 53; -pub const __NR_fchownat: u32 = 54; -pub const __NR_fchown: u32 = 55; -pub const __NR_openat: u32 = 56; -pub const __NR_close: u32 = 57; -pub const __NR_vhangup: u32 = 58; -pub const __NR_pipe2: u32 = 59; -pub const __NR_quotactl: u32 = 60; -pub const __NR_getdents64: u32 = 61; -pub const __NR_read: u32 = 63; -pub const __NR_write: u32 = 64; -pub const __NR_readv: u32 = 65; -pub const __NR_writev: u32 = 66; -pub const __NR_pread64: u32 = 67; -pub const __NR_pwrite64: u32 = 68; -pub const __NR_preadv: u32 = 69; -pub const __NR_pwritev: u32 = 70; -pub const __NR_pselect6: u32 = 72; -pub const __NR_ppoll: u32 = 73; -pub const __NR_signalfd4: u32 = 74; -pub const __NR_vmsplice: u32 = 75; -pub const __NR_splice: u32 = 76; -pub const __NR_tee: u32 = 77; -pub const __NR_readlinkat: u32 = 78; -pub const __NR_sync: u32 = 81; -pub const __NR_fsync: u32 = 82; -pub const __NR_fdatasync: u32 = 83; -pub const __NR_sync_file_range: u32 = 84; -pub const __NR_timerfd_create: u32 = 85; -pub const __NR_timerfd_settime: u32 = 86; -pub const __NR_timerfd_gettime: u32 = 87; -pub const __NR_utimensat: u32 = 88; -pub const __NR_acct: u32 = 89; -pub const __NR_capget: u32 = 90; -pub const __NR_capset: u32 = 91; -pub const __NR_personality: u32 = 92; -pub const __NR_exit: u32 = 93; -pub const __NR_exit_group: u32 = 94; -pub const __NR_waitid: u32 = 95; -pub const __NR_set_tid_address: u32 = 96; -pub const __NR_unshare: u32 = 97; -pub const __NR_futex: u32 = 98; -pub const __NR_set_robust_list: u32 = 99; -pub const __NR_get_robust_list: u32 = 100; -pub const __NR_nanosleep: u32 = 101; -pub const __NR_getitimer: u32 = 102; -pub const __NR_setitimer: u32 = 103; -pub const __NR_kexec_load: u32 = 104; -pub const __NR_init_module: u32 = 105; -pub const __NR_delete_module: u32 = 106; -pub const __NR_timer_create: u32 = 107; -pub const __NR_timer_gettime: u32 = 108; -pub const __NR_timer_getoverrun: u32 = 109; -pub const __NR_timer_settime: u32 = 110; -pub const __NR_timer_delete: u32 = 111; -pub const __NR_clock_settime: u32 = 112; -pub const __NR_clock_gettime: u32 = 113; -pub const __NR_clock_getres: u32 = 114; -pub const __NR_clock_nanosleep: u32 = 115; -pub const __NR_syslog: u32 = 116; -pub const __NR_ptrace: u32 = 117; -pub const __NR_sched_setparam: u32 = 118; -pub const __NR_sched_setscheduler: u32 = 119; -pub const __NR_sched_getscheduler: u32 = 120; -pub const __NR_sched_getparam: u32 = 121; -pub const __NR_sched_setaffinity: u32 = 122; -pub const __NR_sched_getaffinity: u32 = 123; -pub const __NR_sched_yield: u32 = 124; -pub const __NR_sched_get_priority_max: u32 = 125; -pub const __NR_sched_get_priority_min: u32 = 126; -pub const __NR_sched_rr_get_interval: u32 = 127; -pub const __NR_restart_syscall: u32 = 128; -pub const __NR_kill: u32 = 129; -pub const __NR_tkill: u32 = 130; -pub const __NR_tgkill: u32 = 131; -pub const __NR_sigaltstack: u32 = 132; -pub const __NR_rt_sigsuspend: u32 = 133; -pub const __NR_rt_sigaction: u32 = 134; -pub const __NR_rt_sigprocmask: u32 = 135; -pub const __NR_rt_sigpending: u32 = 136; -pub const __NR_rt_sigtimedwait: u32 = 137; -pub const __NR_rt_sigqueueinfo: u32 = 138; -pub const __NR_rt_sigreturn: u32 = 139; -pub const __NR_setpriority: u32 = 140; -pub const __NR_getpriority: u32 = 141; -pub const __NR_reboot: u32 = 142; -pub const __NR_setregid: u32 = 143; -pub const __NR_setgid: u32 = 144; -pub const __NR_setreuid: u32 = 145; -pub const __NR_setuid: u32 = 146; -pub const __NR_setresuid: u32 = 147; -pub const __NR_getresuid: u32 = 148; -pub const __NR_setresgid: u32 = 149; -pub const __NR_getresgid: u32 = 150; -pub const __NR_setfsuid: u32 = 151; -pub const __NR_setfsgid: u32 = 152; -pub const __NR_times: u32 = 153; -pub const __NR_setpgid: u32 = 154; -pub const __NR_getpgid: u32 = 155; -pub const __NR_getsid: u32 = 156; -pub const __NR_setsid: u32 = 157; -pub const __NR_getgroups: u32 = 158; -pub const __NR_setgroups: u32 = 159; -pub const __NR_uname: u32 = 160; -pub const __NR_sethostname: u32 = 161; -pub const __NR_setdomainname: u32 = 162; -pub const __NR_getrlimit: u32 = 163; -pub const __NR_setrlimit: u32 = 164; -pub const __NR_getrusage: u32 = 165; -pub const __NR_umask: u32 = 166; -pub const __NR_prctl: u32 = 167; -pub const __NR_getcpu: u32 = 168; -pub const __NR_gettimeofday: u32 = 169; -pub const __NR_settimeofday: u32 = 170; -pub const __NR_adjtimex: u32 = 171; -pub const __NR_getpid: u32 = 172; -pub const __NR_getppid: u32 = 173; -pub const __NR_getuid: u32 = 174; -pub const __NR_geteuid: u32 = 175; -pub const __NR_getgid: u32 = 176; -pub const __NR_getegid: u32 = 177; -pub const __NR_gettid: u32 = 178; -pub const __NR_sysinfo: u32 = 179; -pub const __NR_mq_open: u32 = 180; -pub const __NR_mq_unlink: u32 = 181; -pub const __NR_mq_timedsend: u32 = 182; -pub const __NR_mq_timedreceive: u32 = 183; -pub const __NR_mq_notify: u32 = 184; -pub const __NR_mq_getsetattr: u32 = 185; -pub const __NR_msgget: u32 = 186; -pub const __NR_msgctl: u32 = 187; -pub const __NR_msgrcv: u32 = 188; -pub const __NR_msgsnd: u32 = 189; -pub const __NR_semget: u32 = 190; -pub const __NR_semctl: u32 = 191; -pub const __NR_semtimedop: u32 = 192; -pub const __NR_semop: u32 = 193; -pub const __NR_shmget: u32 = 194; -pub const __NR_shmctl: u32 = 195; -pub const __NR_shmat: u32 = 196; -pub const __NR_shmdt: u32 = 197; -pub const __NR_socket: u32 = 198; -pub const __NR_socketpair: u32 = 199; -pub const __NR_bind: u32 = 200; -pub const __NR_listen: u32 = 201; -pub const __NR_accept: u32 = 202; -pub const __NR_connect: u32 = 203; -pub const __NR_getsockname: u32 = 204; -pub const __NR_getpeername: u32 = 205; -pub const __NR_sendto: u32 = 206; -pub const __NR_recvfrom: u32 = 207; -pub const __NR_setsockopt: u32 = 208; -pub const __NR_getsockopt: u32 = 209; -pub const __NR_shutdown: u32 = 210; -pub const __NR_sendmsg: u32 = 211; -pub const __NR_recvmsg: u32 = 212; -pub const __NR_readahead: u32 = 213; -pub const __NR_brk: u32 = 214; -pub const __NR_munmap: u32 = 215; -pub const __NR_mremap: u32 = 216; -pub const __NR_add_key: u32 = 217; -pub const __NR_request_key: u32 = 218; -pub const __NR_keyctl: u32 = 219; -pub const __NR_clone: u32 = 220; -pub const __NR_execve: u32 = 221; -pub const __NR_swapon: u32 = 224; -pub const __NR_swapoff: u32 = 225; -pub const __NR_mprotect: u32 = 226; -pub const __NR_msync: u32 = 227; -pub const __NR_mlock: u32 = 228; -pub const __NR_munlock: u32 = 229; -pub const __NR_mlockall: u32 = 230; -pub const __NR_munlockall: u32 = 231; -pub const __NR_mincore: u32 = 232; -pub const __NR_madvise: u32 = 233; -pub const __NR_remap_file_pages: u32 = 234; -pub const __NR_mbind: u32 = 235; -pub const __NR_get_mempolicy: u32 = 236; -pub const __NR_set_mempolicy: u32 = 237; -pub const __NR_migrate_pages: u32 = 238; -pub const __NR_move_pages: u32 = 239; -pub const __NR_rt_tgsigqueueinfo: u32 = 240; -pub const __NR_perf_event_open: u32 = 241; -pub const __NR_accept4: u32 = 242; -pub const __NR_recvmmsg: u32 = 243; -pub const __NR_arch_specific_syscall: u32 = 244; -pub const __NR_wait4: u32 = 260; -pub const __NR_prlimit64: u32 = 261; -pub const __NR_fanotify_init: u32 = 262; -pub const __NR_fanotify_mark: u32 = 263; -pub const __NR_name_to_handle_at: u32 = 264; -pub const __NR_open_by_handle_at: u32 = 265; -pub const __NR_clock_adjtime: u32 = 266; -pub const __NR_syncfs: u32 = 267; -pub const __NR_setns: u32 = 268; -pub const __NR_sendmmsg: u32 = 269; -pub const __NR_process_vm_readv: u32 = 270; -pub const __NR_process_vm_writev: u32 = 271; -pub const __NR_kcmp: u32 = 272; -pub const __NR_finit_module: u32 = 273; -pub const __NR_sched_setattr: u32 = 274; -pub const __NR_sched_getattr: u32 = 275; -pub const __NR_renameat2: u32 = 276; -pub const __NR_seccomp: u32 = 277; -pub const __NR_getrandom: u32 = 278; -pub const __NR_memfd_create: u32 = 279; -pub const __NR_bpf: u32 = 280; -pub const __NR_execveat: u32 = 281; -pub const __NR_userfaultfd: u32 = 282; -pub const __NR_membarrier: u32 = 283; -pub const __NR_mlock2: u32 = 284; -pub const __NR_copy_file_range: u32 = 285; -pub const __NR_preadv2: u32 = 286; -pub const __NR_pwritev2: u32 = 287; -pub const __NR_pkey_mprotect: u32 = 288; -pub const __NR_pkey_alloc: u32 = 289; -pub const __NR_pkey_free: u32 = 290; -pub const __NR_statx: u32 = 291; -pub const __NR_io_pgetevents: u32 = 292; -pub const __NR_rseq: u32 = 293; -pub const __NR_kexec_file_load: u32 = 294; -pub const __NR_pidfd_send_signal: u32 = 424; -pub const __NR_io_uring_setup: u32 = 425; -pub const __NR_io_uring_enter: u32 = 426; -pub const __NR_io_uring_register: u32 = 427; -pub const __NR_syscalls: u32 = 428; -pub const __NR_fcntl: u32 = 25; -pub const __NR_statfs: u32 = 43; -pub const __NR_fstatfs: u32 = 44; -pub const __NR_truncate: u32 = 45; -pub const __NR_ftruncate: u32 = 46; -pub const __NR_lseek: u32 = 62; -pub const __NR_sendfile: u32 = 71; -pub const __NR_newfstatat: u32 = 79; -pub const __NR_fstat: u32 = 80; -pub const __NR_mmap: u32 = 222; -pub const __NR_fadvise64: u32 = 223; diff --git a/tests/helper/src/gen/sys/aarch64_linux_gnu_ilp32/linux_headers_linux_auxvec.rs b/tests/helper/src/gen/sys/aarch64_linux_gnu_ilp32/linux_headers_linux_auxvec.rs deleted file mode 100644 index 2caf1af2..00000000 --- a/tests/helper/src/gen/sys/aarch64_linux_gnu_ilp32/linux_headers_linux_auxvec.rs +++ /dev/null @@ -1,33 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -pub const AT_SYSINFO_EHDR: u32 = 33; -pub const AT_MINSIGSTKSZ: u32 = 51; -pub const AT_VECTOR_SIZE_ARCH: u32 = 2; -pub const AT_NULL: u32 = 0; -pub const AT_IGNORE: u32 = 1; -pub const AT_EXECFD: u32 = 2; -pub const AT_PHDR: u32 = 3; -pub const AT_PHENT: u32 = 4; -pub const AT_PHNUM: u32 = 5; -pub const AT_PAGESZ: u32 = 6; -pub const AT_BASE: u32 = 7; -pub const AT_FLAGS: u32 = 8; -pub const AT_ENTRY: u32 = 9; -pub const AT_NOTELF: u32 = 10; -pub const AT_UID: u32 = 11; -pub const AT_EUID: u32 = 12; -pub const AT_GID: u32 = 13; -pub const AT_EGID: u32 = 14; -pub const AT_PLATFORM: u32 = 15; -pub const AT_HWCAP: u32 = 16; -pub const AT_CLKTCK: u32 = 17; -pub const AT_SECURE: u32 = 23; -pub const AT_BASE_PLATFORM: u32 = 24; -pub const AT_RANDOM: u32 = 25; -pub const AT_HWCAP2: u32 = 26; -pub const AT_EXECFN: u32 = 31; diff --git a/tests/helper/src/gen/sys/aarch64_linux_gnu_ilp32/linux_headers_linux_prctl.rs b/tests/helper/src/gen/sys/aarch64_linux_gnu_ilp32/linux_headers_linux_prctl.rs deleted file mode 100644 index bbf22b39..00000000 --- a/tests/helper/src/gen/sys/aarch64_linux_gnu_ilp32/linux_headers_linux_prctl.rs +++ /dev/null @@ -1,122 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -pub const PR_SET_PDEATHSIG: u32 = 1; -pub const PR_GET_PDEATHSIG: u32 = 2; -pub const PR_GET_DUMPABLE: u32 = 3; -pub const PR_SET_DUMPABLE: u32 = 4; -pub const PR_GET_UNALIGN: u32 = 5; -pub const PR_SET_UNALIGN: u32 = 6; -pub const PR_UNALIGN_NOPRINT: u32 = 1; -pub const PR_UNALIGN_SIGBUS: u32 = 2; -pub const PR_GET_KEEPCAPS: u32 = 7; -pub const PR_SET_KEEPCAPS: u32 = 8; -pub const PR_GET_FPEMU: u32 = 9; -pub const PR_SET_FPEMU: u32 = 10; -pub const PR_FPEMU_NOPRINT: u32 = 1; -pub const PR_FPEMU_SIGFPE: u32 = 2; -pub const PR_GET_FPEXC: u32 = 11; -pub const PR_SET_FPEXC: u32 = 12; -pub const PR_FP_EXC_SW_ENABLE: u32 = 128; -pub const PR_FP_EXC_DIV: u32 = 65536; -pub const PR_FP_EXC_OVF: u32 = 131072; -pub const PR_FP_EXC_UND: u32 = 262144; -pub const PR_FP_EXC_RES: u32 = 524288; -pub const PR_FP_EXC_INV: u32 = 1048576; -pub const PR_FP_EXC_DISABLED: u32 = 0; -pub const PR_FP_EXC_NONRECOV: u32 = 1; -pub const PR_FP_EXC_ASYNC: u32 = 2; -pub const PR_FP_EXC_PRECISE: u32 = 3; -pub const PR_GET_TIMING: u32 = 13; -pub const PR_SET_TIMING: u32 = 14; -pub const PR_TIMING_STATISTICAL: u32 = 0; -pub const PR_TIMING_TIMESTAMP: u32 = 1; -pub const PR_SET_NAME: u32 = 15; -pub const PR_GET_NAME: u32 = 16; -pub const PR_GET_ENDIAN: u32 = 19; -pub const PR_SET_ENDIAN: u32 = 20; -pub const PR_ENDIAN_BIG: u32 = 0; -pub const PR_ENDIAN_LITTLE: u32 = 1; -pub const PR_ENDIAN_PPC_LITTLE: u32 = 2; -pub const PR_GET_SECCOMP: u32 = 21; -pub const PR_SET_SECCOMP: u32 = 22; -pub const PR_CAPBSET_READ: u32 = 23; -pub const PR_CAPBSET_DROP: u32 = 24; -pub const PR_GET_TSC: u32 = 25; -pub const PR_SET_TSC: u32 = 26; -pub const PR_TSC_ENABLE: u32 = 1; -pub const PR_TSC_SIGSEGV: u32 = 2; -pub const PR_GET_SECUREBITS: u32 = 27; -pub const PR_SET_SECUREBITS: u32 = 28; -pub const PR_SET_TIMERSLACK: u32 = 29; -pub const PR_GET_TIMERSLACK: u32 = 30; -pub const PR_TASK_PERF_EVENTS_DISABLE: u32 = 31; -pub const PR_TASK_PERF_EVENTS_ENABLE: u32 = 32; -pub const PR_MCE_KILL: u32 = 33; -pub const PR_MCE_KILL_CLEAR: u32 = 0; -pub const PR_MCE_KILL_SET: u32 = 1; -pub const PR_MCE_KILL_LATE: u32 = 0; -pub const PR_MCE_KILL_EARLY: u32 = 1; -pub const PR_MCE_KILL_DEFAULT: u32 = 2; -pub const PR_MCE_KILL_GET: u32 = 34; -pub const PR_SET_MM: u32 = 35; -pub const PR_SET_MM_START_CODE: u32 = 1; -pub const PR_SET_MM_END_CODE: u32 = 2; -pub const PR_SET_MM_START_DATA: u32 = 3; -pub const PR_SET_MM_END_DATA: u32 = 4; -pub const PR_SET_MM_START_STACK: u32 = 5; -pub const PR_SET_MM_START_BRK: u32 = 6; -pub const PR_SET_MM_BRK: u32 = 7; -pub const PR_SET_MM_ARG_START: u32 = 8; -pub const PR_SET_MM_ARG_END: u32 = 9; -pub const PR_SET_MM_ENV_START: u32 = 10; -pub const PR_SET_MM_ENV_END: u32 = 11; -pub const PR_SET_MM_AUXV: u32 = 12; -pub const PR_SET_MM_EXE_FILE: u32 = 13; -pub const PR_SET_MM_MAP: u32 = 14; -pub const PR_SET_MM_MAP_SIZE: u32 = 15; -pub const PR_SET_PTRACER: u32 = 1499557217; -pub const PR_SET_PTRACER_ANY: ::std::os::raw::c_ulong = -1i8 as ::std::os::raw::c_ulong; -pub const PR_SET_CHILD_SUBREAPER: u32 = 36; -pub const PR_GET_CHILD_SUBREAPER: u32 = 37; -pub const PR_SET_NO_NEW_PRIVS: u32 = 38; -pub const PR_GET_NO_NEW_PRIVS: u32 = 39; -pub const PR_GET_TID_ADDRESS: u32 = 40; -pub const PR_SET_THP_DISABLE: u32 = 41; -pub const PR_GET_THP_DISABLE: u32 = 42; -pub const PR_MPX_ENABLE_MANAGEMENT: u32 = 43; -pub const PR_MPX_DISABLE_MANAGEMENT: u32 = 44; -pub const PR_SET_FP_MODE: u32 = 45; -pub const PR_GET_FP_MODE: u32 = 46; -pub const PR_FP_MODE_FR: u32 = 1; -pub const PR_FP_MODE_FRE: u32 = 2; -pub const PR_CAP_AMBIENT: u32 = 47; -pub const PR_CAP_AMBIENT_IS_SET: u32 = 1; -pub const PR_CAP_AMBIENT_RAISE: u32 = 2; -pub const PR_CAP_AMBIENT_LOWER: u32 = 3; -pub const PR_CAP_AMBIENT_CLEAR_ALL: u32 = 4; -pub const PR_SVE_SET_VL: u32 = 50; -pub const PR_SVE_SET_VL_ONEXEC: u32 = 262144; -pub const PR_SVE_GET_VL: u32 = 51; -pub const PR_SVE_VL_LEN_MASK: u32 = 65535; -pub const PR_SVE_VL_INHERIT: u32 = 131072; -pub const PR_GET_SPECULATION_CTRL: u32 = 52; -pub const PR_SET_SPECULATION_CTRL: u32 = 53; -pub const PR_SPEC_STORE_BYPASS: u32 = 0; -pub const PR_SPEC_INDIRECT_BRANCH: u32 = 1; -pub const PR_SPEC_NOT_AFFECTED: u32 = 0; -pub const PR_SPEC_PRCTL: u32 = 1; -pub const PR_SPEC_ENABLE: u32 = 2; -pub const PR_SPEC_DISABLE: u32 = 4; -pub const PR_SPEC_FORCE_DISABLE: u32 = 8; -pub const PR_SPEC_DISABLE_NOEXEC: u32 = 16; -pub const PR_PAC_RESET_KEYS: u32 = 54; -pub const PR_PAC_APIAKEY: u32 = 1; -pub const PR_PAC_APIBKEY: u32 = 2; -pub const PR_PAC_APDAKEY: u32 = 4; -pub const PR_PAC_APDBKEY: u32 = 8; -pub const PR_PAC_APGAKEY: u32 = 16; diff --git a/tests/helper/src/gen/sys/aarch64_linux_gnu_ilp32/mod.rs b/tests/helper/src/gen/sys/aarch64_linux_gnu_ilp32/mod.rs deleted file mode 100644 index 0404c062..00000000 --- a/tests/helper/src/gen/sys/aarch64_linux_gnu_ilp32/mod.rs +++ /dev/null @@ -1,479 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] -mod linux_headers_asm_hwcap; -pub use linux_headers_asm_hwcap::HWCAP_FP; -pub use linux_headers_asm_hwcap::HWCAP_ASIMD; -pub use linux_headers_asm_hwcap::HWCAP_EVTSTRM; -pub use linux_headers_asm_hwcap::HWCAP_AES; -pub use linux_headers_asm_hwcap::HWCAP_PMULL; -pub use linux_headers_asm_hwcap::HWCAP_SHA1; -pub use linux_headers_asm_hwcap::HWCAP_SHA2; -pub use linux_headers_asm_hwcap::HWCAP_CRC32; -pub use linux_headers_asm_hwcap::HWCAP_ATOMICS; -pub use linux_headers_asm_hwcap::HWCAP_FPHP; -pub use linux_headers_asm_hwcap::HWCAP_ASIMDHP; -pub use linux_headers_asm_hwcap::HWCAP_CPUID; -pub use linux_headers_asm_hwcap::HWCAP_ASIMDRDM; -pub use linux_headers_asm_hwcap::HWCAP_JSCVT; -pub use linux_headers_asm_hwcap::HWCAP_FCMA; -pub use linux_headers_asm_hwcap::HWCAP_LRCPC; -pub use linux_headers_asm_hwcap::HWCAP_DCPOP; -pub use linux_headers_asm_hwcap::HWCAP_SHA3; -pub use linux_headers_asm_hwcap::HWCAP_SM3; -pub use linux_headers_asm_hwcap::HWCAP_SM4; -pub use linux_headers_asm_hwcap::HWCAP_ASIMDDP; -pub use linux_headers_asm_hwcap::HWCAP_SHA512; -pub use linux_headers_asm_hwcap::HWCAP_SVE; -pub use linux_headers_asm_hwcap::HWCAP_ASIMDFHM; -pub use linux_headers_asm_hwcap::HWCAP_DIT; -pub use linux_headers_asm_hwcap::HWCAP_USCAT; -pub use linux_headers_asm_hwcap::HWCAP_ILRCPC; -pub use linux_headers_asm_hwcap::HWCAP_FLAGM; -pub use linux_headers_asm_hwcap::HWCAP_SSBS; -pub use linux_headers_asm_hwcap::HWCAP_SB; -pub use linux_headers_asm_hwcap::HWCAP_PACA; -pub use linux_headers_asm_hwcap::HWCAP_PACG; -mod linux_headers_asm_unistd; -pub use linux_headers_asm_unistd::__NR_io_setup; -pub use linux_headers_asm_unistd::__NR_io_destroy; -pub use linux_headers_asm_unistd::__NR_io_submit; -pub use linux_headers_asm_unistd::__NR_io_cancel; -pub use linux_headers_asm_unistd::__NR_io_getevents; -pub use linux_headers_asm_unistd::__NR_setxattr; -pub use linux_headers_asm_unistd::__NR_lsetxattr; -pub use linux_headers_asm_unistd::__NR_fsetxattr; -pub use linux_headers_asm_unistd::__NR_getxattr; -pub use linux_headers_asm_unistd::__NR_lgetxattr; -pub use linux_headers_asm_unistd::__NR_fgetxattr; -pub use linux_headers_asm_unistd::__NR_listxattr; -pub use linux_headers_asm_unistd::__NR_llistxattr; -pub use linux_headers_asm_unistd::__NR_flistxattr; -pub use linux_headers_asm_unistd::__NR_removexattr; -pub use linux_headers_asm_unistd::__NR_lremovexattr; -pub use linux_headers_asm_unistd::__NR_fremovexattr; -pub use linux_headers_asm_unistd::__NR_getcwd; -pub use linux_headers_asm_unistd::__NR_lookup_dcookie; -pub use linux_headers_asm_unistd::__NR_eventfd2; -pub use linux_headers_asm_unistd::__NR_epoll_create1; -pub use linux_headers_asm_unistd::__NR_epoll_ctl; -pub use linux_headers_asm_unistd::__NR_epoll_pwait; -pub use linux_headers_asm_unistd::__NR_dup; -pub use linux_headers_asm_unistd::__NR_dup3; -pub use linux_headers_asm_unistd::__NR_inotify_init1; -pub use linux_headers_asm_unistd::__NR_inotify_add_watch; -pub use linux_headers_asm_unistd::__NR_inotify_rm_watch; -pub use linux_headers_asm_unistd::__NR_ioctl; -pub use linux_headers_asm_unistd::__NR_ioprio_set; -pub use linux_headers_asm_unistd::__NR_ioprio_get; -pub use linux_headers_asm_unistd::__NR_flock; -pub use linux_headers_asm_unistd::__NR_mknodat; -pub use linux_headers_asm_unistd::__NR_mkdirat; -pub use linux_headers_asm_unistd::__NR_unlinkat; -pub use linux_headers_asm_unistd::__NR_symlinkat; -pub use linux_headers_asm_unistd::__NR_linkat; -pub use linux_headers_asm_unistd::__NR_renameat; -pub use linux_headers_asm_unistd::__NR_umount2; -pub use linux_headers_asm_unistd::__NR_mount; -pub use linux_headers_asm_unistd::__NR_pivot_root; -pub use linux_headers_asm_unistd::__NR_nfsservctl; -pub use linux_headers_asm_unistd::__NR_fallocate; -pub use linux_headers_asm_unistd::__NR_faccessat; -pub use linux_headers_asm_unistd::__NR_chdir; -pub use linux_headers_asm_unistd::__NR_fchdir; -pub use linux_headers_asm_unistd::__NR_chroot; -pub use linux_headers_asm_unistd::__NR_fchmod; -pub use linux_headers_asm_unistd::__NR_fchmodat; -pub use linux_headers_asm_unistd::__NR_fchownat; -pub use linux_headers_asm_unistd::__NR_fchown; -pub use linux_headers_asm_unistd::__NR_openat; -pub use linux_headers_asm_unistd::__NR_close; -pub use linux_headers_asm_unistd::__NR_vhangup; -pub use linux_headers_asm_unistd::__NR_pipe2; -pub use linux_headers_asm_unistd::__NR_quotactl; -pub use linux_headers_asm_unistd::__NR_getdents64; -pub use linux_headers_asm_unistd::__NR_read; -pub use linux_headers_asm_unistd::__NR_write; -pub use linux_headers_asm_unistd::__NR_readv; -pub use linux_headers_asm_unistd::__NR_writev; -pub use linux_headers_asm_unistd::__NR_pread64; -pub use linux_headers_asm_unistd::__NR_pwrite64; -pub use linux_headers_asm_unistd::__NR_preadv; -pub use linux_headers_asm_unistd::__NR_pwritev; -pub use linux_headers_asm_unistd::__NR_pselect6; -pub use linux_headers_asm_unistd::__NR_ppoll; -pub use linux_headers_asm_unistd::__NR_signalfd4; -pub use linux_headers_asm_unistd::__NR_vmsplice; -pub use linux_headers_asm_unistd::__NR_splice; -pub use linux_headers_asm_unistd::__NR_tee; -pub use linux_headers_asm_unistd::__NR_readlinkat; -pub use linux_headers_asm_unistd::__NR_sync; -pub use linux_headers_asm_unistd::__NR_fsync; -pub use linux_headers_asm_unistd::__NR_fdatasync; -pub use linux_headers_asm_unistd::__NR_sync_file_range; -pub use linux_headers_asm_unistd::__NR_timerfd_create; -pub use linux_headers_asm_unistd::__NR_timerfd_settime; -pub use linux_headers_asm_unistd::__NR_timerfd_gettime; -pub use linux_headers_asm_unistd::__NR_utimensat; -pub use linux_headers_asm_unistd::__NR_acct; -pub use linux_headers_asm_unistd::__NR_capget; -pub use linux_headers_asm_unistd::__NR_capset; -pub use linux_headers_asm_unistd::__NR_personality; -pub use linux_headers_asm_unistd::__NR_exit; -pub use linux_headers_asm_unistd::__NR_exit_group; -pub use linux_headers_asm_unistd::__NR_waitid; -pub use linux_headers_asm_unistd::__NR_set_tid_address; -pub use linux_headers_asm_unistd::__NR_unshare; -pub use linux_headers_asm_unistd::__NR_futex; -pub use linux_headers_asm_unistd::__NR_set_robust_list; -pub use linux_headers_asm_unistd::__NR_get_robust_list; -pub use linux_headers_asm_unistd::__NR_nanosleep; -pub use linux_headers_asm_unistd::__NR_getitimer; -pub use linux_headers_asm_unistd::__NR_setitimer; -pub use linux_headers_asm_unistd::__NR_kexec_load; -pub use linux_headers_asm_unistd::__NR_init_module; -pub use linux_headers_asm_unistd::__NR_delete_module; -pub use linux_headers_asm_unistd::__NR_timer_create; -pub use linux_headers_asm_unistd::__NR_timer_gettime; -pub use linux_headers_asm_unistd::__NR_timer_getoverrun; -pub use linux_headers_asm_unistd::__NR_timer_settime; -pub use linux_headers_asm_unistd::__NR_timer_delete; -pub use linux_headers_asm_unistd::__NR_clock_settime; -pub use linux_headers_asm_unistd::__NR_clock_gettime; -pub use linux_headers_asm_unistd::__NR_clock_getres; -pub use linux_headers_asm_unistd::__NR_clock_nanosleep; -pub use linux_headers_asm_unistd::__NR_syslog; -pub use linux_headers_asm_unistd::__NR_ptrace; -pub use linux_headers_asm_unistd::__NR_sched_setparam; -pub use linux_headers_asm_unistd::__NR_sched_setscheduler; -pub use linux_headers_asm_unistd::__NR_sched_getscheduler; -pub use linux_headers_asm_unistd::__NR_sched_getparam; -pub use linux_headers_asm_unistd::__NR_sched_setaffinity; -pub use linux_headers_asm_unistd::__NR_sched_getaffinity; -pub use linux_headers_asm_unistd::__NR_sched_yield; -pub use linux_headers_asm_unistd::__NR_sched_get_priority_max; -pub use linux_headers_asm_unistd::__NR_sched_get_priority_min; -pub use linux_headers_asm_unistd::__NR_sched_rr_get_interval; -pub use linux_headers_asm_unistd::__NR_restart_syscall; -pub use linux_headers_asm_unistd::__NR_kill; -pub use linux_headers_asm_unistd::__NR_tkill; -pub use linux_headers_asm_unistd::__NR_tgkill; -pub use linux_headers_asm_unistd::__NR_sigaltstack; -pub use linux_headers_asm_unistd::__NR_rt_sigsuspend; -pub use linux_headers_asm_unistd::__NR_rt_sigaction; -pub use linux_headers_asm_unistd::__NR_rt_sigprocmask; -pub use linux_headers_asm_unistd::__NR_rt_sigpending; -pub use linux_headers_asm_unistd::__NR_rt_sigtimedwait; -pub use linux_headers_asm_unistd::__NR_rt_sigqueueinfo; -pub use linux_headers_asm_unistd::__NR_rt_sigreturn; -pub use linux_headers_asm_unistd::__NR_setpriority; -pub use linux_headers_asm_unistd::__NR_getpriority; -pub use linux_headers_asm_unistd::__NR_reboot; -pub use linux_headers_asm_unistd::__NR_setregid; -pub use linux_headers_asm_unistd::__NR_setgid; -pub use linux_headers_asm_unistd::__NR_setreuid; -pub use linux_headers_asm_unistd::__NR_setuid; -pub use linux_headers_asm_unistd::__NR_setresuid; -pub use linux_headers_asm_unistd::__NR_getresuid; -pub use linux_headers_asm_unistd::__NR_setresgid; -pub use linux_headers_asm_unistd::__NR_getresgid; -pub use linux_headers_asm_unistd::__NR_setfsuid; -pub use linux_headers_asm_unistd::__NR_setfsgid; -pub use linux_headers_asm_unistd::__NR_times; -pub use linux_headers_asm_unistd::__NR_setpgid; -pub use linux_headers_asm_unistd::__NR_getpgid; -pub use linux_headers_asm_unistd::__NR_getsid; -pub use linux_headers_asm_unistd::__NR_setsid; -pub use linux_headers_asm_unistd::__NR_getgroups; -pub use linux_headers_asm_unistd::__NR_setgroups; -pub use linux_headers_asm_unistd::__NR_uname; -pub use linux_headers_asm_unistd::__NR_sethostname; -pub use linux_headers_asm_unistd::__NR_setdomainname; -pub use linux_headers_asm_unistd::__NR_getrlimit; -pub use linux_headers_asm_unistd::__NR_setrlimit; -pub use linux_headers_asm_unistd::__NR_getrusage; -pub use linux_headers_asm_unistd::__NR_umask; -pub use linux_headers_asm_unistd::__NR_prctl; -pub use linux_headers_asm_unistd::__NR_getcpu; -pub use linux_headers_asm_unistd::__NR_gettimeofday; -pub use linux_headers_asm_unistd::__NR_settimeofday; -pub use linux_headers_asm_unistd::__NR_adjtimex; -pub use linux_headers_asm_unistd::__NR_getpid; -pub use linux_headers_asm_unistd::__NR_getppid; -pub use linux_headers_asm_unistd::__NR_getuid; -pub use linux_headers_asm_unistd::__NR_geteuid; -pub use linux_headers_asm_unistd::__NR_getgid; -pub use linux_headers_asm_unistd::__NR_getegid; -pub use linux_headers_asm_unistd::__NR_gettid; -pub use linux_headers_asm_unistd::__NR_sysinfo; -pub use linux_headers_asm_unistd::__NR_mq_open; -pub use linux_headers_asm_unistd::__NR_mq_unlink; -pub use linux_headers_asm_unistd::__NR_mq_timedsend; -pub use linux_headers_asm_unistd::__NR_mq_timedreceive; -pub use linux_headers_asm_unistd::__NR_mq_notify; -pub use linux_headers_asm_unistd::__NR_mq_getsetattr; -pub use linux_headers_asm_unistd::__NR_msgget; -pub use linux_headers_asm_unistd::__NR_msgctl; -pub use linux_headers_asm_unistd::__NR_msgrcv; -pub use linux_headers_asm_unistd::__NR_msgsnd; -pub use linux_headers_asm_unistd::__NR_semget; -pub use linux_headers_asm_unistd::__NR_semctl; -pub use linux_headers_asm_unistd::__NR_semtimedop; -pub use linux_headers_asm_unistd::__NR_semop; -pub use linux_headers_asm_unistd::__NR_shmget; -pub use linux_headers_asm_unistd::__NR_shmctl; -pub use linux_headers_asm_unistd::__NR_shmat; -pub use linux_headers_asm_unistd::__NR_shmdt; -pub use linux_headers_asm_unistd::__NR_socket; -pub use linux_headers_asm_unistd::__NR_socketpair; -pub use linux_headers_asm_unistd::__NR_bind; -pub use linux_headers_asm_unistd::__NR_listen; -pub use linux_headers_asm_unistd::__NR_accept; -pub use linux_headers_asm_unistd::__NR_connect; -pub use linux_headers_asm_unistd::__NR_getsockname; -pub use linux_headers_asm_unistd::__NR_getpeername; -pub use linux_headers_asm_unistd::__NR_sendto; -pub use linux_headers_asm_unistd::__NR_recvfrom; -pub use linux_headers_asm_unistd::__NR_setsockopt; -pub use linux_headers_asm_unistd::__NR_getsockopt; -pub use linux_headers_asm_unistd::__NR_shutdown; -pub use linux_headers_asm_unistd::__NR_sendmsg; -pub use linux_headers_asm_unistd::__NR_recvmsg; -pub use linux_headers_asm_unistd::__NR_readahead; -pub use linux_headers_asm_unistd::__NR_brk; -pub use linux_headers_asm_unistd::__NR_munmap; -pub use linux_headers_asm_unistd::__NR_mremap; -pub use linux_headers_asm_unistd::__NR_add_key; -pub use linux_headers_asm_unistd::__NR_request_key; -pub use linux_headers_asm_unistd::__NR_keyctl; -pub use linux_headers_asm_unistd::__NR_clone; -pub use linux_headers_asm_unistd::__NR_execve; -pub use linux_headers_asm_unistd::__NR_swapon; -pub use linux_headers_asm_unistd::__NR_swapoff; -pub use linux_headers_asm_unistd::__NR_mprotect; -pub use linux_headers_asm_unistd::__NR_msync; -pub use linux_headers_asm_unistd::__NR_mlock; -pub use linux_headers_asm_unistd::__NR_munlock; -pub use linux_headers_asm_unistd::__NR_mlockall; -pub use linux_headers_asm_unistd::__NR_munlockall; -pub use linux_headers_asm_unistd::__NR_mincore; -pub use linux_headers_asm_unistd::__NR_madvise; -pub use linux_headers_asm_unistd::__NR_remap_file_pages; -pub use linux_headers_asm_unistd::__NR_mbind; -pub use linux_headers_asm_unistd::__NR_get_mempolicy; -pub use linux_headers_asm_unistd::__NR_set_mempolicy; -pub use linux_headers_asm_unistd::__NR_migrate_pages; -pub use linux_headers_asm_unistd::__NR_move_pages; -pub use linux_headers_asm_unistd::__NR_rt_tgsigqueueinfo; -pub use linux_headers_asm_unistd::__NR_perf_event_open; -pub use linux_headers_asm_unistd::__NR_accept4; -pub use linux_headers_asm_unistd::__NR_recvmmsg; -pub use linux_headers_asm_unistd::__NR_arch_specific_syscall; -pub use linux_headers_asm_unistd::__NR_wait4; -pub use linux_headers_asm_unistd::__NR_prlimit64; -pub use linux_headers_asm_unistd::__NR_fanotify_init; -pub use linux_headers_asm_unistd::__NR_fanotify_mark; -pub use linux_headers_asm_unistd::__NR_name_to_handle_at; -pub use linux_headers_asm_unistd::__NR_open_by_handle_at; -pub use linux_headers_asm_unistd::__NR_clock_adjtime; -pub use linux_headers_asm_unistd::__NR_syncfs; -pub use linux_headers_asm_unistd::__NR_setns; -pub use linux_headers_asm_unistd::__NR_sendmmsg; -pub use linux_headers_asm_unistd::__NR_process_vm_readv; -pub use linux_headers_asm_unistd::__NR_process_vm_writev; -pub use linux_headers_asm_unistd::__NR_kcmp; -pub use linux_headers_asm_unistd::__NR_finit_module; -pub use linux_headers_asm_unistd::__NR_sched_setattr; -pub use linux_headers_asm_unistd::__NR_sched_getattr; -pub use linux_headers_asm_unistd::__NR_renameat2; -pub use linux_headers_asm_unistd::__NR_seccomp; -pub use linux_headers_asm_unistd::__NR_getrandom; -pub use linux_headers_asm_unistd::__NR_memfd_create; -pub use linux_headers_asm_unistd::__NR_bpf; -pub use linux_headers_asm_unistd::__NR_execveat; -pub use linux_headers_asm_unistd::__NR_userfaultfd; -pub use linux_headers_asm_unistd::__NR_membarrier; -pub use linux_headers_asm_unistd::__NR_mlock2; -pub use linux_headers_asm_unistd::__NR_copy_file_range; -pub use linux_headers_asm_unistd::__NR_preadv2; -pub use linux_headers_asm_unistd::__NR_pwritev2; -pub use linux_headers_asm_unistd::__NR_pkey_mprotect; -pub use linux_headers_asm_unistd::__NR_pkey_alloc; -pub use linux_headers_asm_unistd::__NR_pkey_free; -pub use linux_headers_asm_unistd::__NR_statx; -pub use linux_headers_asm_unistd::__NR_io_pgetevents; -pub use linux_headers_asm_unistd::__NR_rseq; -pub use linux_headers_asm_unistd::__NR_kexec_file_load; -pub use linux_headers_asm_unistd::__NR_pidfd_send_signal; -pub use linux_headers_asm_unistd::__NR_io_uring_setup; -pub use linux_headers_asm_unistd::__NR_io_uring_enter; -pub use linux_headers_asm_unistd::__NR_io_uring_register; -pub use linux_headers_asm_unistd::__NR_syscalls; -pub use linux_headers_asm_unistd::__NR_fcntl; -pub use linux_headers_asm_unistd::__NR_statfs; -pub use linux_headers_asm_unistd::__NR_fstatfs; -pub use linux_headers_asm_unistd::__NR_truncate; -pub use linux_headers_asm_unistd::__NR_ftruncate; -pub use linux_headers_asm_unistd::__NR_lseek; -pub use linux_headers_asm_unistd::__NR_sendfile; -pub use linux_headers_asm_unistd::__NR_newfstatat; -pub use linux_headers_asm_unistd::__NR_fstat; -pub use linux_headers_asm_unistd::__NR_mmap; -pub use linux_headers_asm_unistd::__NR_fadvise64; -mod linux_headers_linux_auxvec; -pub use linux_headers_linux_auxvec::AT_SYSINFO_EHDR; -pub use linux_headers_linux_auxvec::AT_MINSIGSTKSZ; -pub use linux_headers_linux_auxvec::AT_VECTOR_SIZE_ARCH; -pub use linux_headers_linux_auxvec::AT_NULL; -pub use linux_headers_linux_auxvec::AT_IGNORE; -pub use linux_headers_linux_auxvec::AT_EXECFD; -pub use linux_headers_linux_auxvec::AT_PHDR; -pub use linux_headers_linux_auxvec::AT_PHENT; -pub use linux_headers_linux_auxvec::AT_PHNUM; -pub use linux_headers_linux_auxvec::AT_PAGESZ; -pub use linux_headers_linux_auxvec::AT_BASE; -pub use linux_headers_linux_auxvec::AT_FLAGS; -pub use linux_headers_linux_auxvec::AT_ENTRY; -pub use linux_headers_linux_auxvec::AT_NOTELF; -pub use linux_headers_linux_auxvec::AT_UID; -pub use linux_headers_linux_auxvec::AT_EUID; -pub use linux_headers_linux_auxvec::AT_GID; -pub use linux_headers_linux_auxvec::AT_EGID; -pub use linux_headers_linux_auxvec::AT_PLATFORM; -pub use linux_headers_linux_auxvec::AT_HWCAP; -pub use linux_headers_linux_auxvec::AT_CLKTCK; -pub use linux_headers_linux_auxvec::AT_SECURE; -pub use linux_headers_linux_auxvec::AT_BASE_PLATFORM; -pub use linux_headers_linux_auxvec::AT_RANDOM; -pub use linux_headers_linux_auxvec::AT_HWCAP2; -pub use linux_headers_linux_auxvec::AT_EXECFN; -mod linux_headers_linux_prctl; -pub use linux_headers_linux_prctl::PR_SET_PDEATHSIG; -pub use linux_headers_linux_prctl::PR_GET_PDEATHSIG; -pub use linux_headers_linux_prctl::PR_GET_DUMPABLE; -pub use linux_headers_linux_prctl::PR_SET_DUMPABLE; -pub use linux_headers_linux_prctl::PR_GET_UNALIGN; -pub use linux_headers_linux_prctl::PR_SET_UNALIGN; -pub use linux_headers_linux_prctl::PR_UNALIGN_NOPRINT; -pub use linux_headers_linux_prctl::PR_UNALIGN_SIGBUS; -pub use linux_headers_linux_prctl::PR_GET_KEEPCAPS; -pub use linux_headers_linux_prctl::PR_SET_KEEPCAPS; -pub use linux_headers_linux_prctl::PR_GET_FPEMU; -pub use linux_headers_linux_prctl::PR_SET_FPEMU; -pub use linux_headers_linux_prctl::PR_FPEMU_NOPRINT; -pub use linux_headers_linux_prctl::PR_FPEMU_SIGFPE; -pub use linux_headers_linux_prctl::PR_GET_FPEXC; -pub use linux_headers_linux_prctl::PR_SET_FPEXC; -pub use linux_headers_linux_prctl::PR_FP_EXC_SW_ENABLE; -pub use linux_headers_linux_prctl::PR_FP_EXC_DIV; -pub use linux_headers_linux_prctl::PR_FP_EXC_OVF; -pub use linux_headers_linux_prctl::PR_FP_EXC_UND; -pub use linux_headers_linux_prctl::PR_FP_EXC_RES; -pub use linux_headers_linux_prctl::PR_FP_EXC_INV; -pub use linux_headers_linux_prctl::PR_FP_EXC_DISABLED; -pub use linux_headers_linux_prctl::PR_FP_EXC_NONRECOV; -pub use linux_headers_linux_prctl::PR_FP_EXC_ASYNC; -pub use linux_headers_linux_prctl::PR_FP_EXC_PRECISE; -pub use linux_headers_linux_prctl::PR_GET_TIMING; -pub use linux_headers_linux_prctl::PR_SET_TIMING; -pub use linux_headers_linux_prctl::PR_TIMING_STATISTICAL; -pub use linux_headers_linux_prctl::PR_TIMING_TIMESTAMP; -pub use linux_headers_linux_prctl::PR_SET_NAME; -pub use linux_headers_linux_prctl::PR_GET_NAME; -pub use linux_headers_linux_prctl::PR_GET_ENDIAN; -pub use linux_headers_linux_prctl::PR_SET_ENDIAN; -pub use linux_headers_linux_prctl::PR_ENDIAN_BIG; -pub use linux_headers_linux_prctl::PR_ENDIAN_LITTLE; -pub use linux_headers_linux_prctl::PR_ENDIAN_PPC_LITTLE; -pub use linux_headers_linux_prctl::PR_GET_SECCOMP; -pub use linux_headers_linux_prctl::PR_SET_SECCOMP; -pub use linux_headers_linux_prctl::PR_CAPBSET_READ; -pub use linux_headers_linux_prctl::PR_CAPBSET_DROP; -pub use linux_headers_linux_prctl::PR_GET_TSC; -pub use linux_headers_linux_prctl::PR_SET_TSC; -pub use linux_headers_linux_prctl::PR_TSC_ENABLE; -pub use linux_headers_linux_prctl::PR_TSC_SIGSEGV; -pub use linux_headers_linux_prctl::PR_GET_SECUREBITS; -pub use linux_headers_linux_prctl::PR_SET_SECUREBITS; -pub use linux_headers_linux_prctl::PR_SET_TIMERSLACK; -pub use linux_headers_linux_prctl::PR_GET_TIMERSLACK; -pub use linux_headers_linux_prctl::PR_TASK_PERF_EVENTS_DISABLE; -pub use linux_headers_linux_prctl::PR_TASK_PERF_EVENTS_ENABLE; -pub use linux_headers_linux_prctl::PR_MCE_KILL; -pub use linux_headers_linux_prctl::PR_MCE_KILL_CLEAR; -pub use linux_headers_linux_prctl::PR_MCE_KILL_SET; -pub use linux_headers_linux_prctl::PR_MCE_KILL_LATE; -pub use linux_headers_linux_prctl::PR_MCE_KILL_EARLY; -pub use linux_headers_linux_prctl::PR_MCE_KILL_DEFAULT; -pub use linux_headers_linux_prctl::PR_MCE_KILL_GET; -pub use linux_headers_linux_prctl::PR_SET_MM; -pub use linux_headers_linux_prctl::PR_SET_MM_START_CODE; -pub use linux_headers_linux_prctl::PR_SET_MM_END_CODE; -pub use linux_headers_linux_prctl::PR_SET_MM_START_DATA; -pub use linux_headers_linux_prctl::PR_SET_MM_END_DATA; -pub use linux_headers_linux_prctl::PR_SET_MM_START_STACK; -pub use linux_headers_linux_prctl::PR_SET_MM_START_BRK; -pub use linux_headers_linux_prctl::PR_SET_MM_BRK; -pub use linux_headers_linux_prctl::PR_SET_MM_ARG_START; -pub use linux_headers_linux_prctl::PR_SET_MM_ARG_END; -pub use linux_headers_linux_prctl::PR_SET_MM_ENV_START; -pub use linux_headers_linux_prctl::PR_SET_MM_ENV_END; -pub use linux_headers_linux_prctl::PR_SET_MM_AUXV; -pub use linux_headers_linux_prctl::PR_SET_MM_EXE_FILE; -pub use linux_headers_linux_prctl::PR_SET_MM_MAP; -pub use linux_headers_linux_prctl::PR_SET_MM_MAP_SIZE; -pub use linux_headers_linux_prctl::PR_SET_PTRACER; -pub use linux_headers_linux_prctl::PR_SET_PTRACER_ANY; -pub use linux_headers_linux_prctl::PR_SET_CHILD_SUBREAPER; -pub use linux_headers_linux_prctl::PR_GET_CHILD_SUBREAPER; -pub use linux_headers_linux_prctl::PR_SET_NO_NEW_PRIVS; -pub use linux_headers_linux_prctl::PR_GET_NO_NEW_PRIVS; -pub use linux_headers_linux_prctl::PR_GET_TID_ADDRESS; -pub use linux_headers_linux_prctl::PR_SET_THP_DISABLE; -pub use linux_headers_linux_prctl::PR_GET_THP_DISABLE; -pub use linux_headers_linux_prctl::PR_MPX_ENABLE_MANAGEMENT; -pub use linux_headers_linux_prctl::PR_MPX_DISABLE_MANAGEMENT; -pub use linux_headers_linux_prctl::PR_SET_FP_MODE; -pub use linux_headers_linux_prctl::PR_GET_FP_MODE; -pub use linux_headers_linux_prctl::PR_FP_MODE_FR; -pub use linux_headers_linux_prctl::PR_FP_MODE_FRE; -pub use linux_headers_linux_prctl::PR_CAP_AMBIENT; -pub use linux_headers_linux_prctl::PR_CAP_AMBIENT_IS_SET; -pub use linux_headers_linux_prctl::PR_CAP_AMBIENT_RAISE; -pub use linux_headers_linux_prctl::PR_CAP_AMBIENT_LOWER; -pub use linux_headers_linux_prctl::PR_CAP_AMBIENT_CLEAR_ALL; -pub use linux_headers_linux_prctl::PR_SVE_SET_VL; -pub use linux_headers_linux_prctl::PR_SVE_SET_VL_ONEXEC; -pub use linux_headers_linux_prctl::PR_SVE_GET_VL; -pub use linux_headers_linux_prctl::PR_SVE_VL_LEN_MASK; -pub use linux_headers_linux_prctl::PR_SVE_VL_INHERIT; -pub use linux_headers_linux_prctl::PR_GET_SPECULATION_CTRL; -pub use linux_headers_linux_prctl::PR_SET_SPECULATION_CTRL; -pub use linux_headers_linux_prctl::PR_SPEC_STORE_BYPASS; -pub use linux_headers_linux_prctl::PR_SPEC_INDIRECT_BRANCH; -pub use linux_headers_linux_prctl::PR_SPEC_NOT_AFFECTED; -pub use linux_headers_linux_prctl::PR_SPEC_PRCTL; -pub use linux_headers_linux_prctl::PR_SPEC_ENABLE; -pub use linux_headers_linux_prctl::PR_SPEC_DISABLE; -pub use linux_headers_linux_prctl::PR_SPEC_FORCE_DISABLE; -pub use linux_headers_linux_prctl::PR_SPEC_DISABLE_NOEXEC; -pub use linux_headers_linux_prctl::PR_PAC_RESET_KEYS; -pub use linux_headers_linux_prctl::PR_PAC_APIAKEY; -pub use linux_headers_linux_prctl::PR_PAC_APIBKEY; -pub use linux_headers_linux_prctl::PR_PAC_APDAKEY; -pub use linux_headers_linux_prctl::PR_PAC_APDBKEY; -pub use linux_headers_linux_prctl::PR_PAC_APGAKEY; -mod dlfcn; -pub use dlfcn::RTLD_DEFAULT; -pub use dlfcn::dlsym; -mod elf; -pub use elf::Elf32_auxv_t; -pub use elf::Elf64_auxv_t; -mod sys_auxv; -pub use sys_auxv::getauxval; -mod unistd; -pub use unistd::syscall; -pub type c_char = u8; diff --git a/tests/helper/src/gen/sys/aarch64_linux_gnu_ilp32/sys_auxv.rs b/tests/helper/src/gen/sys/aarch64_linux_gnu_ilp32/sys_auxv.rs deleted file mode 100644 index 1fe1c678..00000000 --- a/tests/helper/src/gen/sys/aarch64_linux_gnu_ilp32/sys_auxv.rs +++ /dev/null @@ -1,10 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -extern "C" { - pub fn getauxval(__type: ::std::os::raw::c_ulong) -> ::std::os::raw::c_ulong; -} diff --git a/tests/helper/src/gen/sys/aarch64_linux_gnu_ilp32/unistd.rs b/tests/helper/src/gen/sys/aarch64_linux_gnu_ilp32/unistd.rs deleted file mode 100644 index eab78d00..00000000 --- a/tests/helper/src/gen/sys/aarch64_linux_gnu_ilp32/unistd.rs +++ /dev/null @@ -1,10 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -extern "C" { - pub fn syscall(__sysno: ::std::os::raw::c_long, ...) -> ::std::os::raw::c_long; -} diff --git a/tests/helper/src/gen/sys/aarch64_linux_musl/dlfcn.rs b/tests/helper/src/gen/sys/aarch64_linux_musl/dlfcn.rs deleted file mode 100644 index 87cb3e98..00000000 --- a/tests/helper/src/gen/sys/aarch64_linux_musl/dlfcn.rs +++ /dev/null @@ -1,14 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -pub const RTLD_DEFAULT: *mut ::std::os::raw::c_void = ::core::ptr::null_mut(); -extern "C" { - pub fn dlsym( - arg1: *mut ::core::ffi::c_void, - arg2: *const ::std::os::raw::c_char, - ) -> *mut ::core::ffi::c_void; -} diff --git a/tests/helper/src/gen/sys/aarch64_linux_musl/elf.rs b/tests/helper/src/gen/sys/aarch64_linux_musl/elf.rs deleted file mode 100644 index a3c1790d..00000000 --- a/tests/helper/src/gen/sys/aarch64_linux_musl/elf.rs +++ /dev/null @@ -1,29 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -#[repr(C)] -#[derive(Copy, Clone)] -pub struct Elf32_auxv_t { - pub a_type: u32, - pub a_un: Elf32_auxv_t__bindgen_ty_1, -} -#[repr(C)] -#[derive(Copy, Clone)] -pub union Elf32_auxv_t__bindgen_ty_1 { - pub a_val: u32, -} -#[repr(C)] -#[derive(Copy, Clone)] -pub struct Elf64_auxv_t { - pub a_type: u64, - pub a_un: Elf64_auxv_t__bindgen_ty_1, -} -#[repr(C)] -#[derive(Copy, Clone)] -pub union Elf64_auxv_t__bindgen_ty_1 { - pub a_val: u64, -} diff --git a/tests/helper/src/gen/sys/aarch64_linux_musl/linux_headers_asm_hwcap.rs b/tests/helper/src/gen/sys/aarch64_linux_musl/linux_headers_asm_hwcap.rs deleted file mode 100644 index 3b593c9f..00000000 --- a/tests/helper/src/gen/sys/aarch64_linux_musl/linux_headers_asm_hwcap.rs +++ /dev/null @@ -1,103 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -pub const HWCAP_FP: u32 = 1; -pub const HWCAP_ASIMD: u32 = 2; -pub const HWCAP_EVTSTRM: u32 = 4; -pub const HWCAP_AES: u32 = 8; -pub const HWCAP_PMULL: u32 = 16; -pub const HWCAP_SHA1: u32 = 32; -pub const HWCAP_SHA2: u32 = 64; -pub const HWCAP_CRC32: u32 = 128; -pub const HWCAP_ATOMICS: u32 = 256; -pub const HWCAP_FPHP: u32 = 512; -pub const HWCAP_ASIMDHP: u32 = 1024; -pub const HWCAP_CPUID: u32 = 2048; -pub const HWCAP_ASIMDRDM: u32 = 4096; -pub const HWCAP_JSCVT: u32 = 8192; -pub const HWCAP_FCMA: u32 = 16384; -pub const HWCAP_LRCPC: u32 = 32768; -pub const HWCAP_DCPOP: u32 = 65536; -pub const HWCAP_SHA3: u32 = 131072; -pub const HWCAP_SM3: u32 = 262144; -pub const HWCAP_SM4: u32 = 524288; -pub const HWCAP_ASIMDDP: u32 = 1048576; -pub const HWCAP_SHA512: u32 = 2097152; -pub const HWCAP_SVE: u32 = 4194304; -pub const HWCAP_ASIMDFHM: u32 = 8388608; -pub const HWCAP_DIT: u32 = 16777216; -pub const HWCAP_USCAT: u32 = 33554432; -pub const HWCAP_ILRCPC: u32 = 67108864; -pub const HWCAP_FLAGM: u32 = 134217728; -pub const HWCAP_SSBS: u32 = 268435456; -pub const HWCAP_SB: u32 = 536870912; -pub const HWCAP_PACA: u32 = 1073741824; -pub const HWCAP_PACG: u32 = 2147483648; -pub const HWCAP2_DCPODP: u32 = 1; -pub const HWCAP2_SVE2: u32 = 2; -pub const HWCAP2_SVEAES: u32 = 4; -pub const HWCAP2_SVEPMULL: u32 = 8; -pub const HWCAP2_SVEBITPERM: u32 = 16; -pub const HWCAP2_SVESHA3: u32 = 32; -pub const HWCAP2_SVESM4: u32 = 64; -pub const HWCAP2_FLAGM2: u32 = 128; -pub const HWCAP2_FRINT: u32 = 256; -pub const HWCAP2_SVEI8MM: u32 = 512; -pub const HWCAP2_SVEF32MM: u32 = 1024; -pub const HWCAP2_SVEF64MM: u32 = 2048; -pub const HWCAP2_SVEBF16: u32 = 4096; -pub const HWCAP2_I8MM: u32 = 8192; -pub const HWCAP2_BF16: u32 = 16384; -pub const HWCAP2_DGH: u32 = 32768; -pub const HWCAP2_RNG: u32 = 65536; -pub const HWCAP2_BTI: u32 = 131072; -pub const HWCAP2_MTE: u32 = 262144; -pub const HWCAP2_ECV: u32 = 524288; -pub const HWCAP2_AFP: u32 = 1048576; -pub const HWCAP2_RPRES: u32 = 2097152; -pub const HWCAP2_MTE3: u32 = 4194304; -pub const HWCAP2_SME: u32 = 8388608; -pub const HWCAP2_SME_I16I64: u32 = 16777216; -pub const HWCAP2_SME_F64F64: u32 = 33554432; -pub const HWCAP2_SME_I8I32: u32 = 67108864; -pub const HWCAP2_SME_F16F32: u32 = 134217728; -pub const HWCAP2_SME_B16F32: u32 = 268435456; -pub const HWCAP2_SME_F32F32: u32 = 536870912; -pub const HWCAP2_SME_FA64: u32 = 1073741824; -pub const HWCAP2_WFXT: u32 = 2147483648; -pub const HWCAP2_EBF16: u64 = 4294967296; -pub const HWCAP2_SVE_EBF16: u64 = 8589934592; -pub const HWCAP2_CSSC: u64 = 17179869184; -pub const HWCAP2_RPRFM: u64 = 34359738368; -pub const HWCAP2_SVE2P1: u64 = 68719476736; -pub const HWCAP2_SME2: u64 = 137438953472; -pub const HWCAP2_SME2P1: u64 = 274877906944; -pub const HWCAP2_SME_I16I32: u64 = 549755813888; -pub const HWCAP2_SME_BI32I32: u64 = 1099511627776; -pub const HWCAP2_SME_B16B16: u64 = 2199023255552; -pub const HWCAP2_SME_F16F16: u64 = 4398046511104; -pub const HWCAP2_MOPS: u64 = 8796093022208; -pub const HWCAP2_HBC: u64 = 17592186044416; -pub const HWCAP2_SVE_B16B16: u64 = 35184372088832; -pub const HWCAP2_LRCPC3: u64 = 70368744177664; -pub const HWCAP2_LSE128: u64 = 140737488355328; -pub const HWCAP2_FPMR: u64 = 281474976710656; -pub const HWCAP2_LUT: u64 = 562949953421312; -pub const HWCAP2_FAMINMAX: u64 = 1125899906842624; -pub const HWCAP2_F8CVT: u64 = 2251799813685248; -pub const HWCAP2_F8FMA: u64 = 4503599627370496; -pub const HWCAP2_F8DP4: u64 = 9007199254740992; -pub const HWCAP2_F8DP2: u64 = 18014398509481984; -pub const HWCAP2_F8E4M3: u64 = 36028797018963968; -pub const HWCAP2_F8E5M2: u64 = 72057594037927936; -pub const HWCAP2_SME_LUTV2: u64 = 144115188075855872; -pub const HWCAP2_SME_F8F16: u64 = 288230376151711744; -pub const HWCAP2_SME_F8F32: u64 = 576460752303423488; -pub const HWCAP2_SME_SF8FMA: u64 = 1152921504606846976; -pub const HWCAP2_SME_SF8DP4: u64 = 2305843009213693952; -pub const HWCAP2_SME_SF8DP2: u64 = 4611686018427387904; -pub const HWCAP2_POE: u64 = 9223372036854775808; diff --git a/tests/helper/src/gen/sys/aarch64_linux_musl/linux_headers_asm_unistd.rs b/tests/helper/src/gen/sys/aarch64_linux_musl/linux_headers_asm_unistd.rs deleted file mode 100644 index 3d00edab..00000000 --- a/tests/helper/src/gen/sys/aarch64_linux_musl/linux_headers_asm_unistd.rs +++ /dev/null @@ -1,325 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -pub const __NR_io_setup: u32 = 0; -pub const __NR_io_destroy: u32 = 1; -pub const __NR_io_submit: u32 = 2; -pub const __NR_io_cancel: u32 = 3; -pub const __NR_io_getevents: u32 = 4; -pub const __NR_setxattr: u32 = 5; -pub const __NR_lsetxattr: u32 = 6; -pub const __NR_fsetxattr: u32 = 7; -pub const __NR_getxattr: u32 = 8; -pub const __NR_lgetxattr: u32 = 9; -pub const __NR_fgetxattr: u32 = 10; -pub const __NR_listxattr: u32 = 11; -pub const __NR_llistxattr: u32 = 12; -pub const __NR_flistxattr: u32 = 13; -pub const __NR_removexattr: u32 = 14; -pub const __NR_lremovexattr: u32 = 15; -pub const __NR_fremovexattr: u32 = 16; -pub const __NR_getcwd: u32 = 17; -pub const __NR_lookup_dcookie: u32 = 18; -pub const __NR_eventfd2: u32 = 19; -pub const __NR_epoll_create1: u32 = 20; -pub const __NR_epoll_ctl: u32 = 21; -pub const __NR_epoll_pwait: u32 = 22; -pub const __NR_dup: u32 = 23; -pub const __NR_dup3: u32 = 24; -pub const __NR_fcntl: u32 = 25; -pub const __NR_inotify_init1: u32 = 26; -pub const __NR_inotify_add_watch: u32 = 27; -pub const __NR_inotify_rm_watch: u32 = 28; -pub const __NR_ioctl: u32 = 29; -pub const __NR_ioprio_set: u32 = 30; -pub const __NR_ioprio_get: u32 = 31; -pub const __NR_flock: u32 = 32; -pub const __NR_mknodat: u32 = 33; -pub const __NR_mkdirat: u32 = 34; -pub const __NR_unlinkat: u32 = 35; -pub const __NR_symlinkat: u32 = 36; -pub const __NR_linkat: u32 = 37; -pub const __NR_renameat: u32 = 38; -pub const __NR_umount2: u32 = 39; -pub const __NR_mount: u32 = 40; -pub const __NR_pivot_root: u32 = 41; -pub const __NR_nfsservctl: u32 = 42; -pub const __NR_statfs: u32 = 43; -pub const __NR_fstatfs: u32 = 44; -pub const __NR_truncate: u32 = 45; -pub const __NR_ftruncate: u32 = 46; -pub const __NR_fallocate: u32 = 47; -pub const __NR_faccessat: u32 = 48; -pub const __NR_chdir: u32 = 49; -pub const __NR_fchdir: u32 = 50; -pub const __NR_chroot: u32 = 51; -pub const __NR_fchmod: u32 = 52; -pub const __NR_fchmodat: u32 = 53; -pub const __NR_fchownat: u32 = 54; -pub const __NR_fchown: u32 = 55; -pub const __NR_openat: u32 = 56; -pub const __NR_close: u32 = 57; -pub const __NR_vhangup: u32 = 58; -pub const __NR_pipe2: u32 = 59; -pub const __NR_quotactl: u32 = 60; -pub const __NR_getdents64: u32 = 61; -pub const __NR_lseek: u32 = 62; -pub const __NR_read: u32 = 63; -pub const __NR_write: u32 = 64; -pub const __NR_readv: u32 = 65; -pub const __NR_writev: u32 = 66; -pub const __NR_pread64: u32 = 67; -pub const __NR_pwrite64: u32 = 68; -pub const __NR_preadv: u32 = 69; -pub const __NR_pwritev: u32 = 70; -pub const __NR_sendfile: u32 = 71; -pub const __NR_pselect6: u32 = 72; -pub const __NR_ppoll: u32 = 73; -pub const __NR_signalfd4: u32 = 74; -pub const __NR_vmsplice: u32 = 75; -pub const __NR_splice: u32 = 76; -pub const __NR_tee: u32 = 77; -pub const __NR_readlinkat: u32 = 78; -pub const __NR_newfstatat: u32 = 79; -pub const __NR_fstat: u32 = 80; -pub const __NR_sync: u32 = 81; -pub const __NR_fsync: u32 = 82; -pub const __NR_fdatasync: u32 = 83; -pub const __NR_sync_file_range: u32 = 84; -pub const __NR_timerfd_create: u32 = 85; -pub const __NR_timerfd_settime: u32 = 86; -pub const __NR_timerfd_gettime: u32 = 87; -pub const __NR_utimensat: u32 = 88; -pub const __NR_acct: u32 = 89; -pub const __NR_capget: u32 = 90; -pub const __NR_capset: u32 = 91; -pub const __NR_personality: u32 = 92; -pub const __NR_exit: u32 = 93; -pub const __NR_exit_group: u32 = 94; -pub const __NR_waitid: u32 = 95; -pub const __NR_set_tid_address: u32 = 96; -pub const __NR_unshare: u32 = 97; -pub const __NR_futex: u32 = 98; -pub const __NR_set_robust_list: u32 = 99; -pub const __NR_get_robust_list: u32 = 100; -pub const __NR_nanosleep: u32 = 101; -pub const __NR_getitimer: u32 = 102; -pub const __NR_setitimer: u32 = 103; -pub const __NR_kexec_load: u32 = 104; -pub const __NR_init_module: u32 = 105; -pub const __NR_delete_module: u32 = 106; -pub const __NR_timer_create: u32 = 107; -pub const __NR_timer_gettime: u32 = 108; -pub const __NR_timer_getoverrun: u32 = 109; -pub const __NR_timer_settime: u32 = 110; -pub const __NR_timer_delete: u32 = 111; -pub const __NR_clock_settime: u32 = 112; -pub const __NR_clock_gettime: u32 = 113; -pub const __NR_clock_getres: u32 = 114; -pub const __NR_clock_nanosleep: u32 = 115; -pub const __NR_syslog: u32 = 116; -pub const __NR_ptrace: u32 = 117; -pub const __NR_sched_setparam: u32 = 118; -pub const __NR_sched_setscheduler: u32 = 119; -pub const __NR_sched_getscheduler: u32 = 120; -pub const __NR_sched_getparam: u32 = 121; -pub const __NR_sched_setaffinity: u32 = 122; -pub const __NR_sched_getaffinity: u32 = 123; -pub const __NR_sched_yield: u32 = 124; -pub const __NR_sched_get_priority_max: u32 = 125; -pub const __NR_sched_get_priority_min: u32 = 126; -pub const __NR_sched_rr_get_interval: u32 = 127; -pub const __NR_restart_syscall: u32 = 128; -pub const __NR_kill: u32 = 129; -pub const __NR_tkill: u32 = 130; -pub const __NR_tgkill: u32 = 131; -pub const __NR_sigaltstack: u32 = 132; -pub const __NR_rt_sigsuspend: u32 = 133; -pub const __NR_rt_sigaction: u32 = 134; -pub const __NR_rt_sigprocmask: u32 = 135; -pub const __NR_rt_sigpending: u32 = 136; -pub const __NR_rt_sigtimedwait: u32 = 137; -pub const __NR_rt_sigqueueinfo: u32 = 138; -pub const __NR_rt_sigreturn: u32 = 139; -pub const __NR_setpriority: u32 = 140; -pub const __NR_getpriority: u32 = 141; -pub const __NR_reboot: u32 = 142; -pub const __NR_setregid: u32 = 143; -pub const __NR_setgid: u32 = 144; -pub const __NR_setreuid: u32 = 145; -pub const __NR_setuid: u32 = 146; -pub const __NR_setresuid: u32 = 147; -pub const __NR_getresuid: u32 = 148; -pub const __NR_setresgid: u32 = 149; -pub const __NR_getresgid: u32 = 150; -pub const __NR_setfsuid: u32 = 151; -pub const __NR_setfsgid: u32 = 152; -pub const __NR_times: u32 = 153; -pub const __NR_setpgid: u32 = 154; -pub const __NR_getpgid: u32 = 155; -pub const __NR_getsid: u32 = 156; -pub const __NR_setsid: u32 = 157; -pub const __NR_getgroups: u32 = 158; -pub const __NR_setgroups: u32 = 159; -pub const __NR_uname: u32 = 160; -pub const __NR_sethostname: u32 = 161; -pub const __NR_setdomainname: u32 = 162; -pub const __NR_getrlimit: u32 = 163; -pub const __NR_setrlimit: u32 = 164; -pub const __NR_getrusage: u32 = 165; -pub const __NR_umask: u32 = 166; -pub const __NR_prctl: u32 = 167; -pub const __NR_getcpu: u32 = 168; -pub const __NR_gettimeofday: u32 = 169; -pub const __NR_settimeofday: u32 = 170; -pub const __NR_adjtimex: u32 = 171; -pub const __NR_getpid: u32 = 172; -pub const __NR_getppid: u32 = 173; -pub const __NR_getuid: u32 = 174; -pub const __NR_geteuid: u32 = 175; -pub const __NR_getgid: u32 = 176; -pub const __NR_getegid: u32 = 177; -pub const __NR_gettid: u32 = 178; -pub const __NR_sysinfo: u32 = 179; -pub const __NR_mq_open: u32 = 180; -pub const __NR_mq_unlink: u32 = 181; -pub const __NR_mq_timedsend: u32 = 182; -pub const __NR_mq_timedreceive: u32 = 183; -pub const __NR_mq_notify: u32 = 184; -pub const __NR_mq_getsetattr: u32 = 185; -pub const __NR_msgget: u32 = 186; -pub const __NR_msgctl: u32 = 187; -pub const __NR_msgrcv: u32 = 188; -pub const __NR_msgsnd: u32 = 189; -pub const __NR_semget: u32 = 190; -pub const __NR_semctl: u32 = 191; -pub const __NR_semtimedop: u32 = 192; -pub const __NR_semop: u32 = 193; -pub const __NR_shmget: u32 = 194; -pub const __NR_shmctl: u32 = 195; -pub const __NR_shmat: u32 = 196; -pub const __NR_shmdt: u32 = 197; -pub const __NR_socket: u32 = 198; -pub const __NR_socketpair: u32 = 199; -pub const __NR_bind: u32 = 200; -pub const __NR_listen: u32 = 201; -pub const __NR_accept: u32 = 202; -pub const __NR_connect: u32 = 203; -pub const __NR_getsockname: u32 = 204; -pub const __NR_getpeername: u32 = 205; -pub const __NR_sendto: u32 = 206; -pub const __NR_recvfrom: u32 = 207; -pub const __NR_setsockopt: u32 = 208; -pub const __NR_getsockopt: u32 = 209; -pub const __NR_shutdown: u32 = 210; -pub const __NR_sendmsg: u32 = 211; -pub const __NR_recvmsg: u32 = 212; -pub const __NR_readahead: u32 = 213; -pub const __NR_brk: u32 = 214; -pub const __NR_munmap: u32 = 215; -pub const __NR_mremap: u32 = 216; -pub const __NR_add_key: u32 = 217; -pub const __NR_request_key: u32 = 218; -pub const __NR_keyctl: u32 = 219; -pub const __NR_clone: u32 = 220; -pub const __NR_execve: u32 = 221; -pub const __NR_mmap: u32 = 222; -pub const __NR_fadvise64: u32 = 223; -pub const __NR_swapon: u32 = 224; -pub const __NR_swapoff: u32 = 225; -pub const __NR_mprotect: u32 = 226; -pub const __NR_msync: u32 = 227; -pub const __NR_mlock: u32 = 228; -pub const __NR_munlock: u32 = 229; -pub const __NR_mlockall: u32 = 230; -pub const __NR_munlockall: u32 = 231; -pub const __NR_mincore: u32 = 232; -pub const __NR_madvise: u32 = 233; -pub const __NR_remap_file_pages: u32 = 234; -pub const __NR_mbind: u32 = 235; -pub const __NR_get_mempolicy: u32 = 236; -pub const __NR_set_mempolicy: u32 = 237; -pub const __NR_migrate_pages: u32 = 238; -pub const __NR_move_pages: u32 = 239; -pub const __NR_rt_tgsigqueueinfo: u32 = 240; -pub const __NR_perf_event_open: u32 = 241; -pub const __NR_accept4: u32 = 242; -pub const __NR_recvmmsg: u32 = 243; -pub const __NR_wait4: u32 = 260; -pub const __NR_prlimit64: u32 = 261; -pub const __NR_fanotify_init: u32 = 262; -pub const __NR_fanotify_mark: u32 = 263; -pub const __NR_name_to_handle_at: u32 = 264; -pub const __NR_open_by_handle_at: u32 = 265; -pub const __NR_clock_adjtime: u32 = 266; -pub const __NR_syncfs: u32 = 267; -pub const __NR_setns: u32 = 268; -pub const __NR_sendmmsg: u32 = 269; -pub const __NR_process_vm_readv: u32 = 270; -pub const __NR_process_vm_writev: u32 = 271; -pub const __NR_kcmp: u32 = 272; -pub const __NR_finit_module: u32 = 273; -pub const __NR_sched_setattr: u32 = 274; -pub const __NR_sched_getattr: u32 = 275; -pub const __NR_renameat2: u32 = 276; -pub const __NR_seccomp: u32 = 277; -pub const __NR_getrandom: u32 = 278; -pub const __NR_memfd_create: u32 = 279; -pub const __NR_bpf: u32 = 280; -pub const __NR_execveat: u32 = 281; -pub const __NR_userfaultfd: u32 = 282; -pub const __NR_membarrier: u32 = 283; -pub const __NR_mlock2: u32 = 284; -pub const __NR_copy_file_range: u32 = 285; -pub const __NR_preadv2: u32 = 286; -pub const __NR_pwritev2: u32 = 287; -pub const __NR_pkey_mprotect: u32 = 288; -pub const __NR_pkey_alloc: u32 = 289; -pub const __NR_pkey_free: u32 = 290; -pub const __NR_statx: u32 = 291; -pub const __NR_io_pgetevents: u32 = 292; -pub const __NR_rseq: u32 = 293; -pub const __NR_kexec_file_load: u32 = 294; -pub const __NR_pidfd_send_signal: u32 = 424; -pub const __NR_io_uring_setup: u32 = 425; -pub const __NR_io_uring_enter: u32 = 426; -pub const __NR_io_uring_register: u32 = 427; -pub const __NR_open_tree: u32 = 428; -pub const __NR_move_mount: u32 = 429; -pub const __NR_fsopen: u32 = 430; -pub const __NR_fsconfig: u32 = 431; -pub const __NR_fsmount: u32 = 432; -pub const __NR_fspick: u32 = 433; -pub const __NR_pidfd_open: u32 = 434; -pub const __NR_clone3: u32 = 435; -pub const __NR_close_range: u32 = 436; -pub const __NR_openat2: u32 = 437; -pub const __NR_pidfd_getfd: u32 = 438; -pub const __NR_faccessat2: u32 = 439; -pub const __NR_process_madvise: u32 = 440; -pub const __NR_epoll_pwait2: u32 = 441; -pub const __NR_mount_setattr: u32 = 442; -pub const __NR_quotactl_fd: u32 = 443; -pub const __NR_landlock_create_ruleset: u32 = 444; -pub const __NR_landlock_add_rule: u32 = 445; -pub const __NR_landlock_restrict_self: u32 = 446; -pub const __NR_memfd_secret: u32 = 447; -pub const __NR_process_mrelease: u32 = 448; -pub const __NR_futex_waitv: u32 = 449; -pub const __NR_set_mempolicy_home_node: u32 = 450; -pub const __NR_cachestat: u32 = 451; -pub const __NR_fchmodat2: u32 = 452; -pub const __NR_map_shadow_stack: u32 = 453; -pub const __NR_futex_wake: u32 = 454; -pub const __NR_futex_wait: u32 = 455; -pub const __NR_futex_requeue: u32 = 456; -pub const __NR_statmount: u32 = 457; -pub const __NR_listmount: u32 = 458; -pub const __NR_lsm_get_self_attr: u32 = 459; -pub const __NR_lsm_set_self_attr: u32 = 460; -pub const __NR_lsm_list_modules: u32 = 461; -pub const __NR_mseal: u32 = 462; diff --git a/tests/helper/src/gen/sys/aarch64_linux_musl/linux_headers_linux_auxvec.rs b/tests/helper/src/gen/sys/aarch64_linux_musl/linux_headers_linux_auxvec.rs deleted file mode 100644 index da867dd1..00000000 --- a/tests/helper/src/gen/sys/aarch64_linux_musl/linux_headers_linux_auxvec.rs +++ /dev/null @@ -1,37 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -pub const AT_SYSINFO_EHDR: u32 = 33; -pub const AT_MINSIGSTKSZ: u32 = 51; -pub const AT_VECTOR_SIZE_ARCH: u32 = 2; -pub const AT_NULL: u32 = 0; -pub const AT_IGNORE: u32 = 1; -pub const AT_EXECFD: u32 = 2; -pub const AT_PHDR: u32 = 3; -pub const AT_PHENT: u32 = 4; -pub const AT_PHNUM: u32 = 5; -pub const AT_PAGESZ: u32 = 6; -pub const AT_BASE: u32 = 7; -pub const AT_FLAGS: u32 = 8; -pub const AT_ENTRY: u32 = 9; -pub const AT_NOTELF: u32 = 10; -pub const AT_UID: u32 = 11; -pub const AT_EUID: u32 = 12; -pub const AT_GID: u32 = 13; -pub const AT_EGID: u32 = 14; -pub const AT_PLATFORM: u32 = 15; -pub const AT_HWCAP: u32 = 16; -pub const AT_CLKTCK: u32 = 17; -pub const AT_SECURE: u32 = 23; -pub const AT_BASE_PLATFORM: u32 = 24; -pub const AT_RANDOM: u32 = 25; -pub const AT_HWCAP2: u32 = 26; -pub const AT_RSEQ_FEATURE_SIZE: u32 = 27; -pub const AT_RSEQ_ALIGN: u32 = 28; -pub const AT_HWCAP3: u32 = 29; -pub const AT_HWCAP4: u32 = 30; -pub const AT_EXECFN: u32 = 31; diff --git a/tests/helper/src/gen/sys/aarch64_linux_musl/linux_headers_linux_prctl.rs b/tests/helper/src/gen/sys/aarch64_linux_musl/linux_headers_linux_prctl.rs deleted file mode 100644 index 6eeb3021..00000000 --- a/tests/helper/src/gen/sys/aarch64_linux_musl/linux_headers_linux_prctl.rs +++ /dev/null @@ -1,189 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -pub const PR_SET_PDEATHSIG: u32 = 1; -pub const PR_GET_PDEATHSIG: u32 = 2; -pub const PR_GET_DUMPABLE: u32 = 3; -pub const PR_SET_DUMPABLE: u32 = 4; -pub const PR_GET_UNALIGN: u32 = 5; -pub const PR_SET_UNALIGN: u32 = 6; -pub const PR_UNALIGN_NOPRINT: u32 = 1; -pub const PR_UNALIGN_SIGBUS: u32 = 2; -pub const PR_GET_KEEPCAPS: u32 = 7; -pub const PR_SET_KEEPCAPS: u32 = 8; -pub const PR_GET_FPEMU: u32 = 9; -pub const PR_SET_FPEMU: u32 = 10; -pub const PR_FPEMU_NOPRINT: u32 = 1; -pub const PR_FPEMU_SIGFPE: u32 = 2; -pub const PR_GET_FPEXC: u32 = 11; -pub const PR_SET_FPEXC: u32 = 12; -pub const PR_FP_EXC_SW_ENABLE: u32 = 128; -pub const PR_FP_EXC_DIV: u32 = 65536; -pub const PR_FP_EXC_OVF: u32 = 131072; -pub const PR_FP_EXC_UND: u32 = 262144; -pub const PR_FP_EXC_RES: u32 = 524288; -pub const PR_FP_EXC_INV: u32 = 1048576; -pub const PR_FP_EXC_DISABLED: u32 = 0; -pub const PR_FP_EXC_NONRECOV: u32 = 1; -pub const PR_FP_EXC_ASYNC: u32 = 2; -pub const PR_FP_EXC_PRECISE: u32 = 3; -pub const PR_GET_TIMING: u32 = 13; -pub const PR_SET_TIMING: u32 = 14; -pub const PR_TIMING_STATISTICAL: u32 = 0; -pub const PR_TIMING_TIMESTAMP: u32 = 1; -pub const PR_SET_NAME: u32 = 15; -pub const PR_GET_NAME: u32 = 16; -pub const PR_GET_ENDIAN: u32 = 19; -pub const PR_SET_ENDIAN: u32 = 20; -pub const PR_ENDIAN_BIG: u32 = 0; -pub const PR_ENDIAN_LITTLE: u32 = 1; -pub const PR_ENDIAN_PPC_LITTLE: u32 = 2; -pub const PR_GET_SECCOMP: u32 = 21; -pub const PR_SET_SECCOMP: u32 = 22; -pub const PR_CAPBSET_READ: u32 = 23; -pub const PR_CAPBSET_DROP: u32 = 24; -pub const PR_GET_TSC: u32 = 25; -pub const PR_SET_TSC: u32 = 26; -pub const PR_TSC_ENABLE: u32 = 1; -pub const PR_TSC_SIGSEGV: u32 = 2; -pub const PR_GET_SECUREBITS: u32 = 27; -pub const PR_SET_SECUREBITS: u32 = 28; -pub const PR_SET_TIMERSLACK: u32 = 29; -pub const PR_GET_TIMERSLACK: u32 = 30; -pub const PR_TASK_PERF_EVENTS_DISABLE: u32 = 31; -pub const PR_TASK_PERF_EVENTS_ENABLE: u32 = 32; -pub const PR_MCE_KILL: u32 = 33; -pub const PR_MCE_KILL_CLEAR: u32 = 0; -pub const PR_MCE_KILL_SET: u32 = 1; -pub const PR_MCE_KILL_LATE: u32 = 0; -pub const PR_MCE_KILL_EARLY: u32 = 1; -pub const PR_MCE_KILL_DEFAULT: u32 = 2; -pub const PR_MCE_KILL_GET: u32 = 34; -pub const PR_SET_MM: u32 = 35; -pub const PR_SET_MM_START_CODE: u32 = 1; -pub const PR_SET_MM_END_CODE: u32 = 2; -pub const PR_SET_MM_START_DATA: u32 = 3; -pub const PR_SET_MM_END_DATA: u32 = 4; -pub const PR_SET_MM_START_STACK: u32 = 5; -pub const PR_SET_MM_START_BRK: u32 = 6; -pub const PR_SET_MM_BRK: u32 = 7; -pub const PR_SET_MM_ARG_START: u32 = 8; -pub const PR_SET_MM_ARG_END: u32 = 9; -pub const PR_SET_MM_ENV_START: u32 = 10; -pub const PR_SET_MM_ENV_END: u32 = 11; -pub const PR_SET_MM_AUXV: u32 = 12; -pub const PR_SET_MM_EXE_FILE: u32 = 13; -pub const PR_SET_MM_MAP: u32 = 14; -pub const PR_SET_MM_MAP_SIZE: u32 = 15; -pub const PR_SET_PTRACER: u32 = 1499557217; -pub const PR_SET_PTRACER_ANY: ::std::os::raw::c_ulong = -1i8 as ::std::os::raw::c_ulong; -pub const PR_SET_CHILD_SUBREAPER: u32 = 36; -pub const PR_GET_CHILD_SUBREAPER: u32 = 37; -pub const PR_SET_NO_NEW_PRIVS: u32 = 38; -pub const PR_GET_NO_NEW_PRIVS: u32 = 39; -pub const PR_GET_TID_ADDRESS: u32 = 40; -pub const PR_SET_THP_DISABLE: u32 = 41; -pub const PR_GET_THP_DISABLE: u32 = 42; -pub const PR_MPX_ENABLE_MANAGEMENT: u32 = 43; -pub const PR_MPX_DISABLE_MANAGEMENT: u32 = 44; -pub const PR_SET_FP_MODE: u32 = 45; -pub const PR_GET_FP_MODE: u32 = 46; -pub const PR_FP_MODE_FR: u32 = 1; -pub const PR_FP_MODE_FRE: u32 = 2; -pub const PR_CAP_AMBIENT: u32 = 47; -pub const PR_CAP_AMBIENT_IS_SET: u32 = 1; -pub const PR_CAP_AMBIENT_RAISE: u32 = 2; -pub const PR_CAP_AMBIENT_LOWER: u32 = 3; -pub const PR_CAP_AMBIENT_CLEAR_ALL: u32 = 4; -pub const PR_SVE_SET_VL: u32 = 50; -pub const PR_SVE_SET_VL_ONEXEC: u32 = 262144; -pub const PR_SVE_GET_VL: u32 = 51; -pub const PR_SVE_VL_LEN_MASK: u32 = 65535; -pub const PR_SVE_VL_INHERIT: u32 = 131072; -pub const PR_GET_SPECULATION_CTRL: u32 = 52; -pub const PR_SET_SPECULATION_CTRL: u32 = 53; -pub const PR_SPEC_STORE_BYPASS: u32 = 0; -pub const PR_SPEC_INDIRECT_BRANCH: u32 = 1; -pub const PR_SPEC_L1D_FLUSH: u32 = 2; -pub const PR_SPEC_NOT_AFFECTED: u32 = 0; -pub const PR_SPEC_PRCTL: u32 = 1; -pub const PR_SPEC_ENABLE: u32 = 2; -pub const PR_SPEC_DISABLE: u32 = 4; -pub const PR_SPEC_FORCE_DISABLE: u32 = 8; -pub const PR_SPEC_DISABLE_NOEXEC: u32 = 16; -pub const PR_PAC_RESET_KEYS: u32 = 54; -pub const PR_PAC_APIAKEY: u32 = 1; -pub const PR_PAC_APIBKEY: u32 = 2; -pub const PR_PAC_APDAKEY: u32 = 4; -pub const PR_PAC_APDBKEY: u32 = 8; -pub const PR_PAC_APGAKEY: u32 = 16; -pub const PR_SET_TAGGED_ADDR_CTRL: u32 = 55; -pub const PR_GET_TAGGED_ADDR_CTRL: u32 = 56; -pub const PR_TAGGED_ADDR_ENABLE: u32 = 1; -pub const PR_MTE_TCF_NONE: u32 = 0; -pub const PR_MTE_TCF_SYNC: u32 = 2; -pub const PR_MTE_TCF_ASYNC: u32 = 4; -pub const PR_MTE_TCF_MASK: u32 = 6; -pub const PR_MTE_TAG_SHIFT: u32 = 3; -pub const PR_MTE_TAG_MASK: u32 = 524280; -pub const PR_MTE_TCF_SHIFT: u32 = 1; -pub const PR_SET_IO_FLUSHER: u32 = 57; -pub const PR_GET_IO_FLUSHER: u32 = 58; -pub const PR_SET_SYSCALL_USER_DISPATCH: u32 = 59; -pub const PR_SYS_DISPATCH_OFF: u32 = 0; -pub const PR_SYS_DISPATCH_ON: u32 = 1; -pub const PR_PAC_SET_ENABLED_KEYS: u32 = 60; -pub const PR_PAC_GET_ENABLED_KEYS: u32 = 61; -pub const PR_SCHED_CORE: u32 = 62; -pub const PR_SCHED_CORE_GET: u32 = 0; -pub const PR_SCHED_CORE_CREATE: u32 = 1; -pub const PR_SCHED_CORE_SHARE_TO: u32 = 2; -pub const PR_SCHED_CORE_SHARE_FROM: u32 = 3; -pub const PR_SCHED_CORE_MAX: u32 = 4; -pub const PR_SCHED_CORE_SCOPE_THREAD: u32 = 0; -pub const PR_SCHED_CORE_SCOPE_THREAD_GROUP: u32 = 1; -pub const PR_SCHED_CORE_SCOPE_PROCESS_GROUP: u32 = 2; -pub const PR_SME_SET_VL: u32 = 63; -pub const PR_SME_SET_VL_ONEXEC: u32 = 262144; -pub const PR_SME_GET_VL: u32 = 64; -pub const PR_SME_VL_LEN_MASK: u32 = 65535; -pub const PR_SME_VL_INHERIT: u32 = 131072; -pub const PR_SET_MDWE: u32 = 65; -pub const PR_MDWE_REFUSE_EXEC_GAIN: u32 = 1; -pub const PR_MDWE_NO_INHERIT: u32 = 2; -pub const PR_GET_MDWE: u32 = 66; -pub const PR_SET_VMA: u32 = 1398164801; -pub const PR_SET_VMA_ANON_NAME: u32 = 0; -pub const PR_GET_AUXV: u32 = 1096112214; -pub const PR_SET_MEMORY_MERGE: u32 = 67; -pub const PR_GET_MEMORY_MERGE: u32 = 68; -pub const PR_RISCV_V_SET_CONTROL: u32 = 69; -pub const PR_RISCV_V_GET_CONTROL: u32 = 70; -pub const PR_RISCV_V_VSTATE_CTRL_DEFAULT: u32 = 0; -pub const PR_RISCV_V_VSTATE_CTRL_OFF: u32 = 1; -pub const PR_RISCV_V_VSTATE_CTRL_ON: u32 = 2; -pub const PR_RISCV_V_VSTATE_CTRL_INHERIT: u32 = 16; -pub const PR_RISCV_V_VSTATE_CTRL_CUR_MASK: u32 = 3; -pub const PR_RISCV_V_VSTATE_CTRL_NEXT_MASK: u32 = 12; -pub const PR_RISCV_V_VSTATE_CTRL_MASK: u32 = 31; -pub const PR_RISCV_SET_ICACHE_FLUSH_CTX: u32 = 71; -pub const PR_RISCV_CTX_SW_FENCEI_ON: u32 = 0; -pub const PR_RISCV_CTX_SW_FENCEI_OFF: u32 = 1; -pub const PR_RISCV_SCOPE_PER_PROCESS: u32 = 0; -pub const PR_RISCV_SCOPE_PER_THREAD: u32 = 1; -pub const PR_PPC_GET_DEXCR: u32 = 72; -pub const PR_PPC_SET_DEXCR: u32 = 73; -pub const PR_PPC_DEXCR_SBHE: u32 = 0; -pub const PR_PPC_DEXCR_IBRTPD: u32 = 1; -pub const PR_PPC_DEXCR_SRAPD: u32 = 2; -pub const PR_PPC_DEXCR_NPHIE: u32 = 3; -pub const PR_PPC_DEXCR_CTRL_EDITABLE: u32 = 1; -pub const PR_PPC_DEXCR_CTRL_SET: u32 = 2; -pub const PR_PPC_DEXCR_CTRL_CLEAR: u32 = 4; -pub const PR_PPC_DEXCR_CTRL_SET_ONEXEC: u32 = 8; -pub const PR_PPC_DEXCR_CTRL_CLEAR_ONEXEC: u32 = 16; -pub const PR_PPC_DEXCR_CTRL_MASK: u32 = 31; diff --git a/tests/helper/src/gen/sys/aarch64_linux_musl/mod.rs b/tests/helper/src/gen/sys/aarch64_linux_musl/mod.rs deleted file mode 100644 index 31b2768e..00000000 --- a/tests/helper/src/gen/sys/aarch64_linux_musl/mod.rs +++ /dev/null @@ -1,647 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] -mod linux_headers_asm_hwcap; -pub use linux_headers_asm_hwcap::HWCAP_FP; -pub use linux_headers_asm_hwcap::HWCAP_ASIMD; -pub use linux_headers_asm_hwcap::HWCAP_EVTSTRM; -pub use linux_headers_asm_hwcap::HWCAP_AES; -pub use linux_headers_asm_hwcap::HWCAP_PMULL; -pub use linux_headers_asm_hwcap::HWCAP_SHA1; -pub use linux_headers_asm_hwcap::HWCAP_SHA2; -pub use linux_headers_asm_hwcap::HWCAP_CRC32; -pub use linux_headers_asm_hwcap::HWCAP_ATOMICS; -pub use linux_headers_asm_hwcap::HWCAP_FPHP; -pub use linux_headers_asm_hwcap::HWCAP_ASIMDHP; -pub use linux_headers_asm_hwcap::HWCAP_CPUID; -pub use linux_headers_asm_hwcap::HWCAP_ASIMDRDM; -pub use linux_headers_asm_hwcap::HWCAP_JSCVT; -pub use linux_headers_asm_hwcap::HWCAP_FCMA; -pub use linux_headers_asm_hwcap::HWCAP_LRCPC; -pub use linux_headers_asm_hwcap::HWCAP_DCPOP; -pub use linux_headers_asm_hwcap::HWCAP_SHA3; -pub use linux_headers_asm_hwcap::HWCAP_SM3; -pub use linux_headers_asm_hwcap::HWCAP_SM4; -pub use linux_headers_asm_hwcap::HWCAP_ASIMDDP; -pub use linux_headers_asm_hwcap::HWCAP_SHA512; -pub use linux_headers_asm_hwcap::HWCAP_SVE; -pub use linux_headers_asm_hwcap::HWCAP_ASIMDFHM; -pub use linux_headers_asm_hwcap::HWCAP_DIT; -pub use linux_headers_asm_hwcap::HWCAP_USCAT; -pub use linux_headers_asm_hwcap::HWCAP_ILRCPC; -pub use linux_headers_asm_hwcap::HWCAP_FLAGM; -pub use linux_headers_asm_hwcap::HWCAP_SSBS; -pub use linux_headers_asm_hwcap::HWCAP_SB; -pub use linux_headers_asm_hwcap::HWCAP_PACA; -pub use linux_headers_asm_hwcap::HWCAP_PACG; -pub use linux_headers_asm_hwcap::HWCAP2_DCPODP; -pub use linux_headers_asm_hwcap::HWCAP2_SVE2; -pub use linux_headers_asm_hwcap::HWCAP2_SVEAES; -pub use linux_headers_asm_hwcap::HWCAP2_SVEPMULL; -pub use linux_headers_asm_hwcap::HWCAP2_SVEBITPERM; -pub use linux_headers_asm_hwcap::HWCAP2_SVESHA3; -pub use linux_headers_asm_hwcap::HWCAP2_SVESM4; -pub use linux_headers_asm_hwcap::HWCAP2_FLAGM2; -pub use linux_headers_asm_hwcap::HWCAP2_FRINT; -pub use linux_headers_asm_hwcap::HWCAP2_SVEI8MM; -pub use linux_headers_asm_hwcap::HWCAP2_SVEF32MM; -pub use linux_headers_asm_hwcap::HWCAP2_SVEF64MM; -pub use linux_headers_asm_hwcap::HWCAP2_SVEBF16; -pub use linux_headers_asm_hwcap::HWCAP2_I8MM; -pub use linux_headers_asm_hwcap::HWCAP2_BF16; -pub use linux_headers_asm_hwcap::HWCAP2_DGH; -pub use linux_headers_asm_hwcap::HWCAP2_RNG; -pub use linux_headers_asm_hwcap::HWCAP2_BTI; -pub use linux_headers_asm_hwcap::HWCAP2_MTE; -pub use linux_headers_asm_hwcap::HWCAP2_ECV; -pub use linux_headers_asm_hwcap::HWCAP2_AFP; -pub use linux_headers_asm_hwcap::HWCAP2_RPRES; -pub use linux_headers_asm_hwcap::HWCAP2_MTE3; -pub use linux_headers_asm_hwcap::HWCAP2_SME; -pub use linux_headers_asm_hwcap::HWCAP2_SME_I16I64; -pub use linux_headers_asm_hwcap::HWCAP2_SME_F64F64; -pub use linux_headers_asm_hwcap::HWCAP2_SME_I8I32; -pub use linux_headers_asm_hwcap::HWCAP2_SME_F16F32; -pub use linux_headers_asm_hwcap::HWCAP2_SME_B16F32; -pub use linux_headers_asm_hwcap::HWCAP2_SME_F32F32; -pub use linux_headers_asm_hwcap::HWCAP2_SME_FA64; -pub use linux_headers_asm_hwcap::HWCAP2_WFXT; -pub use linux_headers_asm_hwcap::HWCAP2_EBF16; -pub use linux_headers_asm_hwcap::HWCAP2_SVE_EBF16; -pub use linux_headers_asm_hwcap::HWCAP2_CSSC; -pub use linux_headers_asm_hwcap::HWCAP2_RPRFM; -pub use linux_headers_asm_hwcap::HWCAP2_SVE2P1; -pub use linux_headers_asm_hwcap::HWCAP2_SME2; -pub use linux_headers_asm_hwcap::HWCAP2_SME2P1; -pub use linux_headers_asm_hwcap::HWCAP2_SME_I16I32; -pub use linux_headers_asm_hwcap::HWCAP2_SME_BI32I32; -pub use linux_headers_asm_hwcap::HWCAP2_SME_B16B16; -pub use linux_headers_asm_hwcap::HWCAP2_SME_F16F16; -pub use linux_headers_asm_hwcap::HWCAP2_MOPS; -pub use linux_headers_asm_hwcap::HWCAP2_HBC; -pub use linux_headers_asm_hwcap::HWCAP2_SVE_B16B16; -pub use linux_headers_asm_hwcap::HWCAP2_LRCPC3; -pub use linux_headers_asm_hwcap::HWCAP2_LSE128; -pub use linux_headers_asm_hwcap::HWCAP2_FPMR; -pub use linux_headers_asm_hwcap::HWCAP2_LUT; -pub use linux_headers_asm_hwcap::HWCAP2_FAMINMAX; -pub use linux_headers_asm_hwcap::HWCAP2_F8CVT; -pub use linux_headers_asm_hwcap::HWCAP2_F8FMA; -pub use linux_headers_asm_hwcap::HWCAP2_F8DP4; -pub use linux_headers_asm_hwcap::HWCAP2_F8DP2; -pub use linux_headers_asm_hwcap::HWCAP2_F8E4M3; -pub use linux_headers_asm_hwcap::HWCAP2_F8E5M2; -pub use linux_headers_asm_hwcap::HWCAP2_SME_LUTV2; -pub use linux_headers_asm_hwcap::HWCAP2_SME_F8F16; -pub use linux_headers_asm_hwcap::HWCAP2_SME_F8F32; -pub use linux_headers_asm_hwcap::HWCAP2_SME_SF8FMA; -pub use linux_headers_asm_hwcap::HWCAP2_SME_SF8DP4; -pub use linux_headers_asm_hwcap::HWCAP2_SME_SF8DP2; -pub use linux_headers_asm_hwcap::HWCAP2_POE; -mod linux_headers_asm_unistd; -pub use linux_headers_asm_unistd::__NR_io_setup; -pub use linux_headers_asm_unistd::__NR_io_destroy; -pub use linux_headers_asm_unistd::__NR_io_submit; -pub use linux_headers_asm_unistd::__NR_io_cancel; -pub use linux_headers_asm_unistd::__NR_io_getevents; -pub use linux_headers_asm_unistd::__NR_setxattr; -pub use linux_headers_asm_unistd::__NR_lsetxattr; -pub use linux_headers_asm_unistd::__NR_fsetxattr; -pub use linux_headers_asm_unistd::__NR_getxattr; -pub use linux_headers_asm_unistd::__NR_lgetxattr; -pub use linux_headers_asm_unistd::__NR_fgetxattr; -pub use linux_headers_asm_unistd::__NR_listxattr; -pub use linux_headers_asm_unistd::__NR_llistxattr; -pub use linux_headers_asm_unistd::__NR_flistxattr; -pub use linux_headers_asm_unistd::__NR_removexattr; -pub use linux_headers_asm_unistd::__NR_lremovexattr; -pub use linux_headers_asm_unistd::__NR_fremovexattr; -pub use linux_headers_asm_unistd::__NR_getcwd; -pub use linux_headers_asm_unistd::__NR_lookup_dcookie; -pub use linux_headers_asm_unistd::__NR_eventfd2; -pub use linux_headers_asm_unistd::__NR_epoll_create1; -pub use linux_headers_asm_unistd::__NR_epoll_ctl; -pub use linux_headers_asm_unistd::__NR_epoll_pwait; -pub use linux_headers_asm_unistd::__NR_dup; -pub use linux_headers_asm_unistd::__NR_dup3; -pub use linux_headers_asm_unistd::__NR_fcntl; -pub use linux_headers_asm_unistd::__NR_inotify_init1; -pub use linux_headers_asm_unistd::__NR_inotify_add_watch; -pub use linux_headers_asm_unistd::__NR_inotify_rm_watch; -pub use linux_headers_asm_unistd::__NR_ioctl; -pub use linux_headers_asm_unistd::__NR_ioprio_set; -pub use linux_headers_asm_unistd::__NR_ioprio_get; -pub use linux_headers_asm_unistd::__NR_flock; -pub use linux_headers_asm_unistd::__NR_mknodat; -pub use linux_headers_asm_unistd::__NR_mkdirat; -pub use linux_headers_asm_unistd::__NR_unlinkat; -pub use linux_headers_asm_unistd::__NR_symlinkat; -pub use linux_headers_asm_unistd::__NR_linkat; -pub use linux_headers_asm_unistd::__NR_renameat; -pub use linux_headers_asm_unistd::__NR_umount2; -pub use linux_headers_asm_unistd::__NR_mount; -pub use linux_headers_asm_unistd::__NR_pivot_root; -pub use linux_headers_asm_unistd::__NR_nfsservctl; -pub use linux_headers_asm_unistd::__NR_statfs; -pub use linux_headers_asm_unistd::__NR_fstatfs; -pub use linux_headers_asm_unistd::__NR_truncate; -pub use linux_headers_asm_unistd::__NR_ftruncate; -pub use linux_headers_asm_unistd::__NR_fallocate; -pub use linux_headers_asm_unistd::__NR_faccessat; -pub use linux_headers_asm_unistd::__NR_chdir; -pub use linux_headers_asm_unistd::__NR_fchdir; -pub use linux_headers_asm_unistd::__NR_chroot; -pub use linux_headers_asm_unistd::__NR_fchmod; -pub use linux_headers_asm_unistd::__NR_fchmodat; -pub use linux_headers_asm_unistd::__NR_fchownat; -pub use linux_headers_asm_unistd::__NR_fchown; -pub use linux_headers_asm_unistd::__NR_openat; -pub use linux_headers_asm_unistd::__NR_close; -pub use linux_headers_asm_unistd::__NR_vhangup; -pub use linux_headers_asm_unistd::__NR_pipe2; -pub use linux_headers_asm_unistd::__NR_quotactl; -pub use linux_headers_asm_unistd::__NR_getdents64; -pub use linux_headers_asm_unistd::__NR_lseek; -pub use linux_headers_asm_unistd::__NR_read; -pub use linux_headers_asm_unistd::__NR_write; -pub use linux_headers_asm_unistd::__NR_readv; -pub use linux_headers_asm_unistd::__NR_writev; -pub use linux_headers_asm_unistd::__NR_pread64; -pub use linux_headers_asm_unistd::__NR_pwrite64; -pub use linux_headers_asm_unistd::__NR_preadv; -pub use linux_headers_asm_unistd::__NR_pwritev; -pub use linux_headers_asm_unistd::__NR_sendfile; -pub use linux_headers_asm_unistd::__NR_pselect6; -pub use linux_headers_asm_unistd::__NR_ppoll; -pub use linux_headers_asm_unistd::__NR_signalfd4; -pub use linux_headers_asm_unistd::__NR_vmsplice; -pub use linux_headers_asm_unistd::__NR_splice; -pub use linux_headers_asm_unistd::__NR_tee; -pub use linux_headers_asm_unistd::__NR_readlinkat; -pub use linux_headers_asm_unistd::__NR_newfstatat; -pub use linux_headers_asm_unistd::__NR_fstat; -pub use linux_headers_asm_unistd::__NR_sync; -pub use linux_headers_asm_unistd::__NR_fsync; -pub use linux_headers_asm_unistd::__NR_fdatasync; -pub use linux_headers_asm_unistd::__NR_sync_file_range; -pub use linux_headers_asm_unistd::__NR_timerfd_create; -pub use linux_headers_asm_unistd::__NR_timerfd_settime; -pub use linux_headers_asm_unistd::__NR_timerfd_gettime; -pub use linux_headers_asm_unistd::__NR_utimensat; -pub use linux_headers_asm_unistd::__NR_acct; -pub use linux_headers_asm_unistd::__NR_capget; -pub use linux_headers_asm_unistd::__NR_capset; -pub use linux_headers_asm_unistd::__NR_personality; -pub use linux_headers_asm_unistd::__NR_exit; -pub use linux_headers_asm_unistd::__NR_exit_group; -pub use linux_headers_asm_unistd::__NR_waitid; -pub use linux_headers_asm_unistd::__NR_set_tid_address; -pub use linux_headers_asm_unistd::__NR_unshare; -pub use linux_headers_asm_unistd::__NR_futex; -pub use linux_headers_asm_unistd::__NR_set_robust_list; -pub use linux_headers_asm_unistd::__NR_get_robust_list; -pub use linux_headers_asm_unistd::__NR_nanosleep; -pub use linux_headers_asm_unistd::__NR_getitimer; -pub use linux_headers_asm_unistd::__NR_setitimer; -pub use linux_headers_asm_unistd::__NR_kexec_load; -pub use linux_headers_asm_unistd::__NR_init_module; -pub use linux_headers_asm_unistd::__NR_delete_module; -pub use linux_headers_asm_unistd::__NR_timer_create; -pub use linux_headers_asm_unistd::__NR_timer_gettime; -pub use linux_headers_asm_unistd::__NR_timer_getoverrun; -pub use linux_headers_asm_unistd::__NR_timer_settime; -pub use linux_headers_asm_unistd::__NR_timer_delete; -pub use linux_headers_asm_unistd::__NR_clock_settime; -pub use linux_headers_asm_unistd::__NR_clock_gettime; -pub use linux_headers_asm_unistd::__NR_clock_getres; -pub use linux_headers_asm_unistd::__NR_clock_nanosleep; -pub use linux_headers_asm_unistd::__NR_syslog; -pub use linux_headers_asm_unistd::__NR_ptrace; -pub use linux_headers_asm_unistd::__NR_sched_setparam; -pub use linux_headers_asm_unistd::__NR_sched_setscheduler; -pub use linux_headers_asm_unistd::__NR_sched_getscheduler; -pub use linux_headers_asm_unistd::__NR_sched_getparam; -pub use linux_headers_asm_unistd::__NR_sched_setaffinity; -pub use linux_headers_asm_unistd::__NR_sched_getaffinity; -pub use linux_headers_asm_unistd::__NR_sched_yield; -pub use linux_headers_asm_unistd::__NR_sched_get_priority_max; -pub use linux_headers_asm_unistd::__NR_sched_get_priority_min; -pub use linux_headers_asm_unistd::__NR_sched_rr_get_interval; -pub use linux_headers_asm_unistd::__NR_restart_syscall; -pub use linux_headers_asm_unistd::__NR_kill; -pub use linux_headers_asm_unistd::__NR_tkill; -pub use linux_headers_asm_unistd::__NR_tgkill; -pub use linux_headers_asm_unistd::__NR_sigaltstack; -pub use linux_headers_asm_unistd::__NR_rt_sigsuspend; -pub use linux_headers_asm_unistd::__NR_rt_sigaction; -pub use linux_headers_asm_unistd::__NR_rt_sigprocmask; -pub use linux_headers_asm_unistd::__NR_rt_sigpending; -pub use linux_headers_asm_unistd::__NR_rt_sigtimedwait; -pub use linux_headers_asm_unistd::__NR_rt_sigqueueinfo; -pub use linux_headers_asm_unistd::__NR_rt_sigreturn; -pub use linux_headers_asm_unistd::__NR_setpriority; -pub use linux_headers_asm_unistd::__NR_getpriority; -pub use linux_headers_asm_unistd::__NR_reboot; -pub use linux_headers_asm_unistd::__NR_setregid; -pub use linux_headers_asm_unistd::__NR_setgid; -pub use linux_headers_asm_unistd::__NR_setreuid; -pub use linux_headers_asm_unistd::__NR_setuid; -pub use linux_headers_asm_unistd::__NR_setresuid; -pub use linux_headers_asm_unistd::__NR_getresuid; -pub use linux_headers_asm_unistd::__NR_setresgid; -pub use linux_headers_asm_unistd::__NR_getresgid; -pub use linux_headers_asm_unistd::__NR_setfsuid; -pub use linux_headers_asm_unistd::__NR_setfsgid; -pub use linux_headers_asm_unistd::__NR_times; -pub use linux_headers_asm_unistd::__NR_setpgid; -pub use linux_headers_asm_unistd::__NR_getpgid; -pub use linux_headers_asm_unistd::__NR_getsid; -pub use linux_headers_asm_unistd::__NR_setsid; -pub use linux_headers_asm_unistd::__NR_getgroups; -pub use linux_headers_asm_unistd::__NR_setgroups; -pub use linux_headers_asm_unistd::__NR_uname; -pub use linux_headers_asm_unistd::__NR_sethostname; -pub use linux_headers_asm_unistd::__NR_setdomainname; -pub use linux_headers_asm_unistd::__NR_getrlimit; -pub use linux_headers_asm_unistd::__NR_setrlimit; -pub use linux_headers_asm_unistd::__NR_getrusage; -pub use linux_headers_asm_unistd::__NR_umask; -pub use linux_headers_asm_unistd::__NR_prctl; -pub use linux_headers_asm_unistd::__NR_getcpu; -pub use linux_headers_asm_unistd::__NR_gettimeofday; -pub use linux_headers_asm_unistd::__NR_settimeofday; -pub use linux_headers_asm_unistd::__NR_adjtimex; -pub use linux_headers_asm_unistd::__NR_getpid; -pub use linux_headers_asm_unistd::__NR_getppid; -pub use linux_headers_asm_unistd::__NR_getuid; -pub use linux_headers_asm_unistd::__NR_geteuid; -pub use linux_headers_asm_unistd::__NR_getgid; -pub use linux_headers_asm_unistd::__NR_getegid; -pub use linux_headers_asm_unistd::__NR_gettid; -pub use linux_headers_asm_unistd::__NR_sysinfo; -pub use linux_headers_asm_unistd::__NR_mq_open; -pub use linux_headers_asm_unistd::__NR_mq_unlink; -pub use linux_headers_asm_unistd::__NR_mq_timedsend; -pub use linux_headers_asm_unistd::__NR_mq_timedreceive; -pub use linux_headers_asm_unistd::__NR_mq_notify; -pub use linux_headers_asm_unistd::__NR_mq_getsetattr; -pub use linux_headers_asm_unistd::__NR_msgget; -pub use linux_headers_asm_unistd::__NR_msgctl; -pub use linux_headers_asm_unistd::__NR_msgrcv; -pub use linux_headers_asm_unistd::__NR_msgsnd; -pub use linux_headers_asm_unistd::__NR_semget; -pub use linux_headers_asm_unistd::__NR_semctl; -pub use linux_headers_asm_unistd::__NR_semtimedop; -pub use linux_headers_asm_unistd::__NR_semop; -pub use linux_headers_asm_unistd::__NR_shmget; -pub use linux_headers_asm_unistd::__NR_shmctl; -pub use linux_headers_asm_unistd::__NR_shmat; -pub use linux_headers_asm_unistd::__NR_shmdt; -pub use linux_headers_asm_unistd::__NR_socket; -pub use linux_headers_asm_unistd::__NR_socketpair; -pub use linux_headers_asm_unistd::__NR_bind; -pub use linux_headers_asm_unistd::__NR_listen; -pub use linux_headers_asm_unistd::__NR_accept; -pub use linux_headers_asm_unistd::__NR_connect; -pub use linux_headers_asm_unistd::__NR_getsockname; -pub use linux_headers_asm_unistd::__NR_getpeername; -pub use linux_headers_asm_unistd::__NR_sendto; -pub use linux_headers_asm_unistd::__NR_recvfrom; -pub use linux_headers_asm_unistd::__NR_setsockopt; -pub use linux_headers_asm_unistd::__NR_getsockopt; -pub use linux_headers_asm_unistd::__NR_shutdown; -pub use linux_headers_asm_unistd::__NR_sendmsg; -pub use linux_headers_asm_unistd::__NR_recvmsg; -pub use linux_headers_asm_unistd::__NR_readahead; -pub use linux_headers_asm_unistd::__NR_brk; -pub use linux_headers_asm_unistd::__NR_munmap; -pub use linux_headers_asm_unistd::__NR_mremap; -pub use linux_headers_asm_unistd::__NR_add_key; -pub use linux_headers_asm_unistd::__NR_request_key; -pub use linux_headers_asm_unistd::__NR_keyctl; -pub use linux_headers_asm_unistd::__NR_clone; -pub use linux_headers_asm_unistd::__NR_execve; -pub use linux_headers_asm_unistd::__NR_mmap; -pub use linux_headers_asm_unistd::__NR_fadvise64; -pub use linux_headers_asm_unistd::__NR_swapon; -pub use linux_headers_asm_unistd::__NR_swapoff; -pub use linux_headers_asm_unistd::__NR_mprotect; -pub use linux_headers_asm_unistd::__NR_msync; -pub use linux_headers_asm_unistd::__NR_mlock; -pub use linux_headers_asm_unistd::__NR_munlock; -pub use linux_headers_asm_unistd::__NR_mlockall; -pub use linux_headers_asm_unistd::__NR_munlockall; -pub use linux_headers_asm_unistd::__NR_mincore; -pub use linux_headers_asm_unistd::__NR_madvise; -pub use linux_headers_asm_unistd::__NR_remap_file_pages; -pub use linux_headers_asm_unistd::__NR_mbind; -pub use linux_headers_asm_unistd::__NR_get_mempolicy; -pub use linux_headers_asm_unistd::__NR_set_mempolicy; -pub use linux_headers_asm_unistd::__NR_migrate_pages; -pub use linux_headers_asm_unistd::__NR_move_pages; -pub use linux_headers_asm_unistd::__NR_rt_tgsigqueueinfo; -pub use linux_headers_asm_unistd::__NR_perf_event_open; -pub use linux_headers_asm_unistd::__NR_accept4; -pub use linux_headers_asm_unistd::__NR_recvmmsg; -pub use linux_headers_asm_unistd::__NR_wait4; -pub use linux_headers_asm_unistd::__NR_prlimit64; -pub use linux_headers_asm_unistd::__NR_fanotify_init; -pub use linux_headers_asm_unistd::__NR_fanotify_mark; -pub use linux_headers_asm_unistd::__NR_name_to_handle_at; -pub use linux_headers_asm_unistd::__NR_open_by_handle_at; -pub use linux_headers_asm_unistd::__NR_clock_adjtime; -pub use linux_headers_asm_unistd::__NR_syncfs; -pub use linux_headers_asm_unistd::__NR_setns; -pub use linux_headers_asm_unistd::__NR_sendmmsg; -pub use linux_headers_asm_unistd::__NR_process_vm_readv; -pub use linux_headers_asm_unistd::__NR_process_vm_writev; -pub use linux_headers_asm_unistd::__NR_kcmp; -pub use linux_headers_asm_unistd::__NR_finit_module; -pub use linux_headers_asm_unistd::__NR_sched_setattr; -pub use linux_headers_asm_unistd::__NR_sched_getattr; -pub use linux_headers_asm_unistd::__NR_renameat2; -pub use linux_headers_asm_unistd::__NR_seccomp; -pub use linux_headers_asm_unistd::__NR_getrandom; -pub use linux_headers_asm_unistd::__NR_memfd_create; -pub use linux_headers_asm_unistd::__NR_bpf; -pub use linux_headers_asm_unistd::__NR_execveat; -pub use linux_headers_asm_unistd::__NR_userfaultfd; -pub use linux_headers_asm_unistd::__NR_membarrier; -pub use linux_headers_asm_unistd::__NR_mlock2; -pub use linux_headers_asm_unistd::__NR_copy_file_range; -pub use linux_headers_asm_unistd::__NR_preadv2; -pub use linux_headers_asm_unistd::__NR_pwritev2; -pub use linux_headers_asm_unistd::__NR_pkey_mprotect; -pub use linux_headers_asm_unistd::__NR_pkey_alloc; -pub use linux_headers_asm_unistd::__NR_pkey_free; -pub use linux_headers_asm_unistd::__NR_statx; -pub use linux_headers_asm_unistd::__NR_io_pgetevents; -pub use linux_headers_asm_unistd::__NR_rseq; -pub use linux_headers_asm_unistd::__NR_kexec_file_load; -pub use linux_headers_asm_unistd::__NR_pidfd_send_signal; -pub use linux_headers_asm_unistd::__NR_io_uring_setup; -pub use linux_headers_asm_unistd::__NR_io_uring_enter; -pub use linux_headers_asm_unistd::__NR_io_uring_register; -pub use linux_headers_asm_unistd::__NR_open_tree; -pub use linux_headers_asm_unistd::__NR_move_mount; -pub use linux_headers_asm_unistd::__NR_fsopen; -pub use linux_headers_asm_unistd::__NR_fsconfig; -pub use linux_headers_asm_unistd::__NR_fsmount; -pub use linux_headers_asm_unistd::__NR_fspick; -pub use linux_headers_asm_unistd::__NR_pidfd_open; -pub use linux_headers_asm_unistd::__NR_clone3; -pub use linux_headers_asm_unistd::__NR_close_range; -pub use linux_headers_asm_unistd::__NR_openat2; -pub use linux_headers_asm_unistd::__NR_pidfd_getfd; -pub use linux_headers_asm_unistd::__NR_faccessat2; -pub use linux_headers_asm_unistd::__NR_process_madvise; -pub use linux_headers_asm_unistd::__NR_epoll_pwait2; -pub use linux_headers_asm_unistd::__NR_mount_setattr; -pub use linux_headers_asm_unistd::__NR_quotactl_fd; -pub use linux_headers_asm_unistd::__NR_landlock_create_ruleset; -pub use linux_headers_asm_unistd::__NR_landlock_add_rule; -pub use linux_headers_asm_unistd::__NR_landlock_restrict_self; -pub use linux_headers_asm_unistd::__NR_memfd_secret; -pub use linux_headers_asm_unistd::__NR_process_mrelease; -pub use linux_headers_asm_unistd::__NR_futex_waitv; -pub use linux_headers_asm_unistd::__NR_set_mempolicy_home_node; -pub use linux_headers_asm_unistd::__NR_cachestat; -pub use linux_headers_asm_unistd::__NR_fchmodat2; -pub use linux_headers_asm_unistd::__NR_map_shadow_stack; -pub use linux_headers_asm_unistd::__NR_futex_wake; -pub use linux_headers_asm_unistd::__NR_futex_wait; -pub use linux_headers_asm_unistd::__NR_futex_requeue; -pub use linux_headers_asm_unistd::__NR_statmount; -pub use linux_headers_asm_unistd::__NR_listmount; -pub use linux_headers_asm_unistd::__NR_lsm_get_self_attr; -pub use linux_headers_asm_unistd::__NR_lsm_set_self_attr; -pub use linux_headers_asm_unistd::__NR_lsm_list_modules; -pub use linux_headers_asm_unistd::__NR_mseal; -mod linux_headers_linux_auxvec; -pub use linux_headers_linux_auxvec::AT_SYSINFO_EHDR; -pub use linux_headers_linux_auxvec::AT_MINSIGSTKSZ; -pub use linux_headers_linux_auxvec::AT_VECTOR_SIZE_ARCH; -pub use linux_headers_linux_auxvec::AT_NULL; -pub use linux_headers_linux_auxvec::AT_IGNORE; -pub use linux_headers_linux_auxvec::AT_EXECFD; -pub use linux_headers_linux_auxvec::AT_PHDR; -pub use linux_headers_linux_auxvec::AT_PHENT; -pub use linux_headers_linux_auxvec::AT_PHNUM; -pub use linux_headers_linux_auxvec::AT_PAGESZ; -pub use linux_headers_linux_auxvec::AT_BASE; -pub use linux_headers_linux_auxvec::AT_FLAGS; -pub use linux_headers_linux_auxvec::AT_ENTRY; -pub use linux_headers_linux_auxvec::AT_NOTELF; -pub use linux_headers_linux_auxvec::AT_UID; -pub use linux_headers_linux_auxvec::AT_EUID; -pub use linux_headers_linux_auxvec::AT_GID; -pub use linux_headers_linux_auxvec::AT_EGID; -pub use linux_headers_linux_auxvec::AT_PLATFORM; -pub use linux_headers_linux_auxvec::AT_HWCAP; -pub use linux_headers_linux_auxvec::AT_CLKTCK; -pub use linux_headers_linux_auxvec::AT_SECURE; -pub use linux_headers_linux_auxvec::AT_BASE_PLATFORM; -pub use linux_headers_linux_auxvec::AT_RANDOM; -pub use linux_headers_linux_auxvec::AT_HWCAP2; -pub use linux_headers_linux_auxvec::AT_RSEQ_FEATURE_SIZE; -pub use linux_headers_linux_auxvec::AT_RSEQ_ALIGN; -pub use linux_headers_linux_auxvec::AT_HWCAP3; -pub use linux_headers_linux_auxvec::AT_HWCAP4; -pub use linux_headers_linux_auxvec::AT_EXECFN; -mod linux_headers_linux_prctl; -pub use linux_headers_linux_prctl::PR_SET_PDEATHSIG; -pub use linux_headers_linux_prctl::PR_GET_PDEATHSIG; -pub use linux_headers_linux_prctl::PR_GET_DUMPABLE; -pub use linux_headers_linux_prctl::PR_SET_DUMPABLE; -pub use linux_headers_linux_prctl::PR_GET_UNALIGN; -pub use linux_headers_linux_prctl::PR_SET_UNALIGN; -pub use linux_headers_linux_prctl::PR_UNALIGN_NOPRINT; -pub use linux_headers_linux_prctl::PR_UNALIGN_SIGBUS; -pub use linux_headers_linux_prctl::PR_GET_KEEPCAPS; -pub use linux_headers_linux_prctl::PR_SET_KEEPCAPS; -pub use linux_headers_linux_prctl::PR_GET_FPEMU; -pub use linux_headers_linux_prctl::PR_SET_FPEMU; -pub use linux_headers_linux_prctl::PR_FPEMU_NOPRINT; -pub use linux_headers_linux_prctl::PR_FPEMU_SIGFPE; -pub use linux_headers_linux_prctl::PR_GET_FPEXC; -pub use linux_headers_linux_prctl::PR_SET_FPEXC; -pub use linux_headers_linux_prctl::PR_FP_EXC_SW_ENABLE; -pub use linux_headers_linux_prctl::PR_FP_EXC_DIV; -pub use linux_headers_linux_prctl::PR_FP_EXC_OVF; -pub use linux_headers_linux_prctl::PR_FP_EXC_UND; -pub use linux_headers_linux_prctl::PR_FP_EXC_RES; -pub use linux_headers_linux_prctl::PR_FP_EXC_INV; -pub use linux_headers_linux_prctl::PR_FP_EXC_DISABLED; -pub use linux_headers_linux_prctl::PR_FP_EXC_NONRECOV; -pub use linux_headers_linux_prctl::PR_FP_EXC_ASYNC; -pub use linux_headers_linux_prctl::PR_FP_EXC_PRECISE; -pub use linux_headers_linux_prctl::PR_GET_TIMING; -pub use linux_headers_linux_prctl::PR_SET_TIMING; -pub use linux_headers_linux_prctl::PR_TIMING_STATISTICAL; -pub use linux_headers_linux_prctl::PR_TIMING_TIMESTAMP; -pub use linux_headers_linux_prctl::PR_SET_NAME; -pub use linux_headers_linux_prctl::PR_GET_NAME; -pub use linux_headers_linux_prctl::PR_GET_ENDIAN; -pub use linux_headers_linux_prctl::PR_SET_ENDIAN; -pub use linux_headers_linux_prctl::PR_ENDIAN_BIG; -pub use linux_headers_linux_prctl::PR_ENDIAN_LITTLE; -pub use linux_headers_linux_prctl::PR_ENDIAN_PPC_LITTLE; -pub use linux_headers_linux_prctl::PR_GET_SECCOMP; -pub use linux_headers_linux_prctl::PR_SET_SECCOMP; -pub use linux_headers_linux_prctl::PR_CAPBSET_READ; -pub use linux_headers_linux_prctl::PR_CAPBSET_DROP; -pub use linux_headers_linux_prctl::PR_GET_TSC; -pub use linux_headers_linux_prctl::PR_SET_TSC; -pub use linux_headers_linux_prctl::PR_TSC_ENABLE; -pub use linux_headers_linux_prctl::PR_TSC_SIGSEGV; -pub use linux_headers_linux_prctl::PR_GET_SECUREBITS; -pub use linux_headers_linux_prctl::PR_SET_SECUREBITS; -pub use linux_headers_linux_prctl::PR_SET_TIMERSLACK; -pub use linux_headers_linux_prctl::PR_GET_TIMERSLACK; -pub use linux_headers_linux_prctl::PR_TASK_PERF_EVENTS_DISABLE; -pub use linux_headers_linux_prctl::PR_TASK_PERF_EVENTS_ENABLE; -pub use linux_headers_linux_prctl::PR_MCE_KILL; -pub use linux_headers_linux_prctl::PR_MCE_KILL_CLEAR; -pub use linux_headers_linux_prctl::PR_MCE_KILL_SET; -pub use linux_headers_linux_prctl::PR_MCE_KILL_LATE; -pub use linux_headers_linux_prctl::PR_MCE_KILL_EARLY; -pub use linux_headers_linux_prctl::PR_MCE_KILL_DEFAULT; -pub use linux_headers_linux_prctl::PR_MCE_KILL_GET; -pub use linux_headers_linux_prctl::PR_SET_MM; -pub use linux_headers_linux_prctl::PR_SET_MM_START_CODE; -pub use linux_headers_linux_prctl::PR_SET_MM_END_CODE; -pub use linux_headers_linux_prctl::PR_SET_MM_START_DATA; -pub use linux_headers_linux_prctl::PR_SET_MM_END_DATA; -pub use linux_headers_linux_prctl::PR_SET_MM_START_STACK; -pub use linux_headers_linux_prctl::PR_SET_MM_START_BRK; -pub use linux_headers_linux_prctl::PR_SET_MM_BRK; -pub use linux_headers_linux_prctl::PR_SET_MM_ARG_START; -pub use linux_headers_linux_prctl::PR_SET_MM_ARG_END; -pub use linux_headers_linux_prctl::PR_SET_MM_ENV_START; -pub use linux_headers_linux_prctl::PR_SET_MM_ENV_END; -pub use linux_headers_linux_prctl::PR_SET_MM_AUXV; -pub use linux_headers_linux_prctl::PR_SET_MM_EXE_FILE; -pub use linux_headers_linux_prctl::PR_SET_MM_MAP; -pub use linux_headers_linux_prctl::PR_SET_MM_MAP_SIZE; -pub use linux_headers_linux_prctl::PR_SET_PTRACER; -pub use linux_headers_linux_prctl::PR_SET_PTRACER_ANY; -pub use linux_headers_linux_prctl::PR_SET_CHILD_SUBREAPER; -pub use linux_headers_linux_prctl::PR_GET_CHILD_SUBREAPER; -pub use linux_headers_linux_prctl::PR_SET_NO_NEW_PRIVS; -pub use linux_headers_linux_prctl::PR_GET_NO_NEW_PRIVS; -pub use linux_headers_linux_prctl::PR_GET_TID_ADDRESS; -pub use linux_headers_linux_prctl::PR_SET_THP_DISABLE; -pub use linux_headers_linux_prctl::PR_GET_THP_DISABLE; -pub use linux_headers_linux_prctl::PR_MPX_ENABLE_MANAGEMENT; -pub use linux_headers_linux_prctl::PR_MPX_DISABLE_MANAGEMENT; -pub use linux_headers_linux_prctl::PR_SET_FP_MODE; -pub use linux_headers_linux_prctl::PR_GET_FP_MODE; -pub use linux_headers_linux_prctl::PR_FP_MODE_FR; -pub use linux_headers_linux_prctl::PR_FP_MODE_FRE; -pub use linux_headers_linux_prctl::PR_CAP_AMBIENT; -pub use linux_headers_linux_prctl::PR_CAP_AMBIENT_IS_SET; -pub use linux_headers_linux_prctl::PR_CAP_AMBIENT_RAISE; -pub use linux_headers_linux_prctl::PR_CAP_AMBIENT_LOWER; -pub use linux_headers_linux_prctl::PR_CAP_AMBIENT_CLEAR_ALL; -pub use linux_headers_linux_prctl::PR_SVE_SET_VL; -pub use linux_headers_linux_prctl::PR_SVE_SET_VL_ONEXEC; -pub use linux_headers_linux_prctl::PR_SVE_GET_VL; -pub use linux_headers_linux_prctl::PR_SVE_VL_LEN_MASK; -pub use linux_headers_linux_prctl::PR_SVE_VL_INHERIT; -pub use linux_headers_linux_prctl::PR_GET_SPECULATION_CTRL; -pub use linux_headers_linux_prctl::PR_SET_SPECULATION_CTRL; -pub use linux_headers_linux_prctl::PR_SPEC_STORE_BYPASS; -pub use linux_headers_linux_prctl::PR_SPEC_INDIRECT_BRANCH; -pub use linux_headers_linux_prctl::PR_SPEC_L1D_FLUSH; -pub use linux_headers_linux_prctl::PR_SPEC_NOT_AFFECTED; -pub use linux_headers_linux_prctl::PR_SPEC_PRCTL; -pub use linux_headers_linux_prctl::PR_SPEC_ENABLE; -pub use linux_headers_linux_prctl::PR_SPEC_DISABLE; -pub use linux_headers_linux_prctl::PR_SPEC_FORCE_DISABLE; -pub use linux_headers_linux_prctl::PR_SPEC_DISABLE_NOEXEC; -pub use linux_headers_linux_prctl::PR_PAC_RESET_KEYS; -pub use linux_headers_linux_prctl::PR_PAC_APIAKEY; -pub use linux_headers_linux_prctl::PR_PAC_APIBKEY; -pub use linux_headers_linux_prctl::PR_PAC_APDAKEY; -pub use linux_headers_linux_prctl::PR_PAC_APDBKEY; -pub use linux_headers_linux_prctl::PR_PAC_APGAKEY; -pub use linux_headers_linux_prctl::PR_SET_TAGGED_ADDR_CTRL; -pub use linux_headers_linux_prctl::PR_GET_TAGGED_ADDR_CTRL; -pub use linux_headers_linux_prctl::PR_TAGGED_ADDR_ENABLE; -pub use linux_headers_linux_prctl::PR_MTE_TCF_NONE; -pub use linux_headers_linux_prctl::PR_MTE_TCF_SYNC; -pub use linux_headers_linux_prctl::PR_MTE_TCF_ASYNC; -pub use linux_headers_linux_prctl::PR_MTE_TCF_MASK; -pub use linux_headers_linux_prctl::PR_MTE_TAG_SHIFT; -pub use linux_headers_linux_prctl::PR_MTE_TAG_MASK; -pub use linux_headers_linux_prctl::PR_MTE_TCF_SHIFT; -pub use linux_headers_linux_prctl::PR_SET_IO_FLUSHER; -pub use linux_headers_linux_prctl::PR_GET_IO_FLUSHER; -pub use linux_headers_linux_prctl::PR_SET_SYSCALL_USER_DISPATCH; -pub use linux_headers_linux_prctl::PR_SYS_DISPATCH_OFF; -pub use linux_headers_linux_prctl::PR_SYS_DISPATCH_ON; -pub use linux_headers_linux_prctl::PR_PAC_SET_ENABLED_KEYS; -pub use linux_headers_linux_prctl::PR_PAC_GET_ENABLED_KEYS; -pub use linux_headers_linux_prctl::PR_SCHED_CORE; -pub use linux_headers_linux_prctl::PR_SCHED_CORE_GET; -pub use linux_headers_linux_prctl::PR_SCHED_CORE_CREATE; -pub use linux_headers_linux_prctl::PR_SCHED_CORE_SHARE_TO; -pub use linux_headers_linux_prctl::PR_SCHED_CORE_SHARE_FROM; -pub use linux_headers_linux_prctl::PR_SCHED_CORE_MAX; -pub use linux_headers_linux_prctl::PR_SCHED_CORE_SCOPE_THREAD; -pub use linux_headers_linux_prctl::PR_SCHED_CORE_SCOPE_THREAD_GROUP; -pub use linux_headers_linux_prctl::PR_SCHED_CORE_SCOPE_PROCESS_GROUP; -pub use linux_headers_linux_prctl::PR_SME_SET_VL; -pub use linux_headers_linux_prctl::PR_SME_SET_VL_ONEXEC; -pub use linux_headers_linux_prctl::PR_SME_GET_VL; -pub use linux_headers_linux_prctl::PR_SME_VL_LEN_MASK; -pub use linux_headers_linux_prctl::PR_SME_VL_INHERIT; -pub use linux_headers_linux_prctl::PR_SET_MDWE; -pub use linux_headers_linux_prctl::PR_MDWE_REFUSE_EXEC_GAIN; -pub use linux_headers_linux_prctl::PR_MDWE_NO_INHERIT; -pub use linux_headers_linux_prctl::PR_GET_MDWE; -pub use linux_headers_linux_prctl::PR_SET_VMA; -pub use linux_headers_linux_prctl::PR_SET_VMA_ANON_NAME; -pub use linux_headers_linux_prctl::PR_GET_AUXV; -pub use linux_headers_linux_prctl::PR_SET_MEMORY_MERGE; -pub use linux_headers_linux_prctl::PR_GET_MEMORY_MERGE; -pub use linux_headers_linux_prctl::PR_RISCV_V_SET_CONTROL; -pub use linux_headers_linux_prctl::PR_RISCV_V_GET_CONTROL; -pub use linux_headers_linux_prctl::PR_RISCV_V_VSTATE_CTRL_DEFAULT; -pub use linux_headers_linux_prctl::PR_RISCV_V_VSTATE_CTRL_OFF; -pub use linux_headers_linux_prctl::PR_RISCV_V_VSTATE_CTRL_ON; -pub use linux_headers_linux_prctl::PR_RISCV_V_VSTATE_CTRL_INHERIT; -pub use linux_headers_linux_prctl::PR_RISCV_V_VSTATE_CTRL_CUR_MASK; -pub use linux_headers_linux_prctl::PR_RISCV_V_VSTATE_CTRL_NEXT_MASK; -pub use linux_headers_linux_prctl::PR_RISCV_V_VSTATE_CTRL_MASK; -pub use linux_headers_linux_prctl::PR_RISCV_SET_ICACHE_FLUSH_CTX; -pub use linux_headers_linux_prctl::PR_RISCV_CTX_SW_FENCEI_ON; -pub use linux_headers_linux_prctl::PR_RISCV_CTX_SW_FENCEI_OFF; -pub use linux_headers_linux_prctl::PR_RISCV_SCOPE_PER_PROCESS; -pub use linux_headers_linux_prctl::PR_RISCV_SCOPE_PER_THREAD; -pub use linux_headers_linux_prctl::PR_PPC_GET_DEXCR; -pub use linux_headers_linux_prctl::PR_PPC_SET_DEXCR; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_SBHE; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_IBRTPD; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_SRAPD; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_NPHIE; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_CTRL_EDITABLE; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_CTRL_SET; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_CTRL_CLEAR; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_CTRL_SET_ONEXEC; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_CTRL_CLEAR_ONEXEC; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_CTRL_MASK; -mod dlfcn; -pub use dlfcn::RTLD_DEFAULT; -pub use dlfcn::dlsym; -mod elf; -pub use elf::Elf32_auxv_t; -pub use elf::Elf64_auxv_t; -mod sys_auxv; -pub use sys_auxv::getauxval; -mod unistd; -pub use unistd::syscall; -pub type c_char = u8; diff --git a/tests/helper/src/gen/sys/aarch64_linux_musl/sys_auxv.rs b/tests/helper/src/gen/sys/aarch64_linux_musl/sys_auxv.rs deleted file mode 100644 index fc602aeb..00000000 --- a/tests/helper/src/gen/sys/aarch64_linux_musl/sys_auxv.rs +++ /dev/null @@ -1,10 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -extern "C" { - pub fn getauxval(arg1: ::std::os::raw::c_ulong) -> ::std::os::raw::c_ulong; -} diff --git a/tests/helper/src/gen/sys/aarch64_linux_musl/unistd.rs b/tests/helper/src/gen/sys/aarch64_linux_musl/unistd.rs deleted file mode 100644 index d16be956..00000000 --- a/tests/helper/src/gen/sys/aarch64_linux_musl/unistd.rs +++ /dev/null @@ -1,10 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -extern "C" { - pub fn syscall(arg1: ::std::os::raw::c_long, ...) -> ::std::os::raw::c_long; -} diff --git a/tests/helper/src/gen/sys/aarch64_linux_uclibc/dlfcn.rs b/tests/helper/src/gen/sys/aarch64_linux_uclibc/dlfcn.rs deleted file mode 100644 index 0c516f36..00000000 --- a/tests/helper/src/gen/sys/aarch64_linux_uclibc/dlfcn.rs +++ /dev/null @@ -1,14 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -pub const RTLD_DEFAULT: *mut ::std::os::raw::c_void = ::core::ptr::null_mut(); -extern "C" { - pub fn dlsym( - __handle: *mut ::core::ffi::c_void, - __name: *const ::std::os::raw::c_char, - ) -> *mut ::core::ffi::c_void; -} diff --git a/tests/helper/src/gen/sys/aarch64_linux_uclibc/elf.rs b/tests/helper/src/gen/sys/aarch64_linux_uclibc/elf.rs deleted file mode 100644 index a3c1790d..00000000 --- a/tests/helper/src/gen/sys/aarch64_linux_uclibc/elf.rs +++ /dev/null @@ -1,29 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -#[repr(C)] -#[derive(Copy, Clone)] -pub struct Elf32_auxv_t { - pub a_type: u32, - pub a_un: Elf32_auxv_t__bindgen_ty_1, -} -#[repr(C)] -#[derive(Copy, Clone)] -pub union Elf32_auxv_t__bindgen_ty_1 { - pub a_val: u32, -} -#[repr(C)] -#[derive(Copy, Clone)] -pub struct Elf64_auxv_t { - pub a_type: u64, - pub a_un: Elf64_auxv_t__bindgen_ty_1, -} -#[repr(C)] -#[derive(Copy, Clone)] -pub union Elf64_auxv_t__bindgen_ty_1 { - pub a_val: u64, -} diff --git a/tests/helper/src/gen/sys/aarch64_linux_uclibc/linux_headers_asm_hwcap.rs b/tests/helper/src/gen/sys/aarch64_linux_uclibc/linux_headers_asm_hwcap.rs deleted file mode 100644 index 3b593c9f..00000000 --- a/tests/helper/src/gen/sys/aarch64_linux_uclibc/linux_headers_asm_hwcap.rs +++ /dev/null @@ -1,103 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -pub const HWCAP_FP: u32 = 1; -pub const HWCAP_ASIMD: u32 = 2; -pub const HWCAP_EVTSTRM: u32 = 4; -pub const HWCAP_AES: u32 = 8; -pub const HWCAP_PMULL: u32 = 16; -pub const HWCAP_SHA1: u32 = 32; -pub const HWCAP_SHA2: u32 = 64; -pub const HWCAP_CRC32: u32 = 128; -pub const HWCAP_ATOMICS: u32 = 256; -pub const HWCAP_FPHP: u32 = 512; -pub const HWCAP_ASIMDHP: u32 = 1024; -pub const HWCAP_CPUID: u32 = 2048; -pub const HWCAP_ASIMDRDM: u32 = 4096; -pub const HWCAP_JSCVT: u32 = 8192; -pub const HWCAP_FCMA: u32 = 16384; -pub const HWCAP_LRCPC: u32 = 32768; -pub const HWCAP_DCPOP: u32 = 65536; -pub const HWCAP_SHA3: u32 = 131072; -pub const HWCAP_SM3: u32 = 262144; -pub const HWCAP_SM4: u32 = 524288; -pub const HWCAP_ASIMDDP: u32 = 1048576; -pub const HWCAP_SHA512: u32 = 2097152; -pub const HWCAP_SVE: u32 = 4194304; -pub const HWCAP_ASIMDFHM: u32 = 8388608; -pub const HWCAP_DIT: u32 = 16777216; -pub const HWCAP_USCAT: u32 = 33554432; -pub const HWCAP_ILRCPC: u32 = 67108864; -pub const HWCAP_FLAGM: u32 = 134217728; -pub const HWCAP_SSBS: u32 = 268435456; -pub const HWCAP_SB: u32 = 536870912; -pub const HWCAP_PACA: u32 = 1073741824; -pub const HWCAP_PACG: u32 = 2147483648; -pub const HWCAP2_DCPODP: u32 = 1; -pub const HWCAP2_SVE2: u32 = 2; -pub const HWCAP2_SVEAES: u32 = 4; -pub const HWCAP2_SVEPMULL: u32 = 8; -pub const HWCAP2_SVEBITPERM: u32 = 16; -pub const HWCAP2_SVESHA3: u32 = 32; -pub const HWCAP2_SVESM4: u32 = 64; -pub const HWCAP2_FLAGM2: u32 = 128; -pub const HWCAP2_FRINT: u32 = 256; -pub const HWCAP2_SVEI8MM: u32 = 512; -pub const HWCAP2_SVEF32MM: u32 = 1024; -pub const HWCAP2_SVEF64MM: u32 = 2048; -pub const HWCAP2_SVEBF16: u32 = 4096; -pub const HWCAP2_I8MM: u32 = 8192; -pub const HWCAP2_BF16: u32 = 16384; -pub const HWCAP2_DGH: u32 = 32768; -pub const HWCAP2_RNG: u32 = 65536; -pub const HWCAP2_BTI: u32 = 131072; -pub const HWCAP2_MTE: u32 = 262144; -pub const HWCAP2_ECV: u32 = 524288; -pub const HWCAP2_AFP: u32 = 1048576; -pub const HWCAP2_RPRES: u32 = 2097152; -pub const HWCAP2_MTE3: u32 = 4194304; -pub const HWCAP2_SME: u32 = 8388608; -pub const HWCAP2_SME_I16I64: u32 = 16777216; -pub const HWCAP2_SME_F64F64: u32 = 33554432; -pub const HWCAP2_SME_I8I32: u32 = 67108864; -pub const HWCAP2_SME_F16F32: u32 = 134217728; -pub const HWCAP2_SME_B16F32: u32 = 268435456; -pub const HWCAP2_SME_F32F32: u32 = 536870912; -pub const HWCAP2_SME_FA64: u32 = 1073741824; -pub const HWCAP2_WFXT: u32 = 2147483648; -pub const HWCAP2_EBF16: u64 = 4294967296; -pub const HWCAP2_SVE_EBF16: u64 = 8589934592; -pub const HWCAP2_CSSC: u64 = 17179869184; -pub const HWCAP2_RPRFM: u64 = 34359738368; -pub const HWCAP2_SVE2P1: u64 = 68719476736; -pub const HWCAP2_SME2: u64 = 137438953472; -pub const HWCAP2_SME2P1: u64 = 274877906944; -pub const HWCAP2_SME_I16I32: u64 = 549755813888; -pub const HWCAP2_SME_BI32I32: u64 = 1099511627776; -pub const HWCAP2_SME_B16B16: u64 = 2199023255552; -pub const HWCAP2_SME_F16F16: u64 = 4398046511104; -pub const HWCAP2_MOPS: u64 = 8796093022208; -pub const HWCAP2_HBC: u64 = 17592186044416; -pub const HWCAP2_SVE_B16B16: u64 = 35184372088832; -pub const HWCAP2_LRCPC3: u64 = 70368744177664; -pub const HWCAP2_LSE128: u64 = 140737488355328; -pub const HWCAP2_FPMR: u64 = 281474976710656; -pub const HWCAP2_LUT: u64 = 562949953421312; -pub const HWCAP2_FAMINMAX: u64 = 1125899906842624; -pub const HWCAP2_F8CVT: u64 = 2251799813685248; -pub const HWCAP2_F8FMA: u64 = 4503599627370496; -pub const HWCAP2_F8DP4: u64 = 9007199254740992; -pub const HWCAP2_F8DP2: u64 = 18014398509481984; -pub const HWCAP2_F8E4M3: u64 = 36028797018963968; -pub const HWCAP2_F8E5M2: u64 = 72057594037927936; -pub const HWCAP2_SME_LUTV2: u64 = 144115188075855872; -pub const HWCAP2_SME_F8F16: u64 = 288230376151711744; -pub const HWCAP2_SME_F8F32: u64 = 576460752303423488; -pub const HWCAP2_SME_SF8FMA: u64 = 1152921504606846976; -pub const HWCAP2_SME_SF8DP4: u64 = 2305843009213693952; -pub const HWCAP2_SME_SF8DP2: u64 = 4611686018427387904; -pub const HWCAP2_POE: u64 = 9223372036854775808; diff --git a/tests/helper/src/gen/sys/aarch64_linux_uclibc/linux_headers_asm_unistd.rs b/tests/helper/src/gen/sys/aarch64_linux_uclibc/linux_headers_asm_unistd.rs deleted file mode 100644 index 3d00edab..00000000 --- a/tests/helper/src/gen/sys/aarch64_linux_uclibc/linux_headers_asm_unistd.rs +++ /dev/null @@ -1,325 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -pub const __NR_io_setup: u32 = 0; -pub const __NR_io_destroy: u32 = 1; -pub const __NR_io_submit: u32 = 2; -pub const __NR_io_cancel: u32 = 3; -pub const __NR_io_getevents: u32 = 4; -pub const __NR_setxattr: u32 = 5; -pub const __NR_lsetxattr: u32 = 6; -pub const __NR_fsetxattr: u32 = 7; -pub const __NR_getxattr: u32 = 8; -pub const __NR_lgetxattr: u32 = 9; -pub const __NR_fgetxattr: u32 = 10; -pub const __NR_listxattr: u32 = 11; -pub const __NR_llistxattr: u32 = 12; -pub const __NR_flistxattr: u32 = 13; -pub const __NR_removexattr: u32 = 14; -pub const __NR_lremovexattr: u32 = 15; -pub const __NR_fremovexattr: u32 = 16; -pub const __NR_getcwd: u32 = 17; -pub const __NR_lookup_dcookie: u32 = 18; -pub const __NR_eventfd2: u32 = 19; -pub const __NR_epoll_create1: u32 = 20; -pub const __NR_epoll_ctl: u32 = 21; -pub const __NR_epoll_pwait: u32 = 22; -pub const __NR_dup: u32 = 23; -pub const __NR_dup3: u32 = 24; -pub const __NR_fcntl: u32 = 25; -pub const __NR_inotify_init1: u32 = 26; -pub const __NR_inotify_add_watch: u32 = 27; -pub const __NR_inotify_rm_watch: u32 = 28; -pub const __NR_ioctl: u32 = 29; -pub const __NR_ioprio_set: u32 = 30; -pub const __NR_ioprio_get: u32 = 31; -pub const __NR_flock: u32 = 32; -pub const __NR_mknodat: u32 = 33; -pub const __NR_mkdirat: u32 = 34; -pub const __NR_unlinkat: u32 = 35; -pub const __NR_symlinkat: u32 = 36; -pub const __NR_linkat: u32 = 37; -pub const __NR_renameat: u32 = 38; -pub const __NR_umount2: u32 = 39; -pub const __NR_mount: u32 = 40; -pub const __NR_pivot_root: u32 = 41; -pub const __NR_nfsservctl: u32 = 42; -pub const __NR_statfs: u32 = 43; -pub const __NR_fstatfs: u32 = 44; -pub const __NR_truncate: u32 = 45; -pub const __NR_ftruncate: u32 = 46; -pub const __NR_fallocate: u32 = 47; -pub const __NR_faccessat: u32 = 48; -pub const __NR_chdir: u32 = 49; -pub const __NR_fchdir: u32 = 50; -pub const __NR_chroot: u32 = 51; -pub const __NR_fchmod: u32 = 52; -pub const __NR_fchmodat: u32 = 53; -pub const __NR_fchownat: u32 = 54; -pub const __NR_fchown: u32 = 55; -pub const __NR_openat: u32 = 56; -pub const __NR_close: u32 = 57; -pub const __NR_vhangup: u32 = 58; -pub const __NR_pipe2: u32 = 59; -pub const __NR_quotactl: u32 = 60; -pub const __NR_getdents64: u32 = 61; -pub const __NR_lseek: u32 = 62; -pub const __NR_read: u32 = 63; -pub const __NR_write: u32 = 64; -pub const __NR_readv: u32 = 65; -pub const __NR_writev: u32 = 66; -pub const __NR_pread64: u32 = 67; -pub const __NR_pwrite64: u32 = 68; -pub const __NR_preadv: u32 = 69; -pub const __NR_pwritev: u32 = 70; -pub const __NR_sendfile: u32 = 71; -pub const __NR_pselect6: u32 = 72; -pub const __NR_ppoll: u32 = 73; -pub const __NR_signalfd4: u32 = 74; -pub const __NR_vmsplice: u32 = 75; -pub const __NR_splice: u32 = 76; -pub const __NR_tee: u32 = 77; -pub const __NR_readlinkat: u32 = 78; -pub const __NR_newfstatat: u32 = 79; -pub const __NR_fstat: u32 = 80; -pub const __NR_sync: u32 = 81; -pub const __NR_fsync: u32 = 82; -pub const __NR_fdatasync: u32 = 83; -pub const __NR_sync_file_range: u32 = 84; -pub const __NR_timerfd_create: u32 = 85; -pub const __NR_timerfd_settime: u32 = 86; -pub const __NR_timerfd_gettime: u32 = 87; -pub const __NR_utimensat: u32 = 88; -pub const __NR_acct: u32 = 89; -pub const __NR_capget: u32 = 90; -pub const __NR_capset: u32 = 91; -pub const __NR_personality: u32 = 92; -pub const __NR_exit: u32 = 93; -pub const __NR_exit_group: u32 = 94; -pub const __NR_waitid: u32 = 95; -pub const __NR_set_tid_address: u32 = 96; -pub const __NR_unshare: u32 = 97; -pub const __NR_futex: u32 = 98; -pub const __NR_set_robust_list: u32 = 99; -pub const __NR_get_robust_list: u32 = 100; -pub const __NR_nanosleep: u32 = 101; -pub const __NR_getitimer: u32 = 102; -pub const __NR_setitimer: u32 = 103; -pub const __NR_kexec_load: u32 = 104; -pub const __NR_init_module: u32 = 105; -pub const __NR_delete_module: u32 = 106; -pub const __NR_timer_create: u32 = 107; -pub const __NR_timer_gettime: u32 = 108; -pub const __NR_timer_getoverrun: u32 = 109; -pub const __NR_timer_settime: u32 = 110; -pub const __NR_timer_delete: u32 = 111; -pub const __NR_clock_settime: u32 = 112; -pub const __NR_clock_gettime: u32 = 113; -pub const __NR_clock_getres: u32 = 114; -pub const __NR_clock_nanosleep: u32 = 115; -pub const __NR_syslog: u32 = 116; -pub const __NR_ptrace: u32 = 117; -pub const __NR_sched_setparam: u32 = 118; -pub const __NR_sched_setscheduler: u32 = 119; -pub const __NR_sched_getscheduler: u32 = 120; -pub const __NR_sched_getparam: u32 = 121; -pub const __NR_sched_setaffinity: u32 = 122; -pub const __NR_sched_getaffinity: u32 = 123; -pub const __NR_sched_yield: u32 = 124; -pub const __NR_sched_get_priority_max: u32 = 125; -pub const __NR_sched_get_priority_min: u32 = 126; -pub const __NR_sched_rr_get_interval: u32 = 127; -pub const __NR_restart_syscall: u32 = 128; -pub const __NR_kill: u32 = 129; -pub const __NR_tkill: u32 = 130; -pub const __NR_tgkill: u32 = 131; -pub const __NR_sigaltstack: u32 = 132; -pub const __NR_rt_sigsuspend: u32 = 133; -pub const __NR_rt_sigaction: u32 = 134; -pub const __NR_rt_sigprocmask: u32 = 135; -pub const __NR_rt_sigpending: u32 = 136; -pub const __NR_rt_sigtimedwait: u32 = 137; -pub const __NR_rt_sigqueueinfo: u32 = 138; -pub const __NR_rt_sigreturn: u32 = 139; -pub const __NR_setpriority: u32 = 140; -pub const __NR_getpriority: u32 = 141; -pub const __NR_reboot: u32 = 142; -pub const __NR_setregid: u32 = 143; -pub const __NR_setgid: u32 = 144; -pub const __NR_setreuid: u32 = 145; -pub const __NR_setuid: u32 = 146; -pub const __NR_setresuid: u32 = 147; -pub const __NR_getresuid: u32 = 148; -pub const __NR_setresgid: u32 = 149; -pub const __NR_getresgid: u32 = 150; -pub const __NR_setfsuid: u32 = 151; -pub const __NR_setfsgid: u32 = 152; -pub const __NR_times: u32 = 153; -pub const __NR_setpgid: u32 = 154; -pub const __NR_getpgid: u32 = 155; -pub const __NR_getsid: u32 = 156; -pub const __NR_setsid: u32 = 157; -pub const __NR_getgroups: u32 = 158; -pub const __NR_setgroups: u32 = 159; -pub const __NR_uname: u32 = 160; -pub const __NR_sethostname: u32 = 161; -pub const __NR_setdomainname: u32 = 162; -pub const __NR_getrlimit: u32 = 163; -pub const __NR_setrlimit: u32 = 164; -pub const __NR_getrusage: u32 = 165; -pub const __NR_umask: u32 = 166; -pub const __NR_prctl: u32 = 167; -pub const __NR_getcpu: u32 = 168; -pub const __NR_gettimeofday: u32 = 169; -pub const __NR_settimeofday: u32 = 170; -pub const __NR_adjtimex: u32 = 171; -pub const __NR_getpid: u32 = 172; -pub const __NR_getppid: u32 = 173; -pub const __NR_getuid: u32 = 174; -pub const __NR_geteuid: u32 = 175; -pub const __NR_getgid: u32 = 176; -pub const __NR_getegid: u32 = 177; -pub const __NR_gettid: u32 = 178; -pub const __NR_sysinfo: u32 = 179; -pub const __NR_mq_open: u32 = 180; -pub const __NR_mq_unlink: u32 = 181; -pub const __NR_mq_timedsend: u32 = 182; -pub const __NR_mq_timedreceive: u32 = 183; -pub const __NR_mq_notify: u32 = 184; -pub const __NR_mq_getsetattr: u32 = 185; -pub const __NR_msgget: u32 = 186; -pub const __NR_msgctl: u32 = 187; -pub const __NR_msgrcv: u32 = 188; -pub const __NR_msgsnd: u32 = 189; -pub const __NR_semget: u32 = 190; -pub const __NR_semctl: u32 = 191; -pub const __NR_semtimedop: u32 = 192; -pub const __NR_semop: u32 = 193; -pub const __NR_shmget: u32 = 194; -pub const __NR_shmctl: u32 = 195; -pub const __NR_shmat: u32 = 196; -pub const __NR_shmdt: u32 = 197; -pub const __NR_socket: u32 = 198; -pub const __NR_socketpair: u32 = 199; -pub const __NR_bind: u32 = 200; -pub const __NR_listen: u32 = 201; -pub const __NR_accept: u32 = 202; -pub const __NR_connect: u32 = 203; -pub const __NR_getsockname: u32 = 204; -pub const __NR_getpeername: u32 = 205; -pub const __NR_sendto: u32 = 206; -pub const __NR_recvfrom: u32 = 207; -pub const __NR_setsockopt: u32 = 208; -pub const __NR_getsockopt: u32 = 209; -pub const __NR_shutdown: u32 = 210; -pub const __NR_sendmsg: u32 = 211; -pub const __NR_recvmsg: u32 = 212; -pub const __NR_readahead: u32 = 213; -pub const __NR_brk: u32 = 214; -pub const __NR_munmap: u32 = 215; -pub const __NR_mremap: u32 = 216; -pub const __NR_add_key: u32 = 217; -pub const __NR_request_key: u32 = 218; -pub const __NR_keyctl: u32 = 219; -pub const __NR_clone: u32 = 220; -pub const __NR_execve: u32 = 221; -pub const __NR_mmap: u32 = 222; -pub const __NR_fadvise64: u32 = 223; -pub const __NR_swapon: u32 = 224; -pub const __NR_swapoff: u32 = 225; -pub const __NR_mprotect: u32 = 226; -pub const __NR_msync: u32 = 227; -pub const __NR_mlock: u32 = 228; -pub const __NR_munlock: u32 = 229; -pub const __NR_mlockall: u32 = 230; -pub const __NR_munlockall: u32 = 231; -pub const __NR_mincore: u32 = 232; -pub const __NR_madvise: u32 = 233; -pub const __NR_remap_file_pages: u32 = 234; -pub const __NR_mbind: u32 = 235; -pub const __NR_get_mempolicy: u32 = 236; -pub const __NR_set_mempolicy: u32 = 237; -pub const __NR_migrate_pages: u32 = 238; -pub const __NR_move_pages: u32 = 239; -pub const __NR_rt_tgsigqueueinfo: u32 = 240; -pub const __NR_perf_event_open: u32 = 241; -pub const __NR_accept4: u32 = 242; -pub const __NR_recvmmsg: u32 = 243; -pub const __NR_wait4: u32 = 260; -pub const __NR_prlimit64: u32 = 261; -pub const __NR_fanotify_init: u32 = 262; -pub const __NR_fanotify_mark: u32 = 263; -pub const __NR_name_to_handle_at: u32 = 264; -pub const __NR_open_by_handle_at: u32 = 265; -pub const __NR_clock_adjtime: u32 = 266; -pub const __NR_syncfs: u32 = 267; -pub const __NR_setns: u32 = 268; -pub const __NR_sendmmsg: u32 = 269; -pub const __NR_process_vm_readv: u32 = 270; -pub const __NR_process_vm_writev: u32 = 271; -pub const __NR_kcmp: u32 = 272; -pub const __NR_finit_module: u32 = 273; -pub const __NR_sched_setattr: u32 = 274; -pub const __NR_sched_getattr: u32 = 275; -pub const __NR_renameat2: u32 = 276; -pub const __NR_seccomp: u32 = 277; -pub const __NR_getrandom: u32 = 278; -pub const __NR_memfd_create: u32 = 279; -pub const __NR_bpf: u32 = 280; -pub const __NR_execveat: u32 = 281; -pub const __NR_userfaultfd: u32 = 282; -pub const __NR_membarrier: u32 = 283; -pub const __NR_mlock2: u32 = 284; -pub const __NR_copy_file_range: u32 = 285; -pub const __NR_preadv2: u32 = 286; -pub const __NR_pwritev2: u32 = 287; -pub const __NR_pkey_mprotect: u32 = 288; -pub const __NR_pkey_alloc: u32 = 289; -pub const __NR_pkey_free: u32 = 290; -pub const __NR_statx: u32 = 291; -pub const __NR_io_pgetevents: u32 = 292; -pub const __NR_rseq: u32 = 293; -pub const __NR_kexec_file_load: u32 = 294; -pub const __NR_pidfd_send_signal: u32 = 424; -pub const __NR_io_uring_setup: u32 = 425; -pub const __NR_io_uring_enter: u32 = 426; -pub const __NR_io_uring_register: u32 = 427; -pub const __NR_open_tree: u32 = 428; -pub const __NR_move_mount: u32 = 429; -pub const __NR_fsopen: u32 = 430; -pub const __NR_fsconfig: u32 = 431; -pub const __NR_fsmount: u32 = 432; -pub const __NR_fspick: u32 = 433; -pub const __NR_pidfd_open: u32 = 434; -pub const __NR_clone3: u32 = 435; -pub const __NR_close_range: u32 = 436; -pub const __NR_openat2: u32 = 437; -pub const __NR_pidfd_getfd: u32 = 438; -pub const __NR_faccessat2: u32 = 439; -pub const __NR_process_madvise: u32 = 440; -pub const __NR_epoll_pwait2: u32 = 441; -pub const __NR_mount_setattr: u32 = 442; -pub const __NR_quotactl_fd: u32 = 443; -pub const __NR_landlock_create_ruleset: u32 = 444; -pub const __NR_landlock_add_rule: u32 = 445; -pub const __NR_landlock_restrict_self: u32 = 446; -pub const __NR_memfd_secret: u32 = 447; -pub const __NR_process_mrelease: u32 = 448; -pub const __NR_futex_waitv: u32 = 449; -pub const __NR_set_mempolicy_home_node: u32 = 450; -pub const __NR_cachestat: u32 = 451; -pub const __NR_fchmodat2: u32 = 452; -pub const __NR_map_shadow_stack: u32 = 453; -pub const __NR_futex_wake: u32 = 454; -pub const __NR_futex_wait: u32 = 455; -pub const __NR_futex_requeue: u32 = 456; -pub const __NR_statmount: u32 = 457; -pub const __NR_listmount: u32 = 458; -pub const __NR_lsm_get_self_attr: u32 = 459; -pub const __NR_lsm_set_self_attr: u32 = 460; -pub const __NR_lsm_list_modules: u32 = 461; -pub const __NR_mseal: u32 = 462; diff --git a/tests/helper/src/gen/sys/aarch64_linux_uclibc/linux_headers_linux_auxvec.rs b/tests/helper/src/gen/sys/aarch64_linux_uclibc/linux_headers_linux_auxvec.rs deleted file mode 100644 index da867dd1..00000000 --- a/tests/helper/src/gen/sys/aarch64_linux_uclibc/linux_headers_linux_auxvec.rs +++ /dev/null @@ -1,37 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -pub const AT_SYSINFO_EHDR: u32 = 33; -pub const AT_MINSIGSTKSZ: u32 = 51; -pub const AT_VECTOR_SIZE_ARCH: u32 = 2; -pub const AT_NULL: u32 = 0; -pub const AT_IGNORE: u32 = 1; -pub const AT_EXECFD: u32 = 2; -pub const AT_PHDR: u32 = 3; -pub const AT_PHENT: u32 = 4; -pub const AT_PHNUM: u32 = 5; -pub const AT_PAGESZ: u32 = 6; -pub const AT_BASE: u32 = 7; -pub const AT_FLAGS: u32 = 8; -pub const AT_ENTRY: u32 = 9; -pub const AT_NOTELF: u32 = 10; -pub const AT_UID: u32 = 11; -pub const AT_EUID: u32 = 12; -pub const AT_GID: u32 = 13; -pub const AT_EGID: u32 = 14; -pub const AT_PLATFORM: u32 = 15; -pub const AT_HWCAP: u32 = 16; -pub const AT_CLKTCK: u32 = 17; -pub const AT_SECURE: u32 = 23; -pub const AT_BASE_PLATFORM: u32 = 24; -pub const AT_RANDOM: u32 = 25; -pub const AT_HWCAP2: u32 = 26; -pub const AT_RSEQ_FEATURE_SIZE: u32 = 27; -pub const AT_RSEQ_ALIGN: u32 = 28; -pub const AT_HWCAP3: u32 = 29; -pub const AT_HWCAP4: u32 = 30; -pub const AT_EXECFN: u32 = 31; diff --git a/tests/helper/src/gen/sys/aarch64_linux_uclibc/linux_headers_linux_prctl.rs b/tests/helper/src/gen/sys/aarch64_linux_uclibc/linux_headers_linux_prctl.rs deleted file mode 100644 index 6eeb3021..00000000 --- a/tests/helper/src/gen/sys/aarch64_linux_uclibc/linux_headers_linux_prctl.rs +++ /dev/null @@ -1,189 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -pub const PR_SET_PDEATHSIG: u32 = 1; -pub const PR_GET_PDEATHSIG: u32 = 2; -pub const PR_GET_DUMPABLE: u32 = 3; -pub const PR_SET_DUMPABLE: u32 = 4; -pub const PR_GET_UNALIGN: u32 = 5; -pub const PR_SET_UNALIGN: u32 = 6; -pub const PR_UNALIGN_NOPRINT: u32 = 1; -pub const PR_UNALIGN_SIGBUS: u32 = 2; -pub const PR_GET_KEEPCAPS: u32 = 7; -pub const PR_SET_KEEPCAPS: u32 = 8; -pub const PR_GET_FPEMU: u32 = 9; -pub const PR_SET_FPEMU: u32 = 10; -pub const PR_FPEMU_NOPRINT: u32 = 1; -pub const PR_FPEMU_SIGFPE: u32 = 2; -pub const PR_GET_FPEXC: u32 = 11; -pub const PR_SET_FPEXC: u32 = 12; -pub const PR_FP_EXC_SW_ENABLE: u32 = 128; -pub const PR_FP_EXC_DIV: u32 = 65536; -pub const PR_FP_EXC_OVF: u32 = 131072; -pub const PR_FP_EXC_UND: u32 = 262144; -pub const PR_FP_EXC_RES: u32 = 524288; -pub const PR_FP_EXC_INV: u32 = 1048576; -pub const PR_FP_EXC_DISABLED: u32 = 0; -pub const PR_FP_EXC_NONRECOV: u32 = 1; -pub const PR_FP_EXC_ASYNC: u32 = 2; -pub const PR_FP_EXC_PRECISE: u32 = 3; -pub const PR_GET_TIMING: u32 = 13; -pub const PR_SET_TIMING: u32 = 14; -pub const PR_TIMING_STATISTICAL: u32 = 0; -pub const PR_TIMING_TIMESTAMP: u32 = 1; -pub const PR_SET_NAME: u32 = 15; -pub const PR_GET_NAME: u32 = 16; -pub const PR_GET_ENDIAN: u32 = 19; -pub const PR_SET_ENDIAN: u32 = 20; -pub const PR_ENDIAN_BIG: u32 = 0; -pub const PR_ENDIAN_LITTLE: u32 = 1; -pub const PR_ENDIAN_PPC_LITTLE: u32 = 2; -pub const PR_GET_SECCOMP: u32 = 21; -pub const PR_SET_SECCOMP: u32 = 22; -pub const PR_CAPBSET_READ: u32 = 23; -pub const PR_CAPBSET_DROP: u32 = 24; -pub const PR_GET_TSC: u32 = 25; -pub const PR_SET_TSC: u32 = 26; -pub const PR_TSC_ENABLE: u32 = 1; -pub const PR_TSC_SIGSEGV: u32 = 2; -pub const PR_GET_SECUREBITS: u32 = 27; -pub const PR_SET_SECUREBITS: u32 = 28; -pub const PR_SET_TIMERSLACK: u32 = 29; -pub const PR_GET_TIMERSLACK: u32 = 30; -pub const PR_TASK_PERF_EVENTS_DISABLE: u32 = 31; -pub const PR_TASK_PERF_EVENTS_ENABLE: u32 = 32; -pub const PR_MCE_KILL: u32 = 33; -pub const PR_MCE_KILL_CLEAR: u32 = 0; -pub const PR_MCE_KILL_SET: u32 = 1; -pub const PR_MCE_KILL_LATE: u32 = 0; -pub const PR_MCE_KILL_EARLY: u32 = 1; -pub const PR_MCE_KILL_DEFAULT: u32 = 2; -pub const PR_MCE_KILL_GET: u32 = 34; -pub const PR_SET_MM: u32 = 35; -pub const PR_SET_MM_START_CODE: u32 = 1; -pub const PR_SET_MM_END_CODE: u32 = 2; -pub const PR_SET_MM_START_DATA: u32 = 3; -pub const PR_SET_MM_END_DATA: u32 = 4; -pub const PR_SET_MM_START_STACK: u32 = 5; -pub const PR_SET_MM_START_BRK: u32 = 6; -pub const PR_SET_MM_BRK: u32 = 7; -pub const PR_SET_MM_ARG_START: u32 = 8; -pub const PR_SET_MM_ARG_END: u32 = 9; -pub const PR_SET_MM_ENV_START: u32 = 10; -pub const PR_SET_MM_ENV_END: u32 = 11; -pub const PR_SET_MM_AUXV: u32 = 12; -pub const PR_SET_MM_EXE_FILE: u32 = 13; -pub const PR_SET_MM_MAP: u32 = 14; -pub const PR_SET_MM_MAP_SIZE: u32 = 15; -pub const PR_SET_PTRACER: u32 = 1499557217; -pub const PR_SET_PTRACER_ANY: ::std::os::raw::c_ulong = -1i8 as ::std::os::raw::c_ulong; -pub const PR_SET_CHILD_SUBREAPER: u32 = 36; -pub const PR_GET_CHILD_SUBREAPER: u32 = 37; -pub const PR_SET_NO_NEW_PRIVS: u32 = 38; -pub const PR_GET_NO_NEW_PRIVS: u32 = 39; -pub const PR_GET_TID_ADDRESS: u32 = 40; -pub const PR_SET_THP_DISABLE: u32 = 41; -pub const PR_GET_THP_DISABLE: u32 = 42; -pub const PR_MPX_ENABLE_MANAGEMENT: u32 = 43; -pub const PR_MPX_DISABLE_MANAGEMENT: u32 = 44; -pub const PR_SET_FP_MODE: u32 = 45; -pub const PR_GET_FP_MODE: u32 = 46; -pub const PR_FP_MODE_FR: u32 = 1; -pub const PR_FP_MODE_FRE: u32 = 2; -pub const PR_CAP_AMBIENT: u32 = 47; -pub const PR_CAP_AMBIENT_IS_SET: u32 = 1; -pub const PR_CAP_AMBIENT_RAISE: u32 = 2; -pub const PR_CAP_AMBIENT_LOWER: u32 = 3; -pub const PR_CAP_AMBIENT_CLEAR_ALL: u32 = 4; -pub const PR_SVE_SET_VL: u32 = 50; -pub const PR_SVE_SET_VL_ONEXEC: u32 = 262144; -pub const PR_SVE_GET_VL: u32 = 51; -pub const PR_SVE_VL_LEN_MASK: u32 = 65535; -pub const PR_SVE_VL_INHERIT: u32 = 131072; -pub const PR_GET_SPECULATION_CTRL: u32 = 52; -pub const PR_SET_SPECULATION_CTRL: u32 = 53; -pub const PR_SPEC_STORE_BYPASS: u32 = 0; -pub const PR_SPEC_INDIRECT_BRANCH: u32 = 1; -pub const PR_SPEC_L1D_FLUSH: u32 = 2; -pub const PR_SPEC_NOT_AFFECTED: u32 = 0; -pub const PR_SPEC_PRCTL: u32 = 1; -pub const PR_SPEC_ENABLE: u32 = 2; -pub const PR_SPEC_DISABLE: u32 = 4; -pub const PR_SPEC_FORCE_DISABLE: u32 = 8; -pub const PR_SPEC_DISABLE_NOEXEC: u32 = 16; -pub const PR_PAC_RESET_KEYS: u32 = 54; -pub const PR_PAC_APIAKEY: u32 = 1; -pub const PR_PAC_APIBKEY: u32 = 2; -pub const PR_PAC_APDAKEY: u32 = 4; -pub const PR_PAC_APDBKEY: u32 = 8; -pub const PR_PAC_APGAKEY: u32 = 16; -pub const PR_SET_TAGGED_ADDR_CTRL: u32 = 55; -pub const PR_GET_TAGGED_ADDR_CTRL: u32 = 56; -pub const PR_TAGGED_ADDR_ENABLE: u32 = 1; -pub const PR_MTE_TCF_NONE: u32 = 0; -pub const PR_MTE_TCF_SYNC: u32 = 2; -pub const PR_MTE_TCF_ASYNC: u32 = 4; -pub const PR_MTE_TCF_MASK: u32 = 6; -pub const PR_MTE_TAG_SHIFT: u32 = 3; -pub const PR_MTE_TAG_MASK: u32 = 524280; -pub const PR_MTE_TCF_SHIFT: u32 = 1; -pub const PR_SET_IO_FLUSHER: u32 = 57; -pub const PR_GET_IO_FLUSHER: u32 = 58; -pub const PR_SET_SYSCALL_USER_DISPATCH: u32 = 59; -pub const PR_SYS_DISPATCH_OFF: u32 = 0; -pub const PR_SYS_DISPATCH_ON: u32 = 1; -pub const PR_PAC_SET_ENABLED_KEYS: u32 = 60; -pub const PR_PAC_GET_ENABLED_KEYS: u32 = 61; -pub const PR_SCHED_CORE: u32 = 62; -pub const PR_SCHED_CORE_GET: u32 = 0; -pub const PR_SCHED_CORE_CREATE: u32 = 1; -pub const PR_SCHED_CORE_SHARE_TO: u32 = 2; -pub const PR_SCHED_CORE_SHARE_FROM: u32 = 3; -pub const PR_SCHED_CORE_MAX: u32 = 4; -pub const PR_SCHED_CORE_SCOPE_THREAD: u32 = 0; -pub const PR_SCHED_CORE_SCOPE_THREAD_GROUP: u32 = 1; -pub const PR_SCHED_CORE_SCOPE_PROCESS_GROUP: u32 = 2; -pub const PR_SME_SET_VL: u32 = 63; -pub const PR_SME_SET_VL_ONEXEC: u32 = 262144; -pub const PR_SME_GET_VL: u32 = 64; -pub const PR_SME_VL_LEN_MASK: u32 = 65535; -pub const PR_SME_VL_INHERIT: u32 = 131072; -pub const PR_SET_MDWE: u32 = 65; -pub const PR_MDWE_REFUSE_EXEC_GAIN: u32 = 1; -pub const PR_MDWE_NO_INHERIT: u32 = 2; -pub const PR_GET_MDWE: u32 = 66; -pub const PR_SET_VMA: u32 = 1398164801; -pub const PR_SET_VMA_ANON_NAME: u32 = 0; -pub const PR_GET_AUXV: u32 = 1096112214; -pub const PR_SET_MEMORY_MERGE: u32 = 67; -pub const PR_GET_MEMORY_MERGE: u32 = 68; -pub const PR_RISCV_V_SET_CONTROL: u32 = 69; -pub const PR_RISCV_V_GET_CONTROL: u32 = 70; -pub const PR_RISCV_V_VSTATE_CTRL_DEFAULT: u32 = 0; -pub const PR_RISCV_V_VSTATE_CTRL_OFF: u32 = 1; -pub const PR_RISCV_V_VSTATE_CTRL_ON: u32 = 2; -pub const PR_RISCV_V_VSTATE_CTRL_INHERIT: u32 = 16; -pub const PR_RISCV_V_VSTATE_CTRL_CUR_MASK: u32 = 3; -pub const PR_RISCV_V_VSTATE_CTRL_NEXT_MASK: u32 = 12; -pub const PR_RISCV_V_VSTATE_CTRL_MASK: u32 = 31; -pub const PR_RISCV_SET_ICACHE_FLUSH_CTX: u32 = 71; -pub const PR_RISCV_CTX_SW_FENCEI_ON: u32 = 0; -pub const PR_RISCV_CTX_SW_FENCEI_OFF: u32 = 1; -pub const PR_RISCV_SCOPE_PER_PROCESS: u32 = 0; -pub const PR_RISCV_SCOPE_PER_THREAD: u32 = 1; -pub const PR_PPC_GET_DEXCR: u32 = 72; -pub const PR_PPC_SET_DEXCR: u32 = 73; -pub const PR_PPC_DEXCR_SBHE: u32 = 0; -pub const PR_PPC_DEXCR_IBRTPD: u32 = 1; -pub const PR_PPC_DEXCR_SRAPD: u32 = 2; -pub const PR_PPC_DEXCR_NPHIE: u32 = 3; -pub const PR_PPC_DEXCR_CTRL_EDITABLE: u32 = 1; -pub const PR_PPC_DEXCR_CTRL_SET: u32 = 2; -pub const PR_PPC_DEXCR_CTRL_CLEAR: u32 = 4; -pub const PR_PPC_DEXCR_CTRL_SET_ONEXEC: u32 = 8; -pub const PR_PPC_DEXCR_CTRL_CLEAR_ONEXEC: u32 = 16; -pub const PR_PPC_DEXCR_CTRL_MASK: u32 = 31; diff --git a/tests/helper/src/gen/sys/aarch64_linux_uclibc/mod.rs b/tests/helper/src/gen/sys/aarch64_linux_uclibc/mod.rs deleted file mode 100644 index 31b2768e..00000000 --- a/tests/helper/src/gen/sys/aarch64_linux_uclibc/mod.rs +++ /dev/null @@ -1,647 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] -mod linux_headers_asm_hwcap; -pub use linux_headers_asm_hwcap::HWCAP_FP; -pub use linux_headers_asm_hwcap::HWCAP_ASIMD; -pub use linux_headers_asm_hwcap::HWCAP_EVTSTRM; -pub use linux_headers_asm_hwcap::HWCAP_AES; -pub use linux_headers_asm_hwcap::HWCAP_PMULL; -pub use linux_headers_asm_hwcap::HWCAP_SHA1; -pub use linux_headers_asm_hwcap::HWCAP_SHA2; -pub use linux_headers_asm_hwcap::HWCAP_CRC32; -pub use linux_headers_asm_hwcap::HWCAP_ATOMICS; -pub use linux_headers_asm_hwcap::HWCAP_FPHP; -pub use linux_headers_asm_hwcap::HWCAP_ASIMDHP; -pub use linux_headers_asm_hwcap::HWCAP_CPUID; -pub use linux_headers_asm_hwcap::HWCAP_ASIMDRDM; -pub use linux_headers_asm_hwcap::HWCAP_JSCVT; -pub use linux_headers_asm_hwcap::HWCAP_FCMA; -pub use linux_headers_asm_hwcap::HWCAP_LRCPC; -pub use linux_headers_asm_hwcap::HWCAP_DCPOP; -pub use linux_headers_asm_hwcap::HWCAP_SHA3; -pub use linux_headers_asm_hwcap::HWCAP_SM3; -pub use linux_headers_asm_hwcap::HWCAP_SM4; -pub use linux_headers_asm_hwcap::HWCAP_ASIMDDP; -pub use linux_headers_asm_hwcap::HWCAP_SHA512; -pub use linux_headers_asm_hwcap::HWCAP_SVE; -pub use linux_headers_asm_hwcap::HWCAP_ASIMDFHM; -pub use linux_headers_asm_hwcap::HWCAP_DIT; -pub use linux_headers_asm_hwcap::HWCAP_USCAT; -pub use linux_headers_asm_hwcap::HWCAP_ILRCPC; -pub use linux_headers_asm_hwcap::HWCAP_FLAGM; -pub use linux_headers_asm_hwcap::HWCAP_SSBS; -pub use linux_headers_asm_hwcap::HWCAP_SB; -pub use linux_headers_asm_hwcap::HWCAP_PACA; -pub use linux_headers_asm_hwcap::HWCAP_PACG; -pub use linux_headers_asm_hwcap::HWCAP2_DCPODP; -pub use linux_headers_asm_hwcap::HWCAP2_SVE2; -pub use linux_headers_asm_hwcap::HWCAP2_SVEAES; -pub use linux_headers_asm_hwcap::HWCAP2_SVEPMULL; -pub use linux_headers_asm_hwcap::HWCAP2_SVEBITPERM; -pub use linux_headers_asm_hwcap::HWCAP2_SVESHA3; -pub use linux_headers_asm_hwcap::HWCAP2_SVESM4; -pub use linux_headers_asm_hwcap::HWCAP2_FLAGM2; -pub use linux_headers_asm_hwcap::HWCAP2_FRINT; -pub use linux_headers_asm_hwcap::HWCAP2_SVEI8MM; -pub use linux_headers_asm_hwcap::HWCAP2_SVEF32MM; -pub use linux_headers_asm_hwcap::HWCAP2_SVEF64MM; -pub use linux_headers_asm_hwcap::HWCAP2_SVEBF16; -pub use linux_headers_asm_hwcap::HWCAP2_I8MM; -pub use linux_headers_asm_hwcap::HWCAP2_BF16; -pub use linux_headers_asm_hwcap::HWCAP2_DGH; -pub use linux_headers_asm_hwcap::HWCAP2_RNG; -pub use linux_headers_asm_hwcap::HWCAP2_BTI; -pub use linux_headers_asm_hwcap::HWCAP2_MTE; -pub use linux_headers_asm_hwcap::HWCAP2_ECV; -pub use linux_headers_asm_hwcap::HWCAP2_AFP; -pub use linux_headers_asm_hwcap::HWCAP2_RPRES; -pub use linux_headers_asm_hwcap::HWCAP2_MTE3; -pub use linux_headers_asm_hwcap::HWCAP2_SME; -pub use linux_headers_asm_hwcap::HWCAP2_SME_I16I64; -pub use linux_headers_asm_hwcap::HWCAP2_SME_F64F64; -pub use linux_headers_asm_hwcap::HWCAP2_SME_I8I32; -pub use linux_headers_asm_hwcap::HWCAP2_SME_F16F32; -pub use linux_headers_asm_hwcap::HWCAP2_SME_B16F32; -pub use linux_headers_asm_hwcap::HWCAP2_SME_F32F32; -pub use linux_headers_asm_hwcap::HWCAP2_SME_FA64; -pub use linux_headers_asm_hwcap::HWCAP2_WFXT; -pub use linux_headers_asm_hwcap::HWCAP2_EBF16; -pub use linux_headers_asm_hwcap::HWCAP2_SVE_EBF16; -pub use linux_headers_asm_hwcap::HWCAP2_CSSC; -pub use linux_headers_asm_hwcap::HWCAP2_RPRFM; -pub use linux_headers_asm_hwcap::HWCAP2_SVE2P1; -pub use linux_headers_asm_hwcap::HWCAP2_SME2; -pub use linux_headers_asm_hwcap::HWCAP2_SME2P1; -pub use linux_headers_asm_hwcap::HWCAP2_SME_I16I32; -pub use linux_headers_asm_hwcap::HWCAP2_SME_BI32I32; -pub use linux_headers_asm_hwcap::HWCAP2_SME_B16B16; -pub use linux_headers_asm_hwcap::HWCAP2_SME_F16F16; -pub use linux_headers_asm_hwcap::HWCAP2_MOPS; -pub use linux_headers_asm_hwcap::HWCAP2_HBC; -pub use linux_headers_asm_hwcap::HWCAP2_SVE_B16B16; -pub use linux_headers_asm_hwcap::HWCAP2_LRCPC3; -pub use linux_headers_asm_hwcap::HWCAP2_LSE128; -pub use linux_headers_asm_hwcap::HWCAP2_FPMR; -pub use linux_headers_asm_hwcap::HWCAP2_LUT; -pub use linux_headers_asm_hwcap::HWCAP2_FAMINMAX; -pub use linux_headers_asm_hwcap::HWCAP2_F8CVT; -pub use linux_headers_asm_hwcap::HWCAP2_F8FMA; -pub use linux_headers_asm_hwcap::HWCAP2_F8DP4; -pub use linux_headers_asm_hwcap::HWCAP2_F8DP2; -pub use linux_headers_asm_hwcap::HWCAP2_F8E4M3; -pub use linux_headers_asm_hwcap::HWCAP2_F8E5M2; -pub use linux_headers_asm_hwcap::HWCAP2_SME_LUTV2; -pub use linux_headers_asm_hwcap::HWCAP2_SME_F8F16; -pub use linux_headers_asm_hwcap::HWCAP2_SME_F8F32; -pub use linux_headers_asm_hwcap::HWCAP2_SME_SF8FMA; -pub use linux_headers_asm_hwcap::HWCAP2_SME_SF8DP4; -pub use linux_headers_asm_hwcap::HWCAP2_SME_SF8DP2; -pub use linux_headers_asm_hwcap::HWCAP2_POE; -mod linux_headers_asm_unistd; -pub use linux_headers_asm_unistd::__NR_io_setup; -pub use linux_headers_asm_unistd::__NR_io_destroy; -pub use linux_headers_asm_unistd::__NR_io_submit; -pub use linux_headers_asm_unistd::__NR_io_cancel; -pub use linux_headers_asm_unistd::__NR_io_getevents; -pub use linux_headers_asm_unistd::__NR_setxattr; -pub use linux_headers_asm_unistd::__NR_lsetxattr; -pub use linux_headers_asm_unistd::__NR_fsetxattr; -pub use linux_headers_asm_unistd::__NR_getxattr; -pub use linux_headers_asm_unistd::__NR_lgetxattr; -pub use linux_headers_asm_unistd::__NR_fgetxattr; -pub use linux_headers_asm_unistd::__NR_listxattr; -pub use linux_headers_asm_unistd::__NR_llistxattr; -pub use linux_headers_asm_unistd::__NR_flistxattr; -pub use linux_headers_asm_unistd::__NR_removexattr; -pub use linux_headers_asm_unistd::__NR_lremovexattr; -pub use linux_headers_asm_unistd::__NR_fremovexattr; -pub use linux_headers_asm_unistd::__NR_getcwd; -pub use linux_headers_asm_unistd::__NR_lookup_dcookie; -pub use linux_headers_asm_unistd::__NR_eventfd2; -pub use linux_headers_asm_unistd::__NR_epoll_create1; -pub use linux_headers_asm_unistd::__NR_epoll_ctl; -pub use linux_headers_asm_unistd::__NR_epoll_pwait; -pub use linux_headers_asm_unistd::__NR_dup; -pub use linux_headers_asm_unistd::__NR_dup3; -pub use linux_headers_asm_unistd::__NR_fcntl; -pub use linux_headers_asm_unistd::__NR_inotify_init1; -pub use linux_headers_asm_unistd::__NR_inotify_add_watch; -pub use linux_headers_asm_unistd::__NR_inotify_rm_watch; -pub use linux_headers_asm_unistd::__NR_ioctl; -pub use linux_headers_asm_unistd::__NR_ioprio_set; -pub use linux_headers_asm_unistd::__NR_ioprio_get; -pub use linux_headers_asm_unistd::__NR_flock; -pub use linux_headers_asm_unistd::__NR_mknodat; -pub use linux_headers_asm_unistd::__NR_mkdirat; -pub use linux_headers_asm_unistd::__NR_unlinkat; -pub use linux_headers_asm_unistd::__NR_symlinkat; -pub use linux_headers_asm_unistd::__NR_linkat; -pub use linux_headers_asm_unistd::__NR_renameat; -pub use linux_headers_asm_unistd::__NR_umount2; -pub use linux_headers_asm_unistd::__NR_mount; -pub use linux_headers_asm_unistd::__NR_pivot_root; -pub use linux_headers_asm_unistd::__NR_nfsservctl; -pub use linux_headers_asm_unistd::__NR_statfs; -pub use linux_headers_asm_unistd::__NR_fstatfs; -pub use linux_headers_asm_unistd::__NR_truncate; -pub use linux_headers_asm_unistd::__NR_ftruncate; -pub use linux_headers_asm_unistd::__NR_fallocate; -pub use linux_headers_asm_unistd::__NR_faccessat; -pub use linux_headers_asm_unistd::__NR_chdir; -pub use linux_headers_asm_unistd::__NR_fchdir; -pub use linux_headers_asm_unistd::__NR_chroot; -pub use linux_headers_asm_unistd::__NR_fchmod; -pub use linux_headers_asm_unistd::__NR_fchmodat; -pub use linux_headers_asm_unistd::__NR_fchownat; -pub use linux_headers_asm_unistd::__NR_fchown; -pub use linux_headers_asm_unistd::__NR_openat; -pub use linux_headers_asm_unistd::__NR_close; -pub use linux_headers_asm_unistd::__NR_vhangup; -pub use linux_headers_asm_unistd::__NR_pipe2; -pub use linux_headers_asm_unistd::__NR_quotactl; -pub use linux_headers_asm_unistd::__NR_getdents64; -pub use linux_headers_asm_unistd::__NR_lseek; -pub use linux_headers_asm_unistd::__NR_read; -pub use linux_headers_asm_unistd::__NR_write; -pub use linux_headers_asm_unistd::__NR_readv; -pub use linux_headers_asm_unistd::__NR_writev; -pub use linux_headers_asm_unistd::__NR_pread64; -pub use linux_headers_asm_unistd::__NR_pwrite64; -pub use linux_headers_asm_unistd::__NR_preadv; -pub use linux_headers_asm_unistd::__NR_pwritev; -pub use linux_headers_asm_unistd::__NR_sendfile; -pub use linux_headers_asm_unistd::__NR_pselect6; -pub use linux_headers_asm_unistd::__NR_ppoll; -pub use linux_headers_asm_unistd::__NR_signalfd4; -pub use linux_headers_asm_unistd::__NR_vmsplice; -pub use linux_headers_asm_unistd::__NR_splice; -pub use linux_headers_asm_unistd::__NR_tee; -pub use linux_headers_asm_unistd::__NR_readlinkat; -pub use linux_headers_asm_unistd::__NR_newfstatat; -pub use linux_headers_asm_unistd::__NR_fstat; -pub use linux_headers_asm_unistd::__NR_sync; -pub use linux_headers_asm_unistd::__NR_fsync; -pub use linux_headers_asm_unistd::__NR_fdatasync; -pub use linux_headers_asm_unistd::__NR_sync_file_range; -pub use linux_headers_asm_unistd::__NR_timerfd_create; -pub use linux_headers_asm_unistd::__NR_timerfd_settime; -pub use linux_headers_asm_unistd::__NR_timerfd_gettime; -pub use linux_headers_asm_unistd::__NR_utimensat; -pub use linux_headers_asm_unistd::__NR_acct; -pub use linux_headers_asm_unistd::__NR_capget; -pub use linux_headers_asm_unistd::__NR_capset; -pub use linux_headers_asm_unistd::__NR_personality; -pub use linux_headers_asm_unistd::__NR_exit; -pub use linux_headers_asm_unistd::__NR_exit_group; -pub use linux_headers_asm_unistd::__NR_waitid; -pub use linux_headers_asm_unistd::__NR_set_tid_address; -pub use linux_headers_asm_unistd::__NR_unshare; -pub use linux_headers_asm_unistd::__NR_futex; -pub use linux_headers_asm_unistd::__NR_set_robust_list; -pub use linux_headers_asm_unistd::__NR_get_robust_list; -pub use linux_headers_asm_unistd::__NR_nanosleep; -pub use linux_headers_asm_unistd::__NR_getitimer; -pub use linux_headers_asm_unistd::__NR_setitimer; -pub use linux_headers_asm_unistd::__NR_kexec_load; -pub use linux_headers_asm_unistd::__NR_init_module; -pub use linux_headers_asm_unistd::__NR_delete_module; -pub use linux_headers_asm_unistd::__NR_timer_create; -pub use linux_headers_asm_unistd::__NR_timer_gettime; -pub use linux_headers_asm_unistd::__NR_timer_getoverrun; -pub use linux_headers_asm_unistd::__NR_timer_settime; -pub use linux_headers_asm_unistd::__NR_timer_delete; -pub use linux_headers_asm_unistd::__NR_clock_settime; -pub use linux_headers_asm_unistd::__NR_clock_gettime; -pub use linux_headers_asm_unistd::__NR_clock_getres; -pub use linux_headers_asm_unistd::__NR_clock_nanosleep; -pub use linux_headers_asm_unistd::__NR_syslog; -pub use linux_headers_asm_unistd::__NR_ptrace; -pub use linux_headers_asm_unistd::__NR_sched_setparam; -pub use linux_headers_asm_unistd::__NR_sched_setscheduler; -pub use linux_headers_asm_unistd::__NR_sched_getscheduler; -pub use linux_headers_asm_unistd::__NR_sched_getparam; -pub use linux_headers_asm_unistd::__NR_sched_setaffinity; -pub use linux_headers_asm_unistd::__NR_sched_getaffinity; -pub use linux_headers_asm_unistd::__NR_sched_yield; -pub use linux_headers_asm_unistd::__NR_sched_get_priority_max; -pub use linux_headers_asm_unistd::__NR_sched_get_priority_min; -pub use linux_headers_asm_unistd::__NR_sched_rr_get_interval; -pub use linux_headers_asm_unistd::__NR_restart_syscall; -pub use linux_headers_asm_unistd::__NR_kill; -pub use linux_headers_asm_unistd::__NR_tkill; -pub use linux_headers_asm_unistd::__NR_tgkill; -pub use linux_headers_asm_unistd::__NR_sigaltstack; -pub use linux_headers_asm_unistd::__NR_rt_sigsuspend; -pub use linux_headers_asm_unistd::__NR_rt_sigaction; -pub use linux_headers_asm_unistd::__NR_rt_sigprocmask; -pub use linux_headers_asm_unistd::__NR_rt_sigpending; -pub use linux_headers_asm_unistd::__NR_rt_sigtimedwait; -pub use linux_headers_asm_unistd::__NR_rt_sigqueueinfo; -pub use linux_headers_asm_unistd::__NR_rt_sigreturn; -pub use linux_headers_asm_unistd::__NR_setpriority; -pub use linux_headers_asm_unistd::__NR_getpriority; -pub use linux_headers_asm_unistd::__NR_reboot; -pub use linux_headers_asm_unistd::__NR_setregid; -pub use linux_headers_asm_unistd::__NR_setgid; -pub use linux_headers_asm_unistd::__NR_setreuid; -pub use linux_headers_asm_unistd::__NR_setuid; -pub use linux_headers_asm_unistd::__NR_setresuid; -pub use linux_headers_asm_unistd::__NR_getresuid; -pub use linux_headers_asm_unistd::__NR_setresgid; -pub use linux_headers_asm_unistd::__NR_getresgid; -pub use linux_headers_asm_unistd::__NR_setfsuid; -pub use linux_headers_asm_unistd::__NR_setfsgid; -pub use linux_headers_asm_unistd::__NR_times; -pub use linux_headers_asm_unistd::__NR_setpgid; -pub use linux_headers_asm_unistd::__NR_getpgid; -pub use linux_headers_asm_unistd::__NR_getsid; -pub use linux_headers_asm_unistd::__NR_setsid; -pub use linux_headers_asm_unistd::__NR_getgroups; -pub use linux_headers_asm_unistd::__NR_setgroups; -pub use linux_headers_asm_unistd::__NR_uname; -pub use linux_headers_asm_unistd::__NR_sethostname; -pub use linux_headers_asm_unistd::__NR_setdomainname; -pub use linux_headers_asm_unistd::__NR_getrlimit; -pub use linux_headers_asm_unistd::__NR_setrlimit; -pub use linux_headers_asm_unistd::__NR_getrusage; -pub use linux_headers_asm_unistd::__NR_umask; -pub use linux_headers_asm_unistd::__NR_prctl; -pub use linux_headers_asm_unistd::__NR_getcpu; -pub use linux_headers_asm_unistd::__NR_gettimeofday; -pub use linux_headers_asm_unistd::__NR_settimeofday; -pub use linux_headers_asm_unistd::__NR_adjtimex; -pub use linux_headers_asm_unistd::__NR_getpid; -pub use linux_headers_asm_unistd::__NR_getppid; -pub use linux_headers_asm_unistd::__NR_getuid; -pub use linux_headers_asm_unistd::__NR_geteuid; -pub use linux_headers_asm_unistd::__NR_getgid; -pub use linux_headers_asm_unistd::__NR_getegid; -pub use linux_headers_asm_unistd::__NR_gettid; -pub use linux_headers_asm_unistd::__NR_sysinfo; -pub use linux_headers_asm_unistd::__NR_mq_open; -pub use linux_headers_asm_unistd::__NR_mq_unlink; -pub use linux_headers_asm_unistd::__NR_mq_timedsend; -pub use linux_headers_asm_unistd::__NR_mq_timedreceive; -pub use linux_headers_asm_unistd::__NR_mq_notify; -pub use linux_headers_asm_unistd::__NR_mq_getsetattr; -pub use linux_headers_asm_unistd::__NR_msgget; -pub use linux_headers_asm_unistd::__NR_msgctl; -pub use linux_headers_asm_unistd::__NR_msgrcv; -pub use linux_headers_asm_unistd::__NR_msgsnd; -pub use linux_headers_asm_unistd::__NR_semget; -pub use linux_headers_asm_unistd::__NR_semctl; -pub use linux_headers_asm_unistd::__NR_semtimedop; -pub use linux_headers_asm_unistd::__NR_semop; -pub use linux_headers_asm_unistd::__NR_shmget; -pub use linux_headers_asm_unistd::__NR_shmctl; -pub use linux_headers_asm_unistd::__NR_shmat; -pub use linux_headers_asm_unistd::__NR_shmdt; -pub use linux_headers_asm_unistd::__NR_socket; -pub use linux_headers_asm_unistd::__NR_socketpair; -pub use linux_headers_asm_unistd::__NR_bind; -pub use linux_headers_asm_unistd::__NR_listen; -pub use linux_headers_asm_unistd::__NR_accept; -pub use linux_headers_asm_unistd::__NR_connect; -pub use linux_headers_asm_unistd::__NR_getsockname; -pub use linux_headers_asm_unistd::__NR_getpeername; -pub use linux_headers_asm_unistd::__NR_sendto; -pub use linux_headers_asm_unistd::__NR_recvfrom; -pub use linux_headers_asm_unistd::__NR_setsockopt; -pub use linux_headers_asm_unistd::__NR_getsockopt; -pub use linux_headers_asm_unistd::__NR_shutdown; -pub use linux_headers_asm_unistd::__NR_sendmsg; -pub use linux_headers_asm_unistd::__NR_recvmsg; -pub use linux_headers_asm_unistd::__NR_readahead; -pub use linux_headers_asm_unistd::__NR_brk; -pub use linux_headers_asm_unistd::__NR_munmap; -pub use linux_headers_asm_unistd::__NR_mremap; -pub use linux_headers_asm_unistd::__NR_add_key; -pub use linux_headers_asm_unistd::__NR_request_key; -pub use linux_headers_asm_unistd::__NR_keyctl; -pub use linux_headers_asm_unistd::__NR_clone; -pub use linux_headers_asm_unistd::__NR_execve; -pub use linux_headers_asm_unistd::__NR_mmap; -pub use linux_headers_asm_unistd::__NR_fadvise64; -pub use linux_headers_asm_unistd::__NR_swapon; -pub use linux_headers_asm_unistd::__NR_swapoff; -pub use linux_headers_asm_unistd::__NR_mprotect; -pub use linux_headers_asm_unistd::__NR_msync; -pub use linux_headers_asm_unistd::__NR_mlock; -pub use linux_headers_asm_unistd::__NR_munlock; -pub use linux_headers_asm_unistd::__NR_mlockall; -pub use linux_headers_asm_unistd::__NR_munlockall; -pub use linux_headers_asm_unistd::__NR_mincore; -pub use linux_headers_asm_unistd::__NR_madvise; -pub use linux_headers_asm_unistd::__NR_remap_file_pages; -pub use linux_headers_asm_unistd::__NR_mbind; -pub use linux_headers_asm_unistd::__NR_get_mempolicy; -pub use linux_headers_asm_unistd::__NR_set_mempolicy; -pub use linux_headers_asm_unistd::__NR_migrate_pages; -pub use linux_headers_asm_unistd::__NR_move_pages; -pub use linux_headers_asm_unistd::__NR_rt_tgsigqueueinfo; -pub use linux_headers_asm_unistd::__NR_perf_event_open; -pub use linux_headers_asm_unistd::__NR_accept4; -pub use linux_headers_asm_unistd::__NR_recvmmsg; -pub use linux_headers_asm_unistd::__NR_wait4; -pub use linux_headers_asm_unistd::__NR_prlimit64; -pub use linux_headers_asm_unistd::__NR_fanotify_init; -pub use linux_headers_asm_unistd::__NR_fanotify_mark; -pub use linux_headers_asm_unistd::__NR_name_to_handle_at; -pub use linux_headers_asm_unistd::__NR_open_by_handle_at; -pub use linux_headers_asm_unistd::__NR_clock_adjtime; -pub use linux_headers_asm_unistd::__NR_syncfs; -pub use linux_headers_asm_unistd::__NR_setns; -pub use linux_headers_asm_unistd::__NR_sendmmsg; -pub use linux_headers_asm_unistd::__NR_process_vm_readv; -pub use linux_headers_asm_unistd::__NR_process_vm_writev; -pub use linux_headers_asm_unistd::__NR_kcmp; -pub use linux_headers_asm_unistd::__NR_finit_module; -pub use linux_headers_asm_unistd::__NR_sched_setattr; -pub use linux_headers_asm_unistd::__NR_sched_getattr; -pub use linux_headers_asm_unistd::__NR_renameat2; -pub use linux_headers_asm_unistd::__NR_seccomp; -pub use linux_headers_asm_unistd::__NR_getrandom; -pub use linux_headers_asm_unistd::__NR_memfd_create; -pub use linux_headers_asm_unistd::__NR_bpf; -pub use linux_headers_asm_unistd::__NR_execveat; -pub use linux_headers_asm_unistd::__NR_userfaultfd; -pub use linux_headers_asm_unistd::__NR_membarrier; -pub use linux_headers_asm_unistd::__NR_mlock2; -pub use linux_headers_asm_unistd::__NR_copy_file_range; -pub use linux_headers_asm_unistd::__NR_preadv2; -pub use linux_headers_asm_unistd::__NR_pwritev2; -pub use linux_headers_asm_unistd::__NR_pkey_mprotect; -pub use linux_headers_asm_unistd::__NR_pkey_alloc; -pub use linux_headers_asm_unistd::__NR_pkey_free; -pub use linux_headers_asm_unistd::__NR_statx; -pub use linux_headers_asm_unistd::__NR_io_pgetevents; -pub use linux_headers_asm_unistd::__NR_rseq; -pub use linux_headers_asm_unistd::__NR_kexec_file_load; -pub use linux_headers_asm_unistd::__NR_pidfd_send_signal; -pub use linux_headers_asm_unistd::__NR_io_uring_setup; -pub use linux_headers_asm_unistd::__NR_io_uring_enter; -pub use linux_headers_asm_unistd::__NR_io_uring_register; -pub use linux_headers_asm_unistd::__NR_open_tree; -pub use linux_headers_asm_unistd::__NR_move_mount; -pub use linux_headers_asm_unistd::__NR_fsopen; -pub use linux_headers_asm_unistd::__NR_fsconfig; -pub use linux_headers_asm_unistd::__NR_fsmount; -pub use linux_headers_asm_unistd::__NR_fspick; -pub use linux_headers_asm_unistd::__NR_pidfd_open; -pub use linux_headers_asm_unistd::__NR_clone3; -pub use linux_headers_asm_unistd::__NR_close_range; -pub use linux_headers_asm_unistd::__NR_openat2; -pub use linux_headers_asm_unistd::__NR_pidfd_getfd; -pub use linux_headers_asm_unistd::__NR_faccessat2; -pub use linux_headers_asm_unistd::__NR_process_madvise; -pub use linux_headers_asm_unistd::__NR_epoll_pwait2; -pub use linux_headers_asm_unistd::__NR_mount_setattr; -pub use linux_headers_asm_unistd::__NR_quotactl_fd; -pub use linux_headers_asm_unistd::__NR_landlock_create_ruleset; -pub use linux_headers_asm_unistd::__NR_landlock_add_rule; -pub use linux_headers_asm_unistd::__NR_landlock_restrict_self; -pub use linux_headers_asm_unistd::__NR_memfd_secret; -pub use linux_headers_asm_unistd::__NR_process_mrelease; -pub use linux_headers_asm_unistd::__NR_futex_waitv; -pub use linux_headers_asm_unistd::__NR_set_mempolicy_home_node; -pub use linux_headers_asm_unistd::__NR_cachestat; -pub use linux_headers_asm_unistd::__NR_fchmodat2; -pub use linux_headers_asm_unistd::__NR_map_shadow_stack; -pub use linux_headers_asm_unistd::__NR_futex_wake; -pub use linux_headers_asm_unistd::__NR_futex_wait; -pub use linux_headers_asm_unistd::__NR_futex_requeue; -pub use linux_headers_asm_unistd::__NR_statmount; -pub use linux_headers_asm_unistd::__NR_listmount; -pub use linux_headers_asm_unistd::__NR_lsm_get_self_attr; -pub use linux_headers_asm_unistd::__NR_lsm_set_self_attr; -pub use linux_headers_asm_unistd::__NR_lsm_list_modules; -pub use linux_headers_asm_unistd::__NR_mseal; -mod linux_headers_linux_auxvec; -pub use linux_headers_linux_auxvec::AT_SYSINFO_EHDR; -pub use linux_headers_linux_auxvec::AT_MINSIGSTKSZ; -pub use linux_headers_linux_auxvec::AT_VECTOR_SIZE_ARCH; -pub use linux_headers_linux_auxvec::AT_NULL; -pub use linux_headers_linux_auxvec::AT_IGNORE; -pub use linux_headers_linux_auxvec::AT_EXECFD; -pub use linux_headers_linux_auxvec::AT_PHDR; -pub use linux_headers_linux_auxvec::AT_PHENT; -pub use linux_headers_linux_auxvec::AT_PHNUM; -pub use linux_headers_linux_auxvec::AT_PAGESZ; -pub use linux_headers_linux_auxvec::AT_BASE; -pub use linux_headers_linux_auxvec::AT_FLAGS; -pub use linux_headers_linux_auxvec::AT_ENTRY; -pub use linux_headers_linux_auxvec::AT_NOTELF; -pub use linux_headers_linux_auxvec::AT_UID; -pub use linux_headers_linux_auxvec::AT_EUID; -pub use linux_headers_linux_auxvec::AT_GID; -pub use linux_headers_linux_auxvec::AT_EGID; -pub use linux_headers_linux_auxvec::AT_PLATFORM; -pub use linux_headers_linux_auxvec::AT_HWCAP; -pub use linux_headers_linux_auxvec::AT_CLKTCK; -pub use linux_headers_linux_auxvec::AT_SECURE; -pub use linux_headers_linux_auxvec::AT_BASE_PLATFORM; -pub use linux_headers_linux_auxvec::AT_RANDOM; -pub use linux_headers_linux_auxvec::AT_HWCAP2; -pub use linux_headers_linux_auxvec::AT_RSEQ_FEATURE_SIZE; -pub use linux_headers_linux_auxvec::AT_RSEQ_ALIGN; -pub use linux_headers_linux_auxvec::AT_HWCAP3; -pub use linux_headers_linux_auxvec::AT_HWCAP4; -pub use linux_headers_linux_auxvec::AT_EXECFN; -mod linux_headers_linux_prctl; -pub use linux_headers_linux_prctl::PR_SET_PDEATHSIG; -pub use linux_headers_linux_prctl::PR_GET_PDEATHSIG; -pub use linux_headers_linux_prctl::PR_GET_DUMPABLE; -pub use linux_headers_linux_prctl::PR_SET_DUMPABLE; -pub use linux_headers_linux_prctl::PR_GET_UNALIGN; -pub use linux_headers_linux_prctl::PR_SET_UNALIGN; -pub use linux_headers_linux_prctl::PR_UNALIGN_NOPRINT; -pub use linux_headers_linux_prctl::PR_UNALIGN_SIGBUS; -pub use linux_headers_linux_prctl::PR_GET_KEEPCAPS; -pub use linux_headers_linux_prctl::PR_SET_KEEPCAPS; -pub use linux_headers_linux_prctl::PR_GET_FPEMU; -pub use linux_headers_linux_prctl::PR_SET_FPEMU; -pub use linux_headers_linux_prctl::PR_FPEMU_NOPRINT; -pub use linux_headers_linux_prctl::PR_FPEMU_SIGFPE; -pub use linux_headers_linux_prctl::PR_GET_FPEXC; -pub use linux_headers_linux_prctl::PR_SET_FPEXC; -pub use linux_headers_linux_prctl::PR_FP_EXC_SW_ENABLE; -pub use linux_headers_linux_prctl::PR_FP_EXC_DIV; -pub use linux_headers_linux_prctl::PR_FP_EXC_OVF; -pub use linux_headers_linux_prctl::PR_FP_EXC_UND; -pub use linux_headers_linux_prctl::PR_FP_EXC_RES; -pub use linux_headers_linux_prctl::PR_FP_EXC_INV; -pub use linux_headers_linux_prctl::PR_FP_EXC_DISABLED; -pub use linux_headers_linux_prctl::PR_FP_EXC_NONRECOV; -pub use linux_headers_linux_prctl::PR_FP_EXC_ASYNC; -pub use linux_headers_linux_prctl::PR_FP_EXC_PRECISE; -pub use linux_headers_linux_prctl::PR_GET_TIMING; -pub use linux_headers_linux_prctl::PR_SET_TIMING; -pub use linux_headers_linux_prctl::PR_TIMING_STATISTICAL; -pub use linux_headers_linux_prctl::PR_TIMING_TIMESTAMP; -pub use linux_headers_linux_prctl::PR_SET_NAME; -pub use linux_headers_linux_prctl::PR_GET_NAME; -pub use linux_headers_linux_prctl::PR_GET_ENDIAN; -pub use linux_headers_linux_prctl::PR_SET_ENDIAN; -pub use linux_headers_linux_prctl::PR_ENDIAN_BIG; -pub use linux_headers_linux_prctl::PR_ENDIAN_LITTLE; -pub use linux_headers_linux_prctl::PR_ENDIAN_PPC_LITTLE; -pub use linux_headers_linux_prctl::PR_GET_SECCOMP; -pub use linux_headers_linux_prctl::PR_SET_SECCOMP; -pub use linux_headers_linux_prctl::PR_CAPBSET_READ; -pub use linux_headers_linux_prctl::PR_CAPBSET_DROP; -pub use linux_headers_linux_prctl::PR_GET_TSC; -pub use linux_headers_linux_prctl::PR_SET_TSC; -pub use linux_headers_linux_prctl::PR_TSC_ENABLE; -pub use linux_headers_linux_prctl::PR_TSC_SIGSEGV; -pub use linux_headers_linux_prctl::PR_GET_SECUREBITS; -pub use linux_headers_linux_prctl::PR_SET_SECUREBITS; -pub use linux_headers_linux_prctl::PR_SET_TIMERSLACK; -pub use linux_headers_linux_prctl::PR_GET_TIMERSLACK; -pub use linux_headers_linux_prctl::PR_TASK_PERF_EVENTS_DISABLE; -pub use linux_headers_linux_prctl::PR_TASK_PERF_EVENTS_ENABLE; -pub use linux_headers_linux_prctl::PR_MCE_KILL; -pub use linux_headers_linux_prctl::PR_MCE_KILL_CLEAR; -pub use linux_headers_linux_prctl::PR_MCE_KILL_SET; -pub use linux_headers_linux_prctl::PR_MCE_KILL_LATE; -pub use linux_headers_linux_prctl::PR_MCE_KILL_EARLY; -pub use linux_headers_linux_prctl::PR_MCE_KILL_DEFAULT; -pub use linux_headers_linux_prctl::PR_MCE_KILL_GET; -pub use linux_headers_linux_prctl::PR_SET_MM; -pub use linux_headers_linux_prctl::PR_SET_MM_START_CODE; -pub use linux_headers_linux_prctl::PR_SET_MM_END_CODE; -pub use linux_headers_linux_prctl::PR_SET_MM_START_DATA; -pub use linux_headers_linux_prctl::PR_SET_MM_END_DATA; -pub use linux_headers_linux_prctl::PR_SET_MM_START_STACK; -pub use linux_headers_linux_prctl::PR_SET_MM_START_BRK; -pub use linux_headers_linux_prctl::PR_SET_MM_BRK; -pub use linux_headers_linux_prctl::PR_SET_MM_ARG_START; -pub use linux_headers_linux_prctl::PR_SET_MM_ARG_END; -pub use linux_headers_linux_prctl::PR_SET_MM_ENV_START; -pub use linux_headers_linux_prctl::PR_SET_MM_ENV_END; -pub use linux_headers_linux_prctl::PR_SET_MM_AUXV; -pub use linux_headers_linux_prctl::PR_SET_MM_EXE_FILE; -pub use linux_headers_linux_prctl::PR_SET_MM_MAP; -pub use linux_headers_linux_prctl::PR_SET_MM_MAP_SIZE; -pub use linux_headers_linux_prctl::PR_SET_PTRACER; -pub use linux_headers_linux_prctl::PR_SET_PTRACER_ANY; -pub use linux_headers_linux_prctl::PR_SET_CHILD_SUBREAPER; -pub use linux_headers_linux_prctl::PR_GET_CHILD_SUBREAPER; -pub use linux_headers_linux_prctl::PR_SET_NO_NEW_PRIVS; -pub use linux_headers_linux_prctl::PR_GET_NO_NEW_PRIVS; -pub use linux_headers_linux_prctl::PR_GET_TID_ADDRESS; -pub use linux_headers_linux_prctl::PR_SET_THP_DISABLE; -pub use linux_headers_linux_prctl::PR_GET_THP_DISABLE; -pub use linux_headers_linux_prctl::PR_MPX_ENABLE_MANAGEMENT; -pub use linux_headers_linux_prctl::PR_MPX_DISABLE_MANAGEMENT; -pub use linux_headers_linux_prctl::PR_SET_FP_MODE; -pub use linux_headers_linux_prctl::PR_GET_FP_MODE; -pub use linux_headers_linux_prctl::PR_FP_MODE_FR; -pub use linux_headers_linux_prctl::PR_FP_MODE_FRE; -pub use linux_headers_linux_prctl::PR_CAP_AMBIENT; -pub use linux_headers_linux_prctl::PR_CAP_AMBIENT_IS_SET; -pub use linux_headers_linux_prctl::PR_CAP_AMBIENT_RAISE; -pub use linux_headers_linux_prctl::PR_CAP_AMBIENT_LOWER; -pub use linux_headers_linux_prctl::PR_CAP_AMBIENT_CLEAR_ALL; -pub use linux_headers_linux_prctl::PR_SVE_SET_VL; -pub use linux_headers_linux_prctl::PR_SVE_SET_VL_ONEXEC; -pub use linux_headers_linux_prctl::PR_SVE_GET_VL; -pub use linux_headers_linux_prctl::PR_SVE_VL_LEN_MASK; -pub use linux_headers_linux_prctl::PR_SVE_VL_INHERIT; -pub use linux_headers_linux_prctl::PR_GET_SPECULATION_CTRL; -pub use linux_headers_linux_prctl::PR_SET_SPECULATION_CTRL; -pub use linux_headers_linux_prctl::PR_SPEC_STORE_BYPASS; -pub use linux_headers_linux_prctl::PR_SPEC_INDIRECT_BRANCH; -pub use linux_headers_linux_prctl::PR_SPEC_L1D_FLUSH; -pub use linux_headers_linux_prctl::PR_SPEC_NOT_AFFECTED; -pub use linux_headers_linux_prctl::PR_SPEC_PRCTL; -pub use linux_headers_linux_prctl::PR_SPEC_ENABLE; -pub use linux_headers_linux_prctl::PR_SPEC_DISABLE; -pub use linux_headers_linux_prctl::PR_SPEC_FORCE_DISABLE; -pub use linux_headers_linux_prctl::PR_SPEC_DISABLE_NOEXEC; -pub use linux_headers_linux_prctl::PR_PAC_RESET_KEYS; -pub use linux_headers_linux_prctl::PR_PAC_APIAKEY; -pub use linux_headers_linux_prctl::PR_PAC_APIBKEY; -pub use linux_headers_linux_prctl::PR_PAC_APDAKEY; -pub use linux_headers_linux_prctl::PR_PAC_APDBKEY; -pub use linux_headers_linux_prctl::PR_PAC_APGAKEY; -pub use linux_headers_linux_prctl::PR_SET_TAGGED_ADDR_CTRL; -pub use linux_headers_linux_prctl::PR_GET_TAGGED_ADDR_CTRL; -pub use linux_headers_linux_prctl::PR_TAGGED_ADDR_ENABLE; -pub use linux_headers_linux_prctl::PR_MTE_TCF_NONE; -pub use linux_headers_linux_prctl::PR_MTE_TCF_SYNC; -pub use linux_headers_linux_prctl::PR_MTE_TCF_ASYNC; -pub use linux_headers_linux_prctl::PR_MTE_TCF_MASK; -pub use linux_headers_linux_prctl::PR_MTE_TAG_SHIFT; -pub use linux_headers_linux_prctl::PR_MTE_TAG_MASK; -pub use linux_headers_linux_prctl::PR_MTE_TCF_SHIFT; -pub use linux_headers_linux_prctl::PR_SET_IO_FLUSHER; -pub use linux_headers_linux_prctl::PR_GET_IO_FLUSHER; -pub use linux_headers_linux_prctl::PR_SET_SYSCALL_USER_DISPATCH; -pub use linux_headers_linux_prctl::PR_SYS_DISPATCH_OFF; -pub use linux_headers_linux_prctl::PR_SYS_DISPATCH_ON; -pub use linux_headers_linux_prctl::PR_PAC_SET_ENABLED_KEYS; -pub use linux_headers_linux_prctl::PR_PAC_GET_ENABLED_KEYS; -pub use linux_headers_linux_prctl::PR_SCHED_CORE; -pub use linux_headers_linux_prctl::PR_SCHED_CORE_GET; -pub use linux_headers_linux_prctl::PR_SCHED_CORE_CREATE; -pub use linux_headers_linux_prctl::PR_SCHED_CORE_SHARE_TO; -pub use linux_headers_linux_prctl::PR_SCHED_CORE_SHARE_FROM; -pub use linux_headers_linux_prctl::PR_SCHED_CORE_MAX; -pub use linux_headers_linux_prctl::PR_SCHED_CORE_SCOPE_THREAD; -pub use linux_headers_linux_prctl::PR_SCHED_CORE_SCOPE_THREAD_GROUP; -pub use linux_headers_linux_prctl::PR_SCHED_CORE_SCOPE_PROCESS_GROUP; -pub use linux_headers_linux_prctl::PR_SME_SET_VL; -pub use linux_headers_linux_prctl::PR_SME_SET_VL_ONEXEC; -pub use linux_headers_linux_prctl::PR_SME_GET_VL; -pub use linux_headers_linux_prctl::PR_SME_VL_LEN_MASK; -pub use linux_headers_linux_prctl::PR_SME_VL_INHERIT; -pub use linux_headers_linux_prctl::PR_SET_MDWE; -pub use linux_headers_linux_prctl::PR_MDWE_REFUSE_EXEC_GAIN; -pub use linux_headers_linux_prctl::PR_MDWE_NO_INHERIT; -pub use linux_headers_linux_prctl::PR_GET_MDWE; -pub use linux_headers_linux_prctl::PR_SET_VMA; -pub use linux_headers_linux_prctl::PR_SET_VMA_ANON_NAME; -pub use linux_headers_linux_prctl::PR_GET_AUXV; -pub use linux_headers_linux_prctl::PR_SET_MEMORY_MERGE; -pub use linux_headers_linux_prctl::PR_GET_MEMORY_MERGE; -pub use linux_headers_linux_prctl::PR_RISCV_V_SET_CONTROL; -pub use linux_headers_linux_prctl::PR_RISCV_V_GET_CONTROL; -pub use linux_headers_linux_prctl::PR_RISCV_V_VSTATE_CTRL_DEFAULT; -pub use linux_headers_linux_prctl::PR_RISCV_V_VSTATE_CTRL_OFF; -pub use linux_headers_linux_prctl::PR_RISCV_V_VSTATE_CTRL_ON; -pub use linux_headers_linux_prctl::PR_RISCV_V_VSTATE_CTRL_INHERIT; -pub use linux_headers_linux_prctl::PR_RISCV_V_VSTATE_CTRL_CUR_MASK; -pub use linux_headers_linux_prctl::PR_RISCV_V_VSTATE_CTRL_NEXT_MASK; -pub use linux_headers_linux_prctl::PR_RISCV_V_VSTATE_CTRL_MASK; -pub use linux_headers_linux_prctl::PR_RISCV_SET_ICACHE_FLUSH_CTX; -pub use linux_headers_linux_prctl::PR_RISCV_CTX_SW_FENCEI_ON; -pub use linux_headers_linux_prctl::PR_RISCV_CTX_SW_FENCEI_OFF; -pub use linux_headers_linux_prctl::PR_RISCV_SCOPE_PER_PROCESS; -pub use linux_headers_linux_prctl::PR_RISCV_SCOPE_PER_THREAD; -pub use linux_headers_linux_prctl::PR_PPC_GET_DEXCR; -pub use linux_headers_linux_prctl::PR_PPC_SET_DEXCR; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_SBHE; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_IBRTPD; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_SRAPD; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_NPHIE; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_CTRL_EDITABLE; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_CTRL_SET; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_CTRL_CLEAR; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_CTRL_SET_ONEXEC; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_CTRL_CLEAR_ONEXEC; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_CTRL_MASK; -mod dlfcn; -pub use dlfcn::RTLD_DEFAULT; -pub use dlfcn::dlsym; -mod elf; -pub use elf::Elf32_auxv_t; -pub use elf::Elf64_auxv_t; -mod sys_auxv; -pub use sys_auxv::getauxval; -mod unistd; -pub use unistd::syscall; -pub type c_char = u8; diff --git a/tests/helper/src/gen/sys/aarch64_linux_uclibc/sys_auxv.rs b/tests/helper/src/gen/sys/aarch64_linux_uclibc/sys_auxv.rs deleted file mode 100644 index 1fe1c678..00000000 --- a/tests/helper/src/gen/sys/aarch64_linux_uclibc/sys_auxv.rs +++ /dev/null @@ -1,10 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -extern "C" { - pub fn getauxval(__type: ::std::os::raw::c_ulong) -> ::std::os::raw::c_ulong; -} diff --git a/tests/helper/src/gen/sys/aarch64_linux_uclibc/unistd.rs b/tests/helper/src/gen/sys/aarch64_linux_uclibc/unistd.rs deleted file mode 100644 index eab78d00..00000000 --- a/tests/helper/src/gen/sys/aarch64_linux_uclibc/unistd.rs +++ /dev/null @@ -1,10 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -extern "C" { - pub fn syscall(__sysno: ::std::os::raw::c_long, ...) -> ::std::os::raw::c_long; -} diff --git a/tests/helper/src/gen/sys/aarch64_netbsd/machine_armreg.rs b/tests/helper/src/gen/sys/aarch64_netbsd/machine_armreg.rs deleted file mode 100644 index 552c2eed..00000000 --- a/tests/helper/src/gen/sys/aarch64_netbsd/machine_armreg.rs +++ /dev/null @@ -1,30 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -#[repr(C)] -#[derive(Copy, Clone)] -pub struct aarch64_sysctl_cpu_id { - pub ac_midr: u64, - pub ac_revidr: u64, - pub ac_mpidr: u64, - pub ac_aa64dfr0: u64, - pub ac_aa64dfr1: u64, - pub ac_aa64isar0: u64, - pub ac_aa64isar1: u64, - pub ac_aa64mmfr0: u64, - pub ac_aa64mmfr1: u64, - pub ac_aa64mmfr2: u64, - pub ac_aa64pfr0: u64, - pub ac_aa64pfr1: u64, - pub ac_aa64zfr0: u64, - pub ac_mvfr0: u32, - pub ac_mvfr1: u32, - pub ac_mvfr2: u32, - pub ac_pad: u32, - pub ac_clidr: u64, - pub ac_ctr: u64, -} diff --git a/tests/helper/src/gen/sys/aarch64_netbsd/mod.rs b/tests/helper/src/gen/sys/aarch64_netbsd/mod.rs deleted file mode 100644 index bee636ff..00000000 --- a/tests/helper/src/gen/sys/aarch64_netbsd/mod.rs +++ /dev/null @@ -1,474 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] -mod sys_syscall; -pub use sys_syscall::SYS_MAXSYSARGS; -pub use sys_syscall::SYS_syscall; -pub use sys_syscall::SYS_exit; -pub use sys_syscall::SYS_fork; -pub use sys_syscall::SYS_read; -pub use sys_syscall::SYS_write; -pub use sys_syscall::SYS_open; -pub use sys_syscall::SYS_close; -pub use sys_syscall::SYS_compat_50_wait4; -pub use sys_syscall::SYS_compat_43_ocreat; -pub use sys_syscall::SYS_link; -pub use sys_syscall::SYS_unlink; -pub use sys_syscall::SYS_chdir; -pub use sys_syscall::SYS_fchdir; -pub use sys_syscall::SYS_compat_50_mknod; -pub use sys_syscall::SYS_chmod; -pub use sys_syscall::SYS_chown; -pub use sys_syscall::SYS_break; -pub use sys_syscall::SYS_compat_20_getfsstat; -pub use sys_syscall::SYS_compat_43_olseek; -pub use sys_syscall::SYS_getpid; -pub use sys_syscall::SYS_compat_40_mount; -pub use sys_syscall::SYS_unmount; -pub use sys_syscall::SYS_setuid; -pub use sys_syscall::SYS_getuid; -pub use sys_syscall::SYS_geteuid; -pub use sys_syscall::SYS_ptrace; -pub use sys_syscall::SYS_recvmsg; -pub use sys_syscall::SYS_sendmsg; -pub use sys_syscall::SYS_recvfrom; -pub use sys_syscall::SYS_accept; -pub use sys_syscall::SYS_getpeername; -pub use sys_syscall::SYS_getsockname; -pub use sys_syscall::SYS_access; -pub use sys_syscall::SYS_chflags; -pub use sys_syscall::SYS_fchflags; -pub use sys_syscall::SYS_sync; -pub use sys_syscall::SYS_kill; -pub use sys_syscall::SYS_compat_43_stat43; -pub use sys_syscall::SYS_getppid; -pub use sys_syscall::SYS_compat_43_lstat43; -pub use sys_syscall::SYS_dup; -pub use sys_syscall::SYS_pipe; -pub use sys_syscall::SYS_getegid; -pub use sys_syscall::SYS_profil; -pub use sys_syscall::SYS_ktrace; -pub use sys_syscall::SYS_compat_13_sigaction13; -pub use sys_syscall::SYS_getgid; -pub use sys_syscall::SYS_compat_13_sigprocmask13; -pub use sys_syscall::SYS___getlogin; -pub use sys_syscall::SYS___setlogin; -pub use sys_syscall::SYS_acct; -pub use sys_syscall::SYS_compat_13_sigpending13; -pub use sys_syscall::SYS_compat_13_sigaltstack13; -pub use sys_syscall::SYS_ioctl; -pub use sys_syscall::SYS_compat_12_oreboot; -pub use sys_syscall::SYS_revoke; -pub use sys_syscall::SYS_symlink; -pub use sys_syscall::SYS_readlink; -pub use sys_syscall::SYS_execve; -pub use sys_syscall::SYS_umask; -pub use sys_syscall::SYS_chroot; -pub use sys_syscall::SYS_compat_43_fstat43; -pub use sys_syscall::SYS_compat_43_ogetkerninfo; -pub use sys_syscall::SYS_compat_43_ogetpagesize; -pub use sys_syscall::SYS_compat_12_msync; -pub use sys_syscall::SYS_vfork; -pub use sys_syscall::SYS_compat_43_ommap; -pub use sys_syscall::SYS_vadvise; -pub use sys_syscall::SYS_munmap; -pub use sys_syscall::SYS_mprotect; -pub use sys_syscall::SYS_madvise; -pub use sys_syscall::SYS_mincore; -pub use sys_syscall::SYS_getgroups; -pub use sys_syscall::SYS_setgroups; -pub use sys_syscall::SYS_getpgrp; -pub use sys_syscall::SYS_setpgid; -pub use sys_syscall::SYS_compat_50_setitimer; -pub use sys_syscall::SYS_compat_43_owait; -pub use sys_syscall::SYS_compat_12_oswapon; -pub use sys_syscall::SYS_compat_50_getitimer; -pub use sys_syscall::SYS_compat_43_ogethostname; -pub use sys_syscall::SYS_compat_43_osethostname; -pub use sys_syscall::SYS_compat_43_ogetdtablesize; -pub use sys_syscall::SYS_dup2; -pub use sys_syscall::SYS_getrandom; -pub use sys_syscall::SYS_fcntl; -pub use sys_syscall::SYS_compat_50_select; -pub use sys_syscall::SYS_fsync; -pub use sys_syscall::SYS_setpriority; -pub use sys_syscall::SYS_compat_30_socket; -pub use sys_syscall::SYS_connect; -pub use sys_syscall::SYS_compat_43_oaccept; -pub use sys_syscall::SYS_getpriority; -pub use sys_syscall::SYS_compat_43_osend; -pub use sys_syscall::SYS_compat_43_orecv; -pub use sys_syscall::SYS_compat_13_sigreturn13; -pub use sys_syscall::SYS_bind; -pub use sys_syscall::SYS_setsockopt; -pub use sys_syscall::SYS_listen; -pub use sys_syscall::SYS_compat_43_osigvec; -pub use sys_syscall::SYS_compat_43_osigblock; -pub use sys_syscall::SYS_compat_43_osigsetmask; -pub use sys_syscall::SYS_compat_13_sigsuspend13; -pub use sys_syscall::SYS_compat_43_osigstack; -pub use sys_syscall::SYS_compat_43_orecvmsg; -pub use sys_syscall::SYS_compat_43_osendmsg; -pub use sys_syscall::SYS_compat_50_gettimeofday; -pub use sys_syscall::SYS_compat_50_getrusage; -pub use sys_syscall::SYS_getsockopt; -pub use sys_syscall::SYS_readv; -pub use sys_syscall::SYS_writev; -pub use sys_syscall::SYS_compat_50_settimeofday; -pub use sys_syscall::SYS_fchown; -pub use sys_syscall::SYS_fchmod; -pub use sys_syscall::SYS_compat_43_orecvfrom; -pub use sys_syscall::SYS_setreuid; -pub use sys_syscall::SYS_setregid; -pub use sys_syscall::SYS_rename; -pub use sys_syscall::SYS_compat_43_otruncate; -pub use sys_syscall::SYS_compat_43_oftruncate; -pub use sys_syscall::SYS_flock; -pub use sys_syscall::SYS_mkfifo; -pub use sys_syscall::SYS_sendto; -pub use sys_syscall::SYS_shutdown; -pub use sys_syscall::SYS_socketpair; -pub use sys_syscall::SYS_mkdir; -pub use sys_syscall::SYS_rmdir; -pub use sys_syscall::SYS_compat_50_utimes; -pub use sys_syscall::SYS_compat_50_adjtime; -pub use sys_syscall::SYS_compat_43_ogetpeername; -pub use sys_syscall::SYS_compat_43_ogethostid; -pub use sys_syscall::SYS_compat_43_osethostid; -pub use sys_syscall::SYS_compat_43_ogetrlimit; -pub use sys_syscall::SYS_compat_43_osetrlimit; -pub use sys_syscall::SYS_compat_43_okillpg; -pub use sys_syscall::SYS_setsid; -pub use sys_syscall::SYS_compat_50_quotactl; -pub use sys_syscall::SYS_compat_43_oquota; -pub use sys_syscall::SYS_compat_43_ogetsockname; -pub use sys_syscall::SYS_nfssvc; -pub use sys_syscall::SYS_compat_43_ogetdirentries; -pub use sys_syscall::SYS_compat_20_statfs; -pub use sys_syscall::SYS_compat_20_fstatfs; -pub use sys_syscall::SYS_compat_30_getfh; -pub use sys_syscall::SYS_compat_09_ogetdomainname; -pub use sys_syscall::SYS_compat_09_osetdomainname; -pub use sys_syscall::SYS_compat_09_ouname; -pub use sys_syscall::SYS_sysarch; -pub use sys_syscall::SYS___futex; -pub use sys_syscall::SYS___futex_set_robust_list; -pub use sys_syscall::SYS___futex_get_robust_list; -pub use sys_syscall::SYS_pread; -pub use sys_syscall::SYS_pwrite; -pub use sys_syscall::SYS_compat_30_ntp_gettime; -pub use sys_syscall::SYS_ntp_adjtime; -pub use sys_syscall::SYS_timerfd_create; -pub use sys_syscall::SYS_timerfd_settime; -pub use sys_syscall::SYS_timerfd_gettime; -pub use sys_syscall::SYS_setgid; -pub use sys_syscall::SYS_setegid; -pub use sys_syscall::SYS_seteuid; -pub use sys_syscall::SYS_lfs_bmapv; -pub use sys_syscall::SYS_lfs_markv; -pub use sys_syscall::SYS_lfs_segclean; -pub use sys_syscall::SYS_compat_50_lfs_segwait; -pub use sys_syscall::SYS_compat_12_stat12; -pub use sys_syscall::SYS_compat_12_fstat12; -pub use sys_syscall::SYS_compat_12_lstat12; -pub use sys_syscall::SYS_pathconf; -pub use sys_syscall::SYS_fpathconf; -pub use sys_syscall::SYS_getsockopt2; -pub use sys_syscall::SYS_getrlimit; -pub use sys_syscall::SYS_setrlimit; -pub use sys_syscall::SYS_compat_12_getdirentries; -pub use sys_syscall::SYS_mmap; -pub use sys_syscall::SYS___syscall; -pub use sys_syscall::SYS_lseek; -pub use sys_syscall::SYS_truncate; -pub use sys_syscall::SYS_ftruncate; -pub use sys_syscall::SYS___sysctl; -pub use sys_syscall::SYS_mlock; -pub use sys_syscall::SYS_munlock; -pub use sys_syscall::SYS_undelete; -pub use sys_syscall::SYS_compat_50_futimes; -pub use sys_syscall::SYS_getpgid; -pub use sys_syscall::SYS_reboot; -pub use sys_syscall::SYS_poll; -pub use sys_syscall::SYS_afssys; -pub use sys_syscall::SYS_compat_14___semctl; -pub use sys_syscall::SYS_semget; -pub use sys_syscall::SYS_semop; -pub use sys_syscall::SYS_semconfig; -pub use sys_syscall::SYS_compat_14_msgctl; -pub use sys_syscall::SYS_msgget; -pub use sys_syscall::SYS_msgsnd; -pub use sys_syscall::SYS_msgrcv; -pub use sys_syscall::SYS_shmat; -pub use sys_syscall::SYS_compat_14_shmctl; -pub use sys_syscall::SYS_shmdt; -pub use sys_syscall::SYS_shmget; -pub use sys_syscall::SYS_compat_50_clock_gettime; -pub use sys_syscall::SYS_compat_50_clock_settime; -pub use sys_syscall::SYS_compat_50_clock_getres; -pub use sys_syscall::SYS_timer_create; -pub use sys_syscall::SYS_timer_delete; -pub use sys_syscall::SYS_compat_50_timer_settime; -pub use sys_syscall::SYS_compat_50_timer_gettime; -pub use sys_syscall::SYS_timer_getoverrun; -pub use sys_syscall::SYS_compat_50_nanosleep; -pub use sys_syscall::SYS_fdatasync; -pub use sys_syscall::SYS_mlockall; -pub use sys_syscall::SYS_munlockall; -pub use sys_syscall::SYS_compat_50___sigtimedwait; -pub use sys_syscall::SYS_sigqueueinfo; -pub use sys_syscall::SYS_modctl; -pub use sys_syscall::SYS__ksem_init; -pub use sys_syscall::SYS__ksem_open; -pub use sys_syscall::SYS__ksem_unlink; -pub use sys_syscall::SYS__ksem_close; -pub use sys_syscall::SYS__ksem_post; -pub use sys_syscall::SYS__ksem_wait; -pub use sys_syscall::SYS__ksem_trywait; -pub use sys_syscall::SYS__ksem_getvalue; -pub use sys_syscall::SYS__ksem_destroy; -pub use sys_syscall::SYS__ksem_timedwait; -pub use sys_syscall::SYS_mq_open; -pub use sys_syscall::SYS_mq_close; -pub use sys_syscall::SYS_mq_unlink; -pub use sys_syscall::SYS_mq_getattr; -pub use sys_syscall::SYS_mq_setattr; -pub use sys_syscall::SYS_mq_notify; -pub use sys_syscall::SYS_mq_send; -pub use sys_syscall::SYS_mq_receive; -pub use sys_syscall::SYS_compat_50_mq_timedsend; -pub use sys_syscall::SYS_compat_50_mq_timedreceive; -pub use sys_syscall::SYS_eventfd; -pub use sys_syscall::SYS___posix_rename; -pub use sys_syscall::SYS_swapctl; -pub use sys_syscall::SYS_compat_30_getdents; -pub use sys_syscall::SYS_minherit; -pub use sys_syscall::SYS_lchmod; -pub use sys_syscall::SYS_lchown; -pub use sys_syscall::SYS_compat_50_lutimes; -pub use sys_syscall::SYS___msync13; -pub use sys_syscall::SYS_compat_30___stat13; -pub use sys_syscall::SYS_compat_30___fstat13; -pub use sys_syscall::SYS_compat_30___lstat13; -pub use sys_syscall::SYS___sigaltstack14; -pub use sys_syscall::SYS___vfork14; -pub use sys_syscall::SYS___posix_chown; -pub use sys_syscall::SYS___posix_fchown; -pub use sys_syscall::SYS___posix_lchown; -pub use sys_syscall::SYS_getsid; -pub use sys_syscall::SYS___clone; -pub use sys_syscall::SYS_fktrace; -pub use sys_syscall::SYS_preadv; -pub use sys_syscall::SYS_pwritev; -pub use sys_syscall::SYS_compat_16___sigaction14; -pub use sys_syscall::SYS___sigpending14; -pub use sys_syscall::SYS___sigprocmask14; -pub use sys_syscall::SYS___sigsuspend14; -pub use sys_syscall::SYS_compat_16___sigreturn14; -pub use sys_syscall::SYS___getcwd; -pub use sys_syscall::SYS_fchroot; -pub use sys_syscall::SYS_compat_30_fhopen; -pub use sys_syscall::SYS_compat_30_fhstat; -pub use sys_syscall::SYS_compat_20_fhstatfs; -pub use sys_syscall::SYS_compat_50_____semctl13; -pub use sys_syscall::SYS_compat_50___msgctl13; -pub use sys_syscall::SYS_compat_50___shmctl13; -pub use sys_syscall::SYS_lchflags; -pub use sys_syscall::SYS_issetugid; -pub use sys_syscall::SYS_utrace; -pub use sys_syscall::SYS_getcontext; -pub use sys_syscall::SYS_setcontext; -pub use sys_syscall::SYS__lwp_create; -pub use sys_syscall::SYS__lwp_exit; -pub use sys_syscall::SYS__lwp_self; -pub use sys_syscall::SYS__lwp_wait; -pub use sys_syscall::SYS__lwp_suspend; -pub use sys_syscall::SYS__lwp_continue; -pub use sys_syscall::SYS__lwp_wakeup; -pub use sys_syscall::SYS__lwp_getprivate; -pub use sys_syscall::SYS__lwp_setprivate; -pub use sys_syscall::SYS__lwp_kill; -pub use sys_syscall::SYS__lwp_detach; -pub use sys_syscall::SYS_compat_50__lwp_park; -pub use sys_syscall::SYS__lwp_unpark; -pub use sys_syscall::SYS__lwp_unpark_all; -pub use sys_syscall::SYS__lwp_setname; -pub use sys_syscall::SYS__lwp_getname; -pub use sys_syscall::SYS__lwp_ctl; -pub use sys_syscall::SYS_compat_60_sa_register; -pub use sys_syscall::SYS_compat_60_sa_stacks; -pub use sys_syscall::SYS_compat_60_sa_enable; -pub use sys_syscall::SYS_compat_60_sa_setconcurrency; -pub use sys_syscall::SYS_compat_60_sa_yield; -pub use sys_syscall::SYS_compat_60_sa_preempt; -pub use sys_syscall::SYS___sigaction_sigtramp; -pub use sys_syscall::SYS_rasctl; -pub use sys_syscall::SYS_kqueue; -pub use sys_syscall::SYS_compat_50_kevent; -pub use sys_syscall::SYS__sched_setparam; -pub use sys_syscall::SYS__sched_getparam; -pub use sys_syscall::SYS__sched_setaffinity; -pub use sys_syscall::SYS__sched_getaffinity; -pub use sys_syscall::SYS_sched_yield; -pub use sys_syscall::SYS__sched_protect; -pub use sys_syscall::SYS_fsync_range; -pub use sys_syscall::SYS_uuidgen; -pub use sys_syscall::SYS_compat_90_getvfsstat; -pub use sys_syscall::SYS_compat_90_statvfs1; -pub use sys_syscall::SYS_compat_90_fstatvfs1; -pub use sys_syscall::SYS_compat_30_fhstatvfs1; -pub use sys_syscall::SYS_extattrctl; -pub use sys_syscall::SYS_extattr_set_file; -pub use sys_syscall::SYS_extattr_get_file; -pub use sys_syscall::SYS_extattr_delete_file; -pub use sys_syscall::SYS_extattr_set_fd; -pub use sys_syscall::SYS_extattr_get_fd; -pub use sys_syscall::SYS_extattr_delete_fd; -pub use sys_syscall::SYS_extattr_set_link; -pub use sys_syscall::SYS_extattr_get_link; -pub use sys_syscall::SYS_extattr_delete_link; -pub use sys_syscall::SYS_extattr_list_fd; -pub use sys_syscall::SYS_extattr_list_file; -pub use sys_syscall::SYS_extattr_list_link; -pub use sys_syscall::SYS_compat_50_pselect; -pub use sys_syscall::SYS_compat_50_pollts; -pub use sys_syscall::SYS_setxattr; -pub use sys_syscall::SYS_lsetxattr; -pub use sys_syscall::SYS_fsetxattr; -pub use sys_syscall::SYS_getxattr; -pub use sys_syscall::SYS_lgetxattr; -pub use sys_syscall::SYS_fgetxattr; -pub use sys_syscall::SYS_listxattr; -pub use sys_syscall::SYS_llistxattr; -pub use sys_syscall::SYS_flistxattr; -pub use sys_syscall::SYS_removexattr; -pub use sys_syscall::SYS_lremovexattr; -pub use sys_syscall::SYS_fremovexattr; -pub use sys_syscall::SYS_compat_50___stat30; -pub use sys_syscall::SYS_compat_50___fstat30; -pub use sys_syscall::SYS_compat_50___lstat30; -pub use sys_syscall::SYS___getdents30; -pub use sys_syscall::SYS_compat_30___fhstat30; -pub use sys_syscall::SYS_compat_50___ntp_gettime30; -pub use sys_syscall::SYS___socket30; -pub use sys_syscall::SYS___getfh30; -pub use sys_syscall::SYS___fhopen40; -pub use sys_syscall::SYS_compat_90_fhstatvfs1; -pub use sys_syscall::SYS_compat_50___fhstat40; -pub use sys_syscall::SYS_aio_cancel; -pub use sys_syscall::SYS_aio_error; -pub use sys_syscall::SYS_aio_fsync; -pub use sys_syscall::SYS_aio_read; -pub use sys_syscall::SYS_aio_return; -pub use sys_syscall::SYS_compat_50_aio_suspend; -pub use sys_syscall::SYS_aio_write; -pub use sys_syscall::SYS_lio_listio; -pub use sys_syscall::SYS___mount50; -pub use sys_syscall::SYS_mremap; -pub use sys_syscall::SYS_pset_create; -pub use sys_syscall::SYS_pset_destroy; -pub use sys_syscall::SYS_pset_assign; -pub use sys_syscall::SYS__pset_bind; -pub use sys_syscall::SYS___posix_fadvise50; -pub use sys_syscall::SYS___select50; -pub use sys_syscall::SYS___gettimeofday50; -pub use sys_syscall::SYS___settimeofday50; -pub use sys_syscall::SYS___utimes50; -pub use sys_syscall::SYS___adjtime50; -pub use sys_syscall::SYS___lfs_segwait50; -pub use sys_syscall::SYS___futimes50; -pub use sys_syscall::SYS___lutimes50; -pub use sys_syscall::SYS___setitimer50; -pub use sys_syscall::SYS___getitimer50; -pub use sys_syscall::SYS___clock_gettime50; -pub use sys_syscall::SYS___clock_settime50; -pub use sys_syscall::SYS___clock_getres50; -pub use sys_syscall::SYS___nanosleep50; -pub use sys_syscall::SYS_____sigtimedwait50; -pub use sys_syscall::SYS___mq_timedsend50; -pub use sys_syscall::SYS___mq_timedreceive50; -pub use sys_syscall::SYS_compat_60__lwp_park; -pub use sys_syscall::SYS_compat_100___kevent50; -pub use sys_syscall::SYS___pselect50; -pub use sys_syscall::SYS___pollts50; -pub use sys_syscall::SYS___aio_suspend50; -pub use sys_syscall::SYS___stat50; -pub use sys_syscall::SYS___fstat50; -pub use sys_syscall::SYS___lstat50; -pub use sys_syscall::SYS_____semctl50; -pub use sys_syscall::SYS___shmctl50; -pub use sys_syscall::SYS___msgctl50; -pub use sys_syscall::SYS___getrusage50; -pub use sys_syscall::SYS___timer_settime50; -pub use sys_syscall::SYS___timer_gettime50; -pub use sys_syscall::SYS___ntp_gettime50; -pub use sys_syscall::SYS___wait450; -pub use sys_syscall::SYS___mknod50; -pub use sys_syscall::SYS___fhstat50; -pub use sys_syscall::SYS_pipe2; -pub use sys_syscall::SYS_compat_100_dup3; -pub use sys_syscall::SYS_kqueue1; -pub use sys_syscall::SYS_paccept; -pub use sys_syscall::SYS_linkat; -pub use sys_syscall::SYS_renameat; -pub use sys_syscall::SYS_mkfifoat; -pub use sys_syscall::SYS_mknodat; -pub use sys_syscall::SYS_mkdirat; -pub use sys_syscall::SYS_faccessat; -pub use sys_syscall::SYS_fchmodat; -pub use sys_syscall::SYS_fchownat; -pub use sys_syscall::SYS_fexecve; -pub use sys_syscall::SYS_fstatat; -pub use sys_syscall::SYS_utimensat; -pub use sys_syscall::SYS_openat; -pub use sys_syscall::SYS_readlinkat; -pub use sys_syscall::SYS_symlinkat; -pub use sys_syscall::SYS_unlinkat; -pub use sys_syscall::SYS_futimens; -pub use sys_syscall::SYS___quotactl; -pub use sys_syscall::SYS_posix_spawn; -pub use sys_syscall::SYS_recvmmsg; -pub use sys_syscall::SYS_sendmmsg; -pub use sys_syscall::SYS_clock_nanosleep; -pub use sys_syscall::SYS____lwp_park60; -pub use sys_syscall::SYS_posix_fallocate; -pub use sys_syscall::SYS_fdiscard; -pub use sys_syscall::SYS_wait6; -pub use sys_syscall::SYS_clock_getcpuclockid2; -pub use sys_syscall::SYS___getvfsstat90; -pub use sys_syscall::SYS___statvfs190; -pub use sys_syscall::SYS___fstatvfs190; -pub use sys_syscall::SYS___fhstatvfs190; -pub use sys_syscall::SYS___acl_get_link; -pub use sys_syscall::SYS___acl_set_link; -pub use sys_syscall::SYS___acl_delete_link; -pub use sys_syscall::SYS___acl_aclcheck_link; -pub use sys_syscall::SYS___acl_get_file; -pub use sys_syscall::SYS___acl_set_file; -pub use sys_syscall::SYS___acl_get_fd; -pub use sys_syscall::SYS___acl_set_fd; -pub use sys_syscall::SYS___acl_delete_file; -pub use sys_syscall::SYS___acl_delete_fd; -pub use sys_syscall::SYS___acl_aclcheck_file; -pub use sys_syscall::SYS___acl_aclcheck_fd; -pub use sys_syscall::SYS_lpathconf; -pub use sys_syscall::SYS_memfd_create; -pub use sys_syscall::SYS___kevent100; -pub use sys_syscall::SYS_epoll_create1; -pub use sys_syscall::SYS_epoll_ctl; -pub use sys_syscall::SYS_epoll_pwait2; -pub use sys_syscall::SYS___dup3100; -pub use sys_syscall::SYS_MAXSYSCALL; -pub use sys_syscall::SYS_NSYSENT; -mod sys_sysctl; -pub use sys_sysctl::SYSCTL_VERS_1; -pub use sys_sysctl::SYSCTL_VERSION; -pub use sys_sysctl::CTL_QUERY; -pub use sys_sysctl::sysctlbyname; -pub use sys_sysctl::sysctlnode; -mod machine_armreg; -pub use machine_armreg::aarch64_sysctl_cpu_id; -pub type c_char = u8; diff --git a/tests/helper/src/gen/sys/aarch64_netbsd/sys_syscall.rs b/tests/helper/src/gen/sys/aarch64_netbsd/sys_syscall.rs deleted file mode 100644 index fc14a1d5..00000000 --- a/tests/helper/src/gen/sys/aarch64_netbsd/sys_syscall.rs +++ /dev/null @@ -1,465 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -pub const SYS_MAXSYSARGS: u32 = 8; -pub const SYS_syscall: u32 = 0; -pub const SYS_exit: u32 = 1; -pub const SYS_fork: u32 = 2; -pub const SYS_read: u32 = 3; -pub const SYS_write: u32 = 4; -pub const SYS_open: u32 = 5; -pub const SYS_close: u32 = 6; -pub const SYS_compat_50_wait4: u32 = 7; -pub const SYS_compat_43_ocreat: u32 = 8; -pub const SYS_link: u32 = 9; -pub const SYS_unlink: u32 = 10; -pub const SYS_chdir: u32 = 12; -pub const SYS_fchdir: u32 = 13; -pub const SYS_compat_50_mknod: u32 = 14; -pub const SYS_chmod: u32 = 15; -pub const SYS_chown: u32 = 16; -pub const SYS_break: u32 = 17; -pub const SYS_compat_20_getfsstat: u32 = 18; -pub const SYS_compat_43_olseek: u32 = 19; -pub const SYS_getpid: u32 = 20; -pub const SYS_compat_40_mount: u32 = 21; -pub const SYS_unmount: u32 = 22; -pub const SYS_setuid: u32 = 23; -pub const SYS_getuid: u32 = 24; -pub const SYS_geteuid: u32 = 25; -pub const SYS_ptrace: u32 = 26; -pub const SYS_recvmsg: u32 = 27; -pub const SYS_sendmsg: u32 = 28; -pub const SYS_recvfrom: u32 = 29; -pub const SYS_accept: u32 = 30; -pub const SYS_getpeername: u32 = 31; -pub const SYS_getsockname: u32 = 32; -pub const SYS_access: u32 = 33; -pub const SYS_chflags: u32 = 34; -pub const SYS_fchflags: u32 = 35; -pub const SYS_sync: u32 = 36; -pub const SYS_kill: u32 = 37; -pub const SYS_compat_43_stat43: u32 = 38; -pub const SYS_getppid: u32 = 39; -pub const SYS_compat_43_lstat43: u32 = 40; -pub const SYS_dup: u32 = 41; -pub const SYS_pipe: u32 = 42; -pub const SYS_getegid: u32 = 43; -pub const SYS_profil: u32 = 44; -pub const SYS_ktrace: u32 = 45; -pub const SYS_compat_13_sigaction13: u32 = 46; -pub const SYS_getgid: u32 = 47; -pub const SYS_compat_13_sigprocmask13: u32 = 48; -pub const SYS___getlogin: u32 = 49; -pub const SYS___setlogin: u32 = 50; -pub const SYS_acct: u32 = 51; -pub const SYS_compat_13_sigpending13: u32 = 52; -pub const SYS_compat_13_sigaltstack13: u32 = 53; -pub const SYS_ioctl: u32 = 54; -pub const SYS_compat_12_oreboot: u32 = 55; -pub const SYS_revoke: u32 = 56; -pub const SYS_symlink: u32 = 57; -pub const SYS_readlink: u32 = 58; -pub const SYS_execve: u32 = 59; -pub const SYS_umask: u32 = 60; -pub const SYS_chroot: u32 = 61; -pub const SYS_compat_43_fstat43: u32 = 62; -pub const SYS_compat_43_ogetkerninfo: u32 = 63; -pub const SYS_compat_43_ogetpagesize: u32 = 64; -pub const SYS_compat_12_msync: u32 = 65; -pub const SYS_vfork: u32 = 66; -pub const SYS_compat_43_ommap: u32 = 71; -pub const SYS_vadvise: u32 = 72; -pub const SYS_munmap: u32 = 73; -pub const SYS_mprotect: u32 = 74; -pub const SYS_madvise: u32 = 75; -pub const SYS_mincore: u32 = 78; -pub const SYS_getgroups: u32 = 79; -pub const SYS_setgroups: u32 = 80; -pub const SYS_getpgrp: u32 = 81; -pub const SYS_setpgid: u32 = 82; -pub const SYS_compat_50_setitimer: u32 = 83; -pub const SYS_compat_43_owait: u32 = 84; -pub const SYS_compat_12_oswapon: u32 = 85; -pub const SYS_compat_50_getitimer: u32 = 86; -pub const SYS_compat_43_ogethostname: u32 = 87; -pub const SYS_compat_43_osethostname: u32 = 88; -pub const SYS_compat_43_ogetdtablesize: u32 = 89; -pub const SYS_dup2: u32 = 90; -pub const SYS_getrandom: u32 = 91; -pub const SYS_fcntl: u32 = 92; -pub const SYS_compat_50_select: u32 = 93; -pub const SYS_fsync: u32 = 95; -pub const SYS_setpriority: u32 = 96; -pub const SYS_compat_30_socket: u32 = 97; -pub const SYS_connect: u32 = 98; -pub const SYS_compat_43_oaccept: u32 = 99; -pub const SYS_getpriority: u32 = 100; -pub const SYS_compat_43_osend: u32 = 101; -pub const SYS_compat_43_orecv: u32 = 102; -pub const SYS_compat_13_sigreturn13: u32 = 103; -pub const SYS_bind: u32 = 104; -pub const SYS_setsockopt: u32 = 105; -pub const SYS_listen: u32 = 106; -pub const SYS_compat_43_osigvec: u32 = 108; -pub const SYS_compat_43_osigblock: u32 = 109; -pub const SYS_compat_43_osigsetmask: u32 = 110; -pub const SYS_compat_13_sigsuspend13: u32 = 111; -pub const SYS_compat_43_osigstack: u32 = 112; -pub const SYS_compat_43_orecvmsg: u32 = 113; -pub const SYS_compat_43_osendmsg: u32 = 114; -pub const SYS_compat_50_gettimeofday: u32 = 116; -pub const SYS_compat_50_getrusage: u32 = 117; -pub const SYS_getsockopt: u32 = 118; -pub const SYS_readv: u32 = 120; -pub const SYS_writev: u32 = 121; -pub const SYS_compat_50_settimeofday: u32 = 122; -pub const SYS_fchown: u32 = 123; -pub const SYS_fchmod: u32 = 124; -pub const SYS_compat_43_orecvfrom: u32 = 125; -pub const SYS_setreuid: u32 = 126; -pub const SYS_setregid: u32 = 127; -pub const SYS_rename: u32 = 128; -pub const SYS_compat_43_otruncate: u32 = 129; -pub const SYS_compat_43_oftruncate: u32 = 130; -pub const SYS_flock: u32 = 131; -pub const SYS_mkfifo: u32 = 132; -pub const SYS_sendto: u32 = 133; -pub const SYS_shutdown: u32 = 134; -pub const SYS_socketpair: u32 = 135; -pub const SYS_mkdir: u32 = 136; -pub const SYS_rmdir: u32 = 137; -pub const SYS_compat_50_utimes: u32 = 138; -pub const SYS_compat_50_adjtime: u32 = 140; -pub const SYS_compat_43_ogetpeername: u32 = 141; -pub const SYS_compat_43_ogethostid: u32 = 142; -pub const SYS_compat_43_osethostid: u32 = 143; -pub const SYS_compat_43_ogetrlimit: u32 = 144; -pub const SYS_compat_43_osetrlimit: u32 = 145; -pub const SYS_compat_43_okillpg: u32 = 146; -pub const SYS_setsid: u32 = 147; -pub const SYS_compat_50_quotactl: u32 = 148; -pub const SYS_compat_43_oquota: u32 = 149; -pub const SYS_compat_43_ogetsockname: u32 = 150; -pub const SYS_nfssvc: u32 = 155; -pub const SYS_compat_43_ogetdirentries: u32 = 156; -pub const SYS_compat_20_statfs: u32 = 157; -pub const SYS_compat_20_fstatfs: u32 = 158; -pub const SYS_compat_30_getfh: u32 = 161; -pub const SYS_compat_09_ogetdomainname: u32 = 162; -pub const SYS_compat_09_osetdomainname: u32 = 163; -pub const SYS_compat_09_ouname: u32 = 164; -pub const SYS_sysarch: u32 = 165; -pub const SYS___futex: u32 = 166; -pub const SYS___futex_set_robust_list: u32 = 167; -pub const SYS___futex_get_robust_list: u32 = 168; -pub const SYS_pread: u32 = 173; -pub const SYS_pwrite: u32 = 174; -pub const SYS_compat_30_ntp_gettime: u32 = 175; -pub const SYS_ntp_adjtime: u32 = 176; -pub const SYS_timerfd_create: u32 = 177; -pub const SYS_timerfd_settime: u32 = 178; -pub const SYS_timerfd_gettime: u32 = 179; -pub const SYS_setgid: u32 = 181; -pub const SYS_setegid: u32 = 182; -pub const SYS_seteuid: u32 = 183; -pub const SYS_lfs_bmapv: u32 = 184; -pub const SYS_lfs_markv: u32 = 185; -pub const SYS_lfs_segclean: u32 = 186; -pub const SYS_compat_50_lfs_segwait: u32 = 187; -pub const SYS_compat_12_stat12: u32 = 188; -pub const SYS_compat_12_fstat12: u32 = 189; -pub const SYS_compat_12_lstat12: u32 = 190; -pub const SYS_pathconf: u32 = 191; -pub const SYS_fpathconf: u32 = 192; -pub const SYS_getsockopt2: u32 = 193; -pub const SYS_getrlimit: u32 = 194; -pub const SYS_setrlimit: u32 = 195; -pub const SYS_compat_12_getdirentries: u32 = 196; -pub const SYS_mmap: u32 = 197; -pub const SYS___syscall: u32 = 198; -pub const SYS_lseek: u32 = 199; -pub const SYS_truncate: u32 = 200; -pub const SYS_ftruncate: u32 = 201; -pub const SYS___sysctl: u32 = 202; -pub const SYS_mlock: u32 = 203; -pub const SYS_munlock: u32 = 204; -pub const SYS_undelete: u32 = 205; -pub const SYS_compat_50_futimes: u32 = 206; -pub const SYS_getpgid: u32 = 207; -pub const SYS_reboot: u32 = 208; -pub const SYS_poll: u32 = 209; -pub const SYS_afssys: u32 = 210; -pub const SYS_compat_14___semctl: u32 = 220; -pub const SYS_semget: u32 = 221; -pub const SYS_semop: u32 = 222; -pub const SYS_semconfig: u32 = 223; -pub const SYS_compat_14_msgctl: u32 = 224; -pub const SYS_msgget: u32 = 225; -pub const SYS_msgsnd: u32 = 226; -pub const SYS_msgrcv: u32 = 227; -pub const SYS_shmat: u32 = 228; -pub const SYS_compat_14_shmctl: u32 = 229; -pub const SYS_shmdt: u32 = 230; -pub const SYS_shmget: u32 = 231; -pub const SYS_compat_50_clock_gettime: u32 = 232; -pub const SYS_compat_50_clock_settime: u32 = 233; -pub const SYS_compat_50_clock_getres: u32 = 234; -pub const SYS_timer_create: u32 = 235; -pub const SYS_timer_delete: u32 = 236; -pub const SYS_compat_50_timer_settime: u32 = 237; -pub const SYS_compat_50_timer_gettime: u32 = 238; -pub const SYS_timer_getoverrun: u32 = 239; -pub const SYS_compat_50_nanosleep: u32 = 240; -pub const SYS_fdatasync: u32 = 241; -pub const SYS_mlockall: u32 = 242; -pub const SYS_munlockall: u32 = 243; -pub const SYS_compat_50___sigtimedwait: u32 = 244; -pub const SYS_sigqueueinfo: u32 = 245; -pub const SYS_modctl: u32 = 246; -pub const SYS__ksem_init: u32 = 247; -pub const SYS__ksem_open: u32 = 248; -pub const SYS__ksem_unlink: u32 = 249; -pub const SYS__ksem_close: u32 = 250; -pub const SYS__ksem_post: u32 = 251; -pub const SYS__ksem_wait: u32 = 252; -pub const SYS__ksem_trywait: u32 = 253; -pub const SYS__ksem_getvalue: u32 = 254; -pub const SYS__ksem_destroy: u32 = 255; -pub const SYS__ksem_timedwait: u32 = 256; -pub const SYS_mq_open: u32 = 257; -pub const SYS_mq_close: u32 = 258; -pub const SYS_mq_unlink: u32 = 259; -pub const SYS_mq_getattr: u32 = 260; -pub const SYS_mq_setattr: u32 = 261; -pub const SYS_mq_notify: u32 = 262; -pub const SYS_mq_send: u32 = 263; -pub const SYS_mq_receive: u32 = 264; -pub const SYS_compat_50_mq_timedsend: u32 = 265; -pub const SYS_compat_50_mq_timedreceive: u32 = 266; -pub const SYS_eventfd: u32 = 267; -pub const SYS___posix_rename: u32 = 270; -pub const SYS_swapctl: u32 = 271; -pub const SYS_compat_30_getdents: u32 = 272; -pub const SYS_minherit: u32 = 273; -pub const SYS_lchmod: u32 = 274; -pub const SYS_lchown: u32 = 275; -pub const SYS_compat_50_lutimes: u32 = 276; -pub const SYS___msync13: u32 = 277; -pub const SYS_compat_30___stat13: u32 = 278; -pub const SYS_compat_30___fstat13: u32 = 279; -pub const SYS_compat_30___lstat13: u32 = 280; -pub const SYS___sigaltstack14: u32 = 281; -pub const SYS___vfork14: u32 = 282; -pub const SYS___posix_chown: u32 = 283; -pub const SYS___posix_fchown: u32 = 284; -pub const SYS___posix_lchown: u32 = 285; -pub const SYS_getsid: u32 = 286; -pub const SYS___clone: u32 = 287; -pub const SYS_fktrace: u32 = 288; -pub const SYS_preadv: u32 = 289; -pub const SYS_pwritev: u32 = 290; -pub const SYS_compat_16___sigaction14: u32 = 291; -pub const SYS___sigpending14: u32 = 292; -pub const SYS___sigprocmask14: u32 = 293; -pub const SYS___sigsuspend14: u32 = 294; -pub const SYS_compat_16___sigreturn14: u32 = 295; -pub const SYS___getcwd: u32 = 296; -pub const SYS_fchroot: u32 = 297; -pub const SYS_compat_30_fhopen: u32 = 298; -pub const SYS_compat_30_fhstat: u32 = 299; -pub const SYS_compat_20_fhstatfs: u32 = 300; -pub const SYS_compat_50_____semctl13: u32 = 301; -pub const SYS_compat_50___msgctl13: u32 = 302; -pub const SYS_compat_50___shmctl13: u32 = 303; -pub const SYS_lchflags: u32 = 304; -pub const SYS_issetugid: u32 = 305; -pub const SYS_utrace: u32 = 306; -pub const SYS_getcontext: u32 = 307; -pub const SYS_setcontext: u32 = 308; -pub const SYS__lwp_create: u32 = 309; -pub const SYS__lwp_exit: u32 = 310; -pub const SYS__lwp_self: u32 = 311; -pub const SYS__lwp_wait: u32 = 312; -pub const SYS__lwp_suspend: u32 = 313; -pub const SYS__lwp_continue: u32 = 314; -pub const SYS__lwp_wakeup: u32 = 315; -pub const SYS__lwp_getprivate: u32 = 316; -pub const SYS__lwp_setprivate: u32 = 317; -pub const SYS__lwp_kill: u32 = 318; -pub const SYS__lwp_detach: u32 = 319; -pub const SYS_compat_50__lwp_park: u32 = 320; -pub const SYS__lwp_unpark: u32 = 321; -pub const SYS__lwp_unpark_all: u32 = 322; -pub const SYS__lwp_setname: u32 = 323; -pub const SYS__lwp_getname: u32 = 324; -pub const SYS__lwp_ctl: u32 = 325; -pub const SYS_compat_60_sa_register: u32 = 330; -pub const SYS_compat_60_sa_stacks: u32 = 331; -pub const SYS_compat_60_sa_enable: u32 = 332; -pub const SYS_compat_60_sa_setconcurrency: u32 = 333; -pub const SYS_compat_60_sa_yield: u32 = 334; -pub const SYS_compat_60_sa_preempt: u32 = 335; -pub const SYS___sigaction_sigtramp: u32 = 340; -pub const SYS_rasctl: u32 = 343; -pub const SYS_kqueue: u32 = 344; -pub const SYS_compat_50_kevent: u32 = 345; -pub const SYS__sched_setparam: u32 = 346; -pub const SYS__sched_getparam: u32 = 347; -pub const SYS__sched_setaffinity: u32 = 348; -pub const SYS__sched_getaffinity: u32 = 349; -pub const SYS_sched_yield: u32 = 350; -pub const SYS__sched_protect: u32 = 351; -pub const SYS_fsync_range: u32 = 354; -pub const SYS_uuidgen: u32 = 355; -pub const SYS_compat_90_getvfsstat: u32 = 356; -pub const SYS_compat_90_statvfs1: u32 = 357; -pub const SYS_compat_90_fstatvfs1: u32 = 358; -pub const SYS_compat_30_fhstatvfs1: u32 = 359; -pub const SYS_extattrctl: u32 = 360; -pub const SYS_extattr_set_file: u32 = 361; -pub const SYS_extattr_get_file: u32 = 362; -pub const SYS_extattr_delete_file: u32 = 363; -pub const SYS_extattr_set_fd: u32 = 364; -pub const SYS_extattr_get_fd: u32 = 365; -pub const SYS_extattr_delete_fd: u32 = 366; -pub const SYS_extattr_set_link: u32 = 367; -pub const SYS_extattr_get_link: u32 = 368; -pub const SYS_extattr_delete_link: u32 = 369; -pub const SYS_extattr_list_fd: u32 = 370; -pub const SYS_extattr_list_file: u32 = 371; -pub const SYS_extattr_list_link: u32 = 372; -pub const SYS_compat_50_pselect: u32 = 373; -pub const SYS_compat_50_pollts: u32 = 374; -pub const SYS_setxattr: u32 = 375; -pub const SYS_lsetxattr: u32 = 376; -pub const SYS_fsetxattr: u32 = 377; -pub const SYS_getxattr: u32 = 378; -pub const SYS_lgetxattr: u32 = 379; -pub const SYS_fgetxattr: u32 = 380; -pub const SYS_listxattr: u32 = 381; -pub const SYS_llistxattr: u32 = 382; -pub const SYS_flistxattr: u32 = 383; -pub const SYS_removexattr: u32 = 384; -pub const SYS_lremovexattr: u32 = 385; -pub const SYS_fremovexattr: u32 = 386; -pub const SYS_compat_50___stat30: u32 = 387; -pub const SYS_compat_50___fstat30: u32 = 388; -pub const SYS_compat_50___lstat30: u32 = 389; -pub const SYS___getdents30: u32 = 390; -pub const SYS_compat_30___fhstat30: u32 = 392; -pub const SYS_compat_50___ntp_gettime30: u32 = 393; -pub const SYS___socket30: u32 = 394; -pub const SYS___getfh30: u32 = 395; -pub const SYS___fhopen40: u32 = 396; -pub const SYS_compat_90_fhstatvfs1: u32 = 397; -pub const SYS_compat_50___fhstat40: u32 = 398; -pub const SYS_aio_cancel: u32 = 399; -pub const SYS_aio_error: u32 = 400; -pub const SYS_aio_fsync: u32 = 401; -pub const SYS_aio_read: u32 = 402; -pub const SYS_aio_return: u32 = 403; -pub const SYS_compat_50_aio_suspend: u32 = 404; -pub const SYS_aio_write: u32 = 405; -pub const SYS_lio_listio: u32 = 406; -pub const SYS___mount50: u32 = 410; -pub const SYS_mremap: u32 = 411; -pub const SYS_pset_create: u32 = 412; -pub const SYS_pset_destroy: u32 = 413; -pub const SYS_pset_assign: u32 = 414; -pub const SYS__pset_bind: u32 = 415; -pub const SYS___posix_fadvise50: u32 = 416; -pub const SYS___select50: u32 = 417; -pub const SYS___gettimeofday50: u32 = 418; -pub const SYS___settimeofday50: u32 = 419; -pub const SYS___utimes50: u32 = 420; -pub const SYS___adjtime50: u32 = 421; -pub const SYS___lfs_segwait50: u32 = 422; -pub const SYS___futimes50: u32 = 423; -pub const SYS___lutimes50: u32 = 424; -pub const SYS___setitimer50: u32 = 425; -pub const SYS___getitimer50: u32 = 426; -pub const SYS___clock_gettime50: u32 = 427; -pub const SYS___clock_settime50: u32 = 428; -pub const SYS___clock_getres50: u32 = 429; -pub const SYS___nanosleep50: u32 = 430; -pub const SYS_____sigtimedwait50: u32 = 431; -pub const SYS___mq_timedsend50: u32 = 432; -pub const SYS___mq_timedreceive50: u32 = 433; -pub const SYS_compat_60__lwp_park: u32 = 434; -pub const SYS_compat_100___kevent50: u32 = 435; -pub const SYS___pselect50: u32 = 436; -pub const SYS___pollts50: u32 = 437; -pub const SYS___aio_suspend50: u32 = 438; -pub const SYS___stat50: u32 = 439; -pub const SYS___fstat50: u32 = 440; -pub const SYS___lstat50: u32 = 441; -pub const SYS_____semctl50: u32 = 442; -pub const SYS___shmctl50: u32 = 443; -pub const SYS___msgctl50: u32 = 444; -pub const SYS___getrusage50: u32 = 445; -pub const SYS___timer_settime50: u32 = 446; -pub const SYS___timer_gettime50: u32 = 447; -pub const SYS___ntp_gettime50: u32 = 448; -pub const SYS___wait450: u32 = 449; -pub const SYS___mknod50: u32 = 450; -pub const SYS___fhstat50: u32 = 451; -pub const SYS_pipe2: u32 = 453; -pub const SYS_compat_100_dup3: u32 = 454; -pub const SYS_kqueue1: u32 = 455; -pub const SYS_paccept: u32 = 456; -pub const SYS_linkat: u32 = 457; -pub const SYS_renameat: u32 = 458; -pub const SYS_mkfifoat: u32 = 459; -pub const SYS_mknodat: u32 = 460; -pub const SYS_mkdirat: u32 = 461; -pub const SYS_faccessat: u32 = 462; -pub const SYS_fchmodat: u32 = 463; -pub const SYS_fchownat: u32 = 464; -pub const SYS_fexecve: u32 = 465; -pub const SYS_fstatat: u32 = 466; -pub const SYS_utimensat: u32 = 467; -pub const SYS_openat: u32 = 468; -pub const SYS_readlinkat: u32 = 469; -pub const SYS_symlinkat: u32 = 470; -pub const SYS_unlinkat: u32 = 471; -pub const SYS_futimens: u32 = 472; -pub const SYS___quotactl: u32 = 473; -pub const SYS_posix_spawn: u32 = 474; -pub const SYS_recvmmsg: u32 = 475; -pub const SYS_sendmmsg: u32 = 476; -pub const SYS_clock_nanosleep: u32 = 477; -pub const SYS____lwp_park60: u32 = 478; -pub const SYS_posix_fallocate: u32 = 479; -pub const SYS_fdiscard: u32 = 480; -pub const SYS_wait6: u32 = 481; -pub const SYS_clock_getcpuclockid2: u32 = 482; -pub const SYS___getvfsstat90: u32 = 483; -pub const SYS___statvfs190: u32 = 484; -pub const SYS___fstatvfs190: u32 = 485; -pub const SYS___fhstatvfs190: u32 = 486; -pub const SYS___acl_get_link: u32 = 487; -pub const SYS___acl_set_link: u32 = 488; -pub const SYS___acl_delete_link: u32 = 489; -pub const SYS___acl_aclcheck_link: u32 = 490; -pub const SYS___acl_get_file: u32 = 491; -pub const SYS___acl_set_file: u32 = 492; -pub const SYS___acl_get_fd: u32 = 493; -pub const SYS___acl_set_fd: u32 = 494; -pub const SYS___acl_delete_file: u32 = 495; -pub const SYS___acl_delete_fd: u32 = 496; -pub const SYS___acl_aclcheck_file: u32 = 497; -pub const SYS___acl_aclcheck_fd: u32 = 498; -pub const SYS_lpathconf: u32 = 499; -pub const SYS_memfd_create: u32 = 500; -pub const SYS___kevent100: u32 = 501; -pub const SYS_epoll_create1: u32 = 502; -pub const SYS_epoll_ctl: u32 = 503; -pub const SYS_epoll_pwait2: u32 = 504; -pub const SYS___dup3100: u32 = 505; -pub const SYS_MAXSYSCALL: u32 = 506; -pub const SYS_NSYSENT: u32 = 512; diff --git a/tests/helper/src/gen/sys/aarch64_netbsd/sys_sysctl.rs b/tests/helper/src/gen/sys/aarch64_netbsd/sys_sysctl.rs deleted file mode 100644 index 684719b9..00000000 --- a/tests/helper/src/gen/sys/aarch64_netbsd/sys_sysctl.rs +++ /dev/null @@ -1,135 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -pub type u_quad_t = u64; -pub const SYSCTL_VERS_1: u32 = 16777216; -pub const SYSCTL_VERSION: u32 = 16777216; -pub const CTL_QUERY: i32 = -2; -pub type sysctlfn = *mut ::core::ffi::c_void; -extern "C" { - pub fn sysctlbyname( - arg1: *const ::std::os::raw::c_char, - arg2: *mut ::core::ffi::c_void, - arg3: *mut usize, - arg4: *const ::core::ffi::c_void, - arg5: usize, - ) -> ::std::os::raw::c_int; -} -#[repr(C)] -#[derive(Copy, Clone)] -pub struct sysctlnode { - pub sysctl_flags: u32, - pub sysctl_num: i32, - pub sysctl_name: [::std::os::raw::c_char; 32usize], - pub sysctl_ver: u32, - pub __rsvd: u32, - pub sysctl_un: sysctlnode__bindgen_ty_1, - pub _sysctl_size: sysctlnode__bindgen_ty_2, - pub _sysctl_func: sysctlnode__bindgen_ty_3, - pub _sysctl_parent: sysctlnode__bindgen_ty_4, - pub _sysctl_desc: sysctlnode__bindgen_ty_5, -} -#[repr(C)] -#[derive(Copy, Clone)] -pub union sysctlnode__bindgen_ty_1 { - pub scu_child: sysctlnode__bindgen_ty_1__bindgen_ty_1, - pub scu_data: sysctlnode__bindgen_ty_1__bindgen_ty_2, - pub scu_alias: i32, - pub scu_idata: i32, - pub scu_qdata: u_quad_t, - pub scu_bdata: bool, -} -#[repr(C)] -#[derive(Copy, Clone)] -pub struct sysctlnode__bindgen_ty_1__bindgen_ty_1 { - pub suc_csize: u32, - pub suc_clen: u32, - pub _suc_child: sysctlnode__bindgen_ty_1__bindgen_ty_1__bindgen_ty_1, -} -#[repr(C)] -#[derive(Copy, Clone)] -pub union sysctlnode__bindgen_ty_1__bindgen_ty_1__bindgen_ty_1 { - pub __sysc_upad: u64, - pub __sysc_ustr: sysctlnode__bindgen_ty_1__bindgen_ty_1__bindgen_ty_1__bindgen_ty_1, -} -#[repr(C)] -#[derive(Copy, Clone)] -pub struct sysctlnode__bindgen_ty_1__bindgen_ty_1__bindgen_ty_1__bindgen_ty_1 { - pub __sysc_sdatum: *mut sysctlnode, -} -#[repr(C)] -#[derive(Copy, Clone)] -pub struct sysctlnode__bindgen_ty_1__bindgen_ty_2 { - pub _sud_data: sysctlnode__bindgen_ty_1__bindgen_ty_2__bindgen_ty_1, - pub _sud_offset: sysctlnode__bindgen_ty_1__bindgen_ty_2__bindgen_ty_2, -} -#[repr(C)] -#[derive(Copy, Clone)] -pub union sysctlnode__bindgen_ty_1__bindgen_ty_2__bindgen_ty_1 { - pub __sysc_upad: u64, - pub __sysc_ustr: sysctlnode__bindgen_ty_1__bindgen_ty_2__bindgen_ty_1__bindgen_ty_1, -} -#[repr(C)] -#[derive(Copy, Clone)] -pub struct sysctlnode__bindgen_ty_1__bindgen_ty_2__bindgen_ty_1__bindgen_ty_1 { - pub __sysc_sdatum: *mut ::core::ffi::c_void, -} -#[repr(C)] -#[derive(Copy, Clone)] -pub union sysctlnode__bindgen_ty_1__bindgen_ty_2__bindgen_ty_2 { - pub __sysc_upad: u64, - pub __sysc_ustr: sysctlnode__bindgen_ty_1__bindgen_ty_2__bindgen_ty_2__bindgen_ty_1, -} -#[repr(C)] -#[derive(Copy, Clone)] -pub struct sysctlnode__bindgen_ty_1__bindgen_ty_2__bindgen_ty_2__bindgen_ty_1 { - pub __sysc_sdatum: usize, -} -#[repr(C)] -#[derive(Copy, Clone)] -pub union sysctlnode__bindgen_ty_2 { - pub __sysc_upad: u64, - pub __sysc_ustr: sysctlnode__bindgen_ty_2__bindgen_ty_1, -} -#[repr(C)] -#[derive(Copy, Clone)] -pub struct sysctlnode__bindgen_ty_2__bindgen_ty_1 { - pub __sysc_sdatum: usize, -} -#[repr(C)] -#[derive(Copy, Clone)] -pub union sysctlnode__bindgen_ty_3 { - pub __sysc_upad: u64, - pub __sysc_ustr: sysctlnode__bindgen_ty_3__bindgen_ty_1, -} -#[repr(C)] -#[derive(Copy, Clone)] -pub struct sysctlnode__bindgen_ty_3__bindgen_ty_1 { - pub __sysc_sdatum: sysctlfn, -} -#[repr(C)] -#[derive(Copy, Clone)] -pub union sysctlnode__bindgen_ty_4 { - pub __sysc_upad: u64, - pub __sysc_ustr: sysctlnode__bindgen_ty_4__bindgen_ty_1, -} -#[repr(C)] -#[derive(Copy, Clone)] -pub struct sysctlnode__bindgen_ty_4__bindgen_ty_1 { - pub __sysc_sdatum: *mut sysctlnode, -} -#[repr(C)] -#[derive(Copy, Clone)] -pub union sysctlnode__bindgen_ty_5 { - pub __sysc_upad: u64, - pub __sysc_ustr: sysctlnode__bindgen_ty_5__bindgen_ty_1, -} -#[repr(C)] -#[derive(Copy, Clone)] -pub struct sysctlnode__bindgen_ty_5__bindgen_ty_1 { - pub __sysc_sdatum: *const ::std::os::raw::c_char, -} diff --git a/tests/helper/src/gen/sys/aarch64_openbsd/dlfcn.rs b/tests/helper/src/gen/sys/aarch64_openbsd/dlfcn.rs deleted file mode 100644 index e7bac10c..00000000 --- a/tests/helper/src/gen/sys/aarch64_openbsd/dlfcn.rs +++ /dev/null @@ -1,15 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -pub const RTLD_DEFAULT: *mut ::std::os::raw::c_void = -2i8 - as *mut ::std::os::raw::c_void; -extern "C" { - pub fn dlsym( - arg1: *mut ::core::ffi::c_void, - arg2: *const ::std::os::raw::c_char, - ) -> *mut ::core::ffi::c_void; -} diff --git a/tests/helper/src/gen/sys/aarch64_openbsd/machine_cpu.rs b/tests/helper/src/gen/sys/aarch64_openbsd/machine_cpu.rs deleted file mode 100644 index 9106cb72..00000000 --- a/tests/helper/src/gen/sys/aarch64_openbsd/machine_cpu.rs +++ /dev/null @@ -1,20 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -pub const CPU_COMPATIBLE: u32 = 1; -pub const CPU_ID_AA64ISAR0: u32 = 2; -pub const CPU_ID_AA64ISAR1: u32 = 3; -pub const CPU_ID_AA64ISAR2: u32 = 4; -pub const CPU_ID_AA64MMFR0: u32 = 5; -pub const CPU_ID_AA64MMFR1: u32 = 6; -pub const CPU_ID_AA64MMFR2: u32 = 7; -pub const CPU_ID_AA64PFR0: u32 = 8; -pub const CPU_ID_AA64PFR1: u32 = 9; -pub const CPU_ID_AA64SMFR0: u32 = 10; -pub const CPU_ID_AA64ZFR0: u32 = 11; -pub const CPU_LIDACTION: u32 = 12; -pub const CPU_MAXID: u32 = 13; diff --git a/tests/helper/src/gen/sys/aarch64_openbsd/machine_elf.rs b/tests/helper/src/gen/sys/aarch64_openbsd/machine_elf.rs deleted file mode 100644 index bea094f9..00000000 --- a/tests/helper/src/gen/sys/aarch64_openbsd/machine_elf.rs +++ /dev/null @@ -1,84 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -pub const HWCAP_FP: u32 = 1; -pub const HWCAP_ASIMD: u32 = 2; -pub const HWCAP_EVTSTRM: u32 = 4; -pub const HWCAP_AES: u32 = 8; -pub const HWCAP_PMULL: u32 = 16; -pub const HWCAP_SHA1: u32 = 32; -pub const HWCAP_SHA2: u32 = 64; -pub const HWCAP_CRC32: u32 = 128; -pub const HWCAP_ATOMICS: u32 = 256; -pub const HWCAP_FPHP: u32 = 512; -pub const HWCAP_ASIMDHP: u32 = 1024; -pub const HWCAP_CPUID: u32 = 2048; -pub const HWCAP_ASIMDRDM: u32 = 4096; -pub const HWCAP_JSCVT: u32 = 8192; -pub const HWCAP_FCMA: u32 = 16384; -pub const HWCAP_LRCPC: u32 = 32768; -pub const HWCAP_DCPOP: u32 = 65536; -pub const HWCAP_SHA3: u32 = 131072; -pub const HWCAP_SM3: u32 = 262144; -pub const HWCAP_SM4: u32 = 524288; -pub const HWCAP_ASIMDDP: u32 = 1048576; -pub const HWCAP_SHA512: u32 = 2097152; -pub const HWCAP_SVE: u32 = 4194304; -pub const HWCAP_ASIMDFHM: u32 = 8388608; -pub const HWCAP_DIT: u32 = 16777216; -pub const HWCAP_USCAT: u32 = 33554432; -pub const HWCAP_ILRCPC: u32 = 67108864; -pub const HWCAP_FLAGM: u32 = 134217728; -pub const HWCAP_SSBS: u32 = 268435456; -pub const HWCAP_SB: u32 = 536870912; -pub const HWCAP_PACA: u32 = 1073741824; -pub const HWCAP_PACG: u32 = 2147483648; -pub const HWCAP2_DCPODP: u32 = 1; -pub const HWCAP2_SVE2: u32 = 2; -pub const HWCAP2_SVEAES: u32 = 4; -pub const HWCAP2_SVEPMULL: u32 = 8; -pub const HWCAP2_SVEBITPERM: u32 = 16; -pub const HWCAP2_SVESHA3: u32 = 32; -pub const HWCAP2_SVESM4: u32 = 64; -pub const HWCAP2_FLAGM2: u32 = 128; -pub const HWCAP2_FRINT: u32 = 256; -pub const HWCAP2_SVEI8MM: u32 = 512; -pub const HWCAP2_SVEF32MM: u32 = 1024; -pub const HWCAP2_SVEF64MM: u32 = 2048; -pub const HWCAP2_SVEBF16: u32 = 4096; -pub const HWCAP2_I8MM: u32 = 8192; -pub const HWCAP2_BF16: u32 = 16384; -pub const HWCAP2_DGH: u32 = 32768; -pub const HWCAP2_RNG: u32 = 65536; -pub const HWCAP2_BTI: u32 = 131072; -pub const HWCAP2_MTE: u32 = 262144; -pub const HWCAP2_ECV: u32 = 524288; -pub const HWCAP2_AFP: u32 = 1048576; -pub const HWCAP2_RPRES: u32 = 2097152; -pub const HWCAP2_MTE3: u32 = 4194304; -pub const HWCAP2_SME: u32 = 8388608; -pub const HWCAP2_SME_I16I64: u32 = 16777216; -pub const HWCAP2_SME_F64F64: u32 = 33554432; -pub const HWCAP2_SME_I8I32: u32 = 67108864; -pub const HWCAP2_SME_F16F32: u32 = 134217728; -pub const HWCAP2_SME_B16F32: u32 = 268435456; -pub const HWCAP2_SME_F32F32: u32 = 536870912; -pub const HWCAP2_SME_FA64: u32 = 1073741824; -pub const HWCAP2_WFXT: u32 = 2147483648; -pub const HWCAP2_EBF16: u64 = 4294967296; -pub const HWCAP2_SVE_EBF16: u64 = 8589934592; -pub const HWCAP2_CSSC: u64 = 17179869184; -pub const HWCAP2_RPRFM: u64 = 34359738368; -pub const HWCAP2_SVE2P1: u64 = 68719476736; -pub const HWCAP2_SME2: u64 = 137438953472; -pub const HWCAP2_SME2P1: u64 = 274877906944; -pub const HWCAP2_SME_I16I32: u64 = 549755813888; -pub const HWCAP2_SME_BI32I32: u64 = 1099511627776; -pub const HWCAP2_SME_B16B16: u64 = 2199023255552; -pub const HWCAP2_SME_F16F16: u64 = 4398046511104; -pub const HWCAP2_MOPS: u64 = 8796093022208; -pub const HWCAP2_HBC: u64 = 17592186044416; diff --git a/tests/helper/src/gen/sys/aarch64_openbsd/mod.rs b/tests/helper/src/gen/sys/aarch64_openbsd/mod.rs deleted file mode 100644 index 44ed8446..00000000 --- a/tests/helper/src/gen/sys/aarch64_openbsd/mod.rs +++ /dev/null @@ -1,113 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] -mod dlfcn; -pub use dlfcn::RTLD_DEFAULT; -pub use dlfcn::dlsym; -mod sys_auxv; -pub use sys_auxv::AT_NULL; -pub use sys_auxv::AT_IGNORE; -pub use sys_auxv::AT_PAGESZ; -pub use sys_auxv::AT_HWCAP; -pub use sys_auxv::AT_HWCAP2; -pub use sys_auxv::AT_COUNT; -pub use sys_auxv::elf_aux_info; -mod sys_sysctl; -pub use sys_sysctl::CTL_MACHDEP; -pub use sys_sysctl::sysctl; -mod machine_cpu; -pub use machine_cpu::CPU_COMPATIBLE; -pub use machine_cpu::CPU_ID_AA64ISAR0; -pub use machine_cpu::CPU_ID_AA64ISAR1; -pub use machine_cpu::CPU_ID_AA64ISAR2; -pub use machine_cpu::CPU_ID_AA64MMFR0; -pub use machine_cpu::CPU_ID_AA64MMFR1; -pub use machine_cpu::CPU_ID_AA64MMFR2; -pub use machine_cpu::CPU_ID_AA64PFR0; -pub use machine_cpu::CPU_ID_AA64PFR1; -pub use machine_cpu::CPU_ID_AA64SMFR0; -pub use machine_cpu::CPU_ID_AA64ZFR0; -pub use machine_cpu::CPU_LIDACTION; -pub use machine_cpu::CPU_MAXID; -mod machine_elf; -pub use machine_elf::HWCAP_FP; -pub use machine_elf::HWCAP_ASIMD; -pub use machine_elf::HWCAP_EVTSTRM; -pub use machine_elf::HWCAP_AES; -pub use machine_elf::HWCAP_PMULL; -pub use machine_elf::HWCAP_SHA1; -pub use machine_elf::HWCAP_SHA2; -pub use machine_elf::HWCAP_CRC32; -pub use machine_elf::HWCAP_ATOMICS; -pub use machine_elf::HWCAP_FPHP; -pub use machine_elf::HWCAP_ASIMDHP; -pub use machine_elf::HWCAP_CPUID; -pub use machine_elf::HWCAP_ASIMDRDM; -pub use machine_elf::HWCAP_JSCVT; -pub use machine_elf::HWCAP_FCMA; -pub use machine_elf::HWCAP_LRCPC; -pub use machine_elf::HWCAP_DCPOP; -pub use machine_elf::HWCAP_SHA3; -pub use machine_elf::HWCAP_SM3; -pub use machine_elf::HWCAP_SM4; -pub use machine_elf::HWCAP_ASIMDDP; -pub use machine_elf::HWCAP_SHA512; -pub use machine_elf::HWCAP_SVE; -pub use machine_elf::HWCAP_ASIMDFHM; -pub use machine_elf::HWCAP_DIT; -pub use machine_elf::HWCAP_USCAT; -pub use machine_elf::HWCAP_ILRCPC; -pub use machine_elf::HWCAP_FLAGM; -pub use machine_elf::HWCAP_SSBS; -pub use machine_elf::HWCAP_SB; -pub use machine_elf::HWCAP_PACA; -pub use machine_elf::HWCAP_PACG; -pub use machine_elf::HWCAP2_DCPODP; -pub use machine_elf::HWCAP2_SVE2; -pub use machine_elf::HWCAP2_SVEAES; -pub use machine_elf::HWCAP2_SVEPMULL; -pub use machine_elf::HWCAP2_SVEBITPERM; -pub use machine_elf::HWCAP2_SVESHA3; -pub use machine_elf::HWCAP2_SVESM4; -pub use machine_elf::HWCAP2_FLAGM2; -pub use machine_elf::HWCAP2_FRINT; -pub use machine_elf::HWCAP2_SVEI8MM; -pub use machine_elf::HWCAP2_SVEF32MM; -pub use machine_elf::HWCAP2_SVEF64MM; -pub use machine_elf::HWCAP2_SVEBF16; -pub use machine_elf::HWCAP2_I8MM; -pub use machine_elf::HWCAP2_BF16; -pub use machine_elf::HWCAP2_DGH; -pub use machine_elf::HWCAP2_RNG; -pub use machine_elf::HWCAP2_BTI; -pub use machine_elf::HWCAP2_MTE; -pub use machine_elf::HWCAP2_ECV; -pub use machine_elf::HWCAP2_AFP; -pub use machine_elf::HWCAP2_RPRES; -pub use machine_elf::HWCAP2_MTE3; -pub use machine_elf::HWCAP2_SME; -pub use machine_elf::HWCAP2_SME_I16I64; -pub use machine_elf::HWCAP2_SME_F64F64; -pub use machine_elf::HWCAP2_SME_I8I32; -pub use machine_elf::HWCAP2_SME_F16F32; -pub use machine_elf::HWCAP2_SME_B16F32; -pub use machine_elf::HWCAP2_SME_F32F32; -pub use machine_elf::HWCAP2_SME_FA64; -pub use machine_elf::HWCAP2_WFXT; -pub use machine_elf::HWCAP2_EBF16; -pub use machine_elf::HWCAP2_SVE_EBF16; -pub use machine_elf::HWCAP2_CSSC; -pub use machine_elf::HWCAP2_RPRFM; -pub use machine_elf::HWCAP2_SVE2P1; -pub use machine_elf::HWCAP2_SME2; -pub use machine_elf::HWCAP2_SME2P1; -pub use machine_elf::HWCAP2_SME_I16I32; -pub use machine_elf::HWCAP2_SME_BI32I32; -pub use machine_elf::HWCAP2_SME_B16B16; -pub use machine_elf::HWCAP2_SME_F16F16; -pub use machine_elf::HWCAP2_MOPS; -pub use machine_elf::HWCAP2_HBC; -pub type c_char = u8; diff --git a/tests/helper/src/gen/sys/aarch64_openbsd/sys_auxv.rs b/tests/helper/src/gen/sys/aarch64_openbsd/sys_auxv.rs deleted file mode 100644 index b2dc7e1e..00000000 --- a/tests/helper/src/gen/sys/aarch64_openbsd/sys_auxv.rs +++ /dev/null @@ -1,20 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -pub const AT_NULL: u32 = 0; -pub const AT_IGNORE: u32 = 1; -pub const AT_PAGESZ: u32 = 6; -pub const AT_HWCAP: u32 = 25; -pub const AT_HWCAP2: u32 = 26; -pub const AT_COUNT: u32 = 27; -extern "C" { - pub fn elf_aux_info( - aux: ::std::os::raw::c_int, - buf: *mut ::core::ffi::c_void, - buflen: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; -} diff --git a/tests/helper/src/gen/sys/aarch64_openbsd/sys_sysctl.rs b/tests/helper/src/gen/sys/aarch64_openbsd/sys_sysctl.rs deleted file mode 100644 index 23078453..00000000 --- a/tests/helper/src/gen/sys/aarch64_openbsd/sys_sysctl.rs +++ /dev/null @@ -1,19 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -pub type u_int = ::std::os::raw::c_uint; -pub const CTL_MACHDEP: u32 = 7; -extern "C" { - pub fn sysctl( - arg1: *const ::std::os::raw::c_int, - arg2: u_int, - arg3: *mut ::core::ffi::c_void, - arg4: *mut usize, - arg5: *mut ::core::ffi::c_void, - arg6: usize, - ) -> ::std::os::raw::c_int; -} diff --git a/tests/helper/src/gen/sys/arm64_32_apple_watchos/mod.rs b/tests/helper/src/gen/sys/arm64_32_apple_watchos/mod.rs deleted file mode 100644 index 861fb8dd..00000000 --- a/tests/helper/src/gen/sys/arm64_32_apple_watchos/mod.rs +++ /dev/null @@ -1,10 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] -mod sys_sysctl; -pub use sys_sysctl::CTL_MAXNAME; -pub use sys_sysctl::sysctlbyname; -pub type c_char = i8; diff --git a/tests/helper/src/gen/sys/arm64_32_apple_watchos/sys_sysctl.rs b/tests/helper/src/gen/sys/arm64_32_apple_watchos/sys_sysctl.rs deleted file mode 100644 index ee017fc1..00000000 --- a/tests/helper/src/gen/sys/arm64_32_apple_watchos/sys_sysctl.rs +++ /dev/null @@ -1,17 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -pub const CTL_MAXNAME: u32 = 12; -extern "C" { - pub fn sysctlbyname( - arg1: *const ::std::os::raw::c_char, - arg2: *mut ::core::ffi::c_void, - oldlenp: *mut usize, - arg3: *mut ::core::ffi::c_void, - newlen: usize, - ) -> ::std::os::raw::c_int; -} diff --git a/tests/helper/src/gen/sys/mod.rs b/tests/helper/src/gen/sys/mod.rs deleted file mode 100644 index 734b1eb0..00000000 --- a/tests/helper/src/gen/sys/mod.rs +++ /dev/null @@ -1,673 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] -#![allow( - dead_code, - non_camel_case_types, - non_upper_case_globals, - unreachable_pub, - clippy::cast_sign_loss, - clippy::pub_underscore_fields, - clippy::unnecessary_cast, -)] -#[cfg( - all( - target_arch = "aarch64", - target_os = "linux", - target_env = "gnu", - target_endian = "little", - target_pointer_width = "64" - ) -)] -mod aarch64_linux_gnu; -#[cfg( - all( - target_arch = "aarch64", - target_os = "linux", - target_env = "gnu", - target_endian = "little", - target_pointer_width = "64" - ) -)] -pub use aarch64_linux_gnu::*; -#[cfg( - all( - target_arch = "aarch64", - target_os = "linux", - target_env = "gnu", - target_endian = "big", - target_pointer_width = "64" - ) -)] -mod aarch64_be_linux_gnu; -#[cfg( - all( - target_arch = "aarch64", - target_os = "linux", - target_env = "gnu", - target_endian = "big", - target_pointer_width = "64" - ) -)] -pub use aarch64_be_linux_gnu::*; -#[cfg( - all( - target_arch = "aarch64", - target_os = "linux", - target_env = "gnu", - target_endian = "little", - target_pointer_width = "32" - ) -)] -mod aarch64_linux_gnu_ilp32; -#[cfg( - all( - target_arch = "aarch64", - target_os = "linux", - target_env = "gnu", - target_endian = "little", - target_pointer_width = "32" - ) -)] -pub use aarch64_linux_gnu_ilp32::*; -#[cfg( - all( - target_arch = "aarch64", - target_os = "linux", - target_env = "gnu", - target_endian = "big", - target_pointer_width = "32" - ) -)] -mod aarch64_be_linux_gnu_ilp32; -#[cfg( - all( - target_arch = "aarch64", - target_os = "linux", - target_env = "gnu", - target_endian = "big", - target_pointer_width = "32" - ) -)] -pub use aarch64_be_linux_gnu_ilp32::*; -#[cfg( - all( - target_arch = "powerpc64", - target_os = "linux", - target_env = "gnu", - target_endian = "big", - target_pointer_width = "64" - ) -)] -mod powerpc64_linux_gnu; -#[cfg( - all( - target_arch = "powerpc64", - target_os = "linux", - target_env = "gnu", - target_endian = "big", - target_pointer_width = "64" - ) -)] -pub use powerpc64_linux_gnu::*; -#[cfg( - all( - target_arch = "powerpc64", - target_os = "linux", - target_env = "gnu", - target_endian = "little", - target_pointer_width = "64" - ) -)] -mod powerpc64le_linux_gnu; -#[cfg( - all( - target_arch = "powerpc64", - target_os = "linux", - target_env = "gnu", - target_endian = "little", - target_pointer_width = "64" - ) -)] -pub use powerpc64le_linux_gnu::*; -#[cfg( - all( - target_arch = "riscv32", - target_os = "linux", - target_env = "gnu", - target_endian = "little", - target_pointer_width = "32" - ) -)] -mod riscv32gc_linux_gnu; -#[cfg( - all( - target_arch = "riscv32", - target_os = "linux", - target_env = "gnu", - target_endian = "little", - target_pointer_width = "32" - ) -)] -pub use riscv32gc_linux_gnu::*; -#[cfg( - all( - target_arch = "riscv64", - target_os = "linux", - target_env = "gnu", - target_endian = "little", - target_pointer_width = "64" - ) -)] -mod riscv64gc_linux_gnu; -#[cfg( - all( - target_arch = "riscv64", - target_os = "linux", - target_env = "gnu", - target_endian = "little", - target_pointer_width = "64" - ) -)] -pub use riscv64gc_linux_gnu::*; -#[cfg( - all( - target_arch = "aarch64", - target_os = "linux", - target_env = "musl", - target_endian = "little", - target_pointer_width = "64" - ) -)] -mod aarch64_linux_musl; -#[cfg( - all( - target_arch = "aarch64", - target_os = "linux", - target_env = "musl", - target_endian = "little", - target_pointer_width = "64" - ) -)] -pub use aarch64_linux_musl::*; -#[cfg( - all( - target_arch = "powerpc64", - target_os = "linux", - target_env = "musl", - target_endian = "big", - target_pointer_width = "64" - ) -)] -mod powerpc64_linux_musl; -#[cfg( - all( - target_arch = "powerpc64", - target_os = "linux", - target_env = "musl", - target_endian = "big", - target_pointer_width = "64" - ) -)] -pub use powerpc64_linux_musl::*; -#[cfg( - all( - target_arch = "powerpc64", - target_os = "linux", - target_env = "musl", - target_endian = "little", - target_pointer_width = "64" - ) -)] -mod powerpc64le_linux_musl; -#[cfg( - all( - target_arch = "powerpc64", - target_os = "linux", - target_env = "musl", - target_endian = "little", - target_pointer_width = "64" - ) -)] -pub use powerpc64le_linux_musl::*; -#[cfg( - all( - target_arch = "riscv32", - target_os = "linux", - target_env = "musl", - target_endian = "little", - target_pointer_width = "32" - ) -)] -mod riscv32gc_linux_musl; -#[cfg( - all( - target_arch = "riscv32", - target_os = "linux", - target_env = "musl", - target_endian = "little", - target_pointer_width = "32" - ) -)] -pub use riscv32gc_linux_musl::*; -#[cfg( - all( - target_arch = "riscv64", - target_os = "linux", - target_env = "musl", - target_endian = "little", - target_pointer_width = "64" - ) -)] -mod riscv64gc_linux_musl; -#[cfg( - all( - target_arch = "riscv64", - target_os = "linux", - target_env = "musl", - target_endian = "little", - target_pointer_width = "64" - ) -)] -pub use riscv64gc_linux_musl::*; -#[cfg( - all( - target_arch = "aarch64", - target_os = "linux", - target_env = "uclibc", - target_endian = "little", - target_pointer_width = "64" - ) -)] -mod aarch64_linux_uclibc; -#[cfg( - all( - target_arch = "aarch64", - target_os = "linux", - target_env = "uclibc", - target_endian = "little", - target_pointer_width = "64" - ) -)] -pub use aarch64_linux_uclibc::*; -#[cfg( - all( - target_arch = "aarch64", - target_os = "android", - target_endian = "little", - target_pointer_width = "64" - ) -)] -mod aarch64_linux_android; -#[cfg( - all( - target_arch = "aarch64", - target_os = "android", - target_endian = "little", - target_pointer_width = "64" - ) -)] -pub use aarch64_linux_android::*; -#[cfg( - all( - target_arch = "riscv64", - target_os = "android", - target_endian = "little", - target_pointer_width = "64" - ) -)] -mod riscv64_linux_android; -#[cfg( - all( - target_arch = "riscv64", - target_os = "android", - target_endian = "little", - target_pointer_width = "64" - ) -)] -pub use riscv64_linux_android::*; -#[cfg( - all( - target_arch = "aarch64", - target_os = "macos", - target_endian = "little", - target_pointer_width = "64" - ) -)] -mod aarch64_apple_darwin; -#[cfg( - all( - target_arch = "aarch64", - target_os = "macos", - target_endian = "little", - target_pointer_width = "64" - ) -)] -pub use aarch64_apple_darwin::*; -#[cfg( - all( - target_arch = "aarch64", - target_os = "ios", - target_endian = "little", - target_pointer_width = "64" - ) -)] -mod aarch64_apple_ios; -#[cfg( - all( - target_arch = "aarch64", - target_os = "ios", - target_endian = "little", - target_pointer_width = "64" - ) -)] -pub use aarch64_apple_ios::*; -#[cfg( - all( - target_arch = "aarch64", - target_os = "tvos", - target_endian = "little", - target_pointer_width = "64" - ) -)] -mod aarch64_apple_tvos; -#[cfg( - all( - target_arch = "aarch64", - target_os = "tvos", - target_endian = "little", - target_pointer_width = "64" - ) -)] -pub use aarch64_apple_tvos::*; -#[cfg( - all( - target_arch = "aarch64", - target_os = "visionos", - target_endian = "little", - target_pointer_width = "64" - ) -)] -mod aarch64_apple_visionos; -#[cfg( - all( - target_arch = "aarch64", - target_os = "visionos", - target_endian = "little", - target_pointer_width = "64" - ) -)] -pub use aarch64_apple_visionos::*; -#[cfg( - all( - target_arch = "aarch64", - target_os = "watchos", - target_endian = "little", - target_pointer_width = "64" - ) -)] -mod aarch64_apple_watchos; -#[cfg( - all( - target_arch = "aarch64", - target_os = "watchos", - target_endian = "little", - target_pointer_width = "64" - ) -)] -pub use aarch64_apple_watchos::*; -#[cfg( - all( - target_arch = "aarch64", - target_os = "watchos", - target_endian = "little", - target_pointer_width = "32" - ) -)] -mod arm64_32_apple_watchos; -#[cfg( - all( - target_arch = "aarch64", - target_os = "watchos", - target_endian = "little", - target_pointer_width = "32" - ) -)] -pub use arm64_32_apple_watchos::*; -#[cfg( - all( - target_arch = "aarch64", - target_os = "freebsd", - target_endian = "little", - target_pointer_width = "64" - ) -)] -mod aarch64_freebsd; -#[cfg( - all( - target_arch = "aarch64", - target_os = "freebsd", - target_endian = "little", - target_pointer_width = "64" - ) -)] -pub use aarch64_freebsd::*; -#[cfg( - all( - target_arch = "powerpc64", - target_os = "freebsd", - target_endian = "big", - target_pointer_width = "64" - ) -)] -mod powerpc64_freebsd; -#[cfg( - all( - target_arch = "powerpc64", - target_os = "freebsd", - target_endian = "big", - target_pointer_width = "64" - ) -)] -pub use powerpc64_freebsd::*; -#[cfg( - all( - target_arch = "powerpc64", - target_os = "freebsd", - target_endian = "little", - target_pointer_width = "64" - ) -)] -mod powerpc64le_freebsd; -#[cfg( - all( - target_arch = "powerpc64", - target_os = "freebsd", - target_endian = "little", - target_pointer_width = "64" - ) -)] -pub use powerpc64le_freebsd::*; -#[cfg( - all( - target_arch = "riscv64", - target_os = "freebsd", - target_endian = "little", - target_pointer_width = "64" - ) -)] -mod riscv64gc_freebsd; -#[cfg( - all( - target_arch = "riscv64", - target_os = "freebsd", - target_endian = "little", - target_pointer_width = "64" - ) -)] -pub use riscv64gc_freebsd::*; -#[cfg( - all( - target_arch = "aarch64", - target_os = "netbsd", - target_endian = "little", - target_pointer_width = "64" - ) -)] -mod aarch64_netbsd; -#[cfg( - all( - target_arch = "aarch64", - target_os = "netbsd", - target_endian = "little", - target_pointer_width = "64" - ) -)] -pub use aarch64_netbsd::*; -#[cfg( - all( - target_arch = "aarch64", - target_os = "netbsd", - target_endian = "big", - target_pointer_width = "64" - ) -)] -mod aarch64_be_netbsd; -#[cfg( - all( - target_arch = "aarch64", - target_os = "netbsd", - target_endian = "big", - target_pointer_width = "64" - ) -)] -pub use aarch64_be_netbsd::*; -#[cfg( - all( - target_arch = "aarch64", - target_os = "openbsd", - target_endian = "little", - target_pointer_width = "64" - ) -)] -mod aarch64_openbsd; -#[cfg( - all( - target_arch = "aarch64", - target_os = "openbsd", - target_endian = "little", - target_pointer_width = "64" - ) -)] -pub use aarch64_openbsd::*; -#[cfg( - all( - target_arch = "powerpc64", - target_os = "openbsd", - target_endian = "big", - target_pointer_width = "64" - ) -)] -mod powerpc64_openbsd; -#[cfg( - all( - target_arch = "powerpc64", - target_os = "openbsd", - target_endian = "big", - target_pointer_width = "64" - ) -)] -pub use powerpc64_openbsd::*; -#[cfg( - all( - target_arch = "riscv64", - target_os = "openbsd", - target_endian = "little", - target_pointer_width = "64" - ) -)] -mod riscv64gc_openbsd; -#[cfg( - all( - target_arch = "riscv64", - target_os = "openbsd", - target_endian = "little", - target_pointer_width = "64" - ) -)] -pub use riscv64gc_openbsd::*; -#[cfg( - all( - target_arch = "aarch64", - target_os = "illumos", - target_endian = "little", - target_pointer_width = "64" - ) -)] -mod aarch64_illumos; -#[cfg( - all( - target_arch = "aarch64", - target_os = "illumos", - target_endian = "little", - target_pointer_width = "64" - ) -)] -pub use aarch64_illumos::*; -#[cfg( - all( - target_arch = "powerpc64", - target_os = "aix", - target_endian = "big", - target_pointer_width = "64" - ) -)] -mod powerpc64_ibm_aix; -#[cfg( - all( - target_arch = "powerpc64", - target_os = "aix", - target_endian = "big", - target_pointer_width = "64" - ) -)] -pub use powerpc64_ibm_aix::*; -#[cfg( - all( - target_arch = "aarch64", - target_os = "fuchsia", - target_endian = "little", - target_pointer_width = "64" - ) -)] -mod aarch64_fuchsia; -#[cfg( - all( - target_arch = "aarch64", - target_os = "fuchsia", - target_endian = "little", - target_pointer_width = "64" - ) -)] -pub use aarch64_fuchsia::*; -#[cfg( - all( - target_arch = "riscv64", - target_os = "fuchsia", - target_endian = "little", - target_pointer_width = "64" - ) -)] -mod riscv64gc_fuchsia; -#[cfg( - all( - target_arch = "riscv64", - target_os = "fuchsia", - target_endian = "little", - target_pointer_width = "64" - ) -)] -pub use riscv64gc_fuchsia::*; diff --git a/tests/helper/src/gen/sys/powerpc64_freebsd/dlfcn.rs b/tests/helper/src/gen/sys/powerpc64_freebsd/dlfcn.rs deleted file mode 100644 index e7bac10c..00000000 --- a/tests/helper/src/gen/sys/powerpc64_freebsd/dlfcn.rs +++ /dev/null @@ -1,15 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -pub const RTLD_DEFAULT: *mut ::std::os::raw::c_void = -2i8 - as *mut ::std::os::raw::c_void; -extern "C" { - pub fn dlsym( - arg1: *mut ::core::ffi::c_void, - arg2: *const ::std::os::raw::c_char, - ) -> *mut ::core::ffi::c_void; -} diff --git a/tests/helper/src/gen/sys/powerpc64_freebsd/machine_cpu.rs b/tests/helper/src/gen/sys/powerpc64_freebsd/machine_cpu.rs deleted file mode 100644 index b42f7194..00000000 --- a/tests/helper/src/gen/sys/powerpc64_freebsd/machine_cpu.rs +++ /dev/null @@ -1,47 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -pub const PPC_FEATURE_32: u32 = 2147483648; -pub const PPC_FEATURE_64: u32 = 1073741824; -pub const PPC_FEATURE_601_INSTR: u32 = 536870912; -pub const PPC_FEATURE_HAS_ALTIVEC: u32 = 268435456; -pub const PPC_FEATURE_HAS_FPU: u32 = 134217728; -pub const PPC_FEATURE_HAS_MMU: u32 = 67108864; -pub const PPC_FEATURE_UNIFIED_CACHE: u32 = 16777216; -pub const PPC_FEATURE_HAS_SPE: u32 = 8388608; -pub const PPC_FEATURE_HAS_EFP_SINGLE: u32 = 4194304; -pub const PPC_FEATURE_HAS_EFP_DOUBLE: u32 = 2097152; -pub const PPC_FEATURE_NO_TB: u32 = 1048576; -pub const PPC_FEATURE_POWER4: u32 = 524288; -pub const PPC_FEATURE_POWER5: u32 = 262144; -pub const PPC_FEATURE_POWER5_PLUS: u32 = 131072; -pub const PPC_FEATURE_CELL: u32 = 65536; -pub const PPC_FEATURE_BOOKE: u32 = 32768; -pub const PPC_FEATURE_SMT: u32 = 16384; -pub const PPC_FEATURE_ICACHE_SNOOP: u32 = 8192; -pub const PPC_FEATURE_ARCH_2_05: u32 = 4096; -pub const PPC_FEATURE_HAS_DFP: u32 = 1024; -pub const PPC_FEATURE_POWER6_EXT: u32 = 512; -pub const PPC_FEATURE_ARCH_2_06: u32 = 256; -pub const PPC_FEATURE_HAS_VSX: u32 = 128; -pub const PPC_FEATURE_TRUE_LE: u32 = 2; -pub const PPC_FEATURE_PPC_LE: u32 = 1; -pub const PPC_FEATURE2_ARCH_2_07: u32 = 2147483648; -pub const PPC_FEATURE2_HTM: u32 = 1073741824; -pub const PPC_FEATURE2_DSCR: u32 = 536870912; -pub const PPC_FEATURE2_EBB: u32 = 268435456; -pub const PPC_FEATURE2_ISEL: u32 = 134217728; -pub const PPC_FEATURE2_TAR: u32 = 67108864; -pub const PPC_FEATURE2_HAS_VEC_CRYPTO: u32 = 33554432; -pub const PPC_FEATURE2_HTM_NOSC: u32 = 16777216; -pub const PPC_FEATURE2_ARCH_3_00: u32 = 8388608; -pub const PPC_FEATURE2_HAS_IEEE128: u32 = 4194304; -pub const PPC_FEATURE2_DARN: u32 = 2097152; -pub const PPC_FEATURE2_SCV: u32 = 1048576; -pub const PPC_FEATURE2_HTM_NOSUSPEND: u32 = 524288; -pub const PPC_FEATURE_BITMASK: &[u8; 153] = b"\x10 PPC32\x1FPPC64\x1EPPC601\x1DALTIVEC\x1CFPU\x1BMMU\x19UNIFIEDCACHE\x18SPE\x17SPESFP\x16DPESFP\x15NOTB\x14POWER4\x13POWER5\x12P5PLUS\x11CELL\x10BOOKE\x0FSMT\x0EISNOOP\rARCH205\x0BDFP\tARCH206\x08VSX\x02TRUELE\x01PPCLE\0"; -pub const PPC_FEATURE2_BITMASK: &[u8; 79] = b"\x10 ARCH207\x1FHTM\x1EDSCR\x1CISEL\x1BTAR\x1AVCRYPTO\x19HTMNOSC\x18ARCH300\x17IEEE128\x16DARN\x15SCV\x14HTMNOSUSP\0"; diff --git a/tests/helper/src/gen/sys/powerpc64_freebsd/machine_elf.rs b/tests/helper/src/gen/sys/powerpc64_freebsd/machine_elf.rs deleted file mode 100644 index 4109b603..00000000 --- a/tests/helper/src/gen/sys/powerpc64_freebsd/machine_elf.rs +++ /dev/null @@ -1,32 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -#[repr(C)] -#[derive(Copy, Clone)] -pub struct Elf32_Auxinfo { - pub a_type: ::std::os::raw::c_int, - pub a_un: Elf32_Auxinfo__bindgen_ty_1, -} -#[repr(C)] -#[derive(Copy, Clone)] -pub union Elf32_Auxinfo__bindgen_ty_1 { - pub a_val: ::std::os::raw::c_int, -} -#[repr(C)] -#[derive(Copy, Clone)] -pub struct Elf64_Auxinfo { - pub a_type: ::std::os::raw::c_long, - pub a_un: Elf64_Auxinfo__bindgen_ty_1, -} -#[repr(C)] -#[derive(Copy, Clone)] -pub union Elf64_Auxinfo__bindgen_ty_1 { - pub a_val: ::std::os::raw::c_long, - pub a_ptr: *mut ::core::ffi::c_void, - pub a_fcn: ::core::option::Option, -} -pub type Elf_Auxinfo = Elf64_Auxinfo; diff --git a/tests/helper/src/gen/sys/powerpc64_freebsd/mod.rs b/tests/helper/src/gen/sys/powerpc64_freebsd/mod.rs deleted file mode 100644 index 1c3d3560..00000000 --- a/tests/helper/src/gen/sys/powerpc64_freebsd/mod.rs +++ /dev/null @@ -1,532 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] -mod dlfcn; -pub use dlfcn::RTLD_DEFAULT; -pub use dlfcn::dlsym; -mod sys_auxv; -pub use sys_auxv::elf_aux_info; -mod sys_syscall; -pub use sys_syscall::SYS_syscall; -pub use sys_syscall::SYS_exit; -pub use sys_syscall::SYS_fork; -pub use sys_syscall::SYS_read; -pub use sys_syscall::SYS_write; -pub use sys_syscall::SYS_open; -pub use sys_syscall::SYS_close; -pub use sys_syscall::SYS_wait4; -pub use sys_syscall::SYS_link; -pub use sys_syscall::SYS_unlink; -pub use sys_syscall::SYS_chdir; -pub use sys_syscall::SYS_fchdir; -pub use sys_syscall::SYS_freebsd11_mknod; -pub use sys_syscall::SYS_chmod; -pub use sys_syscall::SYS_chown; -pub use sys_syscall::SYS_break; -pub use sys_syscall::SYS_getpid; -pub use sys_syscall::SYS_mount; -pub use sys_syscall::SYS_unmount; -pub use sys_syscall::SYS_setuid; -pub use sys_syscall::SYS_getuid; -pub use sys_syscall::SYS_geteuid; -pub use sys_syscall::SYS_ptrace; -pub use sys_syscall::SYS_recvmsg; -pub use sys_syscall::SYS_sendmsg; -pub use sys_syscall::SYS_recvfrom; -pub use sys_syscall::SYS_accept; -pub use sys_syscall::SYS_getpeername; -pub use sys_syscall::SYS_getsockname; -pub use sys_syscall::SYS_access; -pub use sys_syscall::SYS_chflags; -pub use sys_syscall::SYS_fchflags; -pub use sys_syscall::SYS_sync; -pub use sys_syscall::SYS_kill; -pub use sys_syscall::SYS_getppid; -pub use sys_syscall::SYS_dup; -pub use sys_syscall::SYS_freebsd10_pipe; -pub use sys_syscall::SYS_getegid; -pub use sys_syscall::SYS_profil; -pub use sys_syscall::SYS_ktrace; -pub use sys_syscall::SYS_getgid; -pub use sys_syscall::SYS_getlogin; -pub use sys_syscall::SYS_setlogin; -pub use sys_syscall::SYS_acct; -pub use sys_syscall::SYS_sigaltstack; -pub use sys_syscall::SYS_ioctl; -pub use sys_syscall::SYS_reboot; -pub use sys_syscall::SYS_revoke; -pub use sys_syscall::SYS_symlink; -pub use sys_syscall::SYS_readlink; -pub use sys_syscall::SYS_execve; -pub use sys_syscall::SYS_umask; -pub use sys_syscall::SYS_chroot; -pub use sys_syscall::SYS_msync; -pub use sys_syscall::SYS_vfork; -pub use sys_syscall::SYS_freebsd11_vadvise; -pub use sys_syscall::SYS_munmap; -pub use sys_syscall::SYS_mprotect; -pub use sys_syscall::SYS_madvise; -pub use sys_syscall::SYS_mincore; -pub use sys_syscall::SYS_getgroups; -pub use sys_syscall::SYS_setgroups; -pub use sys_syscall::SYS_getpgrp; -pub use sys_syscall::SYS_setpgid; -pub use sys_syscall::SYS_setitimer; -pub use sys_syscall::SYS_swapon; -pub use sys_syscall::SYS_getitimer; -pub use sys_syscall::SYS_getdtablesize; -pub use sys_syscall::SYS_dup2; -pub use sys_syscall::SYS_fcntl; -pub use sys_syscall::SYS_select; -pub use sys_syscall::SYS_fsync; -pub use sys_syscall::SYS_setpriority; -pub use sys_syscall::SYS_socket; -pub use sys_syscall::SYS_connect; -pub use sys_syscall::SYS_getpriority; -pub use sys_syscall::SYS_bind; -pub use sys_syscall::SYS_setsockopt; -pub use sys_syscall::SYS_listen; -pub use sys_syscall::SYS_gettimeofday; -pub use sys_syscall::SYS_getrusage; -pub use sys_syscall::SYS_getsockopt; -pub use sys_syscall::SYS_readv; -pub use sys_syscall::SYS_writev; -pub use sys_syscall::SYS_settimeofday; -pub use sys_syscall::SYS_fchown; -pub use sys_syscall::SYS_fchmod; -pub use sys_syscall::SYS_setreuid; -pub use sys_syscall::SYS_setregid; -pub use sys_syscall::SYS_rename; -pub use sys_syscall::SYS_flock; -pub use sys_syscall::SYS_mkfifo; -pub use sys_syscall::SYS_sendto; -pub use sys_syscall::SYS_shutdown; -pub use sys_syscall::SYS_socketpair; -pub use sys_syscall::SYS_mkdir; -pub use sys_syscall::SYS_rmdir; -pub use sys_syscall::SYS_utimes; -pub use sys_syscall::SYS_adjtime; -pub use sys_syscall::SYS_setsid; -pub use sys_syscall::SYS_quotactl; -pub use sys_syscall::SYS_nlm_syscall; -pub use sys_syscall::SYS_nfssvc; -pub use sys_syscall::SYS_lgetfh; -pub use sys_syscall::SYS_getfh; -pub use sys_syscall::SYS_sysarch; -pub use sys_syscall::SYS_rtprio; -pub use sys_syscall::SYS_semsys; -pub use sys_syscall::SYS_msgsys; -pub use sys_syscall::SYS_shmsys; -pub use sys_syscall::SYS_setfib; -pub use sys_syscall::SYS_ntp_adjtime; -pub use sys_syscall::SYS_setgid; -pub use sys_syscall::SYS_setegid; -pub use sys_syscall::SYS_seteuid; -pub use sys_syscall::SYS_freebsd11_stat; -pub use sys_syscall::SYS_freebsd11_fstat; -pub use sys_syscall::SYS_freebsd11_lstat; -pub use sys_syscall::SYS_pathconf; -pub use sys_syscall::SYS_fpathconf; -pub use sys_syscall::SYS_getrlimit; -pub use sys_syscall::SYS_setrlimit; -pub use sys_syscall::SYS_freebsd11_getdirentries; -pub use sys_syscall::SYS___syscall; -pub use sys_syscall::SYS___sysctl; -pub use sys_syscall::SYS_mlock; -pub use sys_syscall::SYS_munlock; -pub use sys_syscall::SYS_undelete; -pub use sys_syscall::SYS_futimes; -pub use sys_syscall::SYS_getpgid; -pub use sys_syscall::SYS_poll; -pub use sys_syscall::SYS_freebsd7___semctl; -pub use sys_syscall::SYS_semget; -pub use sys_syscall::SYS_semop; -pub use sys_syscall::SYS_freebsd7_msgctl; -pub use sys_syscall::SYS_msgget; -pub use sys_syscall::SYS_msgsnd; -pub use sys_syscall::SYS_msgrcv; -pub use sys_syscall::SYS_shmat; -pub use sys_syscall::SYS_freebsd7_shmctl; -pub use sys_syscall::SYS_shmdt; -pub use sys_syscall::SYS_shmget; -pub use sys_syscall::SYS_clock_gettime; -pub use sys_syscall::SYS_clock_settime; -pub use sys_syscall::SYS_clock_getres; -pub use sys_syscall::SYS_ktimer_create; -pub use sys_syscall::SYS_ktimer_delete; -pub use sys_syscall::SYS_ktimer_settime; -pub use sys_syscall::SYS_ktimer_gettime; -pub use sys_syscall::SYS_ktimer_getoverrun; -pub use sys_syscall::SYS_nanosleep; -pub use sys_syscall::SYS_ffclock_getcounter; -pub use sys_syscall::SYS_ffclock_setestimate; -pub use sys_syscall::SYS_ffclock_getestimate; -pub use sys_syscall::SYS_clock_nanosleep; -pub use sys_syscall::SYS_clock_getcpuclockid2; -pub use sys_syscall::SYS_ntp_gettime; -pub use sys_syscall::SYS_minherit; -pub use sys_syscall::SYS_rfork; -pub use sys_syscall::SYS_issetugid; -pub use sys_syscall::SYS_lchown; -pub use sys_syscall::SYS_aio_read; -pub use sys_syscall::SYS_aio_write; -pub use sys_syscall::SYS_lio_listio; -pub use sys_syscall::SYS_freebsd11_getdents; -pub use sys_syscall::SYS_lchmod; -pub use sys_syscall::SYS_lutimes; -pub use sys_syscall::SYS_freebsd11_nstat; -pub use sys_syscall::SYS_freebsd11_nfstat; -pub use sys_syscall::SYS_freebsd11_nlstat; -pub use sys_syscall::SYS_preadv; -pub use sys_syscall::SYS_pwritev; -pub use sys_syscall::SYS_fhopen; -pub use sys_syscall::SYS_freebsd11_fhstat; -pub use sys_syscall::SYS_modnext; -pub use sys_syscall::SYS_modstat; -pub use sys_syscall::SYS_modfnext; -pub use sys_syscall::SYS_modfind; -pub use sys_syscall::SYS_kldload; -pub use sys_syscall::SYS_kldunload; -pub use sys_syscall::SYS_kldfind; -pub use sys_syscall::SYS_kldnext; -pub use sys_syscall::SYS_kldstat; -pub use sys_syscall::SYS_kldfirstmod; -pub use sys_syscall::SYS_getsid; -pub use sys_syscall::SYS_setresuid; -pub use sys_syscall::SYS_setresgid; -pub use sys_syscall::SYS_aio_return; -pub use sys_syscall::SYS_aio_suspend; -pub use sys_syscall::SYS_aio_cancel; -pub use sys_syscall::SYS_aio_error; -pub use sys_syscall::SYS_yield; -pub use sys_syscall::SYS_mlockall; -pub use sys_syscall::SYS_munlockall; -pub use sys_syscall::SYS___getcwd; -pub use sys_syscall::SYS_sched_setparam; -pub use sys_syscall::SYS_sched_getparam; -pub use sys_syscall::SYS_sched_setscheduler; -pub use sys_syscall::SYS_sched_getscheduler; -pub use sys_syscall::SYS_sched_yield; -pub use sys_syscall::SYS_sched_get_priority_max; -pub use sys_syscall::SYS_sched_get_priority_min; -pub use sys_syscall::SYS_sched_rr_get_interval; -pub use sys_syscall::SYS_utrace; -pub use sys_syscall::SYS_kldsym; -pub use sys_syscall::SYS_jail; -pub use sys_syscall::SYS_nnpfs_syscall; -pub use sys_syscall::SYS_sigprocmask; -pub use sys_syscall::SYS_sigsuspend; -pub use sys_syscall::SYS_sigpending; -pub use sys_syscall::SYS_sigtimedwait; -pub use sys_syscall::SYS_sigwaitinfo; -pub use sys_syscall::SYS___acl_get_file; -pub use sys_syscall::SYS___acl_set_file; -pub use sys_syscall::SYS___acl_get_fd; -pub use sys_syscall::SYS___acl_set_fd; -pub use sys_syscall::SYS___acl_delete_file; -pub use sys_syscall::SYS___acl_delete_fd; -pub use sys_syscall::SYS___acl_aclcheck_file; -pub use sys_syscall::SYS___acl_aclcheck_fd; -pub use sys_syscall::SYS_extattrctl; -pub use sys_syscall::SYS_extattr_set_file; -pub use sys_syscall::SYS_extattr_get_file; -pub use sys_syscall::SYS_extattr_delete_file; -pub use sys_syscall::SYS_aio_waitcomplete; -pub use sys_syscall::SYS_getresuid; -pub use sys_syscall::SYS_getresgid; -pub use sys_syscall::SYS_kqueue; -pub use sys_syscall::SYS_freebsd11_kevent; -pub use sys_syscall::SYS_extattr_set_fd; -pub use sys_syscall::SYS_extattr_get_fd; -pub use sys_syscall::SYS_extattr_delete_fd; -pub use sys_syscall::SYS___setugid; -pub use sys_syscall::SYS_eaccess; -pub use sys_syscall::SYS_afs3_syscall; -pub use sys_syscall::SYS_nmount; -pub use sys_syscall::SYS___mac_get_proc; -pub use sys_syscall::SYS___mac_set_proc; -pub use sys_syscall::SYS___mac_get_fd; -pub use sys_syscall::SYS___mac_get_file; -pub use sys_syscall::SYS___mac_set_fd; -pub use sys_syscall::SYS___mac_set_file; -pub use sys_syscall::SYS_kenv; -pub use sys_syscall::SYS_lchflags; -pub use sys_syscall::SYS_uuidgen; -pub use sys_syscall::SYS_sendfile; -pub use sys_syscall::SYS_mac_syscall; -pub use sys_syscall::SYS_freebsd11_getfsstat; -pub use sys_syscall::SYS_freebsd11_statfs; -pub use sys_syscall::SYS_freebsd11_fstatfs; -pub use sys_syscall::SYS_freebsd11_fhstatfs; -pub use sys_syscall::SYS_ksem_close; -pub use sys_syscall::SYS_ksem_post; -pub use sys_syscall::SYS_ksem_wait; -pub use sys_syscall::SYS_ksem_trywait; -pub use sys_syscall::SYS_ksem_init; -pub use sys_syscall::SYS_ksem_open; -pub use sys_syscall::SYS_ksem_unlink; -pub use sys_syscall::SYS_ksem_getvalue; -pub use sys_syscall::SYS_ksem_destroy; -pub use sys_syscall::SYS___mac_get_pid; -pub use sys_syscall::SYS___mac_get_link; -pub use sys_syscall::SYS___mac_set_link; -pub use sys_syscall::SYS_extattr_set_link; -pub use sys_syscall::SYS_extattr_get_link; -pub use sys_syscall::SYS_extattr_delete_link; -pub use sys_syscall::SYS___mac_execve; -pub use sys_syscall::SYS_sigaction; -pub use sys_syscall::SYS_sigreturn; -pub use sys_syscall::SYS_getcontext; -pub use sys_syscall::SYS_setcontext; -pub use sys_syscall::SYS_swapcontext; -pub use sys_syscall::SYS_freebsd13_swapoff; -pub use sys_syscall::SYS___acl_get_link; -pub use sys_syscall::SYS___acl_set_link; -pub use sys_syscall::SYS___acl_delete_link; -pub use sys_syscall::SYS___acl_aclcheck_link; -pub use sys_syscall::SYS_sigwait; -pub use sys_syscall::SYS_thr_create; -pub use sys_syscall::SYS_thr_exit; -pub use sys_syscall::SYS_thr_self; -pub use sys_syscall::SYS_thr_kill; -pub use sys_syscall::SYS_freebsd10__umtx_lock; -pub use sys_syscall::SYS_freebsd10__umtx_unlock; -pub use sys_syscall::SYS_jail_attach; -pub use sys_syscall::SYS_extattr_list_fd; -pub use sys_syscall::SYS_extattr_list_file; -pub use sys_syscall::SYS_extattr_list_link; -pub use sys_syscall::SYS_ksem_timedwait; -pub use sys_syscall::SYS_thr_suspend; -pub use sys_syscall::SYS_thr_wake; -pub use sys_syscall::SYS_kldunloadf; -pub use sys_syscall::SYS_audit; -pub use sys_syscall::SYS_auditon; -pub use sys_syscall::SYS_getauid; -pub use sys_syscall::SYS_setauid; -pub use sys_syscall::SYS_getaudit; -pub use sys_syscall::SYS_setaudit; -pub use sys_syscall::SYS_getaudit_addr; -pub use sys_syscall::SYS_setaudit_addr; -pub use sys_syscall::SYS_auditctl; -pub use sys_syscall::SYS__umtx_op; -pub use sys_syscall::SYS_thr_new; -pub use sys_syscall::SYS_sigqueue; -pub use sys_syscall::SYS_kmq_open; -pub use sys_syscall::SYS_kmq_setattr; -pub use sys_syscall::SYS_kmq_timedreceive; -pub use sys_syscall::SYS_kmq_timedsend; -pub use sys_syscall::SYS_kmq_notify; -pub use sys_syscall::SYS_kmq_unlink; -pub use sys_syscall::SYS_abort2; -pub use sys_syscall::SYS_thr_set_name; -pub use sys_syscall::SYS_aio_fsync; -pub use sys_syscall::SYS_rtprio_thread; -pub use sys_syscall::SYS_sctp_peeloff; -pub use sys_syscall::SYS_sctp_generic_sendmsg; -pub use sys_syscall::SYS_sctp_generic_sendmsg_iov; -pub use sys_syscall::SYS_sctp_generic_recvmsg; -pub use sys_syscall::SYS_pread; -pub use sys_syscall::SYS_pwrite; -pub use sys_syscall::SYS_mmap; -pub use sys_syscall::SYS_lseek; -pub use sys_syscall::SYS_truncate; -pub use sys_syscall::SYS_ftruncate; -pub use sys_syscall::SYS_thr_kill2; -pub use sys_syscall::SYS_freebsd12_shm_open; -pub use sys_syscall::SYS_shm_unlink; -pub use sys_syscall::SYS_cpuset; -pub use sys_syscall::SYS_cpuset_setid; -pub use sys_syscall::SYS_cpuset_getid; -pub use sys_syscall::SYS_cpuset_getaffinity; -pub use sys_syscall::SYS_cpuset_setaffinity; -pub use sys_syscall::SYS_faccessat; -pub use sys_syscall::SYS_fchmodat; -pub use sys_syscall::SYS_fchownat; -pub use sys_syscall::SYS_fexecve; -pub use sys_syscall::SYS_freebsd11_fstatat; -pub use sys_syscall::SYS_futimesat; -pub use sys_syscall::SYS_linkat; -pub use sys_syscall::SYS_mkdirat; -pub use sys_syscall::SYS_mkfifoat; -pub use sys_syscall::SYS_freebsd11_mknodat; -pub use sys_syscall::SYS_openat; -pub use sys_syscall::SYS_readlinkat; -pub use sys_syscall::SYS_renameat; -pub use sys_syscall::SYS_symlinkat; -pub use sys_syscall::SYS_unlinkat; -pub use sys_syscall::SYS_posix_openpt; -pub use sys_syscall::SYS_gssd_syscall; -pub use sys_syscall::SYS_jail_get; -pub use sys_syscall::SYS_jail_set; -pub use sys_syscall::SYS_jail_remove; -pub use sys_syscall::SYS_freebsd12_closefrom; -pub use sys_syscall::SYS___semctl; -pub use sys_syscall::SYS_msgctl; -pub use sys_syscall::SYS_shmctl; -pub use sys_syscall::SYS_lpathconf; -pub use sys_syscall::SYS___cap_rights_get; -pub use sys_syscall::SYS_cap_enter; -pub use sys_syscall::SYS_cap_getmode; -pub use sys_syscall::SYS_pdfork; -pub use sys_syscall::SYS_pdkill; -pub use sys_syscall::SYS_pdgetpid; -pub use sys_syscall::SYS_pselect; -pub use sys_syscall::SYS_getloginclass; -pub use sys_syscall::SYS_setloginclass; -pub use sys_syscall::SYS_rctl_get_racct; -pub use sys_syscall::SYS_rctl_get_rules; -pub use sys_syscall::SYS_rctl_get_limits; -pub use sys_syscall::SYS_rctl_add_rule; -pub use sys_syscall::SYS_rctl_remove_rule; -pub use sys_syscall::SYS_posix_fallocate; -pub use sys_syscall::SYS_posix_fadvise; -pub use sys_syscall::SYS_wait6; -pub use sys_syscall::SYS_cap_rights_limit; -pub use sys_syscall::SYS_cap_ioctls_limit; -pub use sys_syscall::SYS_cap_ioctls_get; -pub use sys_syscall::SYS_cap_fcntls_limit; -pub use sys_syscall::SYS_cap_fcntls_get; -pub use sys_syscall::SYS_bindat; -pub use sys_syscall::SYS_connectat; -pub use sys_syscall::SYS_chflagsat; -pub use sys_syscall::SYS_accept4; -pub use sys_syscall::SYS_pipe2; -pub use sys_syscall::SYS_aio_mlock; -pub use sys_syscall::SYS_procctl; -pub use sys_syscall::SYS_ppoll; -pub use sys_syscall::SYS_futimens; -pub use sys_syscall::SYS_utimensat; -pub use sys_syscall::SYS_fdatasync; -pub use sys_syscall::SYS_fstat; -pub use sys_syscall::SYS_fstatat; -pub use sys_syscall::SYS_fhstat; -pub use sys_syscall::SYS_getdirentries; -pub use sys_syscall::SYS_statfs; -pub use sys_syscall::SYS_fstatfs; -pub use sys_syscall::SYS_getfsstat; -pub use sys_syscall::SYS_fhstatfs; -pub use sys_syscall::SYS_mknodat; -pub use sys_syscall::SYS_kevent; -pub use sys_syscall::SYS_cpuset_getdomain; -pub use sys_syscall::SYS_cpuset_setdomain; -pub use sys_syscall::SYS_getrandom; -pub use sys_syscall::SYS_getfhat; -pub use sys_syscall::SYS_fhlink; -pub use sys_syscall::SYS_fhlinkat; -pub use sys_syscall::SYS_fhreadlink; -pub use sys_syscall::SYS_funlinkat; -pub use sys_syscall::SYS_copy_file_range; -pub use sys_syscall::SYS___sysctlbyname; -pub use sys_syscall::SYS_shm_open2; -pub use sys_syscall::SYS_shm_rename; -pub use sys_syscall::SYS_sigfastblock; -pub use sys_syscall::SYS___realpathat; -pub use sys_syscall::SYS_close_range; -pub use sys_syscall::SYS_rpctls_syscall; -pub use sys_syscall::SYS___specialfd; -pub use sys_syscall::SYS_aio_writev; -pub use sys_syscall::SYS_aio_readv; -pub use sys_syscall::SYS_fspacectl; -pub use sys_syscall::SYS_sched_getcpu; -pub use sys_syscall::SYS_swapoff; -pub use sys_syscall::SYS_kqueuex; -pub use sys_syscall::SYS_membarrier; -pub use sys_syscall::SYS_timerfd_create; -pub use sys_syscall::SYS_timerfd_gettime; -pub use sys_syscall::SYS_timerfd_settime; -pub use sys_syscall::SYS_kcmp; -pub use sys_syscall::SYS_getrlimitusage; -pub use sys_syscall::SYS_MAXSYSCALL; -mod sys_sysctl; -pub use sys_sysctl::CTL_KERN; -pub use sys_sysctl::KERN_PROC; -pub use sys_sysctl::KERN_PROC_AUXV; -mod sys_elf_common; -pub use sys_elf_common::AT_NULL; -pub use sys_elf_common::AT_IGNORE; -pub use sys_elf_common::AT_EXECFD; -pub use sys_elf_common::AT_PHDR; -pub use sys_elf_common::AT_PHENT; -pub use sys_elf_common::AT_PHNUM; -pub use sys_elf_common::AT_PAGESZ; -pub use sys_elf_common::AT_BASE; -pub use sys_elf_common::AT_FLAGS; -pub use sys_elf_common::AT_ENTRY; -pub use sys_elf_common::AT_NOTELF; -pub use sys_elf_common::AT_UID; -pub use sys_elf_common::AT_EUID; -pub use sys_elf_common::AT_GID; -pub use sys_elf_common::AT_EGID; -pub use sys_elf_common::AT_EXECPATH; -pub use sys_elf_common::AT_CANARY; -pub use sys_elf_common::AT_CANARYLEN; -pub use sys_elf_common::AT_OSRELDATE; -pub use sys_elf_common::AT_NCPUS; -pub use sys_elf_common::AT_PAGESIZES; -pub use sys_elf_common::AT_PAGESIZESLEN; -pub use sys_elf_common::AT_TIMEKEEP; -pub use sys_elf_common::AT_STACKPROT; -pub use sys_elf_common::AT_EHDRFLAGS; -pub use sys_elf_common::AT_HWCAP; -pub use sys_elf_common::AT_HWCAP2; -pub use sys_elf_common::AT_BSDFLAGS; -pub use sys_elf_common::AT_ARGC; -pub use sys_elf_common::AT_ARGV; -pub use sys_elf_common::AT_ENVC; -pub use sys_elf_common::AT_ENVV; -pub use sys_elf_common::AT_PS_STRINGS; -pub use sys_elf_common::AT_FXRNG; -pub use sys_elf_common::AT_KPRELOAD; -pub use sys_elf_common::AT_USRSTACKBASE; -pub use sys_elf_common::AT_USRSTACKLIM; -pub use sys_elf_common::AT_CHERI_STATS; -pub use sys_elf_common::AT_COUNT; -mod machine_cpu; -pub use machine_cpu::PPC_FEATURE_32; -pub use machine_cpu::PPC_FEATURE_64; -pub use machine_cpu::PPC_FEATURE_601_INSTR; -pub use machine_cpu::PPC_FEATURE_HAS_ALTIVEC; -pub use machine_cpu::PPC_FEATURE_HAS_FPU; -pub use machine_cpu::PPC_FEATURE_HAS_MMU; -pub use machine_cpu::PPC_FEATURE_UNIFIED_CACHE; -pub use machine_cpu::PPC_FEATURE_HAS_SPE; -pub use machine_cpu::PPC_FEATURE_HAS_EFP_SINGLE; -pub use machine_cpu::PPC_FEATURE_HAS_EFP_DOUBLE; -pub use machine_cpu::PPC_FEATURE_NO_TB; -pub use machine_cpu::PPC_FEATURE_POWER4; -pub use machine_cpu::PPC_FEATURE_POWER5; -pub use machine_cpu::PPC_FEATURE_POWER5_PLUS; -pub use machine_cpu::PPC_FEATURE_CELL; -pub use machine_cpu::PPC_FEATURE_BOOKE; -pub use machine_cpu::PPC_FEATURE_SMT; -pub use machine_cpu::PPC_FEATURE_ICACHE_SNOOP; -pub use machine_cpu::PPC_FEATURE_ARCH_2_05; -pub use machine_cpu::PPC_FEATURE_HAS_DFP; -pub use machine_cpu::PPC_FEATURE_POWER6_EXT; -pub use machine_cpu::PPC_FEATURE_ARCH_2_06; -pub use machine_cpu::PPC_FEATURE_HAS_VSX; -pub use machine_cpu::PPC_FEATURE_TRUE_LE; -pub use machine_cpu::PPC_FEATURE_PPC_LE; -pub use machine_cpu::PPC_FEATURE2_ARCH_2_07; -pub use machine_cpu::PPC_FEATURE2_HTM; -pub use machine_cpu::PPC_FEATURE2_DSCR; -pub use machine_cpu::PPC_FEATURE2_EBB; -pub use machine_cpu::PPC_FEATURE2_ISEL; -pub use machine_cpu::PPC_FEATURE2_TAR; -pub use machine_cpu::PPC_FEATURE2_HAS_VEC_CRYPTO; -pub use machine_cpu::PPC_FEATURE2_HTM_NOSC; -pub use machine_cpu::PPC_FEATURE2_ARCH_3_00; -pub use machine_cpu::PPC_FEATURE2_HAS_IEEE128; -pub use machine_cpu::PPC_FEATURE2_DARN; -pub use machine_cpu::PPC_FEATURE2_SCV; -pub use machine_cpu::PPC_FEATURE2_HTM_NOSUSPEND; -pub use machine_cpu::PPC_FEATURE_BITMASK; -pub use machine_cpu::PPC_FEATURE2_BITMASK; -mod machine_elf; -pub use machine_elf::Elf32_Auxinfo; -pub use machine_elf::Elf64_Auxinfo; -pub use machine_elf::Elf_Auxinfo; -pub type c_char = u8; diff --git a/tests/helper/src/gen/sys/powerpc64_freebsd/sys_auxv.rs b/tests/helper/src/gen/sys/powerpc64_freebsd/sys_auxv.rs deleted file mode 100644 index 7b6c1be2..00000000 --- a/tests/helper/src/gen/sys/powerpc64_freebsd/sys_auxv.rs +++ /dev/null @@ -1,14 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -extern "C" { - pub fn elf_aux_info( - aux: ::std::os::raw::c_int, - buf: *mut ::core::ffi::c_void, - buflen: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; -} diff --git a/tests/helper/src/gen/sys/powerpc64_freebsd/sys_elf_common.rs b/tests/helper/src/gen/sys/powerpc64_freebsd/sys_elf_common.rs deleted file mode 100644 index 85bae3b6..00000000 --- a/tests/helper/src/gen/sys/powerpc64_freebsd/sys_elf_common.rs +++ /dev/null @@ -1,46 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -pub const AT_NULL: u32 = 0; -pub const AT_IGNORE: u32 = 1; -pub const AT_EXECFD: u32 = 2; -pub const AT_PHDR: u32 = 3; -pub const AT_PHENT: u32 = 4; -pub const AT_PHNUM: u32 = 5; -pub const AT_PAGESZ: u32 = 6; -pub const AT_BASE: u32 = 7; -pub const AT_FLAGS: u32 = 8; -pub const AT_ENTRY: u32 = 9; -pub const AT_NOTELF: u32 = 10; -pub const AT_UID: u32 = 11; -pub const AT_EUID: u32 = 12; -pub const AT_GID: u32 = 13; -pub const AT_EGID: u32 = 14; -pub const AT_EXECPATH: u32 = 15; -pub const AT_CANARY: u32 = 16; -pub const AT_CANARYLEN: u32 = 17; -pub const AT_OSRELDATE: u32 = 18; -pub const AT_NCPUS: u32 = 19; -pub const AT_PAGESIZES: u32 = 20; -pub const AT_PAGESIZESLEN: u32 = 21; -pub const AT_TIMEKEEP: u32 = 22; -pub const AT_STACKPROT: u32 = 23; -pub const AT_EHDRFLAGS: u32 = 24; -pub const AT_HWCAP: u32 = 25; -pub const AT_HWCAP2: u32 = 26; -pub const AT_BSDFLAGS: u32 = 27; -pub const AT_ARGC: u32 = 28; -pub const AT_ARGV: u32 = 29; -pub const AT_ENVC: u32 = 30; -pub const AT_ENVV: u32 = 31; -pub const AT_PS_STRINGS: u32 = 32; -pub const AT_FXRNG: u32 = 33; -pub const AT_KPRELOAD: u32 = 34; -pub const AT_USRSTACKBASE: u32 = 35; -pub const AT_USRSTACKLIM: u32 = 36; -pub const AT_CHERI_STATS: u32 = 37; -pub const AT_COUNT: u32 = 38; diff --git a/tests/helper/src/gen/sys/powerpc64_freebsd/sys_syscall.rs b/tests/helper/src/gen/sys/powerpc64_freebsd/sys_syscall.rs deleted file mode 100644 index 9437b0b4..00000000 --- a/tests/helper/src/gen/sys/powerpc64_freebsd/sys_syscall.rs +++ /dev/null @@ -1,437 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -pub const SYS_syscall: u32 = 0; -pub const SYS_exit: u32 = 1; -pub const SYS_fork: u32 = 2; -pub const SYS_read: u32 = 3; -pub const SYS_write: u32 = 4; -pub const SYS_open: u32 = 5; -pub const SYS_close: u32 = 6; -pub const SYS_wait4: u32 = 7; -pub const SYS_link: u32 = 9; -pub const SYS_unlink: u32 = 10; -pub const SYS_chdir: u32 = 12; -pub const SYS_fchdir: u32 = 13; -pub const SYS_freebsd11_mknod: u32 = 14; -pub const SYS_chmod: u32 = 15; -pub const SYS_chown: u32 = 16; -pub const SYS_break: u32 = 17; -pub const SYS_getpid: u32 = 20; -pub const SYS_mount: u32 = 21; -pub const SYS_unmount: u32 = 22; -pub const SYS_setuid: u32 = 23; -pub const SYS_getuid: u32 = 24; -pub const SYS_geteuid: u32 = 25; -pub const SYS_ptrace: u32 = 26; -pub const SYS_recvmsg: u32 = 27; -pub const SYS_sendmsg: u32 = 28; -pub const SYS_recvfrom: u32 = 29; -pub const SYS_accept: u32 = 30; -pub const SYS_getpeername: u32 = 31; -pub const SYS_getsockname: u32 = 32; -pub const SYS_access: u32 = 33; -pub const SYS_chflags: u32 = 34; -pub const SYS_fchflags: u32 = 35; -pub const SYS_sync: u32 = 36; -pub const SYS_kill: u32 = 37; -pub const SYS_getppid: u32 = 39; -pub const SYS_dup: u32 = 41; -pub const SYS_freebsd10_pipe: u32 = 42; -pub const SYS_getegid: u32 = 43; -pub const SYS_profil: u32 = 44; -pub const SYS_ktrace: u32 = 45; -pub const SYS_getgid: u32 = 47; -pub const SYS_getlogin: u32 = 49; -pub const SYS_setlogin: u32 = 50; -pub const SYS_acct: u32 = 51; -pub const SYS_sigaltstack: u32 = 53; -pub const SYS_ioctl: u32 = 54; -pub const SYS_reboot: u32 = 55; -pub const SYS_revoke: u32 = 56; -pub const SYS_symlink: u32 = 57; -pub const SYS_readlink: u32 = 58; -pub const SYS_execve: u32 = 59; -pub const SYS_umask: u32 = 60; -pub const SYS_chroot: u32 = 61; -pub const SYS_msync: u32 = 65; -pub const SYS_vfork: u32 = 66; -pub const SYS_freebsd11_vadvise: u32 = 72; -pub const SYS_munmap: u32 = 73; -pub const SYS_mprotect: u32 = 74; -pub const SYS_madvise: u32 = 75; -pub const SYS_mincore: u32 = 78; -pub const SYS_getgroups: u32 = 79; -pub const SYS_setgroups: u32 = 80; -pub const SYS_getpgrp: u32 = 81; -pub const SYS_setpgid: u32 = 82; -pub const SYS_setitimer: u32 = 83; -pub const SYS_swapon: u32 = 85; -pub const SYS_getitimer: u32 = 86; -pub const SYS_getdtablesize: u32 = 89; -pub const SYS_dup2: u32 = 90; -pub const SYS_fcntl: u32 = 92; -pub const SYS_select: u32 = 93; -pub const SYS_fsync: u32 = 95; -pub const SYS_setpriority: u32 = 96; -pub const SYS_socket: u32 = 97; -pub const SYS_connect: u32 = 98; -pub const SYS_getpriority: u32 = 100; -pub const SYS_bind: u32 = 104; -pub const SYS_setsockopt: u32 = 105; -pub const SYS_listen: u32 = 106; -pub const SYS_gettimeofday: u32 = 116; -pub const SYS_getrusage: u32 = 117; -pub const SYS_getsockopt: u32 = 118; -pub const SYS_readv: u32 = 120; -pub const SYS_writev: u32 = 121; -pub const SYS_settimeofday: u32 = 122; -pub const SYS_fchown: u32 = 123; -pub const SYS_fchmod: u32 = 124; -pub const SYS_setreuid: u32 = 126; -pub const SYS_setregid: u32 = 127; -pub const SYS_rename: u32 = 128; -pub const SYS_flock: u32 = 131; -pub const SYS_mkfifo: u32 = 132; -pub const SYS_sendto: u32 = 133; -pub const SYS_shutdown: u32 = 134; -pub const SYS_socketpair: u32 = 135; -pub const SYS_mkdir: u32 = 136; -pub const SYS_rmdir: u32 = 137; -pub const SYS_utimes: u32 = 138; -pub const SYS_adjtime: u32 = 140; -pub const SYS_setsid: u32 = 147; -pub const SYS_quotactl: u32 = 148; -pub const SYS_nlm_syscall: u32 = 154; -pub const SYS_nfssvc: u32 = 155; -pub const SYS_lgetfh: u32 = 160; -pub const SYS_getfh: u32 = 161; -pub const SYS_sysarch: u32 = 165; -pub const SYS_rtprio: u32 = 166; -pub const SYS_semsys: u32 = 169; -pub const SYS_msgsys: u32 = 170; -pub const SYS_shmsys: u32 = 171; -pub const SYS_setfib: u32 = 175; -pub const SYS_ntp_adjtime: u32 = 176; -pub const SYS_setgid: u32 = 181; -pub const SYS_setegid: u32 = 182; -pub const SYS_seteuid: u32 = 183; -pub const SYS_freebsd11_stat: u32 = 188; -pub const SYS_freebsd11_fstat: u32 = 189; -pub const SYS_freebsd11_lstat: u32 = 190; -pub const SYS_pathconf: u32 = 191; -pub const SYS_fpathconf: u32 = 192; -pub const SYS_getrlimit: u32 = 194; -pub const SYS_setrlimit: u32 = 195; -pub const SYS_freebsd11_getdirentries: u32 = 196; -pub const SYS___syscall: u32 = 198; -pub const SYS___sysctl: u32 = 202; -pub const SYS_mlock: u32 = 203; -pub const SYS_munlock: u32 = 204; -pub const SYS_undelete: u32 = 205; -pub const SYS_futimes: u32 = 206; -pub const SYS_getpgid: u32 = 207; -pub const SYS_poll: u32 = 209; -pub const SYS_freebsd7___semctl: u32 = 220; -pub const SYS_semget: u32 = 221; -pub const SYS_semop: u32 = 222; -pub const SYS_freebsd7_msgctl: u32 = 224; -pub const SYS_msgget: u32 = 225; -pub const SYS_msgsnd: u32 = 226; -pub const SYS_msgrcv: u32 = 227; -pub const SYS_shmat: u32 = 228; -pub const SYS_freebsd7_shmctl: u32 = 229; -pub const SYS_shmdt: u32 = 230; -pub const SYS_shmget: u32 = 231; -pub const SYS_clock_gettime: u32 = 232; -pub const SYS_clock_settime: u32 = 233; -pub const SYS_clock_getres: u32 = 234; -pub const SYS_ktimer_create: u32 = 235; -pub const SYS_ktimer_delete: u32 = 236; -pub const SYS_ktimer_settime: u32 = 237; -pub const SYS_ktimer_gettime: u32 = 238; -pub const SYS_ktimer_getoverrun: u32 = 239; -pub const SYS_nanosleep: u32 = 240; -pub const SYS_ffclock_getcounter: u32 = 241; -pub const SYS_ffclock_setestimate: u32 = 242; -pub const SYS_ffclock_getestimate: u32 = 243; -pub const SYS_clock_nanosleep: u32 = 244; -pub const SYS_clock_getcpuclockid2: u32 = 247; -pub const SYS_ntp_gettime: u32 = 248; -pub const SYS_minherit: u32 = 250; -pub const SYS_rfork: u32 = 251; -pub const SYS_issetugid: u32 = 253; -pub const SYS_lchown: u32 = 254; -pub const SYS_aio_read: u32 = 255; -pub const SYS_aio_write: u32 = 256; -pub const SYS_lio_listio: u32 = 257; -pub const SYS_freebsd11_getdents: u32 = 272; -pub const SYS_lchmod: u32 = 274; -pub const SYS_lutimes: u32 = 276; -pub const SYS_freebsd11_nstat: u32 = 278; -pub const SYS_freebsd11_nfstat: u32 = 279; -pub const SYS_freebsd11_nlstat: u32 = 280; -pub const SYS_preadv: u32 = 289; -pub const SYS_pwritev: u32 = 290; -pub const SYS_fhopen: u32 = 298; -pub const SYS_freebsd11_fhstat: u32 = 299; -pub const SYS_modnext: u32 = 300; -pub const SYS_modstat: u32 = 301; -pub const SYS_modfnext: u32 = 302; -pub const SYS_modfind: u32 = 303; -pub const SYS_kldload: u32 = 304; -pub const SYS_kldunload: u32 = 305; -pub const SYS_kldfind: u32 = 306; -pub const SYS_kldnext: u32 = 307; -pub const SYS_kldstat: u32 = 308; -pub const SYS_kldfirstmod: u32 = 309; -pub const SYS_getsid: u32 = 310; -pub const SYS_setresuid: u32 = 311; -pub const SYS_setresgid: u32 = 312; -pub const SYS_aio_return: u32 = 314; -pub const SYS_aio_suspend: u32 = 315; -pub const SYS_aio_cancel: u32 = 316; -pub const SYS_aio_error: u32 = 317; -pub const SYS_yield: u32 = 321; -pub const SYS_mlockall: u32 = 324; -pub const SYS_munlockall: u32 = 325; -pub const SYS___getcwd: u32 = 326; -pub const SYS_sched_setparam: u32 = 327; -pub const SYS_sched_getparam: u32 = 328; -pub const SYS_sched_setscheduler: u32 = 329; -pub const SYS_sched_getscheduler: u32 = 330; -pub const SYS_sched_yield: u32 = 331; -pub const SYS_sched_get_priority_max: u32 = 332; -pub const SYS_sched_get_priority_min: u32 = 333; -pub const SYS_sched_rr_get_interval: u32 = 334; -pub const SYS_utrace: u32 = 335; -pub const SYS_kldsym: u32 = 337; -pub const SYS_jail: u32 = 338; -pub const SYS_nnpfs_syscall: u32 = 339; -pub const SYS_sigprocmask: u32 = 340; -pub const SYS_sigsuspend: u32 = 341; -pub const SYS_sigpending: u32 = 343; -pub const SYS_sigtimedwait: u32 = 345; -pub const SYS_sigwaitinfo: u32 = 346; -pub const SYS___acl_get_file: u32 = 347; -pub const SYS___acl_set_file: u32 = 348; -pub const SYS___acl_get_fd: u32 = 349; -pub const SYS___acl_set_fd: u32 = 350; -pub const SYS___acl_delete_file: u32 = 351; -pub const SYS___acl_delete_fd: u32 = 352; -pub const SYS___acl_aclcheck_file: u32 = 353; -pub const SYS___acl_aclcheck_fd: u32 = 354; -pub const SYS_extattrctl: u32 = 355; -pub const SYS_extattr_set_file: u32 = 356; -pub const SYS_extattr_get_file: u32 = 357; -pub const SYS_extattr_delete_file: u32 = 358; -pub const SYS_aio_waitcomplete: u32 = 359; -pub const SYS_getresuid: u32 = 360; -pub const SYS_getresgid: u32 = 361; -pub const SYS_kqueue: u32 = 362; -pub const SYS_freebsd11_kevent: u32 = 363; -pub const SYS_extattr_set_fd: u32 = 371; -pub const SYS_extattr_get_fd: u32 = 372; -pub const SYS_extattr_delete_fd: u32 = 373; -pub const SYS___setugid: u32 = 374; -pub const SYS_eaccess: u32 = 376; -pub const SYS_afs3_syscall: u32 = 377; -pub const SYS_nmount: u32 = 378; -pub const SYS___mac_get_proc: u32 = 384; -pub const SYS___mac_set_proc: u32 = 385; -pub const SYS___mac_get_fd: u32 = 386; -pub const SYS___mac_get_file: u32 = 387; -pub const SYS___mac_set_fd: u32 = 388; -pub const SYS___mac_set_file: u32 = 389; -pub const SYS_kenv: u32 = 390; -pub const SYS_lchflags: u32 = 391; -pub const SYS_uuidgen: u32 = 392; -pub const SYS_sendfile: u32 = 393; -pub const SYS_mac_syscall: u32 = 394; -pub const SYS_freebsd11_getfsstat: u32 = 395; -pub const SYS_freebsd11_statfs: u32 = 396; -pub const SYS_freebsd11_fstatfs: u32 = 397; -pub const SYS_freebsd11_fhstatfs: u32 = 398; -pub const SYS_ksem_close: u32 = 400; -pub const SYS_ksem_post: u32 = 401; -pub const SYS_ksem_wait: u32 = 402; -pub const SYS_ksem_trywait: u32 = 403; -pub const SYS_ksem_init: u32 = 404; -pub const SYS_ksem_open: u32 = 405; -pub const SYS_ksem_unlink: u32 = 406; -pub const SYS_ksem_getvalue: u32 = 407; -pub const SYS_ksem_destroy: u32 = 408; -pub const SYS___mac_get_pid: u32 = 409; -pub const SYS___mac_get_link: u32 = 410; -pub const SYS___mac_set_link: u32 = 411; -pub const SYS_extattr_set_link: u32 = 412; -pub const SYS_extattr_get_link: u32 = 413; -pub const SYS_extattr_delete_link: u32 = 414; -pub const SYS___mac_execve: u32 = 415; -pub const SYS_sigaction: u32 = 416; -pub const SYS_sigreturn: u32 = 417; -pub const SYS_getcontext: u32 = 421; -pub const SYS_setcontext: u32 = 422; -pub const SYS_swapcontext: u32 = 423; -pub const SYS_freebsd13_swapoff: u32 = 424; -pub const SYS___acl_get_link: u32 = 425; -pub const SYS___acl_set_link: u32 = 426; -pub const SYS___acl_delete_link: u32 = 427; -pub const SYS___acl_aclcheck_link: u32 = 428; -pub const SYS_sigwait: u32 = 429; -pub const SYS_thr_create: u32 = 430; -pub const SYS_thr_exit: u32 = 431; -pub const SYS_thr_self: u32 = 432; -pub const SYS_thr_kill: u32 = 433; -pub const SYS_freebsd10__umtx_lock: u32 = 434; -pub const SYS_freebsd10__umtx_unlock: u32 = 435; -pub const SYS_jail_attach: u32 = 436; -pub const SYS_extattr_list_fd: u32 = 437; -pub const SYS_extattr_list_file: u32 = 438; -pub const SYS_extattr_list_link: u32 = 439; -pub const SYS_ksem_timedwait: u32 = 441; -pub const SYS_thr_suspend: u32 = 442; -pub const SYS_thr_wake: u32 = 443; -pub const SYS_kldunloadf: u32 = 444; -pub const SYS_audit: u32 = 445; -pub const SYS_auditon: u32 = 446; -pub const SYS_getauid: u32 = 447; -pub const SYS_setauid: u32 = 448; -pub const SYS_getaudit: u32 = 449; -pub const SYS_setaudit: u32 = 450; -pub const SYS_getaudit_addr: u32 = 451; -pub const SYS_setaudit_addr: u32 = 452; -pub const SYS_auditctl: u32 = 453; -pub const SYS__umtx_op: u32 = 454; -pub const SYS_thr_new: u32 = 455; -pub const SYS_sigqueue: u32 = 456; -pub const SYS_kmq_open: u32 = 457; -pub const SYS_kmq_setattr: u32 = 458; -pub const SYS_kmq_timedreceive: u32 = 459; -pub const SYS_kmq_timedsend: u32 = 460; -pub const SYS_kmq_notify: u32 = 461; -pub const SYS_kmq_unlink: u32 = 462; -pub const SYS_abort2: u32 = 463; -pub const SYS_thr_set_name: u32 = 464; -pub const SYS_aio_fsync: u32 = 465; -pub const SYS_rtprio_thread: u32 = 466; -pub const SYS_sctp_peeloff: u32 = 471; -pub const SYS_sctp_generic_sendmsg: u32 = 472; -pub const SYS_sctp_generic_sendmsg_iov: u32 = 473; -pub const SYS_sctp_generic_recvmsg: u32 = 474; -pub const SYS_pread: u32 = 475; -pub const SYS_pwrite: u32 = 476; -pub const SYS_mmap: u32 = 477; -pub const SYS_lseek: u32 = 478; -pub const SYS_truncate: u32 = 479; -pub const SYS_ftruncate: u32 = 480; -pub const SYS_thr_kill2: u32 = 481; -pub const SYS_freebsd12_shm_open: u32 = 482; -pub const SYS_shm_unlink: u32 = 483; -pub const SYS_cpuset: u32 = 484; -pub const SYS_cpuset_setid: u32 = 485; -pub const SYS_cpuset_getid: u32 = 486; -pub const SYS_cpuset_getaffinity: u32 = 487; -pub const SYS_cpuset_setaffinity: u32 = 488; -pub const SYS_faccessat: u32 = 489; -pub const SYS_fchmodat: u32 = 490; -pub const SYS_fchownat: u32 = 491; -pub const SYS_fexecve: u32 = 492; -pub const SYS_freebsd11_fstatat: u32 = 493; -pub const SYS_futimesat: u32 = 494; -pub const SYS_linkat: u32 = 495; -pub const SYS_mkdirat: u32 = 496; -pub const SYS_mkfifoat: u32 = 497; -pub const SYS_freebsd11_mknodat: u32 = 498; -pub const SYS_openat: u32 = 499; -pub const SYS_readlinkat: u32 = 500; -pub const SYS_renameat: u32 = 501; -pub const SYS_symlinkat: u32 = 502; -pub const SYS_unlinkat: u32 = 503; -pub const SYS_posix_openpt: u32 = 504; -pub const SYS_gssd_syscall: u32 = 505; -pub const SYS_jail_get: u32 = 506; -pub const SYS_jail_set: u32 = 507; -pub const SYS_jail_remove: u32 = 508; -pub const SYS_freebsd12_closefrom: u32 = 509; -pub const SYS___semctl: u32 = 510; -pub const SYS_msgctl: u32 = 511; -pub const SYS_shmctl: u32 = 512; -pub const SYS_lpathconf: u32 = 513; -pub const SYS___cap_rights_get: u32 = 515; -pub const SYS_cap_enter: u32 = 516; -pub const SYS_cap_getmode: u32 = 517; -pub const SYS_pdfork: u32 = 518; -pub const SYS_pdkill: u32 = 519; -pub const SYS_pdgetpid: u32 = 520; -pub const SYS_pselect: u32 = 522; -pub const SYS_getloginclass: u32 = 523; -pub const SYS_setloginclass: u32 = 524; -pub const SYS_rctl_get_racct: u32 = 525; -pub const SYS_rctl_get_rules: u32 = 526; -pub const SYS_rctl_get_limits: u32 = 527; -pub const SYS_rctl_add_rule: u32 = 528; -pub const SYS_rctl_remove_rule: u32 = 529; -pub const SYS_posix_fallocate: u32 = 530; -pub const SYS_posix_fadvise: u32 = 531; -pub const SYS_wait6: u32 = 532; -pub const SYS_cap_rights_limit: u32 = 533; -pub const SYS_cap_ioctls_limit: u32 = 534; -pub const SYS_cap_ioctls_get: u32 = 535; -pub const SYS_cap_fcntls_limit: u32 = 536; -pub const SYS_cap_fcntls_get: u32 = 537; -pub const SYS_bindat: u32 = 538; -pub const SYS_connectat: u32 = 539; -pub const SYS_chflagsat: u32 = 540; -pub const SYS_accept4: u32 = 541; -pub const SYS_pipe2: u32 = 542; -pub const SYS_aio_mlock: u32 = 543; -pub const SYS_procctl: u32 = 544; -pub const SYS_ppoll: u32 = 545; -pub const SYS_futimens: u32 = 546; -pub const SYS_utimensat: u32 = 547; -pub const SYS_fdatasync: u32 = 550; -pub const SYS_fstat: u32 = 551; -pub const SYS_fstatat: u32 = 552; -pub const SYS_fhstat: u32 = 553; -pub const SYS_getdirentries: u32 = 554; -pub const SYS_statfs: u32 = 555; -pub const SYS_fstatfs: u32 = 556; -pub const SYS_getfsstat: u32 = 557; -pub const SYS_fhstatfs: u32 = 558; -pub const SYS_mknodat: u32 = 559; -pub const SYS_kevent: u32 = 560; -pub const SYS_cpuset_getdomain: u32 = 561; -pub const SYS_cpuset_setdomain: u32 = 562; -pub const SYS_getrandom: u32 = 563; -pub const SYS_getfhat: u32 = 564; -pub const SYS_fhlink: u32 = 565; -pub const SYS_fhlinkat: u32 = 566; -pub const SYS_fhreadlink: u32 = 567; -pub const SYS_funlinkat: u32 = 568; -pub const SYS_copy_file_range: u32 = 569; -pub const SYS___sysctlbyname: u32 = 570; -pub const SYS_shm_open2: u32 = 571; -pub const SYS_shm_rename: u32 = 572; -pub const SYS_sigfastblock: u32 = 573; -pub const SYS___realpathat: u32 = 574; -pub const SYS_close_range: u32 = 575; -pub const SYS_rpctls_syscall: u32 = 576; -pub const SYS___specialfd: u32 = 577; -pub const SYS_aio_writev: u32 = 578; -pub const SYS_aio_readv: u32 = 579; -pub const SYS_fspacectl: u32 = 580; -pub const SYS_sched_getcpu: u32 = 581; -pub const SYS_swapoff: u32 = 582; -pub const SYS_kqueuex: u32 = 583; -pub const SYS_membarrier: u32 = 584; -pub const SYS_timerfd_create: u32 = 585; -pub const SYS_timerfd_gettime: u32 = 586; -pub const SYS_timerfd_settime: u32 = 587; -pub const SYS_kcmp: u32 = 588; -pub const SYS_getrlimitusage: u32 = 589; -pub const SYS_MAXSYSCALL: u32 = 590; diff --git a/tests/helper/src/gen/sys/powerpc64_freebsd/sys_sysctl.rs b/tests/helper/src/gen/sys/powerpc64_freebsd/sys_sysctl.rs deleted file mode 100644 index c84111ec..00000000 --- a/tests/helper/src/gen/sys/powerpc64_freebsd/sys_sysctl.rs +++ /dev/null @@ -1,10 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -pub const CTL_KERN: u32 = 1; -pub const KERN_PROC: u32 = 14; -pub const KERN_PROC_AUXV: u32 = 36; diff --git a/tests/helper/src/gen/sys/powerpc64_ibm_aix/mod.rs b/tests/helper/src/gen/sys/powerpc64_ibm_aix/mod.rs deleted file mode 100644 index 88b25358..00000000 --- a/tests/helper/src/gen/sys/powerpc64_ibm_aix/mod.rs +++ /dev/null @@ -1,7 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] -pub type c_char = u8; diff --git a/tests/helper/src/gen/sys/powerpc64_linux_gnu/dlfcn.rs b/tests/helper/src/gen/sys/powerpc64_linux_gnu/dlfcn.rs deleted file mode 100644 index 0c516f36..00000000 --- a/tests/helper/src/gen/sys/powerpc64_linux_gnu/dlfcn.rs +++ /dev/null @@ -1,14 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -pub const RTLD_DEFAULT: *mut ::std::os::raw::c_void = ::core::ptr::null_mut(); -extern "C" { - pub fn dlsym( - __handle: *mut ::core::ffi::c_void, - __name: *const ::std::os::raw::c_char, - ) -> *mut ::core::ffi::c_void; -} diff --git a/tests/helper/src/gen/sys/powerpc64_linux_gnu/elf.rs b/tests/helper/src/gen/sys/powerpc64_linux_gnu/elf.rs deleted file mode 100644 index a3c1790d..00000000 --- a/tests/helper/src/gen/sys/powerpc64_linux_gnu/elf.rs +++ /dev/null @@ -1,29 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -#[repr(C)] -#[derive(Copy, Clone)] -pub struct Elf32_auxv_t { - pub a_type: u32, - pub a_un: Elf32_auxv_t__bindgen_ty_1, -} -#[repr(C)] -#[derive(Copy, Clone)] -pub union Elf32_auxv_t__bindgen_ty_1 { - pub a_val: u32, -} -#[repr(C)] -#[derive(Copy, Clone)] -pub struct Elf64_auxv_t { - pub a_type: u64, - pub a_un: Elf64_auxv_t__bindgen_ty_1, -} -#[repr(C)] -#[derive(Copy, Clone)] -pub union Elf64_auxv_t__bindgen_ty_1 { - pub a_val: u64, -} diff --git a/tests/helper/src/gen/sys/powerpc64_linux_gnu/linux_headers_asm_cputable.rs b/tests/helper/src/gen/sys/powerpc64_linux_gnu/linux_headers_asm_cputable.rs deleted file mode 100644 index 905b1aaa..00000000 --- a/tests/helper/src/gen/sys/powerpc64_linux_gnu/linux_headers_asm_cputable.rs +++ /dev/null @@ -1,50 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -pub const PPC_FEATURE_32: u32 = 2147483648; -pub const PPC_FEATURE_64: u32 = 1073741824; -pub const PPC_FEATURE_601_INSTR: u32 = 536870912; -pub const PPC_FEATURE_HAS_ALTIVEC: u32 = 268435456; -pub const PPC_FEATURE_HAS_FPU: u32 = 134217728; -pub const PPC_FEATURE_HAS_MMU: u32 = 67108864; -pub const PPC_FEATURE_HAS_4xxMAC: u32 = 33554432; -pub const PPC_FEATURE_UNIFIED_CACHE: u32 = 16777216; -pub const PPC_FEATURE_HAS_SPE: u32 = 8388608; -pub const PPC_FEATURE_HAS_EFP_SINGLE: u32 = 4194304; -pub const PPC_FEATURE_HAS_EFP_DOUBLE: u32 = 2097152; -pub const PPC_FEATURE_NO_TB: u32 = 1048576; -pub const PPC_FEATURE_POWER4: u32 = 524288; -pub const PPC_FEATURE_POWER5: u32 = 262144; -pub const PPC_FEATURE_POWER5_PLUS: u32 = 131072; -pub const PPC_FEATURE_CELL: u32 = 65536; -pub const PPC_FEATURE_BOOKE: u32 = 32768; -pub const PPC_FEATURE_SMT: u32 = 16384; -pub const PPC_FEATURE_ICACHE_SNOOP: u32 = 8192; -pub const PPC_FEATURE_ARCH_2_05: u32 = 4096; -pub const PPC_FEATURE_PA6T: u32 = 2048; -pub const PPC_FEATURE_HAS_DFP: u32 = 1024; -pub const PPC_FEATURE_POWER6_EXT: u32 = 512; -pub const PPC_FEATURE_ARCH_2_06: u32 = 256; -pub const PPC_FEATURE_HAS_VSX: u32 = 128; -pub const PPC_FEATURE_PSERIES_PERFMON_COMPAT: u32 = 64; -pub const PPC_FEATURE_TRUE_LE: u32 = 2; -pub const PPC_FEATURE_PPC_LE: u32 = 1; -pub const PPC_FEATURE2_ARCH_2_07: u32 = 2147483648; -pub const PPC_FEATURE2_HTM: u32 = 1073741824; -pub const PPC_FEATURE2_DSCR: u32 = 536870912; -pub const PPC_FEATURE2_EBB: u32 = 268435456; -pub const PPC_FEATURE2_ISEL: u32 = 134217728; -pub const PPC_FEATURE2_TAR: u32 = 67108864; -pub const PPC_FEATURE2_VEC_CRYPTO: u32 = 33554432; -pub const PPC_FEATURE2_HTM_NOSC: u32 = 16777216; -pub const PPC_FEATURE2_ARCH_3_00: u32 = 8388608; -pub const PPC_FEATURE2_HAS_IEEE128: u32 = 4194304; -pub const PPC_FEATURE2_DARN: u32 = 2097152; -pub const PPC_FEATURE2_SCV: u32 = 1048576; -pub const PPC_FEATURE2_HTM_NO_SUSPEND: u32 = 524288; -pub const PPC_FEATURE2_ARCH_3_1: u32 = 262144; -pub const PPC_FEATURE2_MMA: u32 = 131072; diff --git a/tests/helper/src/gen/sys/powerpc64_linux_gnu/linux_headers_asm_unistd.rs b/tests/helper/src/gen/sys/powerpc64_linux_gnu/linux_headers_asm_unistd.rs deleted file mode 100644 index 1fcd97eb..00000000 --- a/tests/helper/src/gen/sys/powerpc64_linux_gnu/linux_headers_asm_unistd.rs +++ /dev/null @@ -1,422 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -pub const __NR_restart_syscall: u32 = 0; -pub const __NR_exit: u32 = 1; -pub const __NR_fork: u32 = 2; -pub const __NR_read: u32 = 3; -pub const __NR_write: u32 = 4; -pub const __NR_open: u32 = 5; -pub const __NR_close: u32 = 6; -pub const __NR_waitpid: u32 = 7; -pub const __NR_creat: u32 = 8; -pub const __NR_link: u32 = 9; -pub const __NR_unlink: u32 = 10; -pub const __NR_execve: u32 = 11; -pub const __NR_chdir: u32 = 12; -pub const __NR_time: u32 = 13; -pub const __NR_mknod: u32 = 14; -pub const __NR_chmod: u32 = 15; -pub const __NR_lchown: u32 = 16; -pub const __NR_break: u32 = 17; -pub const __NR_oldstat: u32 = 18; -pub const __NR_lseek: u32 = 19; -pub const __NR_getpid: u32 = 20; -pub const __NR_mount: u32 = 21; -pub const __NR_umount: u32 = 22; -pub const __NR_setuid: u32 = 23; -pub const __NR_getuid: u32 = 24; -pub const __NR_stime: u32 = 25; -pub const __NR_ptrace: u32 = 26; -pub const __NR_alarm: u32 = 27; -pub const __NR_oldfstat: u32 = 28; -pub const __NR_pause: u32 = 29; -pub const __NR_utime: u32 = 30; -pub const __NR_stty: u32 = 31; -pub const __NR_gtty: u32 = 32; -pub const __NR_access: u32 = 33; -pub const __NR_nice: u32 = 34; -pub const __NR_ftime: u32 = 35; -pub const __NR_sync: u32 = 36; -pub const __NR_kill: u32 = 37; -pub const __NR_rename: u32 = 38; -pub const __NR_mkdir: u32 = 39; -pub const __NR_rmdir: u32 = 40; -pub const __NR_dup: u32 = 41; -pub const __NR_pipe: u32 = 42; -pub const __NR_times: u32 = 43; -pub const __NR_prof: u32 = 44; -pub const __NR_brk: u32 = 45; -pub const __NR_setgid: u32 = 46; -pub const __NR_getgid: u32 = 47; -pub const __NR_signal: u32 = 48; -pub const __NR_geteuid: u32 = 49; -pub const __NR_getegid: u32 = 50; -pub const __NR_acct: u32 = 51; -pub const __NR_umount2: u32 = 52; -pub const __NR_lock: u32 = 53; -pub const __NR_ioctl: u32 = 54; -pub const __NR_fcntl: u32 = 55; -pub const __NR_mpx: u32 = 56; -pub const __NR_setpgid: u32 = 57; -pub const __NR_ulimit: u32 = 58; -pub const __NR_oldolduname: u32 = 59; -pub const __NR_umask: u32 = 60; -pub const __NR_chroot: u32 = 61; -pub const __NR_ustat: u32 = 62; -pub const __NR_dup2: u32 = 63; -pub const __NR_getppid: u32 = 64; -pub const __NR_getpgrp: u32 = 65; -pub const __NR_setsid: u32 = 66; -pub const __NR_sigaction: u32 = 67; -pub const __NR_sgetmask: u32 = 68; -pub const __NR_ssetmask: u32 = 69; -pub const __NR_setreuid: u32 = 70; -pub const __NR_setregid: u32 = 71; -pub const __NR_sigsuspend: u32 = 72; -pub const __NR_sigpending: u32 = 73; -pub const __NR_sethostname: u32 = 74; -pub const __NR_setrlimit: u32 = 75; -pub const __NR_getrlimit: u32 = 76; -pub const __NR_getrusage: u32 = 77; -pub const __NR_gettimeofday: u32 = 78; -pub const __NR_settimeofday: u32 = 79; -pub const __NR_getgroups: u32 = 80; -pub const __NR_setgroups: u32 = 81; -pub const __NR_select: u32 = 82; -pub const __NR_symlink: u32 = 83; -pub const __NR_oldlstat: u32 = 84; -pub const __NR_readlink: u32 = 85; -pub const __NR_uselib: u32 = 86; -pub const __NR_swapon: u32 = 87; -pub const __NR_reboot: u32 = 88; -pub const __NR_readdir: u32 = 89; -pub const __NR_mmap: u32 = 90; -pub const __NR_munmap: u32 = 91; -pub const __NR_truncate: u32 = 92; -pub const __NR_ftruncate: u32 = 93; -pub const __NR_fchmod: u32 = 94; -pub const __NR_fchown: u32 = 95; -pub const __NR_getpriority: u32 = 96; -pub const __NR_setpriority: u32 = 97; -pub const __NR_profil: u32 = 98; -pub const __NR_statfs: u32 = 99; -pub const __NR_fstatfs: u32 = 100; -pub const __NR_ioperm: u32 = 101; -pub const __NR_socketcall: u32 = 102; -pub const __NR_syslog: u32 = 103; -pub const __NR_setitimer: u32 = 104; -pub const __NR_getitimer: u32 = 105; -pub const __NR_stat: u32 = 106; -pub const __NR_lstat: u32 = 107; -pub const __NR_fstat: u32 = 108; -pub const __NR_olduname: u32 = 109; -pub const __NR_iopl: u32 = 110; -pub const __NR_vhangup: u32 = 111; -pub const __NR_idle: u32 = 112; -pub const __NR_vm86: u32 = 113; -pub const __NR_wait4: u32 = 114; -pub const __NR_swapoff: u32 = 115; -pub const __NR_sysinfo: u32 = 116; -pub const __NR_ipc: u32 = 117; -pub const __NR_fsync: u32 = 118; -pub const __NR_sigreturn: u32 = 119; -pub const __NR_clone: u32 = 120; -pub const __NR_setdomainname: u32 = 121; -pub const __NR_uname: u32 = 122; -pub const __NR_modify_ldt: u32 = 123; -pub const __NR_adjtimex: u32 = 124; -pub const __NR_mprotect: u32 = 125; -pub const __NR_sigprocmask: u32 = 126; -pub const __NR_create_module: u32 = 127; -pub const __NR_init_module: u32 = 128; -pub const __NR_delete_module: u32 = 129; -pub const __NR_get_kernel_syms: u32 = 130; -pub const __NR_quotactl: u32 = 131; -pub const __NR_getpgid: u32 = 132; -pub const __NR_fchdir: u32 = 133; -pub const __NR_bdflush: u32 = 134; -pub const __NR_sysfs: u32 = 135; -pub const __NR_personality: u32 = 136; -pub const __NR_afs_syscall: u32 = 137; -pub const __NR_setfsuid: u32 = 138; -pub const __NR_setfsgid: u32 = 139; -pub const __NR__llseek: u32 = 140; -pub const __NR_getdents: u32 = 141; -pub const __NR__newselect: u32 = 142; -pub const __NR_flock: u32 = 143; -pub const __NR_msync: u32 = 144; -pub const __NR_readv: u32 = 145; -pub const __NR_writev: u32 = 146; -pub const __NR_getsid: u32 = 147; -pub const __NR_fdatasync: u32 = 148; -pub const __NR__sysctl: u32 = 149; -pub const __NR_mlock: u32 = 150; -pub const __NR_munlock: u32 = 151; -pub const __NR_mlockall: u32 = 152; -pub const __NR_munlockall: u32 = 153; -pub const __NR_sched_setparam: u32 = 154; -pub const __NR_sched_getparam: u32 = 155; -pub const __NR_sched_setscheduler: u32 = 156; -pub const __NR_sched_getscheduler: u32 = 157; -pub const __NR_sched_yield: u32 = 158; -pub const __NR_sched_get_priority_max: u32 = 159; -pub const __NR_sched_get_priority_min: u32 = 160; -pub const __NR_sched_rr_get_interval: u32 = 161; -pub const __NR_nanosleep: u32 = 162; -pub const __NR_mremap: u32 = 163; -pub const __NR_setresuid: u32 = 164; -pub const __NR_getresuid: u32 = 165; -pub const __NR_query_module: u32 = 166; -pub const __NR_poll: u32 = 167; -pub const __NR_nfsservctl: u32 = 168; -pub const __NR_setresgid: u32 = 169; -pub const __NR_getresgid: u32 = 170; -pub const __NR_prctl: u32 = 171; -pub const __NR_rt_sigreturn: u32 = 172; -pub const __NR_rt_sigaction: u32 = 173; -pub const __NR_rt_sigprocmask: u32 = 174; -pub const __NR_rt_sigpending: u32 = 175; -pub const __NR_rt_sigtimedwait: u32 = 176; -pub const __NR_rt_sigqueueinfo: u32 = 177; -pub const __NR_rt_sigsuspend: u32 = 178; -pub const __NR_pread64: u32 = 179; -pub const __NR_pwrite64: u32 = 180; -pub const __NR_chown: u32 = 181; -pub const __NR_getcwd: u32 = 182; -pub const __NR_capget: u32 = 183; -pub const __NR_capset: u32 = 184; -pub const __NR_sigaltstack: u32 = 185; -pub const __NR_sendfile: u32 = 186; -pub const __NR_getpmsg: u32 = 187; -pub const __NR_putpmsg: u32 = 188; -pub const __NR_vfork: u32 = 189; -pub const __NR_ugetrlimit: u32 = 190; -pub const __NR_readahead: u32 = 191; -pub const __NR_pciconfig_read: u32 = 198; -pub const __NR_pciconfig_write: u32 = 199; -pub const __NR_pciconfig_iobase: u32 = 200; -pub const __NR_multiplexer: u32 = 201; -pub const __NR_getdents64: u32 = 202; -pub const __NR_pivot_root: u32 = 203; -pub const __NR_madvise: u32 = 205; -pub const __NR_mincore: u32 = 206; -pub const __NR_gettid: u32 = 207; -pub const __NR_tkill: u32 = 208; -pub const __NR_setxattr: u32 = 209; -pub const __NR_lsetxattr: u32 = 210; -pub const __NR_fsetxattr: u32 = 211; -pub const __NR_getxattr: u32 = 212; -pub const __NR_lgetxattr: u32 = 213; -pub const __NR_fgetxattr: u32 = 214; -pub const __NR_listxattr: u32 = 215; -pub const __NR_llistxattr: u32 = 216; -pub const __NR_flistxattr: u32 = 217; -pub const __NR_removexattr: u32 = 218; -pub const __NR_lremovexattr: u32 = 219; -pub const __NR_fremovexattr: u32 = 220; -pub const __NR_futex: u32 = 221; -pub const __NR_sched_setaffinity: u32 = 222; -pub const __NR_sched_getaffinity: u32 = 223; -pub const __NR_tuxcall: u32 = 225; -pub const __NR_io_setup: u32 = 227; -pub const __NR_io_destroy: u32 = 228; -pub const __NR_io_getevents: u32 = 229; -pub const __NR_io_submit: u32 = 230; -pub const __NR_io_cancel: u32 = 231; -pub const __NR_set_tid_address: u32 = 232; -pub const __NR_fadvise64: u32 = 233; -pub const __NR_exit_group: u32 = 234; -pub const __NR_lookup_dcookie: u32 = 235; -pub const __NR_epoll_create: u32 = 236; -pub const __NR_epoll_ctl: u32 = 237; -pub const __NR_epoll_wait: u32 = 238; -pub const __NR_remap_file_pages: u32 = 239; -pub const __NR_timer_create: u32 = 240; -pub const __NR_timer_settime: u32 = 241; -pub const __NR_timer_gettime: u32 = 242; -pub const __NR_timer_getoverrun: u32 = 243; -pub const __NR_timer_delete: u32 = 244; -pub const __NR_clock_settime: u32 = 245; -pub const __NR_clock_gettime: u32 = 246; -pub const __NR_clock_getres: u32 = 247; -pub const __NR_clock_nanosleep: u32 = 248; -pub const __NR_swapcontext: u32 = 249; -pub const __NR_tgkill: u32 = 250; -pub const __NR_utimes: u32 = 251; -pub const __NR_statfs64: u32 = 252; -pub const __NR_fstatfs64: u32 = 253; -pub const __NR_rtas: u32 = 255; -pub const __NR_sys_debug_setcontext: u32 = 256; -pub const __NR_migrate_pages: u32 = 258; -pub const __NR_mbind: u32 = 259; -pub const __NR_get_mempolicy: u32 = 260; -pub const __NR_set_mempolicy: u32 = 261; -pub const __NR_mq_open: u32 = 262; -pub const __NR_mq_unlink: u32 = 263; -pub const __NR_mq_timedsend: u32 = 264; -pub const __NR_mq_timedreceive: u32 = 265; -pub const __NR_mq_notify: u32 = 266; -pub const __NR_mq_getsetattr: u32 = 267; -pub const __NR_kexec_load: u32 = 268; -pub const __NR_add_key: u32 = 269; -pub const __NR_request_key: u32 = 270; -pub const __NR_keyctl: u32 = 271; -pub const __NR_waitid: u32 = 272; -pub const __NR_ioprio_set: u32 = 273; -pub const __NR_ioprio_get: u32 = 274; -pub const __NR_inotify_init: u32 = 275; -pub const __NR_inotify_add_watch: u32 = 276; -pub const __NR_inotify_rm_watch: u32 = 277; -pub const __NR_spu_run: u32 = 278; -pub const __NR_spu_create: u32 = 279; -pub const __NR_pselect6: u32 = 280; -pub const __NR_ppoll: u32 = 281; -pub const __NR_unshare: u32 = 282; -pub const __NR_splice: u32 = 283; -pub const __NR_tee: u32 = 284; -pub const __NR_vmsplice: u32 = 285; -pub const __NR_openat: u32 = 286; -pub const __NR_mkdirat: u32 = 287; -pub const __NR_mknodat: u32 = 288; -pub const __NR_fchownat: u32 = 289; -pub const __NR_futimesat: u32 = 290; -pub const __NR_newfstatat: u32 = 291; -pub const __NR_unlinkat: u32 = 292; -pub const __NR_renameat: u32 = 293; -pub const __NR_linkat: u32 = 294; -pub const __NR_symlinkat: u32 = 295; -pub const __NR_readlinkat: u32 = 296; -pub const __NR_fchmodat: u32 = 297; -pub const __NR_faccessat: u32 = 298; -pub const __NR_get_robust_list: u32 = 299; -pub const __NR_set_robust_list: u32 = 300; -pub const __NR_move_pages: u32 = 301; -pub const __NR_getcpu: u32 = 302; -pub const __NR_epoll_pwait: u32 = 303; -pub const __NR_utimensat: u32 = 304; -pub const __NR_signalfd: u32 = 305; -pub const __NR_timerfd_create: u32 = 306; -pub const __NR_eventfd: u32 = 307; -pub const __NR_sync_file_range2: u32 = 308; -pub const __NR_fallocate: u32 = 309; -pub const __NR_subpage_prot: u32 = 310; -pub const __NR_timerfd_settime: u32 = 311; -pub const __NR_timerfd_gettime: u32 = 312; -pub const __NR_signalfd4: u32 = 313; -pub const __NR_eventfd2: u32 = 314; -pub const __NR_epoll_create1: u32 = 315; -pub const __NR_dup3: u32 = 316; -pub const __NR_pipe2: u32 = 317; -pub const __NR_inotify_init1: u32 = 318; -pub const __NR_perf_event_open: u32 = 319; -pub const __NR_preadv: u32 = 320; -pub const __NR_pwritev: u32 = 321; -pub const __NR_rt_tgsigqueueinfo: u32 = 322; -pub const __NR_fanotify_init: u32 = 323; -pub const __NR_fanotify_mark: u32 = 324; -pub const __NR_prlimit64: u32 = 325; -pub const __NR_socket: u32 = 326; -pub const __NR_bind: u32 = 327; -pub const __NR_connect: u32 = 328; -pub const __NR_listen: u32 = 329; -pub const __NR_accept: u32 = 330; -pub const __NR_getsockname: u32 = 331; -pub const __NR_getpeername: u32 = 332; -pub const __NR_socketpair: u32 = 333; -pub const __NR_send: u32 = 334; -pub const __NR_sendto: u32 = 335; -pub const __NR_recv: u32 = 336; -pub const __NR_recvfrom: u32 = 337; -pub const __NR_shutdown: u32 = 338; -pub const __NR_setsockopt: u32 = 339; -pub const __NR_getsockopt: u32 = 340; -pub const __NR_sendmsg: u32 = 341; -pub const __NR_recvmsg: u32 = 342; -pub const __NR_recvmmsg: u32 = 343; -pub const __NR_accept4: u32 = 344; -pub const __NR_name_to_handle_at: u32 = 345; -pub const __NR_open_by_handle_at: u32 = 346; -pub const __NR_clock_adjtime: u32 = 347; -pub const __NR_syncfs: u32 = 348; -pub const __NR_sendmmsg: u32 = 349; -pub const __NR_setns: u32 = 350; -pub const __NR_process_vm_readv: u32 = 351; -pub const __NR_process_vm_writev: u32 = 352; -pub const __NR_finit_module: u32 = 353; -pub const __NR_kcmp: u32 = 354; -pub const __NR_sched_setattr: u32 = 355; -pub const __NR_sched_getattr: u32 = 356; -pub const __NR_renameat2: u32 = 357; -pub const __NR_seccomp: u32 = 358; -pub const __NR_getrandom: u32 = 359; -pub const __NR_memfd_create: u32 = 360; -pub const __NR_bpf: u32 = 361; -pub const __NR_execveat: u32 = 362; -pub const __NR_switch_endian: u32 = 363; -pub const __NR_userfaultfd: u32 = 364; -pub const __NR_membarrier: u32 = 365; -pub const __NR_mlock2: u32 = 378; -pub const __NR_copy_file_range: u32 = 379; -pub const __NR_preadv2: u32 = 380; -pub const __NR_pwritev2: u32 = 381; -pub const __NR_kexec_file_load: u32 = 382; -pub const __NR_statx: u32 = 383; -pub const __NR_pkey_alloc: u32 = 384; -pub const __NR_pkey_free: u32 = 385; -pub const __NR_pkey_mprotect: u32 = 386; -pub const __NR_rseq: u32 = 387; -pub const __NR_io_pgetevents: u32 = 388; -pub const __NR_semtimedop: u32 = 392; -pub const __NR_semget: u32 = 393; -pub const __NR_semctl: u32 = 394; -pub const __NR_shmget: u32 = 395; -pub const __NR_shmctl: u32 = 396; -pub const __NR_shmat: u32 = 397; -pub const __NR_shmdt: u32 = 398; -pub const __NR_msgget: u32 = 399; -pub const __NR_msgsnd: u32 = 400; -pub const __NR_msgrcv: u32 = 401; -pub const __NR_msgctl: u32 = 402; -pub const __NR_pidfd_send_signal: u32 = 424; -pub const __NR_io_uring_setup: u32 = 425; -pub const __NR_io_uring_enter: u32 = 426; -pub const __NR_io_uring_register: u32 = 427; -pub const __NR_open_tree: u32 = 428; -pub const __NR_move_mount: u32 = 429; -pub const __NR_fsopen: u32 = 430; -pub const __NR_fsconfig: u32 = 431; -pub const __NR_fsmount: u32 = 432; -pub const __NR_fspick: u32 = 433; -pub const __NR_pidfd_open: u32 = 434; -pub const __NR_clone3: u32 = 435; -pub const __NR_close_range: u32 = 436; -pub const __NR_openat2: u32 = 437; -pub const __NR_pidfd_getfd: u32 = 438; -pub const __NR_faccessat2: u32 = 439; -pub const __NR_process_madvise: u32 = 440; -pub const __NR_epoll_pwait2: u32 = 441; -pub const __NR_mount_setattr: u32 = 442; -pub const __NR_quotactl_fd: u32 = 443; -pub const __NR_landlock_create_ruleset: u32 = 444; -pub const __NR_landlock_add_rule: u32 = 445; -pub const __NR_landlock_restrict_self: u32 = 446; -pub const __NR_process_mrelease: u32 = 448; -pub const __NR_futex_waitv: u32 = 449; -pub const __NR_set_mempolicy_home_node: u32 = 450; -pub const __NR_cachestat: u32 = 451; -pub const __NR_fchmodat2: u32 = 452; -pub const __NR_map_shadow_stack: u32 = 453; -pub const __NR_futex_wake: u32 = 454; -pub const __NR_futex_wait: u32 = 455; -pub const __NR_futex_requeue: u32 = 456; -pub const __NR_statmount: u32 = 457; -pub const __NR_listmount: u32 = 458; -pub const __NR_lsm_get_self_attr: u32 = 459; -pub const __NR_lsm_set_self_attr: u32 = 460; -pub const __NR_lsm_list_modules: u32 = 461; -pub const __NR_mseal: u32 = 462; diff --git a/tests/helper/src/gen/sys/powerpc64_linux_gnu/linux_headers_linux_auxvec.rs b/tests/helper/src/gen/sys/powerpc64_linux_gnu/linux_headers_linux_auxvec.rs deleted file mode 100644 index 16bf174c..00000000 --- a/tests/helper/src/gen/sys/powerpc64_linux_gnu/linux_headers_linux_auxvec.rs +++ /dev/null @@ -1,49 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -pub const AT_DCACHEBSIZE: u32 = 19; -pub const AT_ICACHEBSIZE: u32 = 20; -pub const AT_UCACHEBSIZE: u32 = 21; -pub const AT_IGNOREPPC: u32 = 22; -pub const AT_SYSINFO_EHDR: u32 = 33; -pub const AT_L1I_CACHESIZE: u32 = 40; -pub const AT_L1I_CACHEGEOMETRY: u32 = 41; -pub const AT_L1D_CACHESIZE: u32 = 42; -pub const AT_L1D_CACHEGEOMETRY: u32 = 43; -pub const AT_L2_CACHESIZE: u32 = 44; -pub const AT_L2_CACHEGEOMETRY: u32 = 45; -pub const AT_L3_CACHESIZE: u32 = 46; -pub const AT_L3_CACHEGEOMETRY: u32 = 47; -pub const AT_MINSIGSTKSZ: u32 = 51; -pub const AT_VECTOR_SIZE_ARCH: u32 = 15; -pub const AT_NULL: u32 = 0; -pub const AT_IGNORE: u32 = 1; -pub const AT_EXECFD: u32 = 2; -pub const AT_PHDR: u32 = 3; -pub const AT_PHENT: u32 = 4; -pub const AT_PHNUM: u32 = 5; -pub const AT_PAGESZ: u32 = 6; -pub const AT_BASE: u32 = 7; -pub const AT_FLAGS: u32 = 8; -pub const AT_ENTRY: u32 = 9; -pub const AT_NOTELF: u32 = 10; -pub const AT_UID: u32 = 11; -pub const AT_EUID: u32 = 12; -pub const AT_GID: u32 = 13; -pub const AT_EGID: u32 = 14; -pub const AT_PLATFORM: u32 = 15; -pub const AT_HWCAP: u32 = 16; -pub const AT_CLKTCK: u32 = 17; -pub const AT_SECURE: u32 = 23; -pub const AT_BASE_PLATFORM: u32 = 24; -pub const AT_RANDOM: u32 = 25; -pub const AT_HWCAP2: u32 = 26; -pub const AT_RSEQ_FEATURE_SIZE: u32 = 27; -pub const AT_RSEQ_ALIGN: u32 = 28; -pub const AT_HWCAP3: u32 = 29; -pub const AT_HWCAP4: u32 = 30; -pub const AT_EXECFN: u32 = 31; diff --git a/tests/helper/src/gen/sys/powerpc64_linux_gnu/linux_headers_linux_prctl.rs b/tests/helper/src/gen/sys/powerpc64_linux_gnu/linux_headers_linux_prctl.rs deleted file mode 100644 index 6eeb3021..00000000 --- a/tests/helper/src/gen/sys/powerpc64_linux_gnu/linux_headers_linux_prctl.rs +++ /dev/null @@ -1,189 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -pub const PR_SET_PDEATHSIG: u32 = 1; -pub const PR_GET_PDEATHSIG: u32 = 2; -pub const PR_GET_DUMPABLE: u32 = 3; -pub const PR_SET_DUMPABLE: u32 = 4; -pub const PR_GET_UNALIGN: u32 = 5; -pub const PR_SET_UNALIGN: u32 = 6; -pub const PR_UNALIGN_NOPRINT: u32 = 1; -pub const PR_UNALIGN_SIGBUS: u32 = 2; -pub const PR_GET_KEEPCAPS: u32 = 7; -pub const PR_SET_KEEPCAPS: u32 = 8; -pub const PR_GET_FPEMU: u32 = 9; -pub const PR_SET_FPEMU: u32 = 10; -pub const PR_FPEMU_NOPRINT: u32 = 1; -pub const PR_FPEMU_SIGFPE: u32 = 2; -pub const PR_GET_FPEXC: u32 = 11; -pub const PR_SET_FPEXC: u32 = 12; -pub const PR_FP_EXC_SW_ENABLE: u32 = 128; -pub const PR_FP_EXC_DIV: u32 = 65536; -pub const PR_FP_EXC_OVF: u32 = 131072; -pub const PR_FP_EXC_UND: u32 = 262144; -pub const PR_FP_EXC_RES: u32 = 524288; -pub const PR_FP_EXC_INV: u32 = 1048576; -pub const PR_FP_EXC_DISABLED: u32 = 0; -pub const PR_FP_EXC_NONRECOV: u32 = 1; -pub const PR_FP_EXC_ASYNC: u32 = 2; -pub const PR_FP_EXC_PRECISE: u32 = 3; -pub const PR_GET_TIMING: u32 = 13; -pub const PR_SET_TIMING: u32 = 14; -pub const PR_TIMING_STATISTICAL: u32 = 0; -pub const PR_TIMING_TIMESTAMP: u32 = 1; -pub const PR_SET_NAME: u32 = 15; -pub const PR_GET_NAME: u32 = 16; -pub const PR_GET_ENDIAN: u32 = 19; -pub const PR_SET_ENDIAN: u32 = 20; -pub const PR_ENDIAN_BIG: u32 = 0; -pub const PR_ENDIAN_LITTLE: u32 = 1; -pub const PR_ENDIAN_PPC_LITTLE: u32 = 2; -pub const PR_GET_SECCOMP: u32 = 21; -pub const PR_SET_SECCOMP: u32 = 22; -pub const PR_CAPBSET_READ: u32 = 23; -pub const PR_CAPBSET_DROP: u32 = 24; -pub const PR_GET_TSC: u32 = 25; -pub const PR_SET_TSC: u32 = 26; -pub const PR_TSC_ENABLE: u32 = 1; -pub const PR_TSC_SIGSEGV: u32 = 2; -pub const PR_GET_SECUREBITS: u32 = 27; -pub const PR_SET_SECUREBITS: u32 = 28; -pub const PR_SET_TIMERSLACK: u32 = 29; -pub const PR_GET_TIMERSLACK: u32 = 30; -pub const PR_TASK_PERF_EVENTS_DISABLE: u32 = 31; -pub const PR_TASK_PERF_EVENTS_ENABLE: u32 = 32; -pub const PR_MCE_KILL: u32 = 33; -pub const PR_MCE_KILL_CLEAR: u32 = 0; -pub const PR_MCE_KILL_SET: u32 = 1; -pub const PR_MCE_KILL_LATE: u32 = 0; -pub const PR_MCE_KILL_EARLY: u32 = 1; -pub const PR_MCE_KILL_DEFAULT: u32 = 2; -pub const PR_MCE_KILL_GET: u32 = 34; -pub const PR_SET_MM: u32 = 35; -pub const PR_SET_MM_START_CODE: u32 = 1; -pub const PR_SET_MM_END_CODE: u32 = 2; -pub const PR_SET_MM_START_DATA: u32 = 3; -pub const PR_SET_MM_END_DATA: u32 = 4; -pub const PR_SET_MM_START_STACK: u32 = 5; -pub const PR_SET_MM_START_BRK: u32 = 6; -pub const PR_SET_MM_BRK: u32 = 7; -pub const PR_SET_MM_ARG_START: u32 = 8; -pub const PR_SET_MM_ARG_END: u32 = 9; -pub const PR_SET_MM_ENV_START: u32 = 10; -pub const PR_SET_MM_ENV_END: u32 = 11; -pub const PR_SET_MM_AUXV: u32 = 12; -pub const PR_SET_MM_EXE_FILE: u32 = 13; -pub const PR_SET_MM_MAP: u32 = 14; -pub const PR_SET_MM_MAP_SIZE: u32 = 15; -pub const PR_SET_PTRACER: u32 = 1499557217; -pub const PR_SET_PTRACER_ANY: ::std::os::raw::c_ulong = -1i8 as ::std::os::raw::c_ulong; -pub const PR_SET_CHILD_SUBREAPER: u32 = 36; -pub const PR_GET_CHILD_SUBREAPER: u32 = 37; -pub const PR_SET_NO_NEW_PRIVS: u32 = 38; -pub const PR_GET_NO_NEW_PRIVS: u32 = 39; -pub const PR_GET_TID_ADDRESS: u32 = 40; -pub const PR_SET_THP_DISABLE: u32 = 41; -pub const PR_GET_THP_DISABLE: u32 = 42; -pub const PR_MPX_ENABLE_MANAGEMENT: u32 = 43; -pub const PR_MPX_DISABLE_MANAGEMENT: u32 = 44; -pub const PR_SET_FP_MODE: u32 = 45; -pub const PR_GET_FP_MODE: u32 = 46; -pub const PR_FP_MODE_FR: u32 = 1; -pub const PR_FP_MODE_FRE: u32 = 2; -pub const PR_CAP_AMBIENT: u32 = 47; -pub const PR_CAP_AMBIENT_IS_SET: u32 = 1; -pub const PR_CAP_AMBIENT_RAISE: u32 = 2; -pub const PR_CAP_AMBIENT_LOWER: u32 = 3; -pub const PR_CAP_AMBIENT_CLEAR_ALL: u32 = 4; -pub const PR_SVE_SET_VL: u32 = 50; -pub const PR_SVE_SET_VL_ONEXEC: u32 = 262144; -pub const PR_SVE_GET_VL: u32 = 51; -pub const PR_SVE_VL_LEN_MASK: u32 = 65535; -pub const PR_SVE_VL_INHERIT: u32 = 131072; -pub const PR_GET_SPECULATION_CTRL: u32 = 52; -pub const PR_SET_SPECULATION_CTRL: u32 = 53; -pub const PR_SPEC_STORE_BYPASS: u32 = 0; -pub const PR_SPEC_INDIRECT_BRANCH: u32 = 1; -pub const PR_SPEC_L1D_FLUSH: u32 = 2; -pub const PR_SPEC_NOT_AFFECTED: u32 = 0; -pub const PR_SPEC_PRCTL: u32 = 1; -pub const PR_SPEC_ENABLE: u32 = 2; -pub const PR_SPEC_DISABLE: u32 = 4; -pub const PR_SPEC_FORCE_DISABLE: u32 = 8; -pub const PR_SPEC_DISABLE_NOEXEC: u32 = 16; -pub const PR_PAC_RESET_KEYS: u32 = 54; -pub const PR_PAC_APIAKEY: u32 = 1; -pub const PR_PAC_APIBKEY: u32 = 2; -pub const PR_PAC_APDAKEY: u32 = 4; -pub const PR_PAC_APDBKEY: u32 = 8; -pub const PR_PAC_APGAKEY: u32 = 16; -pub const PR_SET_TAGGED_ADDR_CTRL: u32 = 55; -pub const PR_GET_TAGGED_ADDR_CTRL: u32 = 56; -pub const PR_TAGGED_ADDR_ENABLE: u32 = 1; -pub const PR_MTE_TCF_NONE: u32 = 0; -pub const PR_MTE_TCF_SYNC: u32 = 2; -pub const PR_MTE_TCF_ASYNC: u32 = 4; -pub const PR_MTE_TCF_MASK: u32 = 6; -pub const PR_MTE_TAG_SHIFT: u32 = 3; -pub const PR_MTE_TAG_MASK: u32 = 524280; -pub const PR_MTE_TCF_SHIFT: u32 = 1; -pub const PR_SET_IO_FLUSHER: u32 = 57; -pub const PR_GET_IO_FLUSHER: u32 = 58; -pub const PR_SET_SYSCALL_USER_DISPATCH: u32 = 59; -pub const PR_SYS_DISPATCH_OFF: u32 = 0; -pub const PR_SYS_DISPATCH_ON: u32 = 1; -pub const PR_PAC_SET_ENABLED_KEYS: u32 = 60; -pub const PR_PAC_GET_ENABLED_KEYS: u32 = 61; -pub const PR_SCHED_CORE: u32 = 62; -pub const PR_SCHED_CORE_GET: u32 = 0; -pub const PR_SCHED_CORE_CREATE: u32 = 1; -pub const PR_SCHED_CORE_SHARE_TO: u32 = 2; -pub const PR_SCHED_CORE_SHARE_FROM: u32 = 3; -pub const PR_SCHED_CORE_MAX: u32 = 4; -pub const PR_SCHED_CORE_SCOPE_THREAD: u32 = 0; -pub const PR_SCHED_CORE_SCOPE_THREAD_GROUP: u32 = 1; -pub const PR_SCHED_CORE_SCOPE_PROCESS_GROUP: u32 = 2; -pub const PR_SME_SET_VL: u32 = 63; -pub const PR_SME_SET_VL_ONEXEC: u32 = 262144; -pub const PR_SME_GET_VL: u32 = 64; -pub const PR_SME_VL_LEN_MASK: u32 = 65535; -pub const PR_SME_VL_INHERIT: u32 = 131072; -pub const PR_SET_MDWE: u32 = 65; -pub const PR_MDWE_REFUSE_EXEC_GAIN: u32 = 1; -pub const PR_MDWE_NO_INHERIT: u32 = 2; -pub const PR_GET_MDWE: u32 = 66; -pub const PR_SET_VMA: u32 = 1398164801; -pub const PR_SET_VMA_ANON_NAME: u32 = 0; -pub const PR_GET_AUXV: u32 = 1096112214; -pub const PR_SET_MEMORY_MERGE: u32 = 67; -pub const PR_GET_MEMORY_MERGE: u32 = 68; -pub const PR_RISCV_V_SET_CONTROL: u32 = 69; -pub const PR_RISCV_V_GET_CONTROL: u32 = 70; -pub const PR_RISCV_V_VSTATE_CTRL_DEFAULT: u32 = 0; -pub const PR_RISCV_V_VSTATE_CTRL_OFF: u32 = 1; -pub const PR_RISCV_V_VSTATE_CTRL_ON: u32 = 2; -pub const PR_RISCV_V_VSTATE_CTRL_INHERIT: u32 = 16; -pub const PR_RISCV_V_VSTATE_CTRL_CUR_MASK: u32 = 3; -pub const PR_RISCV_V_VSTATE_CTRL_NEXT_MASK: u32 = 12; -pub const PR_RISCV_V_VSTATE_CTRL_MASK: u32 = 31; -pub const PR_RISCV_SET_ICACHE_FLUSH_CTX: u32 = 71; -pub const PR_RISCV_CTX_SW_FENCEI_ON: u32 = 0; -pub const PR_RISCV_CTX_SW_FENCEI_OFF: u32 = 1; -pub const PR_RISCV_SCOPE_PER_PROCESS: u32 = 0; -pub const PR_RISCV_SCOPE_PER_THREAD: u32 = 1; -pub const PR_PPC_GET_DEXCR: u32 = 72; -pub const PR_PPC_SET_DEXCR: u32 = 73; -pub const PR_PPC_DEXCR_SBHE: u32 = 0; -pub const PR_PPC_DEXCR_IBRTPD: u32 = 1; -pub const PR_PPC_DEXCR_SRAPD: u32 = 2; -pub const PR_PPC_DEXCR_NPHIE: u32 = 3; -pub const PR_PPC_DEXCR_CTRL_EDITABLE: u32 = 1; -pub const PR_PPC_DEXCR_CTRL_SET: u32 = 2; -pub const PR_PPC_DEXCR_CTRL_CLEAR: u32 = 4; -pub const PR_PPC_DEXCR_CTRL_SET_ONEXEC: u32 = 8; -pub const PR_PPC_DEXCR_CTRL_CLEAR_ONEXEC: u32 = 16; -pub const PR_PPC_DEXCR_CTRL_MASK: u32 = 31; diff --git a/tests/helper/src/gen/sys/powerpc64_linux_gnu/mod.rs b/tests/helper/src/gen/sys/powerpc64_linux_gnu/mod.rs deleted file mode 100644 index 80efc536..00000000 --- a/tests/helper/src/gen/sys/powerpc64_linux_gnu/mod.rs +++ /dev/null @@ -1,703 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] -mod linux_headers_asm_cputable; -pub use linux_headers_asm_cputable::PPC_FEATURE_32; -pub use linux_headers_asm_cputable::PPC_FEATURE_64; -pub use linux_headers_asm_cputable::PPC_FEATURE_601_INSTR; -pub use linux_headers_asm_cputable::PPC_FEATURE_HAS_ALTIVEC; -pub use linux_headers_asm_cputable::PPC_FEATURE_HAS_FPU; -pub use linux_headers_asm_cputable::PPC_FEATURE_HAS_MMU; -pub use linux_headers_asm_cputable::PPC_FEATURE_HAS_4xxMAC; -pub use linux_headers_asm_cputable::PPC_FEATURE_UNIFIED_CACHE; -pub use linux_headers_asm_cputable::PPC_FEATURE_HAS_SPE; -pub use linux_headers_asm_cputable::PPC_FEATURE_HAS_EFP_SINGLE; -pub use linux_headers_asm_cputable::PPC_FEATURE_HAS_EFP_DOUBLE; -pub use linux_headers_asm_cputable::PPC_FEATURE_NO_TB; -pub use linux_headers_asm_cputable::PPC_FEATURE_POWER4; -pub use linux_headers_asm_cputable::PPC_FEATURE_POWER5; -pub use linux_headers_asm_cputable::PPC_FEATURE_POWER5_PLUS; -pub use linux_headers_asm_cputable::PPC_FEATURE_CELL; -pub use linux_headers_asm_cputable::PPC_FEATURE_BOOKE; -pub use linux_headers_asm_cputable::PPC_FEATURE_SMT; -pub use linux_headers_asm_cputable::PPC_FEATURE_ICACHE_SNOOP; -pub use linux_headers_asm_cputable::PPC_FEATURE_ARCH_2_05; -pub use linux_headers_asm_cputable::PPC_FEATURE_PA6T; -pub use linux_headers_asm_cputable::PPC_FEATURE_HAS_DFP; -pub use linux_headers_asm_cputable::PPC_FEATURE_POWER6_EXT; -pub use linux_headers_asm_cputable::PPC_FEATURE_ARCH_2_06; -pub use linux_headers_asm_cputable::PPC_FEATURE_HAS_VSX; -pub use linux_headers_asm_cputable::PPC_FEATURE_PSERIES_PERFMON_COMPAT; -pub use linux_headers_asm_cputable::PPC_FEATURE_TRUE_LE; -pub use linux_headers_asm_cputable::PPC_FEATURE_PPC_LE; -pub use linux_headers_asm_cputable::PPC_FEATURE2_ARCH_2_07; -pub use linux_headers_asm_cputable::PPC_FEATURE2_HTM; -pub use linux_headers_asm_cputable::PPC_FEATURE2_DSCR; -pub use linux_headers_asm_cputable::PPC_FEATURE2_EBB; -pub use linux_headers_asm_cputable::PPC_FEATURE2_ISEL; -pub use linux_headers_asm_cputable::PPC_FEATURE2_TAR; -pub use linux_headers_asm_cputable::PPC_FEATURE2_VEC_CRYPTO; -pub use linux_headers_asm_cputable::PPC_FEATURE2_HTM_NOSC; -pub use linux_headers_asm_cputable::PPC_FEATURE2_ARCH_3_00; -pub use linux_headers_asm_cputable::PPC_FEATURE2_HAS_IEEE128; -pub use linux_headers_asm_cputable::PPC_FEATURE2_DARN; -pub use linux_headers_asm_cputable::PPC_FEATURE2_SCV; -pub use linux_headers_asm_cputable::PPC_FEATURE2_HTM_NO_SUSPEND; -pub use linux_headers_asm_cputable::PPC_FEATURE2_ARCH_3_1; -pub use linux_headers_asm_cputable::PPC_FEATURE2_MMA; -mod linux_headers_asm_unistd; -pub use linux_headers_asm_unistd::__NR_restart_syscall; -pub use linux_headers_asm_unistd::__NR_exit; -pub use linux_headers_asm_unistd::__NR_fork; -pub use linux_headers_asm_unistd::__NR_read; -pub use linux_headers_asm_unistd::__NR_write; -pub use linux_headers_asm_unistd::__NR_open; -pub use linux_headers_asm_unistd::__NR_close; -pub use linux_headers_asm_unistd::__NR_waitpid; -pub use linux_headers_asm_unistd::__NR_creat; -pub use linux_headers_asm_unistd::__NR_link; -pub use linux_headers_asm_unistd::__NR_unlink; -pub use linux_headers_asm_unistd::__NR_execve; -pub use linux_headers_asm_unistd::__NR_chdir; -pub use linux_headers_asm_unistd::__NR_time; -pub use linux_headers_asm_unistd::__NR_mknod; -pub use linux_headers_asm_unistd::__NR_chmod; -pub use linux_headers_asm_unistd::__NR_lchown; -pub use linux_headers_asm_unistd::__NR_break; -pub use linux_headers_asm_unistd::__NR_oldstat; -pub use linux_headers_asm_unistd::__NR_lseek; -pub use linux_headers_asm_unistd::__NR_getpid; -pub use linux_headers_asm_unistd::__NR_mount; -pub use linux_headers_asm_unistd::__NR_umount; -pub use linux_headers_asm_unistd::__NR_setuid; -pub use linux_headers_asm_unistd::__NR_getuid; -pub use linux_headers_asm_unistd::__NR_stime; -pub use linux_headers_asm_unistd::__NR_ptrace; -pub use linux_headers_asm_unistd::__NR_alarm; -pub use linux_headers_asm_unistd::__NR_oldfstat; -pub use linux_headers_asm_unistd::__NR_pause; -pub use linux_headers_asm_unistd::__NR_utime; -pub use linux_headers_asm_unistd::__NR_stty; -pub use linux_headers_asm_unistd::__NR_gtty; -pub use linux_headers_asm_unistd::__NR_access; -pub use linux_headers_asm_unistd::__NR_nice; -pub use linux_headers_asm_unistd::__NR_ftime; -pub use linux_headers_asm_unistd::__NR_sync; -pub use linux_headers_asm_unistd::__NR_kill; -pub use linux_headers_asm_unistd::__NR_rename; -pub use linux_headers_asm_unistd::__NR_mkdir; -pub use linux_headers_asm_unistd::__NR_rmdir; -pub use linux_headers_asm_unistd::__NR_dup; -pub use linux_headers_asm_unistd::__NR_pipe; -pub use linux_headers_asm_unistd::__NR_times; -pub use linux_headers_asm_unistd::__NR_prof; -pub use linux_headers_asm_unistd::__NR_brk; -pub use linux_headers_asm_unistd::__NR_setgid; -pub use linux_headers_asm_unistd::__NR_getgid; -pub use linux_headers_asm_unistd::__NR_signal; -pub use linux_headers_asm_unistd::__NR_geteuid; -pub use linux_headers_asm_unistd::__NR_getegid; -pub use linux_headers_asm_unistd::__NR_acct; -pub use linux_headers_asm_unistd::__NR_umount2; -pub use linux_headers_asm_unistd::__NR_lock; -pub use linux_headers_asm_unistd::__NR_ioctl; -pub use linux_headers_asm_unistd::__NR_fcntl; -pub use linux_headers_asm_unistd::__NR_mpx; -pub use linux_headers_asm_unistd::__NR_setpgid; -pub use linux_headers_asm_unistd::__NR_ulimit; -pub use linux_headers_asm_unistd::__NR_oldolduname; -pub use linux_headers_asm_unistd::__NR_umask; -pub use linux_headers_asm_unistd::__NR_chroot; -pub use linux_headers_asm_unistd::__NR_ustat; -pub use linux_headers_asm_unistd::__NR_dup2; -pub use linux_headers_asm_unistd::__NR_getppid; -pub use linux_headers_asm_unistd::__NR_getpgrp; -pub use linux_headers_asm_unistd::__NR_setsid; -pub use linux_headers_asm_unistd::__NR_sigaction; -pub use linux_headers_asm_unistd::__NR_sgetmask; -pub use linux_headers_asm_unistd::__NR_ssetmask; -pub use linux_headers_asm_unistd::__NR_setreuid; -pub use linux_headers_asm_unistd::__NR_setregid; -pub use linux_headers_asm_unistd::__NR_sigsuspend; -pub use linux_headers_asm_unistd::__NR_sigpending; -pub use linux_headers_asm_unistd::__NR_sethostname; -pub use linux_headers_asm_unistd::__NR_setrlimit; -pub use linux_headers_asm_unistd::__NR_getrlimit; -pub use linux_headers_asm_unistd::__NR_getrusage; -pub use linux_headers_asm_unistd::__NR_gettimeofday; -pub use linux_headers_asm_unistd::__NR_settimeofday; -pub use linux_headers_asm_unistd::__NR_getgroups; -pub use linux_headers_asm_unistd::__NR_setgroups; -pub use linux_headers_asm_unistd::__NR_select; -pub use linux_headers_asm_unistd::__NR_symlink; -pub use linux_headers_asm_unistd::__NR_oldlstat; -pub use linux_headers_asm_unistd::__NR_readlink; -pub use linux_headers_asm_unistd::__NR_uselib; -pub use linux_headers_asm_unistd::__NR_swapon; -pub use linux_headers_asm_unistd::__NR_reboot; -pub use linux_headers_asm_unistd::__NR_readdir; -pub use linux_headers_asm_unistd::__NR_mmap; -pub use linux_headers_asm_unistd::__NR_munmap; -pub use linux_headers_asm_unistd::__NR_truncate; -pub use linux_headers_asm_unistd::__NR_ftruncate; -pub use linux_headers_asm_unistd::__NR_fchmod; -pub use linux_headers_asm_unistd::__NR_fchown; -pub use linux_headers_asm_unistd::__NR_getpriority; -pub use linux_headers_asm_unistd::__NR_setpriority; -pub use linux_headers_asm_unistd::__NR_profil; -pub use linux_headers_asm_unistd::__NR_statfs; -pub use linux_headers_asm_unistd::__NR_fstatfs; -pub use linux_headers_asm_unistd::__NR_ioperm; -pub use linux_headers_asm_unistd::__NR_socketcall; -pub use linux_headers_asm_unistd::__NR_syslog; -pub use linux_headers_asm_unistd::__NR_setitimer; -pub use linux_headers_asm_unistd::__NR_getitimer; -pub use linux_headers_asm_unistd::__NR_stat; -pub use linux_headers_asm_unistd::__NR_lstat; -pub use linux_headers_asm_unistd::__NR_fstat; -pub use linux_headers_asm_unistd::__NR_olduname; -pub use linux_headers_asm_unistd::__NR_iopl; -pub use linux_headers_asm_unistd::__NR_vhangup; -pub use linux_headers_asm_unistd::__NR_idle; -pub use linux_headers_asm_unistd::__NR_vm86; -pub use linux_headers_asm_unistd::__NR_wait4; -pub use linux_headers_asm_unistd::__NR_swapoff; -pub use linux_headers_asm_unistd::__NR_sysinfo; -pub use linux_headers_asm_unistd::__NR_ipc; -pub use linux_headers_asm_unistd::__NR_fsync; -pub use linux_headers_asm_unistd::__NR_sigreturn; -pub use linux_headers_asm_unistd::__NR_clone; -pub use linux_headers_asm_unistd::__NR_setdomainname; -pub use linux_headers_asm_unistd::__NR_uname; -pub use linux_headers_asm_unistd::__NR_modify_ldt; -pub use linux_headers_asm_unistd::__NR_adjtimex; -pub use linux_headers_asm_unistd::__NR_mprotect; -pub use linux_headers_asm_unistd::__NR_sigprocmask; -pub use linux_headers_asm_unistd::__NR_create_module; -pub use linux_headers_asm_unistd::__NR_init_module; -pub use linux_headers_asm_unistd::__NR_delete_module; -pub use linux_headers_asm_unistd::__NR_get_kernel_syms; -pub use linux_headers_asm_unistd::__NR_quotactl; -pub use linux_headers_asm_unistd::__NR_getpgid; -pub use linux_headers_asm_unistd::__NR_fchdir; -pub use linux_headers_asm_unistd::__NR_bdflush; -pub use linux_headers_asm_unistd::__NR_sysfs; -pub use linux_headers_asm_unistd::__NR_personality; -pub use linux_headers_asm_unistd::__NR_afs_syscall; -pub use linux_headers_asm_unistd::__NR_setfsuid; -pub use linux_headers_asm_unistd::__NR_setfsgid; -pub use linux_headers_asm_unistd::__NR__llseek; -pub use linux_headers_asm_unistd::__NR_getdents; -pub use linux_headers_asm_unistd::__NR__newselect; -pub use linux_headers_asm_unistd::__NR_flock; -pub use linux_headers_asm_unistd::__NR_msync; -pub use linux_headers_asm_unistd::__NR_readv; -pub use linux_headers_asm_unistd::__NR_writev; -pub use linux_headers_asm_unistd::__NR_getsid; -pub use linux_headers_asm_unistd::__NR_fdatasync; -pub use linux_headers_asm_unistd::__NR__sysctl; -pub use linux_headers_asm_unistd::__NR_mlock; -pub use linux_headers_asm_unistd::__NR_munlock; -pub use linux_headers_asm_unistd::__NR_mlockall; -pub use linux_headers_asm_unistd::__NR_munlockall; -pub use linux_headers_asm_unistd::__NR_sched_setparam; -pub use linux_headers_asm_unistd::__NR_sched_getparam; -pub use linux_headers_asm_unistd::__NR_sched_setscheduler; -pub use linux_headers_asm_unistd::__NR_sched_getscheduler; -pub use linux_headers_asm_unistd::__NR_sched_yield; -pub use linux_headers_asm_unistd::__NR_sched_get_priority_max; -pub use linux_headers_asm_unistd::__NR_sched_get_priority_min; -pub use linux_headers_asm_unistd::__NR_sched_rr_get_interval; -pub use linux_headers_asm_unistd::__NR_nanosleep; -pub use linux_headers_asm_unistd::__NR_mremap; -pub use linux_headers_asm_unistd::__NR_setresuid; -pub use linux_headers_asm_unistd::__NR_getresuid; -pub use linux_headers_asm_unistd::__NR_query_module; -pub use linux_headers_asm_unistd::__NR_poll; -pub use linux_headers_asm_unistd::__NR_nfsservctl; -pub use linux_headers_asm_unistd::__NR_setresgid; -pub use linux_headers_asm_unistd::__NR_getresgid; -pub use linux_headers_asm_unistd::__NR_prctl; -pub use linux_headers_asm_unistd::__NR_rt_sigreturn; -pub use linux_headers_asm_unistd::__NR_rt_sigaction; -pub use linux_headers_asm_unistd::__NR_rt_sigprocmask; -pub use linux_headers_asm_unistd::__NR_rt_sigpending; -pub use linux_headers_asm_unistd::__NR_rt_sigtimedwait; -pub use linux_headers_asm_unistd::__NR_rt_sigqueueinfo; -pub use linux_headers_asm_unistd::__NR_rt_sigsuspend; -pub use linux_headers_asm_unistd::__NR_pread64; -pub use linux_headers_asm_unistd::__NR_pwrite64; -pub use linux_headers_asm_unistd::__NR_chown; -pub use linux_headers_asm_unistd::__NR_getcwd; -pub use linux_headers_asm_unistd::__NR_capget; -pub use linux_headers_asm_unistd::__NR_capset; -pub use linux_headers_asm_unistd::__NR_sigaltstack; -pub use linux_headers_asm_unistd::__NR_sendfile; -pub use linux_headers_asm_unistd::__NR_getpmsg; -pub use linux_headers_asm_unistd::__NR_putpmsg; -pub use linux_headers_asm_unistd::__NR_vfork; -pub use linux_headers_asm_unistd::__NR_ugetrlimit; -pub use linux_headers_asm_unistd::__NR_readahead; -pub use linux_headers_asm_unistd::__NR_pciconfig_read; -pub use linux_headers_asm_unistd::__NR_pciconfig_write; -pub use linux_headers_asm_unistd::__NR_pciconfig_iobase; -pub use linux_headers_asm_unistd::__NR_multiplexer; -pub use linux_headers_asm_unistd::__NR_getdents64; -pub use linux_headers_asm_unistd::__NR_pivot_root; -pub use linux_headers_asm_unistd::__NR_madvise; -pub use linux_headers_asm_unistd::__NR_mincore; -pub use linux_headers_asm_unistd::__NR_gettid; -pub use linux_headers_asm_unistd::__NR_tkill; -pub use linux_headers_asm_unistd::__NR_setxattr; -pub use linux_headers_asm_unistd::__NR_lsetxattr; -pub use linux_headers_asm_unistd::__NR_fsetxattr; -pub use linux_headers_asm_unistd::__NR_getxattr; -pub use linux_headers_asm_unistd::__NR_lgetxattr; -pub use linux_headers_asm_unistd::__NR_fgetxattr; -pub use linux_headers_asm_unistd::__NR_listxattr; -pub use linux_headers_asm_unistd::__NR_llistxattr; -pub use linux_headers_asm_unistd::__NR_flistxattr; -pub use linux_headers_asm_unistd::__NR_removexattr; -pub use linux_headers_asm_unistd::__NR_lremovexattr; -pub use linux_headers_asm_unistd::__NR_fremovexattr; -pub use linux_headers_asm_unistd::__NR_futex; -pub use linux_headers_asm_unistd::__NR_sched_setaffinity; -pub use linux_headers_asm_unistd::__NR_sched_getaffinity; -pub use linux_headers_asm_unistd::__NR_tuxcall; -pub use linux_headers_asm_unistd::__NR_io_setup; -pub use linux_headers_asm_unistd::__NR_io_destroy; -pub use linux_headers_asm_unistd::__NR_io_getevents; -pub use linux_headers_asm_unistd::__NR_io_submit; -pub use linux_headers_asm_unistd::__NR_io_cancel; -pub use linux_headers_asm_unistd::__NR_set_tid_address; -pub use linux_headers_asm_unistd::__NR_fadvise64; -pub use linux_headers_asm_unistd::__NR_exit_group; -pub use linux_headers_asm_unistd::__NR_lookup_dcookie; -pub use linux_headers_asm_unistd::__NR_epoll_create; -pub use linux_headers_asm_unistd::__NR_epoll_ctl; -pub use linux_headers_asm_unistd::__NR_epoll_wait; -pub use linux_headers_asm_unistd::__NR_remap_file_pages; -pub use linux_headers_asm_unistd::__NR_timer_create; -pub use linux_headers_asm_unistd::__NR_timer_settime; -pub use linux_headers_asm_unistd::__NR_timer_gettime; -pub use linux_headers_asm_unistd::__NR_timer_getoverrun; -pub use linux_headers_asm_unistd::__NR_timer_delete; -pub use linux_headers_asm_unistd::__NR_clock_settime; -pub use linux_headers_asm_unistd::__NR_clock_gettime; -pub use linux_headers_asm_unistd::__NR_clock_getres; -pub use linux_headers_asm_unistd::__NR_clock_nanosleep; -pub use linux_headers_asm_unistd::__NR_swapcontext; -pub use linux_headers_asm_unistd::__NR_tgkill; -pub use linux_headers_asm_unistd::__NR_utimes; -pub use linux_headers_asm_unistd::__NR_statfs64; -pub use linux_headers_asm_unistd::__NR_fstatfs64; -pub use linux_headers_asm_unistd::__NR_rtas; -pub use linux_headers_asm_unistd::__NR_sys_debug_setcontext; -pub use linux_headers_asm_unistd::__NR_migrate_pages; -pub use linux_headers_asm_unistd::__NR_mbind; -pub use linux_headers_asm_unistd::__NR_get_mempolicy; -pub use linux_headers_asm_unistd::__NR_set_mempolicy; -pub use linux_headers_asm_unistd::__NR_mq_open; -pub use linux_headers_asm_unistd::__NR_mq_unlink; -pub use linux_headers_asm_unistd::__NR_mq_timedsend; -pub use linux_headers_asm_unistd::__NR_mq_timedreceive; -pub use linux_headers_asm_unistd::__NR_mq_notify; -pub use linux_headers_asm_unistd::__NR_mq_getsetattr; -pub use linux_headers_asm_unistd::__NR_kexec_load; -pub use linux_headers_asm_unistd::__NR_add_key; -pub use linux_headers_asm_unistd::__NR_request_key; -pub use linux_headers_asm_unistd::__NR_keyctl; -pub use linux_headers_asm_unistd::__NR_waitid; -pub use linux_headers_asm_unistd::__NR_ioprio_set; -pub use linux_headers_asm_unistd::__NR_ioprio_get; -pub use linux_headers_asm_unistd::__NR_inotify_init; -pub use linux_headers_asm_unistd::__NR_inotify_add_watch; -pub use linux_headers_asm_unistd::__NR_inotify_rm_watch; -pub use linux_headers_asm_unistd::__NR_spu_run; -pub use linux_headers_asm_unistd::__NR_spu_create; -pub use linux_headers_asm_unistd::__NR_pselect6; -pub use linux_headers_asm_unistd::__NR_ppoll; -pub use linux_headers_asm_unistd::__NR_unshare; -pub use linux_headers_asm_unistd::__NR_splice; -pub use linux_headers_asm_unistd::__NR_tee; -pub use linux_headers_asm_unistd::__NR_vmsplice; -pub use linux_headers_asm_unistd::__NR_openat; -pub use linux_headers_asm_unistd::__NR_mkdirat; -pub use linux_headers_asm_unistd::__NR_mknodat; -pub use linux_headers_asm_unistd::__NR_fchownat; -pub use linux_headers_asm_unistd::__NR_futimesat; -pub use linux_headers_asm_unistd::__NR_newfstatat; -pub use linux_headers_asm_unistd::__NR_unlinkat; -pub use linux_headers_asm_unistd::__NR_renameat; -pub use linux_headers_asm_unistd::__NR_linkat; -pub use linux_headers_asm_unistd::__NR_symlinkat; -pub use linux_headers_asm_unistd::__NR_readlinkat; -pub use linux_headers_asm_unistd::__NR_fchmodat; -pub use linux_headers_asm_unistd::__NR_faccessat; -pub use linux_headers_asm_unistd::__NR_get_robust_list; -pub use linux_headers_asm_unistd::__NR_set_robust_list; -pub use linux_headers_asm_unistd::__NR_move_pages; -pub use linux_headers_asm_unistd::__NR_getcpu; -pub use linux_headers_asm_unistd::__NR_epoll_pwait; -pub use linux_headers_asm_unistd::__NR_utimensat; -pub use linux_headers_asm_unistd::__NR_signalfd; -pub use linux_headers_asm_unistd::__NR_timerfd_create; -pub use linux_headers_asm_unistd::__NR_eventfd; -pub use linux_headers_asm_unistd::__NR_sync_file_range2; -pub use linux_headers_asm_unistd::__NR_fallocate; -pub use linux_headers_asm_unistd::__NR_subpage_prot; -pub use linux_headers_asm_unistd::__NR_timerfd_settime; -pub use linux_headers_asm_unistd::__NR_timerfd_gettime; -pub use linux_headers_asm_unistd::__NR_signalfd4; -pub use linux_headers_asm_unistd::__NR_eventfd2; -pub use linux_headers_asm_unistd::__NR_epoll_create1; -pub use linux_headers_asm_unistd::__NR_dup3; -pub use linux_headers_asm_unistd::__NR_pipe2; -pub use linux_headers_asm_unistd::__NR_inotify_init1; -pub use linux_headers_asm_unistd::__NR_perf_event_open; -pub use linux_headers_asm_unistd::__NR_preadv; -pub use linux_headers_asm_unistd::__NR_pwritev; -pub use linux_headers_asm_unistd::__NR_rt_tgsigqueueinfo; -pub use linux_headers_asm_unistd::__NR_fanotify_init; -pub use linux_headers_asm_unistd::__NR_fanotify_mark; -pub use linux_headers_asm_unistd::__NR_prlimit64; -pub use linux_headers_asm_unistd::__NR_socket; -pub use linux_headers_asm_unistd::__NR_bind; -pub use linux_headers_asm_unistd::__NR_connect; -pub use linux_headers_asm_unistd::__NR_listen; -pub use linux_headers_asm_unistd::__NR_accept; -pub use linux_headers_asm_unistd::__NR_getsockname; -pub use linux_headers_asm_unistd::__NR_getpeername; -pub use linux_headers_asm_unistd::__NR_socketpair; -pub use linux_headers_asm_unistd::__NR_send; -pub use linux_headers_asm_unistd::__NR_sendto; -pub use linux_headers_asm_unistd::__NR_recv; -pub use linux_headers_asm_unistd::__NR_recvfrom; -pub use linux_headers_asm_unistd::__NR_shutdown; -pub use linux_headers_asm_unistd::__NR_setsockopt; -pub use linux_headers_asm_unistd::__NR_getsockopt; -pub use linux_headers_asm_unistd::__NR_sendmsg; -pub use linux_headers_asm_unistd::__NR_recvmsg; -pub use linux_headers_asm_unistd::__NR_recvmmsg; -pub use linux_headers_asm_unistd::__NR_accept4; -pub use linux_headers_asm_unistd::__NR_name_to_handle_at; -pub use linux_headers_asm_unistd::__NR_open_by_handle_at; -pub use linux_headers_asm_unistd::__NR_clock_adjtime; -pub use linux_headers_asm_unistd::__NR_syncfs; -pub use linux_headers_asm_unistd::__NR_sendmmsg; -pub use linux_headers_asm_unistd::__NR_setns; -pub use linux_headers_asm_unistd::__NR_process_vm_readv; -pub use linux_headers_asm_unistd::__NR_process_vm_writev; -pub use linux_headers_asm_unistd::__NR_finit_module; -pub use linux_headers_asm_unistd::__NR_kcmp; -pub use linux_headers_asm_unistd::__NR_sched_setattr; -pub use linux_headers_asm_unistd::__NR_sched_getattr; -pub use linux_headers_asm_unistd::__NR_renameat2; -pub use linux_headers_asm_unistd::__NR_seccomp; -pub use linux_headers_asm_unistd::__NR_getrandom; -pub use linux_headers_asm_unistd::__NR_memfd_create; -pub use linux_headers_asm_unistd::__NR_bpf; -pub use linux_headers_asm_unistd::__NR_execveat; -pub use linux_headers_asm_unistd::__NR_switch_endian; -pub use linux_headers_asm_unistd::__NR_userfaultfd; -pub use linux_headers_asm_unistd::__NR_membarrier; -pub use linux_headers_asm_unistd::__NR_mlock2; -pub use linux_headers_asm_unistd::__NR_copy_file_range; -pub use linux_headers_asm_unistd::__NR_preadv2; -pub use linux_headers_asm_unistd::__NR_pwritev2; -pub use linux_headers_asm_unistd::__NR_kexec_file_load; -pub use linux_headers_asm_unistd::__NR_statx; -pub use linux_headers_asm_unistd::__NR_pkey_alloc; -pub use linux_headers_asm_unistd::__NR_pkey_free; -pub use linux_headers_asm_unistd::__NR_pkey_mprotect; -pub use linux_headers_asm_unistd::__NR_rseq; -pub use linux_headers_asm_unistd::__NR_io_pgetevents; -pub use linux_headers_asm_unistd::__NR_semtimedop; -pub use linux_headers_asm_unistd::__NR_semget; -pub use linux_headers_asm_unistd::__NR_semctl; -pub use linux_headers_asm_unistd::__NR_shmget; -pub use linux_headers_asm_unistd::__NR_shmctl; -pub use linux_headers_asm_unistd::__NR_shmat; -pub use linux_headers_asm_unistd::__NR_shmdt; -pub use linux_headers_asm_unistd::__NR_msgget; -pub use linux_headers_asm_unistd::__NR_msgsnd; -pub use linux_headers_asm_unistd::__NR_msgrcv; -pub use linux_headers_asm_unistd::__NR_msgctl; -pub use linux_headers_asm_unistd::__NR_pidfd_send_signal; -pub use linux_headers_asm_unistd::__NR_io_uring_setup; -pub use linux_headers_asm_unistd::__NR_io_uring_enter; -pub use linux_headers_asm_unistd::__NR_io_uring_register; -pub use linux_headers_asm_unistd::__NR_open_tree; -pub use linux_headers_asm_unistd::__NR_move_mount; -pub use linux_headers_asm_unistd::__NR_fsopen; -pub use linux_headers_asm_unistd::__NR_fsconfig; -pub use linux_headers_asm_unistd::__NR_fsmount; -pub use linux_headers_asm_unistd::__NR_fspick; -pub use linux_headers_asm_unistd::__NR_pidfd_open; -pub use linux_headers_asm_unistd::__NR_clone3; -pub use linux_headers_asm_unistd::__NR_close_range; -pub use linux_headers_asm_unistd::__NR_openat2; -pub use linux_headers_asm_unistd::__NR_pidfd_getfd; -pub use linux_headers_asm_unistd::__NR_faccessat2; -pub use linux_headers_asm_unistd::__NR_process_madvise; -pub use linux_headers_asm_unistd::__NR_epoll_pwait2; -pub use linux_headers_asm_unistd::__NR_mount_setattr; -pub use linux_headers_asm_unistd::__NR_quotactl_fd; -pub use linux_headers_asm_unistd::__NR_landlock_create_ruleset; -pub use linux_headers_asm_unistd::__NR_landlock_add_rule; -pub use linux_headers_asm_unistd::__NR_landlock_restrict_self; -pub use linux_headers_asm_unistd::__NR_process_mrelease; -pub use linux_headers_asm_unistd::__NR_futex_waitv; -pub use linux_headers_asm_unistd::__NR_set_mempolicy_home_node; -pub use linux_headers_asm_unistd::__NR_cachestat; -pub use linux_headers_asm_unistd::__NR_fchmodat2; -pub use linux_headers_asm_unistd::__NR_map_shadow_stack; -pub use linux_headers_asm_unistd::__NR_futex_wake; -pub use linux_headers_asm_unistd::__NR_futex_wait; -pub use linux_headers_asm_unistd::__NR_futex_requeue; -pub use linux_headers_asm_unistd::__NR_statmount; -pub use linux_headers_asm_unistd::__NR_listmount; -pub use linux_headers_asm_unistd::__NR_lsm_get_self_attr; -pub use linux_headers_asm_unistd::__NR_lsm_set_self_attr; -pub use linux_headers_asm_unistd::__NR_lsm_list_modules; -pub use linux_headers_asm_unistd::__NR_mseal; -mod linux_headers_linux_auxvec; -pub use linux_headers_linux_auxvec::AT_DCACHEBSIZE; -pub use linux_headers_linux_auxvec::AT_ICACHEBSIZE; -pub use linux_headers_linux_auxvec::AT_UCACHEBSIZE; -pub use linux_headers_linux_auxvec::AT_IGNOREPPC; -pub use linux_headers_linux_auxvec::AT_SYSINFO_EHDR; -pub use linux_headers_linux_auxvec::AT_L1I_CACHESIZE; -pub use linux_headers_linux_auxvec::AT_L1I_CACHEGEOMETRY; -pub use linux_headers_linux_auxvec::AT_L1D_CACHESIZE; -pub use linux_headers_linux_auxvec::AT_L1D_CACHEGEOMETRY; -pub use linux_headers_linux_auxvec::AT_L2_CACHESIZE; -pub use linux_headers_linux_auxvec::AT_L2_CACHEGEOMETRY; -pub use linux_headers_linux_auxvec::AT_L3_CACHESIZE; -pub use linux_headers_linux_auxvec::AT_L3_CACHEGEOMETRY; -pub use linux_headers_linux_auxvec::AT_MINSIGSTKSZ; -pub use linux_headers_linux_auxvec::AT_VECTOR_SIZE_ARCH; -pub use linux_headers_linux_auxvec::AT_NULL; -pub use linux_headers_linux_auxvec::AT_IGNORE; -pub use linux_headers_linux_auxvec::AT_EXECFD; -pub use linux_headers_linux_auxvec::AT_PHDR; -pub use linux_headers_linux_auxvec::AT_PHENT; -pub use linux_headers_linux_auxvec::AT_PHNUM; -pub use linux_headers_linux_auxvec::AT_PAGESZ; -pub use linux_headers_linux_auxvec::AT_BASE; -pub use linux_headers_linux_auxvec::AT_FLAGS; -pub use linux_headers_linux_auxvec::AT_ENTRY; -pub use linux_headers_linux_auxvec::AT_NOTELF; -pub use linux_headers_linux_auxvec::AT_UID; -pub use linux_headers_linux_auxvec::AT_EUID; -pub use linux_headers_linux_auxvec::AT_GID; -pub use linux_headers_linux_auxvec::AT_EGID; -pub use linux_headers_linux_auxvec::AT_PLATFORM; -pub use linux_headers_linux_auxvec::AT_HWCAP; -pub use linux_headers_linux_auxvec::AT_CLKTCK; -pub use linux_headers_linux_auxvec::AT_SECURE; -pub use linux_headers_linux_auxvec::AT_BASE_PLATFORM; -pub use linux_headers_linux_auxvec::AT_RANDOM; -pub use linux_headers_linux_auxvec::AT_HWCAP2; -pub use linux_headers_linux_auxvec::AT_RSEQ_FEATURE_SIZE; -pub use linux_headers_linux_auxvec::AT_RSEQ_ALIGN; -pub use linux_headers_linux_auxvec::AT_HWCAP3; -pub use linux_headers_linux_auxvec::AT_HWCAP4; -pub use linux_headers_linux_auxvec::AT_EXECFN; -mod linux_headers_linux_prctl; -pub use linux_headers_linux_prctl::PR_SET_PDEATHSIG; -pub use linux_headers_linux_prctl::PR_GET_PDEATHSIG; -pub use linux_headers_linux_prctl::PR_GET_DUMPABLE; -pub use linux_headers_linux_prctl::PR_SET_DUMPABLE; -pub use linux_headers_linux_prctl::PR_GET_UNALIGN; -pub use linux_headers_linux_prctl::PR_SET_UNALIGN; -pub use linux_headers_linux_prctl::PR_UNALIGN_NOPRINT; -pub use linux_headers_linux_prctl::PR_UNALIGN_SIGBUS; -pub use linux_headers_linux_prctl::PR_GET_KEEPCAPS; -pub use linux_headers_linux_prctl::PR_SET_KEEPCAPS; -pub use linux_headers_linux_prctl::PR_GET_FPEMU; -pub use linux_headers_linux_prctl::PR_SET_FPEMU; -pub use linux_headers_linux_prctl::PR_FPEMU_NOPRINT; -pub use linux_headers_linux_prctl::PR_FPEMU_SIGFPE; -pub use linux_headers_linux_prctl::PR_GET_FPEXC; -pub use linux_headers_linux_prctl::PR_SET_FPEXC; -pub use linux_headers_linux_prctl::PR_FP_EXC_SW_ENABLE; -pub use linux_headers_linux_prctl::PR_FP_EXC_DIV; -pub use linux_headers_linux_prctl::PR_FP_EXC_OVF; -pub use linux_headers_linux_prctl::PR_FP_EXC_UND; -pub use linux_headers_linux_prctl::PR_FP_EXC_RES; -pub use linux_headers_linux_prctl::PR_FP_EXC_INV; -pub use linux_headers_linux_prctl::PR_FP_EXC_DISABLED; -pub use linux_headers_linux_prctl::PR_FP_EXC_NONRECOV; -pub use linux_headers_linux_prctl::PR_FP_EXC_ASYNC; -pub use linux_headers_linux_prctl::PR_FP_EXC_PRECISE; -pub use linux_headers_linux_prctl::PR_GET_TIMING; -pub use linux_headers_linux_prctl::PR_SET_TIMING; -pub use linux_headers_linux_prctl::PR_TIMING_STATISTICAL; -pub use linux_headers_linux_prctl::PR_TIMING_TIMESTAMP; -pub use linux_headers_linux_prctl::PR_SET_NAME; -pub use linux_headers_linux_prctl::PR_GET_NAME; -pub use linux_headers_linux_prctl::PR_GET_ENDIAN; -pub use linux_headers_linux_prctl::PR_SET_ENDIAN; -pub use linux_headers_linux_prctl::PR_ENDIAN_BIG; -pub use linux_headers_linux_prctl::PR_ENDIAN_LITTLE; -pub use linux_headers_linux_prctl::PR_ENDIAN_PPC_LITTLE; -pub use linux_headers_linux_prctl::PR_GET_SECCOMP; -pub use linux_headers_linux_prctl::PR_SET_SECCOMP; -pub use linux_headers_linux_prctl::PR_CAPBSET_READ; -pub use linux_headers_linux_prctl::PR_CAPBSET_DROP; -pub use linux_headers_linux_prctl::PR_GET_TSC; -pub use linux_headers_linux_prctl::PR_SET_TSC; -pub use linux_headers_linux_prctl::PR_TSC_ENABLE; -pub use linux_headers_linux_prctl::PR_TSC_SIGSEGV; -pub use linux_headers_linux_prctl::PR_GET_SECUREBITS; -pub use linux_headers_linux_prctl::PR_SET_SECUREBITS; -pub use linux_headers_linux_prctl::PR_SET_TIMERSLACK; -pub use linux_headers_linux_prctl::PR_GET_TIMERSLACK; -pub use linux_headers_linux_prctl::PR_TASK_PERF_EVENTS_DISABLE; -pub use linux_headers_linux_prctl::PR_TASK_PERF_EVENTS_ENABLE; -pub use linux_headers_linux_prctl::PR_MCE_KILL; -pub use linux_headers_linux_prctl::PR_MCE_KILL_CLEAR; -pub use linux_headers_linux_prctl::PR_MCE_KILL_SET; -pub use linux_headers_linux_prctl::PR_MCE_KILL_LATE; -pub use linux_headers_linux_prctl::PR_MCE_KILL_EARLY; -pub use linux_headers_linux_prctl::PR_MCE_KILL_DEFAULT; -pub use linux_headers_linux_prctl::PR_MCE_KILL_GET; -pub use linux_headers_linux_prctl::PR_SET_MM; -pub use linux_headers_linux_prctl::PR_SET_MM_START_CODE; -pub use linux_headers_linux_prctl::PR_SET_MM_END_CODE; -pub use linux_headers_linux_prctl::PR_SET_MM_START_DATA; -pub use linux_headers_linux_prctl::PR_SET_MM_END_DATA; -pub use linux_headers_linux_prctl::PR_SET_MM_START_STACK; -pub use linux_headers_linux_prctl::PR_SET_MM_START_BRK; -pub use linux_headers_linux_prctl::PR_SET_MM_BRK; -pub use linux_headers_linux_prctl::PR_SET_MM_ARG_START; -pub use linux_headers_linux_prctl::PR_SET_MM_ARG_END; -pub use linux_headers_linux_prctl::PR_SET_MM_ENV_START; -pub use linux_headers_linux_prctl::PR_SET_MM_ENV_END; -pub use linux_headers_linux_prctl::PR_SET_MM_AUXV; -pub use linux_headers_linux_prctl::PR_SET_MM_EXE_FILE; -pub use linux_headers_linux_prctl::PR_SET_MM_MAP; -pub use linux_headers_linux_prctl::PR_SET_MM_MAP_SIZE; -pub use linux_headers_linux_prctl::PR_SET_PTRACER; -pub use linux_headers_linux_prctl::PR_SET_PTRACER_ANY; -pub use linux_headers_linux_prctl::PR_SET_CHILD_SUBREAPER; -pub use linux_headers_linux_prctl::PR_GET_CHILD_SUBREAPER; -pub use linux_headers_linux_prctl::PR_SET_NO_NEW_PRIVS; -pub use linux_headers_linux_prctl::PR_GET_NO_NEW_PRIVS; -pub use linux_headers_linux_prctl::PR_GET_TID_ADDRESS; -pub use linux_headers_linux_prctl::PR_SET_THP_DISABLE; -pub use linux_headers_linux_prctl::PR_GET_THP_DISABLE; -pub use linux_headers_linux_prctl::PR_MPX_ENABLE_MANAGEMENT; -pub use linux_headers_linux_prctl::PR_MPX_DISABLE_MANAGEMENT; -pub use linux_headers_linux_prctl::PR_SET_FP_MODE; -pub use linux_headers_linux_prctl::PR_GET_FP_MODE; -pub use linux_headers_linux_prctl::PR_FP_MODE_FR; -pub use linux_headers_linux_prctl::PR_FP_MODE_FRE; -pub use linux_headers_linux_prctl::PR_CAP_AMBIENT; -pub use linux_headers_linux_prctl::PR_CAP_AMBIENT_IS_SET; -pub use linux_headers_linux_prctl::PR_CAP_AMBIENT_RAISE; -pub use linux_headers_linux_prctl::PR_CAP_AMBIENT_LOWER; -pub use linux_headers_linux_prctl::PR_CAP_AMBIENT_CLEAR_ALL; -pub use linux_headers_linux_prctl::PR_SVE_SET_VL; -pub use linux_headers_linux_prctl::PR_SVE_SET_VL_ONEXEC; -pub use linux_headers_linux_prctl::PR_SVE_GET_VL; -pub use linux_headers_linux_prctl::PR_SVE_VL_LEN_MASK; -pub use linux_headers_linux_prctl::PR_SVE_VL_INHERIT; -pub use linux_headers_linux_prctl::PR_GET_SPECULATION_CTRL; -pub use linux_headers_linux_prctl::PR_SET_SPECULATION_CTRL; -pub use linux_headers_linux_prctl::PR_SPEC_STORE_BYPASS; -pub use linux_headers_linux_prctl::PR_SPEC_INDIRECT_BRANCH; -pub use linux_headers_linux_prctl::PR_SPEC_L1D_FLUSH; -pub use linux_headers_linux_prctl::PR_SPEC_NOT_AFFECTED; -pub use linux_headers_linux_prctl::PR_SPEC_PRCTL; -pub use linux_headers_linux_prctl::PR_SPEC_ENABLE; -pub use linux_headers_linux_prctl::PR_SPEC_DISABLE; -pub use linux_headers_linux_prctl::PR_SPEC_FORCE_DISABLE; -pub use linux_headers_linux_prctl::PR_SPEC_DISABLE_NOEXEC; -pub use linux_headers_linux_prctl::PR_PAC_RESET_KEYS; -pub use linux_headers_linux_prctl::PR_PAC_APIAKEY; -pub use linux_headers_linux_prctl::PR_PAC_APIBKEY; -pub use linux_headers_linux_prctl::PR_PAC_APDAKEY; -pub use linux_headers_linux_prctl::PR_PAC_APDBKEY; -pub use linux_headers_linux_prctl::PR_PAC_APGAKEY; -pub use linux_headers_linux_prctl::PR_SET_TAGGED_ADDR_CTRL; -pub use linux_headers_linux_prctl::PR_GET_TAGGED_ADDR_CTRL; -pub use linux_headers_linux_prctl::PR_TAGGED_ADDR_ENABLE; -pub use linux_headers_linux_prctl::PR_MTE_TCF_NONE; -pub use linux_headers_linux_prctl::PR_MTE_TCF_SYNC; -pub use linux_headers_linux_prctl::PR_MTE_TCF_ASYNC; -pub use linux_headers_linux_prctl::PR_MTE_TCF_MASK; -pub use linux_headers_linux_prctl::PR_MTE_TAG_SHIFT; -pub use linux_headers_linux_prctl::PR_MTE_TAG_MASK; -pub use linux_headers_linux_prctl::PR_MTE_TCF_SHIFT; -pub use linux_headers_linux_prctl::PR_SET_IO_FLUSHER; -pub use linux_headers_linux_prctl::PR_GET_IO_FLUSHER; -pub use linux_headers_linux_prctl::PR_SET_SYSCALL_USER_DISPATCH; -pub use linux_headers_linux_prctl::PR_SYS_DISPATCH_OFF; -pub use linux_headers_linux_prctl::PR_SYS_DISPATCH_ON; -pub use linux_headers_linux_prctl::PR_PAC_SET_ENABLED_KEYS; -pub use linux_headers_linux_prctl::PR_PAC_GET_ENABLED_KEYS; -pub use linux_headers_linux_prctl::PR_SCHED_CORE; -pub use linux_headers_linux_prctl::PR_SCHED_CORE_GET; -pub use linux_headers_linux_prctl::PR_SCHED_CORE_CREATE; -pub use linux_headers_linux_prctl::PR_SCHED_CORE_SHARE_TO; -pub use linux_headers_linux_prctl::PR_SCHED_CORE_SHARE_FROM; -pub use linux_headers_linux_prctl::PR_SCHED_CORE_MAX; -pub use linux_headers_linux_prctl::PR_SCHED_CORE_SCOPE_THREAD; -pub use linux_headers_linux_prctl::PR_SCHED_CORE_SCOPE_THREAD_GROUP; -pub use linux_headers_linux_prctl::PR_SCHED_CORE_SCOPE_PROCESS_GROUP; -pub use linux_headers_linux_prctl::PR_SME_SET_VL; -pub use linux_headers_linux_prctl::PR_SME_SET_VL_ONEXEC; -pub use linux_headers_linux_prctl::PR_SME_GET_VL; -pub use linux_headers_linux_prctl::PR_SME_VL_LEN_MASK; -pub use linux_headers_linux_prctl::PR_SME_VL_INHERIT; -pub use linux_headers_linux_prctl::PR_SET_MDWE; -pub use linux_headers_linux_prctl::PR_MDWE_REFUSE_EXEC_GAIN; -pub use linux_headers_linux_prctl::PR_MDWE_NO_INHERIT; -pub use linux_headers_linux_prctl::PR_GET_MDWE; -pub use linux_headers_linux_prctl::PR_SET_VMA; -pub use linux_headers_linux_prctl::PR_SET_VMA_ANON_NAME; -pub use linux_headers_linux_prctl::PR_GET_AUXV; -pub use linux_headers_linux_prctl::PR_SET_MEMORY_MERGE; -pub use linux_headers_linux_prctl::PR_GET_MEMORY_MERGE; -pub use linux_headers_linux_prctl::PR_RISCV_V_SET_CONTROL; -pub use linux_headers_linux_prctl::PR_RISCV_V_GET_CONTROL; -pub use linux_headers_linux_prctl::PR_RISCV_V_VSTATE_CTRL_DEFAULT; -pub use linux_headers_linux_prctl::PR_RISCV_V_VSTATE_CTRL_OFF; -pub use linux_headers_linux_prctl::PR_RISCV_V_VSTATE_CTRL_ON; -pub use linux_headers_linux_prctl::PR_RISCV_V_VSTATE_CTRL_INHERIT; -pub use linux_headers_linux_prctl::PR_RISCV_V_VSTATE_CTRL_CUR_MASK; -pub use linux_headers_linux_prctl::PR_RISCV_V_VSTATE_CTRL_NEXT_MASK; -pub use linux_headers_linux_prctl::PR_RISCV_V_VSTATE_CTRL_MASK; -pub use linux_headers_linux_prctl::PR_RISCV_SET_ICACHE_FLUSH_CTX; -pub use linux_headers_linux_prctl::PR_RISCV_CTX_SW_FENCEI_ON; -pub use linux_headers_linux_prctl::PR_RISCV_CTX_SW_FENCEI_OFF; -pub use linux_headers_linux_prctl::PR_RISCV_SCOPE_PER_PROCESS; -pub use linux_headers_linux_prctl::PR_RISCV_SCOPE_PER_THREAD; -pub use linux_headers_linux_prctl::PR_PPC_GET_DEXCR; -pub use linux_headers_linux_prctl::PR_PPC_SET_DEXCR; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_SBHE; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_IBRTPD; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_SRAPD; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_NPHIE; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_CTRL_EDITABLE; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_CTRL_SET; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_CTRL_CLEAR; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_CTRL_SET_ONEXEC; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_CTRL_CLEAR_ONEXEC; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_CTRL_MASK; -mod dlfcn; -pub use dlfcn::RTLD_DEFAULT; -pub use dlfcn::dlsym; -mod elf; -pub use elf::Elf32_auxv_t; -pub use elf::Elf64_auxv_t; -mod sys_auxv; -pub use sys_auxv::getauxval; -mod unistd; -pub use unistd::syscall; -pub type c_char = u8; diff --git a/tests/helper/src/gen/sys/powerpc64_linux_gnu/sys_auxv.rs b/tests/helper/src/gen/sys/powerpc64_linux_gnu/sys_auxv.rs deleted file mode 100644 index 1fe1c678..00000000 --- a/tests/helper/src/gen/sys/powerpc64_linux_gnu/sys_auxv.rs +++ /dev/null @@ -1,10 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -extern "C" { - pub fn getauxval(__type: ::std::os::raw::c_ulong) -> ::std::os::raw::c_ulong; -} diff --git a/tests/helper/src/gen/sys/powerpc64_linux_gnu/unistd.rs b/tests/helper/src/gen/sys/powerpc64_linux_gnu/unistd.rs deleted file mode 100644 index eab78d00..00000000 --- a/tests/helper/src/gen/sys/powerpc64_linux_gnu/unistd.rs +++ /dev/null @@ -1,10 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -extern "C" { - pub fn syscall(__sysno: ::std::os::raw::c_long, ...) -> ::std::os::raw::c_long; -} diff --git a/tests/helper/src/gen/sys/powerpc64_linux_musl/dlfcn.rs b/tests/helper/src/gen/sys/powerpc64_linux_musl/dlfcn.rs deleted file mode 100644 index 87cb3e98..00000000 --- a/tests/helper/src/gen/sys/powerpc64_linux_musl/dlfcn.rs +++ /dev/null @@ -1,14 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -pub const RTLD_DEFAULT: *mut ::std::os::raw::c_void = ::core::ptr::null_mut(); -extern "C" { - pub fn dlsym( - arg1: *mut ::core::ffi::c_void, - arg2: *const ::std::os::raw::c_char, - ) -> *mut ::core::ffi::c_void; -} diff --git a/tests/helper/src/gen/sys/powerpc64_linux_musl/elf.rs b/tests/helper/src/gen/sys/powerpc64_linux_musl/elf.rs deleted file mode 100644 index a3c1790d..00000000 --- a/tests/helper/src/gen/sys/powerpc64_linux_musl/elf.rs +++ /dev/null @@ -1,29 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -#[repr(C)] -#[derive(Copy, Clone)] -pub struct Elf32_auxv_t { - pub a_type: u32, - pub a_un: Elf32_auxv_t__bindgen_ty_1, -} -#[repr(C)] -#[derive(Copy, Clone)] -pub union Elf32_auxv_t__bindgen_ty_1 { - pub a_val: u32, -} -#[repr(C)] -#[derive(Copy, Clone)] -pub struct Elf64_auxv_t { - pub a_type: u64, - pub a_un: Elf64_auxv_t__bindgen_ty_1, -} -#[repr(C)] -#[derive(Copy, Clone)] -pub union Elf64_auxv_t__bindgen_ty_1 { - pub a_val: u64, -} diff --git a/tests/helper/src/gen/sys/powerpc64_linux_musl/linux_headers_asm_cputable.rs b/tests/helper/src/gen/sys/powerpc64_linux_musl/linux_headers_asm_cputable.rs deleted file mode 100644 index 905b1aaa..00000000 --- a/tests/helper/src/gen/sys/powerpc64_linux_musl/linux_headers_asm_cputable.rs +++ /dev/null @@ -1,50 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -pub const PPC_FEATURE_32: u32 = 2147483648; -pub const PPC_FEATURE_64: u32 = 1073741824; -pub const PPC_FEATURE_601_INSTR: u32 = 536870912; -pub const PPC_FEATURE_HAS_ALTIVEC: u32 = 268435456; -pub const PPC_FEATURE_HAS_FPU: u32 = 134217728; -pub const PPC_FEATURE_HAS_MMU: u32 = 67108864; -pub const PPC_FEATURE_HAS_4xxMAC: u32 = 33554432; -pub const PPC_FEATURE_UNIFIED_CACHE: u32 = 16777216; -pub const PPC_FEATURE_HAS_SPE: u32 = 8388608; -pub const PPC_FEATURE_HAS_EFP_SINGLE: u32 = 4194304; -pub const PPC_FEATURE_HAS_EFP_DOUBLE: u32 = 2097152; -pub const PPC_FEATURE_NO_TB: u32 = 1048576; -pub const PPC_FEATURE_POWER4: u32 = 524288; -pub const PPC_FEATURE_POWER5: u32 = 262144; -pub const PPC_FEATURE_POWER5_PLUS: u32 = 131072; -pub const PPC_FEATURE_CELL: u32 = 65536; -pub const PPC_FEATURE_BOOKE: u32 = 32768; -pub const PPC_FEATURE_SMT: u32 = 16384; -pub const PPC_FEATURE_ICACHE_SNOOP: u32 = 8192; -pub const PPC_FEATURE_ARCH_2_05: u32 = 4096; -pub const PPC_FEATURE_PA6T: u32 = 2048; -pub const PPC_FEATURE_HAS_DFP: u32 = 1024; -pub const PPC_FEATURE_POWER6_EXT: u32 = 512; -pub const PPC_FEATURE_ARCH_2_06: u32 = 256; -pub const PPC_FEATURE_HAS_VSX: u32 = 128; -pub const PPC_FEATURE_PSERIES_PERFMON_COMPAT: u32 = 64; -pub const PPC_FEATURE_TRUE_LE: u32 = 2; -pub const PPC_FEATURE_PPC_LE: u32 = 1; -pub const PPC_FEATURE2_ARCH_2_07: u32 = 2147483648; -pub const PPC_FEATURE2_HTM: u32 = 1073741824; -pub const PPC_FEATURE2_DSCR: u32 = 536870912; -pub const PPC_FEATURE2_EBB: u32 = 268435456; -pub const PPC_FEATURE2_ISEL: u32 = 134217728; -pub const PPC_FEATURE2_TAR: u32 = 67108864; -pub const PPC_FEATURE2_VEC_CRYPTO: u32 = 33554432; -pub const PPC_FEATURE2_HTM_NOSC: u32 = 16777216; -pub const PPC_FEATURE2_ARCH_3_00: u32 = 8388608; -pub const PPC_FEATURE2_HAS_IEEE128: u32 = 4194304; -pub const PPC_FEATURE2_DARN: u32 = 2097152; -pub const PPC_FEATURE2_SCV: u32 = 1048576; -pub const PPC_FEATURE2_HTM_NO_SUSPEND: u32 = 524288; -pub const PPC_FEATURE2_ARCH_3_1: u32 = 262144; -pub const PPC_FEATURE2_MMA: u32 = 131072; diff --git a/tests/helper/src/gen/sys/powerpc64_linux_musl/linux_headers_asm_unistd.rs b/tests/helper/src/gen/sys/powerpc64_linux_musl/linux_headers_asm_unistd.rs deleted file mode 100644 index 1fcd97eb..00000000 --- a/tests/helper/src/gen/sys/powerpc64_linux_musl/linux_headers_asm_unistd.rs +++ /dev/null @@ -1,422 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -pub const __NR_restart_syscall: u32 = 0; -pub const __NR_exit: u32 = 1; -pub const __NR_fork: u32 = 2; -pub const __NR_read: u32 = 3; -pub const __NR_write: u32 = 4; -pub const __NR_open: u32 = 5; -pub const __NR_close: u32 = 6; -pub const __NR_waitpid: u32 = 7; -pub const __NR_creat: u32 = 8; -pub const __NR_link: u32 = 9; -pub const __NR_unlink: u32 = 10; -pub const __NR_execve: u32 = 11; -pub const __NR_chdir: u32 = 12; -pub const __NR_time: u32 = 13; -pub const __NR_mknod: u32 = 14; -pub const __NR_chmod: u32 = 15; -pub const __NR_lchown: u32 = 16; -pub const __NR_break: u32 = 17; -pub const __NR_oldstat: u32 = 18; -pub const __NR_lseek: u32 = 19; -pub const __NR_getpid: u32 = 20; -pub const __NR_mount: u32 = 21; -pub const __NR_umount: u32 = 22; -pub const __NR_setuid: u32 = 23; -pub const __NR_getuid: u32 = 24; -pub const __NR_stime: u32 = 25; -pub const __NR_ptrace: u32 = 26; -pub const __NR_alarm: u32 = 27; -pub const __NR_oldfstat: u32 = 28; -pub const __NR_pause: u32 = 29; -pub const __NR_utime: u32 = 30; -pub const __NR_stty: u32 = 31; -pub const __NR_gtty: u32 = 32; -pub const __NR_access: u32 = 33; -pub const __NR_nice: u32 = 34; -pub const __NR_ftime: u32 = 35; -pub const __NR_sync: u32 = 36; -pub const __NR_kill: u32 = 37; -pub const __NR_rename: u32 = 38; -pub const __NR_mkdir: u32 = 39; -pub const __NR_rmdir: u32 = 40; -pub const __NR_dup: u32 = 41; -pub const __NR_pipe: u32 = 42; -pub const __NR_times: u32 = 43; -pub const __NR_prof: u32 = 44; -pub const __NR_brk: u32 = 45; -pub const __NR_setgid: u32 = 46; -pub const __NR_getgid: u32 = 47; -pub const __NR_signal: u32 = 48; -pub const __NR_geteuid: u32 = 49; -pub const __NR_getegid: u32 = 50; -pub const __NR_acct: u32 = 51; -pub const __NR_umount2: u32 = 52; -pub const __NR_lock: u32 = 53; -pub const __NR_ioctl: u32 = 54; -pub const __NR_fcntl: u32 = 55; -pub const __NR_mpx: u32 = 56; -pub const __NR_setpgid: u32 = 57; -pub const __NR_ulimit: u32 = 58; -pub const __NR_oldolduname: u32 = 59; -pub const __NR_umask: u32 = 60; -pub const __NR_chroot: u32 = 61; -pub const __NR_ustat: u32 = 62; -pub const __NR_dup2: u32 = 63; -pub const __NR_getppid: u32 = 64; -pub const __NR_getpgrp: u32 = 65; -pub const __NR_setsid: u32 = 66; -pub const __NR_sigaction: u32 = 67; -pub const __NR_sgetmask: u32 = 68; -pub const __NR_ssetmask: u32 = 69; -pub const __NR_setreuid: u32 = 70; -pub const __NR_setregid: u32 = 71; -pub const __NR_sigsuspend: u32 = 72; -pub const __NR_sigpending: u32 = 73; -pub const __NR_sethostname: u32 = 74; -pub const __NR_setrlimit: u32 = 75; -pub const __NR_getrlimit: u32 = 76; -pub const __NR_getrusage: u32 = 77; -pub const __NR_gettimeofday: u32 = 78; -pub const __NR_settimeofday: u32 = 79; -pub const __NR_getgroups: u32 = 80; -pub const __NR_setgroups: u32 = 81; -pub const __NR_select: u32 = 82; -pub const __NR_symlink: u32 = 83; -pub const __NR_oldlstat: u32 = 84; -pub const __NR_readlink: u32 = 85; -pub const __NR_uselib: u32 = 86; -pub const __NR_swapon: u32 = 87; -pub const __NR_reboot: u32 = 88; -pub const __NR_readdir: u32 = 89; -pub const __NR_mmap: u32 = 90; -pub const __NR_munmap: u32 = 91; -pub const __NR_truncate: u32 = 92; -pub const __NR_ftruncate: u32 = 93; -pub const __NR_fchmod: u32 = 94; -pub const __NR_fchown: u32 = 95; -pub const __NR_getpriority: u32 = 96; -pub const __NR_setpriority: u32 = 97; -pub const __NR_profil: u32 = 98; -pub const __NR_statfs: u32 = 99; -pub const __NR_fstatfs: u32 = 100; -pub const __NR_ioperm: u32 = 101; -pub const __NR_socketcall: u32 = 102; -pub const __NR_syslog: u32 = 103; -pub const __NR_setitimer: u32 = 104; -pub const __NR_getitimer: u32 = 105; -pub const __NR_stat: u32 = 106; -pub const __NR_lstat: u32 = 107; -pub const __NR_fstat: u32 = 108; -pub const __NR_olduname: u32 = 109; -pub const __NR_iopl: u32 = 110; -pub const __NR_vhangup: u32 = 111; -pub const __NR_idle: u32 = 112; -pub const __NR_vm86: u32 = 113; -pub const __NR_wait4: u32 = 114; -pub const __NR_swapoff: u32 = 115; -pub const __NR_sysinfo: u32 = 116; -pub const __NR_ipc: u32 = 117; -pub const __NR_fsync: u32 = 118; -pub const __NR_sigreturn: u32 = 119; -pub const __NR_clone: u32 = 120; -pub const __NR_setdomainname: u32 = 121; -pub const __NR_uname: u32 = 122; -pub const __NR_modify_ldt: u32 = 123; -pub const __NR_adjtimex: u32 = 124; -pub const __NR_mprotect: u32 = 125; -pub const __NR_sigprocmask: u32 = 126; -pub const __NR_create_module: u32 = 127; -pub const __NR_init_module: u32 = 128; -pub const __NR_delete_module: u32 = 129; -pub const __NR_get_kernel_syms: u32 = 130; -pub const __NR_quotactl: u32 = 131; -pub const __NR_getpgid: u32 = 132; -pub const __NR_fchdir: u32 = 133; -pub const __NR_bdflush: u32 = 134; -pub const __NR_sysfs: u32 = 135; -pub const __NR_personality: u32 = 136; -pub const __NR_afs_syscall: u32 = 137; -pub const __NR_setfsuid: u32 = 138; -pub const __NR_setfsgid: u32 = 139; -pub const __NR__llseek: u32 = 140; -pub const __NR_getdents: u32 = 141; -pub const __NR__newselect: u32 = 142; -pub const __NR_flock: u32 = 143; -pub const __NR_msync: u32 = 144; -pub const __NR_readv: u32 = 145; -pub const __NR_writev: u32 = 146; -pub const __NR_getsid: u32 = 147; -pub const __NR_fdatasync: u32 = 148; -pub const __NR__sysctl: u32 = 149; -pub const __NR_mlock: u32 = 150; -pub const __NR_munlock: u32 = 151; -pub const __NR_mlockall: u32 = 152; -pub const __NR_munlockall: u32 = 153; -pub const __NR_sched_setparam: u32 = 154; -pub const __NR_sched_getparam: u32 = 155; -pub const __NR_sched_setscheduler: u32 = 156; -pub const __NR_sched_getscheduler: u32 = 157; -pub const __NR_sched_yield: u32 = 158; -pub const __NR_sched_get_priority_max: u32 = 159; -pub const __NR_sched_get_priority_min: u32 = 160; -pub const __NR_sched_rr_get_interval: u32 = 161; -pub const __NR_nanosleep: u32 = 162; -pub const __NR_mremap: u32 = 163; -pub const __NR_setresuid: u32 = 164; -pub const __NR_getresuid: u32 = 165; -pub const __NR_query_module: u32 = 166; -pub const __NR_poll: u32 = 167; -pub const __NR_nfsservctl: u32 = 168; -pub const __NR_setresgid: u32 = 169; -pub const __NR_getresgid: u32 = 170; -pub const __NR_prctl: u32 = 171; -pub const __NR_rt_sigreturn: u32 = 172; -pub const __NR_rt_sigaction: u32 = 173; -pub const __NR_rt_sigprocmask: u32 = 174; -pub const __NR_rt_sigpending: u32 = 175; -pub const __NR_rt_sigtimedwait: u32 = 176; -pub const __NR_rt_sigqueueinfo: u32 = 177; -pub const __NR_rt_sigsuspend: u32 = 178; -pub const __NR_pread64: u32 = 179; -pub const __NR_pwrite64: u32 = 180; -pub const __NR_chown: u32 = 181; -pub const __NR_getcwd: u32 = 182; -pub const __NR_capget: u32 = 183; -pub const __NR_capset: u32 = 184; -pub const __NR_sigaltstack: u32 = 185; -pub const __NR_sendfile: u32 = 186; -pub const __NR_getpmsg: u32 = 187; -pub const __NR_putpmsg: u32 = 188; -pub const __NR_vfork: u32 = 189; -pub const __NR_ugetrlimit: u32 = 190; -pub const __NR_readahead: u32 = 191; -pub const __NR_pciconfig_read: u32 = 198; -pub const __NR_pciconfig_write: u32 = 199; -pub const __NR_pciconfig_iobase: u32 = 200; -pub const __NR_multiplexer: u32 = 201; -pub const __NR_getdents64: u32 = 202; -pub const __NR_pivot_root: u32 = 203; -pub const __NR_madvise: u32 = 205; -pub const __NR_mincore: u32 = 206; -pub const __NR_gettid: u32 = 207; -pub const __NR_tkill: u32 = 208; -pub const __NR_setxattr: u32 = 209; -pub const __NR_lsetxattr: u32 = 210; -pub const __NR_fsetxattr: u32 = 211; -pub const __NR_getxattr: u32 = 212; -pub const __NR_lgetxattr: u32 = 213; -pub const __NR_fgetxattr: u32 = 214; -pub const __NR_listxattr: u32 = 215; -pub const __NR_llistxattr: u32 = 216; -pub const __NR_flistxattr: u32 = 217; -pub const __NR_removexattr: u32 = 218; -pub const __NR_lremovexattr: u32 = 219; -pub const __NR_fremovexattr: u32 = 220; -pub const __NR_futex: u32 = 221; -pub const __NR_sched_setaffinity: u32 = 222; -pub const __NR_sched_getaffinity: u32 = 223; -pub const __NR_tuxcall: u32 = 225; -pub const __NR_io_setup: u32 = 227; -pub const __NR_io_destroy: u32 = 228; -pub const __NR_io_getevents: u32 = 229; -pub const __NR_io_submit: u32 = 230; -pub const __NR_io_cancel: u32 = 231; -pub const __NR_set_tid_address: u32 = 232; -pub const __NR_fadvise64: u32 = 233; -pub const __NR_exit_group: u32 = 234; -pub const __NR_lookup_dcookie: u32 = 235; -pub const __NR_epoll_create: u32 = 236; -pub const __NR_epoll_ctl: u32 = 237; -pub const __NR_epoll_wait: u32 = 238; -pub const __NR_remap_file_pages: u32 = 239; -pub const __NR_timer_create: u32 = 240; -pub const __NR_timer_settime: u32 = 241; -pub const __NR_timer_gettime: u32 = 242; -pub const __NR_timer_getoverrun: u32 = 243; -pub const __NR_timer_delete: u32 = 244; -pub const __NR_clock_settime: u32 = 245; -pub const __NR_clock_gettime: u32 = 246; -pub const __NR_clock_getres: u32 = 247; -pub const __NR_clock_nanosleep: u32 = 248; -pub const __NR_swapcontext: u32 = 249; -pub const __NR_tgkill: u32 = 250; -pub const __NR_utimes: u32 = 251; -pub const __NR_statfs64: u32 = 252; -pub const __NR_fstatfs64: u32 = 253; -pub const __NR_rtas: u32 = 255; -pub const __NR_sys_debug_setcontext: u32 = 256; -pub const __NR_migrate_pages: u32 = 258; -pub const __NR_mbind: u32 = 259; -pub const __NR_get_mempolicy: u32 = 260; -pub const __NR_set_mempolicy: u32 = 261; -pub const __NR_mq_open: u32 = 262; -pub const __NR_mq_unlink: u32 = 263; -pub const __NR_mq_timedsend: u32 = 264; -pub const __NR_mq_timedreceive: u32 = 265; -pub const __NR_mq_notify: u32 = 266; -pub const __NR_mq_getsetattr: u32 = 267; -pub const __NR_kexec_load: u32 = 268; -pub const __NR_add_key: u32 = 269; -pub const __NR_request_key: u32 = 270; -pub const __NR_keyctl: u32 = 271; -pub const __NR_waitid: u32 = 272; -pub const __NR_ioprio_set: u32 = 273; -pub const __NR_ioprio_get: u32 = 274; -pub const __NR_inotify_init: u32 = 275; -pub const __NR_inotify_add_watch: u32 = 276; -pub const __NR_inotify_rm_watch: u32 = 277; -pub const __NR_spu_run: u32 = 278; -pub const __NR_spu_create: u32 = 279; -pub const __NR_pselect6: u32 = 280; -pub const __NR_ppoll: u32 = 281; -pub const __NR_unshare: u32 = 282; -pub const __NR_splice: u32 = 283; -pub const __NR_tee: u32 = 284; -pub const __NR_vmsplice: u32 = 285; -pub const __NR_openat: u32 = 286; -pub const __NR_mkdirat: u32 = 287; -pub const __NR_mknodat: u32 = 288; -pub const __NR_fchownat: u32 = 289; -pub const __NR_futimesat: u32 = 290; -pub const __NR_newfstatat: u32 = 291; -pub const __NR_unlinkat: u32 = 292; -pub const __NR_renameat: u32 = 293; -pub const __NR_linkat: u32 = 294; -pub const __NR_symlinkat: u32 = 295; -pub const __NR_readlinkat: u32 = 296; -pub const __NR_fchmodat: u32 = 297; -pub const __NR_faccessat: u32 = 298; -pub const __NR_get_robust_list: u32 = 299; -pub const __NR_set_robust_list: u32 = 300; -pub const __NR_move_pages: u32 = 301; -pub const __NR_getcpu: u32 = 302; -pub const __NR_epoll_pwait: u32 = 303; -pub const __NR_utimensat: u32 = 304; -pub const __NR_signalfd: u32 = 305; -pub const __NR_timerfd_create: u32 = 306; -pub const __NR_eventfd: u32 = 307; -pub const __NR_sync_file_range2: u32 = 308; -pub const __NR_fallocate: u32 = 309; -pub const __NR_subpage_prot: u32 = 310; -pub const __NR_timerfd_settime: u32 = 311; -pub const __NR_timerfd_gettime: u32 = 312; -pub const __NR_signalfd4: u32 = 313; -pub const __NR_eventfd2: u32 = 314; -pub const __NR_epoll_create1: u32 = 315; -pub const __NR_dup3: u32 = 316; -pub const __NR_pipe2: u32 = 317; -pub const __NR_inotify_init1: u32 = 318; -pub const __NR_perf_event_open: u32 = 319; -pub const __NR_preadv: u32 = 320; -pub const __NR_pwritev: u32 = 321; -pub const __NR_rt_tgsigqueueinfo: u32 = 322; -pub const __NR_fanotify_init: u32 = 323; -pub const __NR_fanotify_mark: u32 = 324; -pub const __NR_prlimit64: u32 = 325; -pub const __NR_socket: u32 = 326; -pub const __NR_bind: u32 = 327; -pub const __NR_connect: u32 = 328; -pub const __NR_listen: u32 = 329; -pub const __NR_accept: u32 = 330; -pub const __NR_getsockname: u32 = 331; -pub const __NR_getpeername: u32 = 332; -pub const __NR_socketpair: u32 = 333; -pub const __NR_send: u32 = 334; -pub const __NR_sendto: u32 = 335; -pub const __NR_recv: u32 = 336; -pub const __NR_recvfrom: u32 = 337; -pub const __NR_shutdown: u32 = 338; -pub const __NR_setsockopt: u32 = 339; -pub const __NR_getsockopt: u32 = 340; -pub const __NR_sendmsg: u32 = 341; -pub const __NR_recvmsg: u32 = 342; -pub const __NR_recvmmsg: u32 = 343; -pub const __NR_accept4: u32 = 344; -pub const __NR_name_to_handle_at: u32 = 345; -pub const __NR_open_by_handle_at: u32 = 346; -pub const __NR_clock_adjtime: u32 = 347; -pub const __NR_syncfs: u32 = 348; -pub const __NR_sendmmsg: u32 = 349; -pub const __NR_setns: u32 = 350; -pub const __NR_process_vm_readv: u32 = 351; -pub const __NR_process_vm_writev: u32 = 352; -pub const __NR_finit_module: u32 = 353; -pub const __NR_kcmp: u32 = 354; -pub const __NR_sched_setattr: u32 = 355; -pub const __NR_sched_getattr: u32 = 356; -pub const __NR_renameat2: u32 = 357; -pub const __NR_seccomp: u32 = 358; -pub const __NR_getrandom: u32 = 359; -pub const __NR_memfd_create: u32 = 360; -pub const __NR_bpf: u32 = 361; -pub const __NR_execveat: u32 = 362; -pub const __NR_switch_endian: u32 = 363; -pub const __NR_userfaultfd: u32 = 364; -pub const __NR_membarrier: u32 = 365; -pub const __NR_mlock2: u32 = 378; -pub const __NR_copy_file_range: u32 = 379; -pub const __NR_preadv2: u32 = 380; -pub const __NR_pwritev2: u32 = 381; -pub const __NR_kexec_file_load: u32 = 382; -pub const __NR_statx: u32 = 383; -pub const __NR_pkey_alloc: u32 = 384; -pub const __NR_pkey_free: u32 = 385; -pub const __NR_pkey_mprotect: u32 = 386; -pub const __NR_rseq: u32 = 387; -pub const __NR_io_pgetevents: u32 = 388; -pub const __NR_semtimedop: u32 = 392; -pub const __NR_semget: u32 = 393; -pub const __NR_semctl: u32 = 394; -pub const __NR_shmget: u32 = 395; -pub const __NR_shmctl: u32 = 396; -pub const __NR_shmat: u32 = 397; -pub const __NR_shmdt: u32 = 398; -pub const __NR_msgget: u32 = 399; -pub const __NR_msgsnd: u32 = 400; -pub const __NR_msgrcv: u32 = 401; -pub const __NR_msgctl: u32 = 402; -pub const __NR_pidfd_send_signal: u32 = 424; -pub const __NR_io_uring_setup: u32 = 425; -pub const __NR_io_uring_enter: u32 = 426; -pub const __NR_io_uring_register: u32 = 427; -pub const __NR_open_tree: u32 = 428; -pub const __NR_move_mount: u32 = 429; -pub const __NR_fsopen: u32 = 430; -pub const __NR_fsconfig: u32 = 431; -pub const __NR_fsmount: u32 = 432; -pub const __NR_fspick: u32 = 433; -pub const __NR_pidfd_open: u32 = 434; -pub const __NR_clone3: u32 = 435; -pub const __NR_close_range: u32 = 436; -pub const __NR_openat2: u32 = 437; -pub const __NR_pidfd_getfd: u32 = 438; -pub const __NR_faccessat2: u32 = 439; -pub const __NR_process_madvise: u32 = 440; -pub const __NR_epoll_pwait2: u32 = 441; -pub const __NR_mount_setattr: u32 = 442; -pub const __NR_quotactl_fd: u32 = 443; -pub const __NR_landlock_create_ruleset: u32 = 444; -pub const __NR_landlock_add_rule: u32 = 445; -pub const __NR_landlock_restrict_self: u32 = 446; -pub const __NR_process_mrelease: u32 = 448; -pub const __NR_futex_waitv: u32 = 449; -pub const __NR_set_mempolicy_home_node: u32 = 450; -pub const __NR_cachestat: u32 = 451; -pub const __NR_fchmodat2: u32 = 452; -pub const __NR_map_shadow_stack: u32 = 453; -pub const __NR_futex_wake: u32 = 454; -pub const __NR_futex_wait: u32 = 455; -pub const __NR_futex_requeue: u32 = 456; -pub const __NR_statmount: u32 = 457; -pub const __NR_listmount: u32 = 458; -pub const __NR_lsm_get_self_attr: u32 = 459; -pub const __NR_lsm_set_self_attr: u32 = 460; -pub const __NR_lsm_list_modules: u32 = 461; -pub const __NR_mseal: u32 = 462; diff --git a/tests/helper/src/gen/sys/powerpc64_linux_musl/linux_headers_linux_auxvec.rs b/tests/helper/src/gen/sys/powerpc64_linux_musl/linux_headers_linux_auxvec.rs deleted file mode 100644 index 16bf174c..00000000 --- a/tests/helper/src/gen/sys/powerpc64_linux_musl/linux_headers_linux_auxvec.rs +++ /dev/null @@ -1,49 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -pub const AT_DCACHEBSIZE: u32 = 19; -pub const AT_ICACHEBSIZE: u32 = 20; -pub const AT_UCACHEBSIZE: u32 = 21; -pub const AT_IGNOREPPC: u32 = 22; -pub const AT_SYSINFO_EHDR: u32 = 33; -pub const AT_L1I_CACHESIZE: u32 = 40; -pub const AT_L1I_CACHEGEOMETRY: u32 = 41; -pub const AT_L1D_CACHESIZE: u32 = 42; -pub const AT_L1D_CACHEGEOMETRY: u32 = 43; -pub const AT_L2_CACHESIZE: u32 = 44; -pub const AT_L2_CACHEGEOMETRY: u32 = 45; -pub const AT_L3_CACHESIZE: u32 = 46; -pub const AT_L3_CACHEGEOMETRY: u32 = 47; -pub const AT_MINSIGSTKSZ: u32 = 51; -pub const AT_VECTOR_SIZE_ARCH: u32 = 15; -pub const AT_NULL: u32 = 0; -pub const AT_IGNORE: u32 = 1; -pub const AT_EXECFD: u32 = 2; -pub const AT_PHDR: u32 = 3; -pub const AT_PHENT: u32 = 4; -pub const AT_PHNUM: u32 = 5; -pub const AT_PAGESZ: u32 = 6; -pub const AT_BASE: u32 = 7; -pub const AT_FLAGS: u32 = 8; -pub const AT_ENTRY: u32 = 9; -pub const AT_NOTELF: u32 = 10; -pub const AT_UID: u32 = 11; -pub const AT_EUID: u32 = 12; -pub const AT_GID: u32 = 13; -pub const AT_EGID: u32 = 14; -pub const AT_PLATFORM: u32 = 15; -pub const AT_HWCAP: u32 = 16; -pub const AT_CLKTCK: u32 = 17; -pub const AT_SECURE: u32 = 23; -pub const AT_BASE_PLATFORM: u32 = 24; -pub const AT_RANDOM: u32 = 25; -pub const AT_HWCAP2: u32 = 26; -pub const AT_RSEQ_FEATURE_SIZE: u32 = 27; -pub const AT_RSEQ_ALIGN: u32 = 28; -pub const AT_HWCAP3: u32 = 29; -pub const AT_HWCAP4: u32 = 30; -pub const AT_EXECFN: u32 = 31; diff --git a/tests/helper/src/gen/sys/powerpc64_linux_musl/linux_headers_linux_prctl.rs b/tests/helper/src/gen/sys/powerpc64_linux_musl/linux_headers_linux_prctl.rs deleted file mode 100644 index 6eeb3021..00000000 --- a/tests/helper/src/gen/sys/powerpc64_linux_musl/linux_headers_linux_prctl.rs +++ /dev/null @@ -1,189 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -pub const PR_SET_PDEATHSIG: u32 = 1; -pub const PR_GET_PDEATHSIG: u32 = 2; -pub const PR_GET_DUMPABLE: u32 = 3; -pub const PR_SET_DUMPABLE: u32 = 4; -pub const PR_GET_UNALIGN: u32 = 5; -pub const PR_SET_UNALIGN: u32 = 6; -pub const PR_UNALIGN_NOPRINT: u32 = 1; -pub const PR_UNALIGN_SIGBUS: u32 = 2; -pub const PR_GET_KEEPCAPS: u32 = 7; -pub const PR_SET_KEEPCAPS: u32 = 8; -pub const PR_GET_FPEMU: u32 = 9; -pub const PR_SET_FPEMU: u32 = 10; -pub const PR_FPEMU_NOPRINT: u32 = 1; -pub const PR_FPEMU_SIGFPE: u32 = 2; -pub const PR_GET_FPEXC: u32 = 11; -pub const PR_SET_FPEXC: u32 = 12; -pub const PR_FP_EXC_SW_ENABLE: u32 = 128; -pub const PR_FP_EXC_DIV: u32 = 65536; -pub const PR_FP_EXC_OVF: u32 = 131072; -pub const PR_FP_EXC_UND: u32 = 262144; -pub const PR_FP_EXC_RES: u32 = 524288; -pub const PR_FP_EXC_INV: u32 = 1048576; -pub const PR_FP_EXC_DISABLED: u32 = 0; -pub const PR_FP_EXC_NONRECOV: u32 = 1; -pub const PR_FP_EXC_ASYNC: u32 = 2; -pub const PR_FP_EXC_PRECISE: u32 = 3; -pub const PR_GET_TIMING: u32 = 13; -pub const PR_SET_TIMING: u32 = 14; -pub const PR_TIMING_STATISTICAL: u32 = 0; -pub const PR_TIMING_TIMESTAMP: u32 = 1; -pub const PR_SET_NAME: u32 = 15; -pub const PR_GET_NAME: u32 = 16; -pub const PR_GET_ENDIAN: u32 = 19; -pub const PR_SET_ENDIAN: u32 = 20; -pub const PR_ENDIAN_BIG: u32 = 0; -pub const PR_ENDIAN_LITTLE: u32 = 1; -pub const PR_ENDIAN_PPC_LITTLE: u32 = 2; -pub const PR_GET_SECCOMP: u32 = 21; -pub const PR_SET_SECCOMP: u32 = 22; -pub const PR_CAPBSET_READ: u32 = 23; -pub const PR_CAPBSET_DROP: u32 = 24; -pub const PR_GET_TSC: u32 = 25; -pub const PR_SET_TSC: u32 = 26; -pub const PR_TSC_ENABLE: u32 = 1; -pub const PR_TSC_SIGSEGV: u32 = 2; -pub const PR_GET_SECUREBITS: u32 = 27; -pub const PR_SET_SECUREBITS: u32 = 28; -pub const PR_SET_TIMERSLACK: u32 = 29; -pub const PR_GET_TIMERSLACK: u32 = 30; -pub const PR_TASK_PERF_EVENTS_DISABLE: u32 = 31; -pub const PR_TASK_PERF_EVENTS_ENABLE: u32 = 32; -pub const PR_MCE_KILL: u32 = 33; -pub const PR_MCE_KILL_CLEAR: u32 = 0; -pub const PR_MCE_KILL_SET: u32 = 1; -pub const PR_MCE_KILL_LATE: u32 = 0; -pub const PR_MCE_KILL_EARLY: u32 = 1; -pub const PR_MCE_KILL_DEFAULT: u32 = 2; -pub const PR_MCE_KILL_GET: u32 = 34; -pub const PR_SET_MM: u32 = 35; -pub const PR_SET_MM_START_CODE: u32 = 1; -pub const PR_SET_MM_END_CODE: u32 = 2; -pub const PR_SET_MM_START_DATA: u32 = 3; -pub const PR_SET_MM_END_DATA: u32 = 4; -pub const PR_SET_MM_START_STACK: u32 = 5; -pub const PR_SET_MM_START_BRK: u32 = 6; -pub const PR_SET_MM_BRK: u32 = 7; -pub const PR_SET_MM_ARG_START: u32 = 8; -pub const PR_SET_MM_ARG_END: u32 = 9; -pub const PR_SET_MM_ENV_START: u32 = 10; -pub const PR_SET_MM_ENV_END: u32 = 11; -pub const PR_SET_MM_AUXV: u32 = 12; -pub const PR_SET_MM_EXE_FILE: u32 = 13; -pub const PR_SET_MM_MAP: u32 = 14; -pub const PR_SET_MM_MAP_SIZE: u32 = 15; -pub const PR_SET_PTRACER: u32 = 1499557217; -pub const PR_SET_PTRACER_ANY: ::std::os::raw::c_ulong = -1i8 as ::std::os::raw::c_ulong; -pub const PR_SET_CHILD_SUBREAPER: u32 = 36; -pub const PR_GET_CHILD_SUBREAPER: u32 = 37; -pub const PR_SET_NO_NEW_PRIVS: u32 = 38; -pub const PR_GET_NO_NEW_PRIVS: u32 = 39; -pub const PR_GET_TID_ADDRESS: u32 = 40; -pub const PR_SET_THP_DISABLE: u32 = 41; -pub const PR_GET_THP_DISABLE: u32 = 42; -pub const PR_MPX_ENABLE_MANAGEMENT: u32 = 43; -pub const PR_MPX_DISABLE_MANAGEMENT: u32 = 44; -pub const PR_SET_FP_MODE: u32 = 45; -pub const PR_GET_FP_MODE: u32 = 46; -pub const PR_FP_MODE_FR: u32 = 1; -pub const PR_FP_MODE_FRE: u32 = 2; -pub const PR_CAP_AMBIENT: u32 = 47; -pub const PR_CAP_AMBIENT_IS_SET: u32 = 1; -pub const PR_CAP_AMBIENT_RAISE: u32 = 2; -pub const PR_CAP_AMBIENT_LOWER: u32 = 3; -pub const PR_CAP_AMBIENT_CLEAR_ALL: u32 = 4; -pub const PR_SVE_SET_VL: u32 = 50; -pub const PR_SVE_SET_VL_ONEXEC: u32 = 262144; -pub const PR_SVE_GET_VL: u32 = 51; -pub const PR_SVE_VL_LEN_MASK: u32 = 65535; -pub const PR_SVE_VL_INHERIT: u32 = 131072; -pub const PR_GET_SPECULATION_CTRL: u32 = 52; -pub const PR_SET_SPECULATION_CTRL: u32 = 53; -pub const PR_SPEC_STORE_BYPASS: u32 = 0; -pub const PR_SPEC_INDIRECT_BRANCH: u32 = 1; -pub const PR_SPEC_L1D_FLUSH: u32 = 2; -pub const PR_SPEC_NOT_AFFECTED: u32 = 0; -pub const PR_SPEC_PRCTL: u32 = 1; -pub const PR_SPEC_ENABLE: u32 = 2; -pub const PR_SPEC_DISABLE: u32 = 4; -pub const PR_SPEC_FORCE_DISABLE: u32 = 8; -pub const PR_SPEC_DISABLE_NOEXEC: u32 = 16; -pub const PR_PAC_RESET_KEYS: u32 = 54; -pub const PR_PAC_APIAKEY: u32 = 1; -pub const PR_PAC_APIBKEY: u32 = 2; -pub const PR_PAC_APDAKEY: u32 = 4; -pub const PR_PAC_APDBKEY: u32 = 8; -pub const PR_PAC_APGAKEY: u32 = 16; -pub const PR_SET_TAGGED_ADDR_CTRL: u32 = 55; -pub const PR_GET_TAGGED_ADDR_CTRL: u32 = 56; -pub const PR_TAGGED_ADDR_ENABLE: u32 = 1; -pub const PR_MTE_TCF_NONE: u32 = 0; -pub const PR_MTE_TCF_SYNC: u32 = 2; -pub const PR_MTE_TCF_ASYNC: u32 = 4; -pub const PR_MTE_TCF_MASK: u32 = 6; -pub const PR_MTE_TAG_SHIFT: u32 = 3; -pub const PR_MTE_TAG_MASK: u32 = 524280; -pub const PR_MTE_TCF_SHIFT: u32 = 1; -pub const PR_SET_IO_FLUSHER: u32 = 57; -pub const PR_GET_IO_FLUSHER: u32 = 58; -pub const PR_SET_SYSCALL_USER_DISPATCH: u32 = 59; -pub const PR_SYS_DISPATCH_OFF: u32 = 0; -pub const PR_SYS_DISPATCH_ON: u32 = 1; -pub const PR_PAC_SET_ENABLED_KEYS: u32 = 60; -pub const PR_PAC_GET_ENABLED_KEYS: u32 = 61; -pub const PR_SCHED_CORE: u32 = 62; -pub const PR_SCHED_CORE_GET: u32 = 0; -pub const PR_SCHED_CORE_CREATE: u32 = 1; -pub const PR_SCHED_CORE_SHARE_TO: u32 = 2; -pub const PR_SCHED_CORE_SHARE_FROM: u32 = 3; -pub const PR_SCHED_CORE_MAX: u32 = 4; -pub const PR_SCHED_CORE_SCOPE_THREAD: u32 = 0; -pub const PR_SCHED_CORE_SCOPE_THREAD_GROUP: u32 = 1; -pub const PR_SCHED_CORE_SCOPE_PROCESS_GROUP: u32 = 2; -pub const PR_SME_SET_VL: u32 = 63; -pub const PR_SME_SET_VL_ONEXEC: u32 = 262144; -pub const PR_SME_GET_VL: u32 = 64; -pub const PR_SME_VL_LEN_MASK: u32 = 65535; -pub const PR_SME_VL_INHERIT: u32 = 131072; -pub const PR_SET_MDWE: u32 = 65; -pub const PR_MDWE_REFUSE_EXEC_GAIN: u32 = 1; -pub const PR_MDWE_NO_INHERIT: u32 = 2; -pub const PR_GET_MDWE: u32 = 66; -pub const PR_SET_VMA: u32 = 1398164801; -pub const PR_SET_VMA_ANON_NAME: u32 = 0; -pub const PR_GET_AUXV: u32 = 1096112214; -pub const PR_SET_MEMORY_MERGE: u32 = 67; -pub const PR_GET_MEMORY_MERGE: u32 = 68; -pub const PR_RISCV_V_SET_CONTROL: u32 = 69; -pub const PR_RISCV_V_GET_CONTROL: u32 = 70; -pub const PR_RISCV_V_VSTATE_CTRL_DEFAULT: u32 = 0; -pub const PR_RISCV_V_VSTATE_CTRL_OFF: u32 = 1; -pub const PR_RISCV_V_VSTATE_CTRL_ON: u32 = 2; -pub const PR_RISCV_V_VSTATE_CTRL_INHERIT: u32 = 16; -pub const PR_RISCV_V_VSTATE_CTRL_CUR_MASK: u32 = 3; -pub const PR_RISCV_V_VSTATE_CTRL_NEXT_MASK: u32 = 12; -pub const PR_RISCV_V_VSTATE_CTRL_MASK: u32 = 31; -pub const PR_RISCV_SET_ICACHE_FLUSH_CTX: u32 = 71; -pub const PR_RISCV_CTX_SW_FENCEI_ON: u32 = 0; -pub const PR_RISCV_CTX_SW_FENCEI_OFF: u32 = 1; -pub const PR_RISCV_SCOPE_PER_PROCESS: u32 = 0; -pub const PR_RISCV_SCOPE_PER_THREAD: u32 = 1; -pub const PR_PPC_GET_DEXCR: u32 = 72; -pub const PR_PPC_SET_DEXCR: u32 = 73; -pub const PR_PPC_DEXCR_SBHE: u32 = 0; -pub const PR_PPC_DEXCR_IBRTPD: u32 = 1; -pub const PR_PPC_DEXCR_SRAPD: u32 = 2; -pub const PR_PPC_DEXCR_NPHIE: u32 = 3; -pub const PR_PPC_DEXCR_CTRL_EDITABLE: u32 = 1; -pub const PR_PPC_DEXCR_CTRL_SET: u32 = 2; -pub const PR_PPC_DEXCR_CTRL_CLEAR: u32 = 4; -pub const PR_PPC_DEXCR_CTRL_SET_ONEXEC: u32 = 8; -pub const PR_PPC_DEXCR_CTRL_CLEAR_ONEXEC: u32 = 16; -pub const PR_PPC_DEXCR_CTRL_MASK: u32 = 31; diff --git a/tests/helper/src/gen/sys/powerpc64_linux_musl/mod.rs b/tests/helper/src/gen/sys/powerpc64_linux_musl/mod.rs deleted file mode 100644 index 80efc536..00000000 --- a/tests/helper/src/gen/sys/powerpc64_linux_musl/mod.rs +++ /dev/null @@ -1,703 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] -mod linux_headers_asm_cputable; -pub use linux_headers_asm_cputable::PPC_FEATURE_32; -pub use linux_headers_asm_cputable::PPC_FEATURE_64; -pub use linux_headers_asm_cputable::PPC_FEATURE_601_INSTR; -pub use linux_headers_asm_cputable::PPC_FEATURE_HAS_ALTIVEC; -pub use linux_headers_asm_cputable::PPC_FEATURE_HAS_FPU; -pub use linux_headers_asm_cputable::PPC_FEATURE_HAS_MMU; -pub use linux_headers_asm_cputable::PPC_FEATURE_HAS_4xxMAC; -pub use linux_headers_asm_cputable::PPC_FEATURE_UNIFIED_CACHE; -pub use linux_headers_asm_cputable::PPC_FEATURE_HAS_SPE; -pub use linux_headers_asm_cputable::PPC_FEATURE_HAS_EFP_SINGLE; -pub use linux_headers_asm_cputable::PPC_FEATURE_HAS_EFP_DOUBLE; -pub use linux_headers_asm_cputable::PPC_FEATURE_NO_TB; -pub use linux_headers_asm_cputable::PPC_FEATURE_POWER4; -pub use linux_headers_asm_cputable::PPC_FEATURE_POWER5; -pub use linux_headers_asm_cputable::PPC_FEATURE_POWER5_PLUS; -pub use linux_headers_asm_cputable::PPC_FEATURE_CELL; -pub use linux_headers_asm_cputable::PPC_FEATURE_BOOKE; -pub use linux_headers_asm_cputable::PPC_FEATURE_SMT; -pub use linux_headers_asm_cputable::PPC_FEATURE_ICACHE_SNOOP; -pub use linux_headers_asm_cputable::PPC_FEATURE_ARCH_2_05; -pub use linux_headers_asm_cputable::PPC_FEATURE_PA6T; -pub use linux_headers_asm_cputable::PPC_FEATURE_HAS_DFP; -pub use linux_headers_asm_cputable::PPC_FEATURE_POWER6_EXT; -pub use linux_headers_asm_cputable::PPC_FEATURE_ARCH_2_06; -pub use linux_headers_asm_cputable::PPC_FEATURE_HAS_VSX; -pub use linux_headers_asm_cputable::PPC_FEATURE_PSERIES_PERFMON_COMPAT; -pub use linux_headers_asm_cputable::PPC_FEATURE_TRUE_LE; -pub use linux_headers_asm_cputable::PPC_FEATURE_PPC_LE; -pub use linux_headers_asm_cputable::PPC_FEATURE2_ARCH_2_07; -pub use linux_headers_asm_cputable::PPC_FEATURE2_HTM; -pub use linux_headers_asm_cputable::PPC_FEATURE2_DSCR; -pub use linux_headers_asm_cputable::PPC_FEATURE2_EBB; -pub use linux_headers_asm_cputable::PPC_FEATURE2_ISEL; -pub use linux_headers_asm_cputable::PPC_FEATURE2_TAR; -pub use linux_headers_asm_cputable::PPC_FEATURE2_VEC_CRYPTO; -pub use linux_headers_asm_cputable::PPC_FEATURE2_HTM_NOSC; -pub use linux_headers_asm_cputable::PPC_FEATURE2_ARCH_3_00; -pub use linux_headers_asm_cputable::PPC_FEATURE2_HAS_IEEE128; -pub use linux_headers_asm_cputable::PPC_FEATURE2_DARN; -pub use linux_headers_asm_cputable::PPC_FEATURE2_SCV; -pub use linux_headers_asm_cputable::PPC_FEATURE2_HTM_NO_SUSPEND; -pub use linux_headers_asm_cputable::PPC_FEATURE2_ARCH_3_1; -pub use linux_headers_asm_cputable::PPC_FEATURE2_MMA; -mod linux_headers_asm_unistd; -pub use linux_headers_asm_unistd::__NR_restart_syscall; -pub use linux_headers_asm_unistd::__NR_exit; -pub use linux_headers_asm_unistd::__NR_fork; -pub use linux_headers_asm_unistd::__NR_read; -pub use linux_headers_asm_unistd::__NR_write; -pub use linux_headers_asm_unistd::__NR_open; -pub use linux_headers_asm_unistd::__NR_close; -pub use linux_headers_asm_unistd::__NR_waitpid; -pub use linux_headers_asm_unistd::__NR_creat; -pub use linux_headers_asm_unistd::__NR_link; -pub use linux_headers_asm_unistd::__NR_unlink; -pub use linux_headers_asm_unistd::__NR_execve; -pub use linux_headers_asm_unistd::__NR_chdir; -pub use linux_headers_asm_unistd::__NR_time; -pub use linux_headers_asm_unistd::__NR_mknod; -pub use linux_headers_asm_unistd::__NR_chmod; -pub use linux_headers_asm_unistd::__NR_lchown; -pub use linux_headers_asm_unistd::__NR_break; -pub use linux_headers_asm_unistd::__NR_oldstat; -pub use linux_headers_asm_unistd::__NR_lseek; -pub use linux_headers_asm_unistd::__NR_getpid; -pub use linux_headers_asm_unistd::__NR_mount; -pub use linux_headers_asm_unistd::__NR_umount; -pub use linux_headers_asm_unistd::__NR_setuid; -pub use linux_headers_asm_unistd::__NR_getuid; -pub use linux_headers_asm_unistd::__NR_stime; -pub use linux_headers_asm_unistd::__NR_ptrace; -pub use linux_headers_asm_unistd::__NR_alarm; -pub use linux_headers_asm_unistd::__NR_oldfstat; -pub use linux_headers_asm_unistd::__NR_pause; -pub use linux_headers_asm_unistd::__NR_utime; -pub use linux_headers_asm_unistd::__NR_stty; -pub use linux_headers_asm_unistd::__NR_gtty; -pub use linux_headers_asm_unistd::__NR_access; -pub use linux_headers_asm_unistd::__NR_nice; -pub use linux_headers_asm_unistd::__NR_ftime; -pub use linux_headers_asm_unistd::__NR_sync; -pub use linux_headers_asm_unistd::__NR_kill; -pub use linux_headers_asm_unistd::__NR_rename; -pub use linux_headers_asm_unistd::__NR_mkdir; -pub use linux_headers_asm_unistd::__NR_rmdir; -pub use linux_headers_asm_unistd::__NR_dup; -pub use linux_headers_asm_unistd::__NR_pipe; -pub use linux_headers_asm_unistd::__NR_times; -pub use linux_headers_asm_unistd::__NR_prof; -pub use linux_headers_asm_unistd::__NR_brk; -pub use linux_headers_asm_unistd::__NR_setgid; -pub use linux_headers_asm_unistd::__NR_getgid; -pub use linux_headers_asm_unistd::__NR_signal; -pub use linux_headers_asm_unistd::__NR_geteuid; -pub use linux_headers_asm_unistd::__NR_getegid; -pub use linux_headers_asm_unistd::__NR_acct; -pub use linux_headers_asm_unistd::__NR_umount2; -pub use linux_headers_asm_unistd::__NR_lock; -pub use linux_headers_asm_unistd::__NR_ioctl; -pub use linux_headers_asm_unistd::__NR_fcntl; -pub use linux_headers_asm_unistd::__NR_mpx; -pub use linux_headers_asm_unistd::__NR_setpgid; -pub use linux_headers_asm_unistd::__NR_ulimit; -pub use linux_headers_asm_unistd::__NR_oldolduname; -pub use linux_headers_asm_unistd::__NR_umask; -pub use linux_headers_asm_unistd::__NR_chroot; -pub use linux_headers_asm_unistd::__NR_ustat; -pub use linux_headers_asm_unistd::__NR_dup2; -pub use linux_headers_asm_unistd::__NR_getppid; -pub use linux_headers_asm_unistd::__NR_getpgrp; -pub use linux_headers_asm_unistd::__NR_setsid; -pub use linux_headers_asm_unistd::__NR_sigaction; -pub use linux_headers_asm_unistd::__NR_sgetmask; -pub use linux_headers_asm_unistd::__NR_ssetmask; -pub use linux_headers_asm_unistd::__NR_setreuid; -pub use linux_headers_asm_unistd::__NR_setregid; -pub use linux_headers_asm_unistd::__NR_sigsuspend; -pub use linux_headers_asm_unistd::__NR_sigpending; -pub use linux_headers_asm_unistd::__NR_sethostname; -pub use linux_headers_asm_unistd::__NR_setrlimit; -pub use linux_headers_asm_unistd::__NR_getrlimit; -pub use linux_headers_asm_unistd::__NR_getrusage; -pub use linux_headers_asm_unistd::__NR_gettimeofday; -pub use linux_headers_asm_unistd::__NR_settimeofday; -pub use linux_headers_asm_unistd::__NR_getgroups; -pub use linux_headers_asm_unistd::__NR_setgroups; -pub use linux_headers_asm_unistd::__NR_select; -pub use linux_headers_asm_unistd::__NR_symlink; -pub use linux_headers_asm_unistd::__NR_oldlstat; -pub use linux_headers_asm_unistd::__NR_readlink; -pub use linux_headers_asm_unistd::__NR_uselib; -pub use linux_headers_asm_unistd::__NR_swapon; -pub use linux_headers_asm_unistd::__NR_reboot; -pub use linux_headers_asm_unistd::__NR_readdir; -pub use linux_headers_asm_unistd::__NR_mmap; -pub use linux_headers_asm_unistd::__NR_munmap; -pub use linux_headers_asm_unistd::__NR_truncate; -pub use linux_headers_asm_unistd::__NR_ftruncate; -pub use linux_headers_asm_unistd::__NR_fchmod; -pub use linux_headers_asm_unistd::__NR_fchown; -pub use linux_headers_asm_unistd::__NR_getpriority; -pub use linux_headers_asm_unistd::__NR_setpriority; -pub use linux_headers_asm_unistd::__NR_profil; -pub use linux_headers_asm_unistd::__NR_statfs; -pub use linux_headers_asm_unistd::__NR_fstatfs; -pub use linux_headers_asm_unistd::__NR_ioperm; -pub use linux_headers_asm_unistd::__NR_socketcall; -pub use linux_headers_asm_unistd::__NR_syslog; -pub use linux_headers_asm_unistd::__NR_setitimer; -pub use linux_headers_asm_unistd::__NR_getitimer; -pub use linux_headers_asm_unistd::__NR_stat; -pub use linux_headers_asm_unistd::__NR_lstat; -pub use linux_headers_asm_unistd::__NR_fstat; -pub use linux_headers_asm_unistd::__NR_olduname; -pub use linux_headers_asm_unistd::__NR_iopl; -pub use linux_headers_asm_unistd::__NR_vhangup; -pub use linux_headers_asm_unistd::__NR_idle; -pub use linux_headers_asm_unistd::__NR_vm86; -pub use linux_headers_asm_unistd::__NR_wait4; -pub use linux_headers_asm_unistd::__NR_swapoff; -pub use linux_headers_asm_unistd::__NR_sysinfo; -pub use linux_headers_asm_unistd::__NR_ipc; -pub use linux_headers_asm_unistd::__NR_fsync; -pub use linux_headers_asm_unistd::__NR_sigreturn; -pub use linux_headers_asm_unistd::__NR_clone; -pub use linux_headers_asm_unistd::__NR_setdomainname; -pub use linux_headers_asm_unistd::__NR_uname; -pub use linux_headers_asm_unistd::__NR_modify_ldt; -pub use linux_headers_asm_unistd::__NR_adjtimex; -pub use linux_headers_asm_unistd::__NR_mprotect; -pub use linux_headers_asm_unistd::__NR_sigprocmask; -pub use linux_headers_asm_unistd::__NR_create_module; -pub use linux_headers_asm_unistd::__NR_init_module; -pub use linux_headers_asm_unistd::__NR_delete_module; -pub use linux_headers_asm_unistd::__NR_get_kernel_syms; -pub use linux_headers_asm_unistd::__NR_quotactl; -pub use linux_headers_asm_unistd::__NR_getpgid; -pub use linux_headers_asm_unistd::__NR_fchdir; -pub use linux_headers_asm_unistd::__NR_bdflush; -pub use linux_headers_asm_unistd::__NR_sysfs; -pub use linux_headers_asm_unistd::__NR_personality; -pub use linux_headers_asm_unistd::__NR_afs_syscall; -pub use linux_headers_asm_unistd::__NR_setfsuid; -pub use linux_headers_asm_unistd::__NR_setfsgid; -pub use linux_headers_asm_unistd::__NR__llseek; -pub use linux_headers_asm_unistd::__NR_getdents; -pub use linux_headers_asm_unistd::__NR__newselect; -pub use linux_headers_asm_unistd::__NR_flock; -pub use linux_headers_asm_unistd::__NR_msync; -pub use linux_headers_asm_unistd::__NR_readv; -pub use linux_headers_asm_unistd::__NR_writev; -pub use linux_headers_asm_unistd::__NR_getsid; -pub use linux_headers_asm_unistd::__NR_fdatasync; -pub use linux_headers_asm_unistd::__NR__sysctl; -pub use linux_headers_asm_unistd::__NR_mlock; -pub use linux_headers_asm_unistd::__NR_munlock; -pub use linux_headers_asm_unistd::__NR_mlockall; -pub use linux_headers_asm_unistd::__NR_munlockall; -pub use linux_headers_asm_unistd::__NR_sched_setparam; -pub use linux_headers_asm_unistd::__NR_sched_getparam; -pub use linux_headers_asm_unistd::__NR_sched_setscheduler; -pub use linux_headers_asm_unistd::__NR_sched_getscheduler; -pub use linux_headers_asm_unistd::__NR_sched_yield; -pub use linux_headers_asm_unistd::__NR_sched_get_priority_max; -pub use linux_headers_asm_unistd::__NR_sched_get_priority_min; -pub use linux_headers_asm_unistd::__NR_sched_rr_get_interval; -pub use linux_headers_asm_unistd::__NR_nanosleep; -pub use linux_headers_asm_unistd::__NR_mremap; -pub use linux_headers_asm_unistd::__NR_setresuid; -pub use linux_headers_asm_unistd::__NR_getresuid; -pub use linux_headers_asm_unistd::__NR_query_module; -pub use linux_headers_asm_unistd::__NR_poll; -pub use linux_headers_asm_unistd::__NR_nfsservctl; -pub use linux_headers_asm_unistd::__NR_setresgid; -pub use linux_headers_asm_unistd::__NR_getresgid; -pub use linux_headers_asm_unistd::__NR_prctl; -pub use linux_headers_asm_unistd::__NR_rt_sigreturn; -pub use linux_headers_asm_unistd::__NR_rt_sigaction; -pub use linux_headers_asm_unistd::__NR_rt_sigprocmask; -pub use linux_headers_asm_unistd::__NR_rt_sigpending; -pub use linux_headers_asm_unistd::__NR_rt_sigtimedwait; -pub use linux_headers_asm_unistd::__NR_rt_sigqueueinfo; -pub use linux_headers_asm_unistd::__NR_rt_sigsuspend; -pub use linux_headers_asm_unistd::__NR_pread64; -pub use linux_headers_asm_unistd::__NR_pwrite64; -pub use linux_headers_asm_unistd::__NR_chown; -pub use linux_headers_asm_unistd::__NR_getcwd; -pub use linux_headers_asm_unistd::__NR_capget; -pub use linux_headers_asm_unistd::__NR_capset; -pub use linux_headers_asm_unistd::__NR_sigaltstack; -pub use linux_headers_asm_unistd::__NR_sendfile; -pub use linux_headers_asm_unistd::__NR_getpmsg; -pub use linux_headers_asm_unistd::__NR_putpmsg; -pub use linux_headers_asm_unistd::__NR_vfork; -pub use linux_headers_asm_unistd::__NR_ugetrlimit; -pub use linux_headers_asm_unistd::__NR_readahead; -pub use linux_headers_asm_unistd::__NR_pciconfig_read; -pub use linux_headers_asm_unistd::__NR_pciconfig_write; -pub use linux_headers_asm_unistd::__NR_pciconfig_iobase; -pub use linux_headers_asm_unistd::__NR_multiplexer; -pub use linux_headers_asm_unistd::__NR_getdents64; -pub use linux_headers_asm_unistd::__NR_pivot_root; -pub use linux_headers_asm_unistd::__NR_madvise; -pub use linux_headers_asm_unistd::__NR_mincore; -pub use linux_headers_asm_unistd::__NR_gettid; -pub use linux_headers_asm_unistd::__NR_tkill; -pub use linux_headers_asm_unistd::__NR_setxattr; -pub use linux_headers_asm_unistd::__NR_lsetxattr; -pub use linux_headers_asm_unistd::__NR_fsetxattr; -pub use linux_headers_asm_unistd::__NR_getxattr; -pub use linux_headers_asm_unistd::__NR_lgetxattr; -pub use linux_headers_asm_unistd::__NR_fgetxattr; -pub use linux_headers_asm_unistd::__NR_listxattr; -pub use linux_headers_asm_unistd::__NR_llistxattr; -pub use linux_headers_asm_unistd::__NR_flistxattr; -pub use linux_headers_asm_unistd::__NR_removexattr; -pub use linux_headers_asm_unistd::__NR_lremovexattr; -pub use linux_headers_asm_unistd::__NR_fremovexattr; -pub use linux_headers_asm_unistd::__NR_futex; -pub use linux_headers_asm_unistd::__NR_sched_setaffinity; -pub use linux_headers_asm_unistd::__NR_sched_getaffinity; -pub use linux_headers_asm_unistd::__NR_tuxcall; -pub use linux_headers_asm_unistd::__NR_io_setup; -pub use linux_headers_asm_unistd::__NR_io_destroy; -pub use linux_headers_asm_unistd::__NR_io_getevents; -pub use linux_headers_asm_unistd::__NR_io_submit; -pub use linux_headers_asm_unistd::__NR_io_cancel; -pub use linux_headers_asm_unistd::__NR_set_tid_address; -pub use linux_headers_asm_unistd::__NR_fadvise64; -pub use linux_headers_asm_unistd::__NR_exit_group; -pub use linux_headers_asm_unistd::__NR_lookup_dcookie; -pub use linux_headers_asm_unistd::__NR_epoll_create; -pub use linux_headers_asm_unistd::__NR_epoll_ctl; -pub use linux_headers_asm_unistd::__NR_epoll_wait; -pub use linux_headers_asm_unistd::__NR_remap_file_pages; -pub use linux_headers_asm_unistd::__NR_timer_create; -pub use linux_headers_asm_unistd::__NR_timer_settime; -pub use linux_headers_asm_unistd::__NR_timer_gettime; -pub use linux_headers_asm_unistd::__NR_timer_getoverrun; -pub use linux_headers_asm_unistd::__NR_timer_delete; -pub use linux_headers_asm_unistd::__NR_clock_settime; -pub use linux_headers_asm_unistd::__NR_clock_gettime; -pub use linux_headers_asm_unistd::__NR_clock_getres; -pub use linux_headers_asm_unistd::__NR_clock_nanosleep; -pub use linux_headers_asm_unistd::__NR_swapcontext; -pub use linux_headers_asm_unistd::__NR_tgkill; -pub use linux_headers_asm_unistd::__NR_utimes; -pub use linux_headers_asm_unistd::__NR_statfs64; -pub use linux_headers_asm_unistd::__NR_fstatfs64; -pub use linux_headers_asm_unistd::__NR_rtas; -pub use linux_headers_asm_unistd::__NR_sys_debug_setcontext; -pub use linux_headers_asm_unistd::__NR_migrate_pages; -pub use linux_headers_asm_unistd::__NR_mbind; -pub use linux_headers_asm_unistd::__NR_get_mempolicy; -pub use linux_headers_asm_unistd::__NR_set_mempolicy; -pub use linux_headers_asm_unistd::__NR_mq_open; -pub use linux_headers_asm_unistd::__NR_mq_unlink; -pub use linux_headers_asm_unistd::__NR_mq_timedsend; -pub use linux_headers_asm_unistd::__NR_mq_timedreceive; -pub use linux_headers_asm_unistd::__NR_mq_notify; -pub use linux_headers_asm_unistd::__NR_mq_getsetattr; -pub use linux_headers_asm_unistd::__NR_kexec_load; -pub use linux_headers_asm_unistd::__NR_add_key; -pub use linux_headers_asm_unistd::__NR_request_key; -pub use linux_headers_asm_unistd::__NR_keyctl; -pub use linux_headers_asm_unistd::__NR_waitid; -pub use linux_headers_asm_unistd::__NR_ioprio_set; -pub use linux_headers_asm_unistd::__NR_ioprio_get; -pub use linux_headers_asm_unistd::__NR_inotify_init; -pub use linux_headers_asm_unistd::__NR_inotify_add_watch; -pub use linux_headers_asm_unistd::__NR_inotify_rm_watch; -pub use linux_headers_asm_unistd::__NR_spu_run; -pub use linux_headers_asm_unistd::__NR_spu_create; -pub use linux_headers_asm_unistd::__NR_pselect6; -pub use linux_headers_asm_unistd::__NR_ppoll; -pub use linux_headers_asm_unistd::__NR_unshare; -pub use linux_headers_asm_unistd::__NR_splice; -pub use linux_headers_asm_unistd::__NR_tee; -pub use linux_headers_asm_unistd::__NR_vmsplice; -pub use linux_headers_asm_unistd::__NR_openat; -pub use linux_headers_asm_unistd::__NR_mkdirat; -pub use linux_headers_asm_unistd::__NR_mknodat; -pub use linux_headers_asm_unistd::__NR_fchownat; -pub use linux_headers_asm_unistd::__NR_futimesat; -pub use linux_headers_asm_unistd::__NR_newfstatat; -pub use linux_headers_asm_unistd::__NR_unlinkat; -pub use linux_headers_asm_unistd::__NR_renameat; -pub use linux_headers_asm_unistd::__NR_linkat; -pub use linux_headers_asm_unistd::__NR_symlinkat; -pub use linux_headers_asm_unistd::__NR_readlinkat; -pub use linux_headers_asm_unistd::__NR_fchmodat; -pub use linux_headers_asm_unistd::__NR_faccessat; -pub use linux_headers_asm_unistd::__NR_get_robust_list; -pub use linux_headers_asm_unistd::__NR_set_robust_list; -pub use linux_headers_asm_unistd::__NR_move_pages; -pub use linux_headers_asm_unistd::__NR_getcpu; -pub use linux_headers_asm_unistd::__NR_epoll_pwait; -pub use linux_headers_asm_unistd::__NR_utimensat; -pub use linux_headers_asm_unistd::__NR_signalfd; -pub use linux_headers_asm_unistd::__NR_timerfd_create; -pub use linux_headers_asm_unistd::__NR_eventfd; -pub use linux_headers_asm_unistd::__NR_sync_file_range2; -pub use linux_headers_asm_unistd::__NR_fallocate; -pub use linux_headers_asm_unistd::__NR_subpage_prot; -pub use linux_headers_asm_unistd::__NR_timerfd_settime; -pub use linux_headers_asm_unistd::__NR_timerfd_gettime; -pub use linux_headers_asm_unistd::__NR_signalfd4; -pub use linux_headers_asm_unistd::__NR_eventfd2; -pub use linux_headers_asm_unistd::__NR_epoll_create1; -pub use linux_headers_asm_unistd::__NR_dup3; -pub use linux_headers_asm_unistd::__NR_pipe2; -pub use linux_headers_asm_unistd::__NR_inotify_init1; -pub use linux_headers_asm_unistd::__NR_perf_event_open; -pub use linux_headers_asm_unistd::__NR_preadv; -pub use linux_headers_asm_unistd::__NR_pwritev; -pub use linux_headers_asm_unistd::__NR_rt_tgsigqueueinfo; -pub use linux_headers_asm_unistd::__NR_fanotify_init; -pub use linux_headers_asm_unistd::__NR_fanotify_mark; -pub use linux_headers_asm_unistd::__NR_prlimit64; -pub use linux_headers_asm_unistd::__NR_socket; -pub use linux_headers_asm_unistd::__NR_bind; -pub use linux_headers_asm_unistd::__NR_connect; -pub use linux_headers_asm_unistd::__NR_listen; -pub use linux_headers_asm_unistd::__NR_accept; -pub use linux_headers_asm_unistd::__NR_getsockname; -pub use linux_headers_asm_unistd::__NR_getpeername; -pub use linux_headers_asm_unistd::__NR_socketpair; -pub use linux_headers_asm_unistd::__NR_send; -pub use linux_headers_asm_unistd::__NR_sendto; -pub use linux_headers_asm_unistd::__NR_recv; -pub use linux_headers_asm_unistd::__NR_recvfrom; -pub use linux_headers_asm_unistd::__NR_shutdown; -pub use linux_headers_asm_unistd::__NR_setsockopt; -pub use linux_headers_asm_unistd::__NR_getsockopt; -pub use linux_headers_asm_unistd::__NR_sendmsg; -pub use linux_headers_asm_unistd::__NR_recvmsg; -pub use linux_headers_asm_unistd::__NR_recvmmsg; -pub use linux_headers_asm_unistd::__NR_accept4; -pub use linux_headers_asm_unistd::__NR_name_to_handle_at; -pub use linux_headers_asm_unistd::__NR_open_by_handle_at; -pub use linux_headers_asm_unistd::__NR_clock_adjtime; -pub use linux_headers_asm_unistd::__NR_syncfs; -pub use linux_headers_asm_unistd::__NR_sendmmsg; -pub use linux_headers_asm_unistd::__NR_setns; -pub use linux_headers_asm_unistd::__NR_process_vm_readv; -pub use linux_headers_asm_unistd::__NR_process_vm_writev; -pub use linux_headers_asm_unistd::__NR_finit_module; -pub use linux_headers_asm_unistd::__NR_kcmp; -pub use linux_headers_asm_unistd::__NR_sched_setattr; -pub use linux_headers_asm_unistd::__NR_sched_getattr; -pub use linux_headers_asm_unistd::__NR_renameat2; -pub use linux_headers_asm_unistd::__NR_seccomp; -pub use linux_headers_asm_unistd::__NR_getrandom; -pub use linux_headers_asm_unistd::__NR_memfd_create; -pub use linux_headers_asm_unistd::__NR_bpf; -pub use linux_headers_asm_unistd::__NR_execveat; -pub use linux_headers_asm_unistd::__NR_switch_endian; -pub use linux_headers_asm_unistd::__NR_userfaultfd; -pub use linux_headers_asm_unistd::__NR_membarrier; -pub use linux_headers_asm_unistd::__NR_mlock2; -pub use linux_headers_asm_unistd::__NR_copy_file_range; -pub use linux_headers_asm_unistd::__NR_preadv2; -pub use linux_headers_asm_unistd::__NR_pwritev2; -pub use linux_headers_asm_unistd::__NR_kexec_file_load; -pub use linux_headers_asm_unistd::__NR_statx; -pub use linux_headers_asm_unistd::__NR_pkey_alloc; -pub use linux_headers_asm_unistd::__NR_pkey_free; -pub use linux_headers_asm_unistd::__NR_pkey_mprotect; -pub use linux_headers_asm_unistd::__NR_rseq; -pub use linux_headers_asm_unistd::__NR_io_pgetevents; -pub use linux_headers_asm_unistd::__NR_semtimedop; -pub use linux_headers_asm_unistd::__NR_semget; -pub use linux_headers_asm_unistd::__NR_semctl; -pub use linux_headers_asm_unistd::__NR_shmget; -pub use linux_headers_asm_unistd::__NR_shmctl; -pub use linux_headers_asm_unistd::__NR_shmat; -pub use linux_headers_asm_unistd::__NR_shmdt; -pub use linux_headers_asm_unistd::__NR_msgget; -pub use linux_headers_asm_unistd::__NR_msgsnd; -pub use linux_headers_asm_unistd::__NR_msgrcv; -pub use linux_headers_asm_unistd::__NR_msgctl; -pub use linux_headers_asm_unistd::__NR_pidfd_send_signal; -pub use linux_headers_asm_unistd::__NR_io_uring_setup; -pub use linux_headers_asm_unistd::__NR_io_uring_enter; -pub use linux_headers_asm_unistd::__NR_io_uring_register; -pub use linux_headers_asm_unistd::__NR_open_tree; -pub use linux_headers_asm_unistd::__NR_move_mount; -pub use linux_headers_asm_unistd::__NR_fsopen; -pub use linux_headers_asm_unistd::__NR_fsconfig; -pub use linux_headers_asm_unistd::__NR_fsmount; -pub use linux_headers_asm_unistd::__NR_fspick; -pub use linux_headers_asm_unistd::__NR_pidfd_open; -pub use linux_headers_asm_unistd::__NR_clone3; -pub use linux_headers_asm_unistd::__NR_close_range; -pub use linux_headers_asm_unistd::__NR_openat2; -pub use linux_headers_asm_unistd::__NR_pidfd_getfd; -pub use linux_headers_asm_unistd::__NR_faccessat2; -pub use linux_headers_asm_unistd::__NR_process_madvise; -pub use linux_headers_asm_unistd::__NR_epoll_pwait2; -pub use linux_headers_asm_unistd::__NR_mount_setattr; -pub use linux_headers_asm_unistd::__NR_quotactl_fd; -pub use linux_headers_asm_unistd::__NR_landlock_create_ruleset; -pub use linux_headers_asm_unistd::__NR_landlock_add_rule; -pub use linux_headers_asm_unistd::__NR_landlock_restrict_self; -pub use linux_headers_asm_unistd::__NR_process_mrelease; -pub use linux_headers_asm_unistd::__NR_futex_waitv; -pub use linux_headers_asm_unistd::__NR_set_mempolicy_home_node; -pub use linux_headers_asm_unistd::__NR_cachestat; -pub use linux_headers_asm_unistd::__NR_fchmodat2; -pub use linux_headers_asm_unistd::__NR_map_shadow_stack; -pub use linux_headers_asm_unistd::__NR_futex_wake; -pub use linux_headers_asm_unistd::__NR_futex_wait; -pub use linux_headers_asm_unistd::__NR_futex_requeue; -pub use linux_headers_asm_unistd::__NR_statmount; -pub use linux_headers_asm_unistd::__NR_listmount; -pub use linux_headers_asm_unistd::__NR_lsm_get_self_attr; -pub use linux_headers_asm_unistd::__NR_lsm_set_self_attr; -pub use linux_headers_asm_unistd::__NR_lsm_list_modules; -pub use linux_headers_asm_unistd::__NR_mseal; -mod linux_headers_linux_auxvec; -pub use linux_headers_linux_auxvec::AT_DCACHEBSIZE; -pub use linux_headers_linux_auxvec::AT_ICACHEBSIZE; -pub use linux_headers_linux_auxvec::AT_UCACHEBSIZE; -pub use linux_headers_linux_auxvec::AT_IGNOREPPC; -pub use linux_headers_linux_auxvec::AT_SYSINFO_EHDR; -pub use linux_headers_linux_auxvec::AT_L1I_CACHESIZE; -pub use linux_headers_linux_auxvec::AT_L1I_CACHEGEOMETRY; -pub use linux_headers_linux_auxvec::AT_L1D_CACHESIZE; -pub use linux_headers_linux_auxvec::AT_L1D_CACHEGEOMETRY; -pub use linux_headers_linux_auxvec::AT_L2_CACHESIZE; -pub use linux_headers_linux_auxvec::AT_L2_CACHEGEOMETRY; -pub use linux_headers_linux_auxvec::AT_L3_CACHESIZE; -pub use linux_headers_linux_auxvec::AT_L3_CACHEGEOMETRY; -pub use linux_headers_linux_auxvec::AT_MINSIGSTKSZ; -pub use linux_headers_linux_auxvec::AT_VECTOR_SIZE_ARCH; -pub use linux_headers_linux_auxvec::AT_NULL; -pub use linux_headers_linux_auxvec::AT_IGNORE; -pub use linux_headers_linux_auxvec::AT_EXECFD; -pub use linux_headers_linux_auxvec::AT_PHDR; -pub use linux_headers_linux_auxvec::AT_PHENT; -pub use linux_headers_linux_auxvec::AT_PHNUM; -pub use linux_headers_linux_auxvec::AT_PAGESZ; -pub use linux_headers_linux_auxvec::AT_BASE; -pub use linux_headers_linux_auxvec::AT_FLAGS; -pub use linux_headers_linux_auxvec::AT_ENTRY; -pub use linux_headers_linux_auxvec::AT_NOTELF; -pub use linux_headers_linux_auxvec::AT_UID; -pub use linux_headers_linux_auxvec::AT_EUID; -pub use linux_headers_linux_auxvec::AT_GID; -pub use linux_headers_linux_auxvec::AT_EGID; -pub use linux_headers_linux_auxvec::AT_PLATFORM; -pub use linux_headers_linux_auxvec::AT_HWCAP; -pub use linux_headers_linux_auxvec::AT_CLKTCK; -pub use linux_headers_linux_auxvec::AT_SECURE; -pub use linux_headers_linux_auxvec::AT_BASE_PLATFORM; -pub use linux_headers_linux_auxvec::AT_RANDOM; -pub use linux_headers_linux_auxvec::AT_HWCAP2; -pub use linux_headers_linux_auxvec::AT_RSEQ_FEATURE_SIZE; -pub use linux_headers_linux_auxvec::AT_RSEQ_ALIGN; -pub use linux_headers_linux_auxvec::AT_HWCAP3; -pub use linux_headers_linux_auxvec::AT_HWCAP4; -pub use linux_headers_linux_auxvec::AT_EXECFN; -mod linux_headers_linux_prctl; -pub use linux_headers_linux_prctl::PR_SET_PDEATHSIG; -pub use linux_headers_linux_prctl::PR_GET_PDEATHSIG; -pub use linux_headers_linux_prctl::PR_GET_DUMPABLE; -pub use linux_headers_linux_prctl::PR_SET_DUMPABLE; -pub use linux_headers_linux_prctl::PR_GET_UNALIGN; -pub use linux_headers_linux_prctl::PR_SET_UNALIGN; -pub use linux_headers_linux_prctl::PR_UNALIGN_NOPRINT; -pub use linux_headers_linux_prctl::PR_UNALIGN_SIGBUS; -pub use linux_headers_linux_prctl::PR_GET_KEEPCAPS; -pub use linux_headers_linux_prctl::PR_SET_KEEPCAPS; -pub use linux_headers_linux_prctl::PR_GET_FPEMU; -pub use linux_headers_linux_prctl::PR_SET_FPEMU; -pub use linux_headers_linux_prctl::PR_FPEMU_NOPRINT; -pub use linux_headers_linux_prctl::PR_FPEMU_SIGFPE; -pub use linux_headers_linux_prctl::PR_GET_FPEXC; -pub use linux_headers_linux_prctl::PR_SET_FPEXC; -pub use linux_headers_linux_prctl::PR_FP_EXC_SW_ENABLE; -pub use linux_headers_linux_prctl::PR_FP_EXC_DIV; -pub use linux_headers_linux_prctl::PR_FP_EXC_OVF; -pub use linux_headers_linux_prctl::PR_FP_EXC_UND; -pub use linux_headers_linux_prctl::PR_FP_EXC_RES; -pub use linux_headers_linux_prctl::PR_FP_EXC_INV; -pub use linux_headers_linux_prctl::PR_FP_EXC_DISABLED; -pub use linux_headers_linux_prctl::PR_FP_EXC_NONRECOV; -pub use linux_headers_linux_prctl::PR_FP_EXC_ASYNC; -pub use linux_headers_linux_prctl::PR_FP_EXC_PRECISE; -pub use linux_headers_linux_prctl::PR_GET_TIMING; -pub use linux_headers_linux_prctl::PR_SET_TIMING; -pub use linux_headers_linux_prctl::PR_TIMING_STATISTICAL; -pub use linux_headers_linux_prctl::PR_TIMING_TIMESTAMP; -pub use linux_headers_linux_prctl::PR_SET_NAME; -pub use linux_headers_linux_prctl::PR_GET_NAME; -pub use linux_headers_linux_prctl::PR_GET_ENDIAN; -pub use linux_headers_linux_prctl::PR_SET_ENDIAN; -pub use linux_headers_linux_prctl::PR_ENDIAN_BIG; -pub use linux_headers_linux_prctl::PR_ENDIAN_LITTLE; -pub use linux_headers_linux_prctl::PR_ENDIAN_PPC_LITTLE; -pub use linux_headers_linux_prctl::PR_GET_SECCOMP; -pub use linux_headers_linux_prctl::PR_SET_SECCOMP; -pub use linux_headers_linux_prctl::PR_CAPBSET_READ; -pub use linux_headers_linux_prctl::PR_CAPBSET_DROP; -pub use linux_headers_linux_prctl::PR_GET_TSC; -pub use linux_headers_linux_prctl::PR_SET_TSC; -pub use linux_headers_linux_prctl::PR_TSC_ENABLE; -pub use linux_headers_linux_prctl::PR_TSC_SIGSEGV; -pub use linux_headers_linux_prctl::PR_GET_SECUREBITS; -pub use linux_headers_linux_prctl::PR_SET_SECUREBITS; -pub use linux_headers_linux_prctl::PR_SET_TIMERSLACK; -pub use linux_headers_linux_prctl::PR_GET_TIMERSLACK; -pub use linux_headers_linux_prctl::PR_TASK_PERF_EVENTS_DISABLE; -pub use linux_headers_linux_prctl::PR_TASK_PERF_EVENTS_ENABLE; -pub use linux_headers_linux_prctl::PR_MCE_KILL; -pub use linux_headers_linux_prctl::PR_MCE_KILL_CLEAR; -pub use linux_headers_linux_prctl::PR_MCE_KILL_SET; -pub use linux_headers_linux_prctl::PR_MCE_KILL_LATE; -pub use linux_headers_linux_prctl::PR_MCE_KILL_EARLY; -pub use linux_headers_linux_prctl::PR_MCE_KILL_DEFAULT; -pub use linux_headers_linux_prctl::PR_MCE_KILL_GET; -pub use linux_headers_linux_prctl::PR_SET_MM; -pub use linux_headers_linux_prctl::PR_SET_MM_START_CODE; -pub use linux_headers_linux_prctl::PR_SET_MM_END_CODE; -pub use linux_headers_linux_prctl::PR_SET_MM_START_DATA; -pub use linux_headers_linux_prctl::PR_SET_MM_END_DATA; -pub use linux_headers_linux_prctl::PR_SET_MM_START_STACK; -pub use linux_headers_linux_prctl::PR_SET_MM_START_BRK; -pub use linux_headers_linux_prctl::PR_SET_MM_BRK; -pub use linux_headers_linux_prctl::PR_SET_MM_ARG_START; -pub use linux_headers_linux_prctl::PR_SET_MM_ARG_END; -pub use linux_headers_linux_prctl::PR_SET_MM_ENV_START; -pub use linux_headers_linux_prctl::PR_SET_MM_ENV_END; -pub use linux_headers_linux_prctl::PR_SET_MM_AUXV; -pub use linux_headers_linux_prctl::PR_SET_MM_EXE_FILE; -pub use linux_headers_linux_prctl::PR_SET_MM_MAP; -pub use linux_headers_linux_prctl::PR_SET_MM_MAP_SIZE; -pub use linux_headers_linux_prctl::PR_SET_PTRACER; -pub use linux_headers_linux_prctl::PR_SET_PTRACER_ANY; -pub use linux_headers_linux_prctl::PR_SET_CHILD_SUBREAPER; -pub use linux_headers_linux_prctl::PR_GET_CHILD_SUBREAPER; -pub use linux_headers_linux_prctl::PR_SET_NO_NEW_PRIVS; -pub use linux_headers_linux_prctl::PR_GET_NO_NEW_PRIVS; -pub use linux_headers_linux_prctl::PR_GET_TID_ADDRESS; -pub use linux_headers_linux_prctl::PR_SET_THP_DISABLE; -pub use linux_headers_linux_prctl::PR_GET_THP_DISABLE; -pub use linux_headers_linux_prctl::PR_MPX_ENABLE_MANAGEMENT; -pub use linux_headers_linux_prctl::PR_MPX_DISABLE_MANAGEMENT; -pub use linux_headers_linux_prctl::PR_SET_FP_MODE; -pub use linux_headers_linux_prctl::PR_GET_FP_MODE; -pub use linux_headers_linux_prctl::PR_FP_MODE_FR; -pub use linux_headers_linux_prctl::PR_FP_MODE_FRE; -pub use linux_headers_linux_prctl::PR_CAP_AMBIENT; -pub use linux_headers_linux_prctl::PR_CAP_AMBIENT_IS_SET; -pub use linux_headers_linux_prctl::PR_CAP_AMBIENT_RAISE; -pub use linux_headers_linux_prctl::PR_CAP_AMBIENT_LOWER; -pub use linux_headers_linux_prctl::PR_CAP_AMBIENT_CLEAR_ALL; -pub use linux_headers_linux_prctl::PR_SVE_SET_VL; -pub use linux_headers_linux_prctl::PR_SVE_SET_VL_ONEXEC; -pub use linux_headers_linux_prctl::PR_SVE_GET_VL; -pub use linux_headers_linux_prctl::PR_SVE_VL_LEN_MASK; -pub use linux_headers_linux_prctl::PR_SVE_VL_INHERIT; -pub use linux_headers_linux_prctl::PR_GET_SPECULATION_CTRL; -pub use linux_headers_linux_prctl::PR_SET_SPECULATION_CTRL; -pub use linux_headers_linux_prctl::PR_SPEC_STORE_BYPASS; -pub use linux_headers_linux_prctl::PR_SPEC_INDIRECT_BRANCH; -pub use linux_headers_linux_prctl::PR_SPEC_L1D_FLUSH; -pub use linux_headers_linux_prctl::PR_SPEC_NOT_AFFECTED; -pub use linux_headers_linux_prctl::PR_SPEC_PRCTL; -pub use linux_headers_linux_prctl::PR_SPEC_ENABLE; -pub use linux_headers_linux_prctl::PR_SPEC_DISABLE; -pub use linux_headers_linux_prctl::PR_SPEC_FORCE_DISABLE; -pub use linux_headers_linux_prctl::PR_SPEC_DISABLE_NOEXEC; -pub use linux_headers_linux_prctl::PR_PAC_RESET_KEYS; -pub use linux_headers_linux_prctl::PR_PAC_APIAKEY; -pub use linux_headers_linux_prctl::PR_PAC_APIBKEY; -pub use linux_headers_linux_prctl::PR_PAC_APDAKEY; -pub use linux_headers_linux_prctl::PR_PAC_APDBKEY; -pub use linux_headers_linux_prctl::PR_PAC_APGAKEY; -pub use linux_headers_linux_prctl::PR_SET_TAGGED_ADDR_CTRL; -pub use linux_headers_linux_prctl::PR_GET_TAGGED_ADDR_CTRL; -pub use linux_headers_linux_prctl::PR_TAGGED_ADDR_ENABLE; -pub use linux_headers_linux_prctl::PR_MTE_TCF_NONE; -pub use linux_headers_linux_prctl::PR_MTE_TCF_SYNC; -pub use linux_headers_linux_prctl::PR_MTE_TCF_ASYNC; -pub use linux_headers_linux_prctl::PR_MTE_TCF_MASK; -pub use linux_headers_linux_prctl::PR_MTE_TAG_SHIFT; -pub use linux_headers_linux_prctl::PR_MTE_TAG_MASK; -pub use linux_headers_linux_prctl::PR_MTE_TCF_SHIFT; -pub use linux_headers_linux_prctl::PR_SET_IO_FLUSHER; -pub use linux_headers_linux_prctl::PR_GET_IO_FLUSHER; -pub use linux_headers_linux_prctl::PR_SET_SYSCALL_USER_DISPATCH; -pub use linux_headers_linux_prctl::PR_SYS_DISPATCH_OFF; -pub use linux_headers_linux_prctl::PR_SYS_DISPATCH_ON; -pub use linux_headers_linux_prctl::PR_PAC_SET_ENABLED_KEYS; -pub use linux_headers_linux_prctl::PR_PAC_GET_ENABLED_KEYS; -pub use linux_headers_linux_prctl::PR_SCHED_CORE; -pub use linux_headers_linux_prctl::PR_SCHED_CORE_GET; -pub use linux_headers_linux_prctl::PR_SCHED_CORE_CREATE; -pub use linux_headers_linux_prctl::PR_SCHED_CORE_SHARE_TO; -pub use linux_headers_linux_prctl::PR_SCHED_CORE_SHARE_FROM; -pub use linux_headers_linux_prctl::PR_SCHED_CORE_MAX; -pub use linux_headers_linux_prctl::PR_SCHED_CORE_SCOPE_THREAD; -pub use linux_headers_linux_prctl::PR_SCHED_CORE_SCOPE_THREAD_GROUP; -pub use linux_headers_linux_prctl::PR_SCHED_CORE_SCOPE_PROCESS_GROUP; -pub use linux_headers_linux_prctl::PR_SME_SET_VL; -pub use linux_headers_linux_prctl::PR_SME_SET_VL_ONEXEC; -pub use linux_headers_linux_prctl::PR_SME_GET_VL; -pub use linux_headers_linux_prctl::PR_SME_VL_LEN_MASK; -pub use linux_headers_linux_prctl::PR_SME_VL_INHERIT; -pub use linux_headers_linux_prctl::PR_SET_MDWE; -pub use linux_headers_linux_prctl::PR_MDWE_REFUSE_EXEC_GAIN; -pub use linux_headers_linux_prctl::PR_MDWE_NO_INHERIT; -pub use linux_headers_linux_prctl::PR_GET_MDWE; -pub use linux_headers_linux_prctl::PR_SET_VMA; -pub use linux_headers_linux_prctl::PR_SET_VMA_ANON_NAME; -pub use linux_headers_linux_prctl::PR_GET_AUXV; -pub use linux_headers_linux_prctl::PR_SET_MEMORY_MERGE; -pub use linux_headers_linux_prctl::PR_GET_MEMORY_MERGE; -pub use linux_headers_linux_prctl::PR_RISCV_V_SET_CONTROL; -pub use linux_headers_linux_prctl::PR_RISCV_V_GET_CONTROL; -pub use linux_headers_linux_prctl::PR_RISCV_V_VSTATE_CTRL_DEFAULT; -pub use linux_headers_linux_prctl::PR_RISCV_V_VSTATE_CTRL_OFF; -pub use linux_headers_linux_prctl::PR_RISCV_V_VSTATE_CTRL_ON; -pub use linux_headers_linux_prctl::PR_RISCV_V_VSTATE_CTRL_INHERIT; -pub use linux_headers_linux_prctl::PR_RISCV_V_VSTATE_CTRL_CUR_MASK; -pub use linux_headers_linux_prctl::PR_RISCV_V_VSTATE_CTRL_NEXT_MASK; -pub use linux_headers_linux_prctl::PR_RISCV_V_VSTATE_CTRL_MASK; -pub use linux_headers_linux_prctl::PR_RISCV_SET_ICACHE_FLUSH_CTX; -pub use linux_headers_linux_prctl::PR_RISCV_CTX_SW_FENCEI_ON; -pub use linux_headers_linux_prctl::PR_RISCV_CTX_SW_FENCEI_OFF; -pub use linux_headers_linux_prctl::PR_RISCV_SCOPE_PER_PROCESS; -pub use linux_headers_linux_prctl::PR_RISCV_SCOPE_PER_THREAD; -pub use linux_headers_linux_prctl::PR_PPC_GET_DEXCR; -pub use linux_headers_linux_prctl::PR_PPC_SET_DEXCR; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_SBHE; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_IBRTPD; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_SRAPD; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_NPHIE; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_CTRL_EDITABLE; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_CTRL_SET; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_CTRL_CLEAR; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_CTRL_SET_ONEXEC; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_CTRL_CLEAR_ONEXEC; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_CTRL_MASK; -mod dlfcn; -pub use dlfcn::RTLD_DEFAULT; -pub use dlfcn::dlsym; -mod elf; -pub use elf::Elf32_auxv_t; -pub use elf::Elf64_auxv_t; -mod sys_auxv; -pub use sys_auxv::getauxval; -mod unistd; -pub use unistd::syscall; -pub type c_char = u8; diff --git a/tests/helper/src/gen/sys/powerpc64_linux_musl/sys_auxv.rs b/tests/helper/src/gen/sys/powerpc64_linux_musl/sys_auxv.rs deleted file mode 100644 index fc602aeb..00000000 --- a/tests/helper/src/gen/sys/powerpc64_linux_musl/sys_auxv.rs +++ /dev/null @@ -1,10 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -extern "C" { - pub fn getauxval(arg1: ::std::os::raw::c_ulong) -> ::std::os::raw::c_ulong; -} diff --git a/tests/helper/src/gen/sys/powerpc64_linux_musl/unistd.rs b/tests/helper/src/gen/sys/powerpc64_linux_musl/unistd.rs deleted file mode 100644 index d16be956..00000000 --- a/tests/helper/src/gen/sys/powerpc64_linux_musl/unistd.rs +++ /dev/null @@ -1,10 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -extern "C" { - pub fn syscall(arg1: ::std::os::raw::c_long, ...) -> ::std::os::raw::c_long; -} diff --git a/tests/helper/src/gen/sys/powerpc64_openbsd/dlfcn.rs b/tests/helper/src/gen/sys/powerpc64_openbsd/dlfcn.rs deleted file mode 100644 index e7bac10c..00000000 --- a/tests/helper/src/gen/sys/powerpc64_openbsd/dlfcn.rs +++ /dev/null @@ -1,15 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -pub const RTLD_DEFAULT: *mut ::std::os::raw::c_void = -2i8 - as *mut ::std::os::raw::c_void; -extern "C" { - pub fn dlsym( - arg1: *mut ::core::ffi::c_void, - arg2: *const ::std::os::raw::c_char, - ) -> *mut ::core::ffi::c_void; -} diff --git a/tests/helper/src/gen/sys/powerpc64_openbsd/machine_cpu.rs b/tests/helper/src/gen/sys/powerpc64_openbsd/machine_cpu.rs deleted file mode 100644 index e27edf06..00000000 --- a/tests/helper/src/gen/sys/powerpc64_openbsd/machine_cpu.rs +++ /dev/null @@ -1,9 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -pub const CPU_ALTIVEC: u32 = 1; -pub const CPU_MAXID: u32 = 2; diff --git a/tests/helper/src/gen/sys/powerpc64_openbsd/machine_elf.rs b/tests/helper/src/gen/sys/powerpc64_openbsd/machine_elf.rs deleted file mode 100644 index 329bea3a..00000000 --- a/tests/helper/src/gen/sys/powerpc64_openbsd/machine_elf.rs +++ /dev/null @@ -1,45 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -pub const PPC_FEATURE_32: u32 = 2147483648; -pub const PPC_FEATURE_64: u32 = 1073741824; -pub const PPC_FEATURE_601_INSTR: u32 = 536870912; -pub const PPC_FEATURE_HAS_ALTIVEC: u32 = 268435456; -pub const PPC_FEATURE_HAS_FPU: u32 = 134217728; -pub const PPC_FEATURE_HAS_MMU: u32 = 67108864; -pub const PPC_FEATURE_UNIFIED_CACHE: u32 = 16777216; -pub const PPC_FEATURE_HAS_SPE: u32 = 8388608; -pub const PPC_FEATURE_HAS_EFP_SINGLE: u32 = 4194304; -pub const PPC_FEATURE_HAS_EFP_DOUBLE: u32 = 2097152; -pub const PPC_FEATURE_NO_TB: u32 = 1048576; -pub const PPC_FEATURE_POWER4: u32 = 524288; -pub const PPC_FEATURE_POWER5: u32 = 262144; -pub const PPC_FEATURE_POWER5_PLUS: u32 = 131072; -pub const PPC_FEATURE_CELL: u32 = 65536; -pub const PPC_FEATURE_BOOKE: u32 = 32768; -pub const PPC_FEATURE_SMT: u32 = 16384; -pub const PPC_FEATURE_ICACHE_SNOOP: u32 = 8192; -pub const PPC_FEATURE_ARCH_2_05: u32 = 4096; -pub const PPC_FEATURE_HAS_DFP: u32 = 1024; -pub const PPC_FEATURE_POWER6_EXT: u32 = 512; -pub const PPC_FEATURE_ARCH_2_06: u32 = 256; -pub const PPC_FEATURE_HAS_VSX: u32 = 128; -pub const PPC_FEATURE_TRUE_LE: u32 = 2; -pub const PPC_FEATURE_PPC_LE: u32 = 1; -pub const PPC_FEATURE2_ARCH_2_07: u32 = 2147483648; -pub const PPC_FEATURE2_HTM: u32 = 1073741824; -pub const PPC_FEATURE2_DSCR: u32 = 536870912; -pub const PPC_FEATURE2_EBB: u32 = 268435456; -pub const PPC_FEATURE2_ISEL: u32 = 134217728; -pub const PPC_FEATURE2_TAR: u32 = 67108864; -pub const PPC_FEATURE2_HAS_VEC_CRYPTO: u32 = 33554432; -pub const PPC_FEATURE2_HTM_NOSC: u32 = 16777216; -pub const PPC_FEATURE2_ARCH_3_00: u32 = 8388608; -pub const PPC_FEATURE2_HAS_IEEE128: u32 = 4194304; -pub const PPC_FEATURE2_DARN: u32 = 2097152; -pub const PPC_FEATURE2_SCV: u32 = 1048576; -pub const PPC_FEATURE2_HTM_NOSUSPEND: u32 = 524288; diff --git a/tests/helper/src/gen/sys/powerpc64_openbsd/mod.rs b/tests/helper/src/gen/sys/powerpc64_openbsd/mod.rs deleted file mode 100644 index 9ff749d9..00000000 --- a/tests/helper/src/gen/sys/powerpc64_openbsd/mod.rs +++ /dev/null @@ -1,63 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] -mod dlfcn; -pub use dlfcn::RTLD_DEFAULT; -pub use dlfcn::dlsym; -mod sys_auxv; -pub use sys_auxv::AT_NULL; -pub use sys_auxv::AT_IGNORE; -pub use sys_auxv::AT_PAGESZ; -pub use sys_auxv::AT_HWCAP; -pub use sys_auxv::AT_HWCAP2; -pub use sys_auxv::AT_COUNT; -pub use sys_auxv::elf_aux_info; -mod sys_sysctl; -pub use sys_sysctl::CTL_MACHDEP; -pub use sys_sysctl::sysctl; -mod machine_cpu; -pub use machine_cpu::CPU_ALTIVEC; -pub use machine_cpu::CPU_MAXID; -mod machine_elf; -pub use machine_elf::PPC_FEATURE_32; -pub use machine_elf::PPC_FEATURE_64; -pub use machine_elf::PPC_FEATURE_601_INSTR; -pub use machine_elf::PPC_FEATURE_HAS_ALTIVEC; -pub use machine_elf::PPC_FEATURE_HAS_FPU; -pub use machine_elf::PPC_FEATURE_HAS_MMU; -pub use machine_elf::PPC_FEATURE_UNIFIED_CACHE; -pub use machine_elf::PPC_FEATURE_HAS_SPE; -pub use machine_elf::PPC_FEATURE_HAS_EFP_SINGLE; -pub use machine_elf::PPC_FEATURE_HAS_EFP_DOUBLE; -pub use machine_elf::PPC_FEATURE_NO_TB; -pub use machine_elf::PPC_FEATURE_POWER4; -pub use machine_elf::PPC_FEATURE_POWER5; -pub use machine_elf::PPC_FEATURE_POWER5_PLUS; -pub use machine_elf::PPC_FEATURE_CELL; -pub use machine_elf::PPC_FEATURE_BOOKE; -pub use machine_elf::PPC_FEATURE_SMT; -pub use machine_elf::PPC_FEATURE_ICACHE_SNOOP; -pub use machine_elf::PPC_FEATURE_ARCH_2_05; -pub use machine_elf::PPC_FEATURE_HAS_DFP; -pub use machine_elf::PPC_FEATURE_POWER6_EXT; -pub use machine_elf::PPC_FEATURE_ARCH_2_06; -pub use machine_elf::PPC_FEATURE_HAS_VSX; -pub use machine_elf::PPC_FEATURE_TRUE_LE; -pub use machine_elf::PPC_FEATURE_PPC_LE; -pub use machine_elf::PPC_FEATURE2_ARCH_2_07; -pub use machine_elf::PPC_FEATURE2_HTM; -pub use machine_elf::PPC_FEATURE2_DSCR; -pub use machine_elf::PPC_FEATURE2_EBB; -pub use machine_elf::PPC_FEATURE2_ISEL; -pub use machine_elf::PPC_FEATURE2_TAR; -pub use machine_elf::PPC_FEATURE2_HAS_VEC_CRYPTO; -pub use machine_elf::PPC_FEATURE2_HTM_NOSC; -pub use machine_elf::PPC_FEATURE2_ARCH_3_00; -pub use machine_elf::PPC_FEATURE2_HAS_IEEE128; -pub use machine_elf::PPC_FEATURE2_DARN; -pub use machine_elf::PPC_FEATURE2_SCV; -pub use machine_elf::PPC_FEATURE2_HTM_NOSUSPEND; -pub type c_char = u8; diff --git a/tests/helper/src/gen/sys/powerpc64_openbsd/sys_auxv.rs b/tests/helper/src/gen/sys/powerpc64_openbsd/sys_auxv.rs deleted file mode 100644 index b2dc7e1e..00000000 --- a/tests/helper/src/gen/sys/powerpc64_openbsd/sys_auxv.rs +++ /dev/null @@ -1,20 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -pub const AT_NULL: u32 = 0; -pub const AT_IGNORE: u32 = 1; -pub const AT_PAGESZ: u32 = 6; -pub const AT_HWCAP: u32 = 25; -pub const AT_HWCAP2: u32 = 26; -pub const AT_COUNT: u32 = 27; -extern "C" { - pub fn elf_aux_info( - aux: ::std::os::raw::c_int, - buf: *mut ::core::ffi::c_void, - buflen: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; -} diff --git a/tests/helper/src/gen/sys/powerpc64_openbsd/sys_sysctl.rs b/tests/helper/src/gen/sys/powerpc64_openbsd/sys_sysctl.rs deleted file mode 100644 index 23078453..00000000 --- a/tests/helper/src/gen/sys/powerpc64_openbsd/sys_sysctl.rs +++ /dev/null @@ -1,19 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -pub type u_int = ::std::os::raw::c_uint; -pub const CTL_MACHDEP: u32 = 7; -extern "C" { - pub fn sysctl( - arg1: *const ::std::os::raw::c_int, - arg2: u_int, - arg3: *mut ::core::ffi::c_void, - arg4: *mut usize, - arg5: *mut ::core::ffi::c_void, - arg6: usize, - ) -> ::std::os::raw::c_int; -} diff --git a/tests/helper/src/gen/sys/powerpc64le_freebsd/dlfcn.rs b/tests/helper/src/gen/sys/powerpc64le_freebsd/dlfcn.rs deleted file mode 100644 index e7bac10c..00000000 --- a/tests/helper/src/gen/sys/powerpc64le_freebsd/dlfcn.rs +++ /dev/null @@ -1,15 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -pub const RTLD_DEFAULT: *mut ::std::os::raw::c_void = -2i8 - as *mut ::std::os::raw::c_void; -extern "C" { - pub fn dlsym( - arg1: *mut ::core::ffi::c_void, - arg2: *const ::std::os::raw::c_char, - ) -> *mut ::core::ffi::c_void; -} diff --git a/tests/helper/src/gen/sys/powerpc64le_freebsd/machine_cpu.rs b/tests/helper/src/gen/sys/powerpc64le_freebsd/machine_cpu.rs deleted file mode 100644 index b42f7194..00000000 --- a/tests/helper/src/gen/sys/powerpc64le_freebsd/machine_cpu.rs +++ /dev/null @@ -1,47 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -pub const PPC_FEATURE_32: u32 = 2147483648; -pub const PPC_FEATURE_64: u32 = 1073741824; -pub const PPC_FEATURE_601_INSTR: u32 = 536870912; -pub const PPC_FEATURE_HAS_ALTIVEC: u32 = 268435456; -pub const PPC_FEATURE_HAS_FPU: u32 = 134217728; -pub const PPC_FEATURE_HAS_MMU: u32 = 67108864; -pub const PPC_FEATURE_UNIFIED_CACHE: u32 = 16777216; -pub const PPC_FEATURE_HAS_SPE: u32 = 8388608; -pub const PPC_FEATURE_HAS_EFP_SINGLE: u32 = 4194304; -pub const PPC_FEATURE_HAS_EFP_DOUBLE: u32 = 2097152; -pub const PPC_FEATURE_NO_TB: u32 = 1048576; -pub const PPC_FEATURE_POWER4: u32 = 524288; -pub const PPC_FEATURE_POWER5: u32 = 262144; -pub const PPC_FEATURE_POWER5_PLUS: u32 = 131072; -pub const PPC_FEATURE_CELL: u32 = 65536; -pub const PPC_FEATURE_BOOKE: u32 = 32768; -pub const PPC_FEATURE_SMT: u32 = 16384; -pub const PPC_FEATURE_ICACHE_SNOOP: u32 = 8192; -pub const PPC_FEATURE_ARCH_2_05: u32 = 4096; -pub const PPC_FEATURE_HAS_DFP: u32 = 1024; -pub const PPC_FEATURE_POWER6_EXT: u32 = 512; -pub const PPC_FEATURE_ARCH_2_06: u32 = 256; -pub const PPC_FEATURE_HAS_VSX: u32 = 128; -pub const PPC_FEATURE_TRUE_LE: u32 = 2; -pub const PPC_FEATURE_PPC_LE: u32 = 1; -pub const PPC_FEATURE2_ARCH_2_07: u32 = 2147483648; -pub const PPC_FEATURE2_HTM: u32 = 1073741824; -pub const PPC_FEATURE2_DSCR: u32 = 536870912; -pub const PPC_FEATURE2_EBB: u32 = 268435456; -pub const PPC_FEATURE2_ISEL: u32 = 134217728; -pub const PPC_FEATURE2_TAR: u32 = 67108864; -pub const PPC_FEATURE2_HAS_VEC_CRYPTO: u32 = 33554432; -pub const PPC_FEATURE2_HTM_NOSC: u32 = 16777216; -pub const PPC_FEATURE2_ARCH_3_00: u32 = 8388608; -pub const PPC_FEATURE2_HAS_IEEE128: u32 = 4194304; -pub const PPC_FEATURE2_DARN: u32 = 2097152; -pub const PPC_FEATURE2_SCV: u32 = 1048576; -pub const PPC_FEATURE2_HTM_NOSUSPEND: u32 = 524288; -pub const PPC_FEATURE_BITMASK: &[u8; 153] = b"\x10 PPC32\x1FPPC64\x1EPPC601\x1DALTIVEC\x1CFPU\x1BMMU\x19UNIFIEDCACHE\x18SPE\x17SPESFP\x16DPESFP\x15NOTB\x14POWER4\x13POWER5\x12P5PLUS\x11CELL\x10BOOKE\x0FSMT\x0EISNOOP\rARCH205\x0BDFP\tARCH206\x08VSX\x02TRUELE\x01PPCLE\0"; -pub const PPC_FEATURE2_BITMASK: &[u8; 79] = b"\x10 ARCH207\x1FHTM\x1EDSCR\x1CISEL\x1BTAR\x1AVCRYPTO\x19HTMNOSC\x18ARCH300\x17IEEE128\x16DARN\x15SCV\x14HTMNOSUSP\0"; diff --git a/tests/helper/src/gen/sys/powerpc64le_freebsd/machine_elf.rs b/tests/helper/src/gen/sys/powerpc64le_freebsd/machine_elf.rs deleted file mode 100644 index 4109b603..00000000 --- a/tests/helper/src/gen/sys/powerpc64le_freebsd/machine_elf.rs +++ /dev/null @@ -1,32 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -#[repr(C)] -#[derive(Copy, Clone)] -pub struct Elf32_Auxinfo { - pub a_type: ::std::os::raw::c_int, - pub a_un: Elf32_Auxinfo__bindgen_ty_1, -} -#[repr(C)] -#[derive(Copy, Clone)] -pub union Elf32_Auxinfo__bindgen_ty_1 { - pub a_val: ::std::os::raw::c_int, -} -#[repr(C)] -#[derive(Copy, Clone)] -pub struct Elf64_Auxinfo { - pub a_type: ::std::os::raw::c_long, - pub a_un: Elf64_Auxinfo__bindgen_ty_1, -} -#[repr(C)] -#[derive(Copy, Clone)] -pub union Elf64_Auxinfo__bindgen_ty_1 { - pub a_val: ::std::os::raw::c_long, - pub a_ptr: *mut ::core::ffi::c_void, - pub a_fcn: ::core::option::Option, -} -pub type Elf_Auxinfo = Elf64_Auxinfo; diff --git a/tests/helper/src/gen/sys/powerpc64le_freebsd/mod.rs b/tests/helper/src/gen/sys/powerpc64le_freebsd/mod.rs deleted file mode 100644 index 1c3d3560..00000000 --- a/tests/helper/src/gen/sys/powerpc64le_freebsd/mod.rs +++ /dev/null @@ -1,532 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] -mod dlfcn; -pub use dlfcn::RTLD_DEFAULT; -pub use dlfcn::dlsym; -mod sys_auxv; -pub use sys_auxv::elf_aux_info; -mod sys_syscall; -pub use sys_syscall::SYS_syscall; -pub use sys_syscall::SYS_exit; -pub use sys_syscall::SYS_fork; -pub use sys_syscall::SYS_read; -pub use sys_syscall::SYS_write; -pub use sys_syscall::SYS_open; -pub use sys_syscall::SYS_close; -pub use sys_syscall::SYS_wait4; -pub use sys_syscall::SYS_link; -pub use sys_syscall::SYS_unlink; -pub use sys_syscall::SYS_chdir; -pub use sys_syscall::SYS_fchdir; -pub use sys_syscall::SYS_freebsd11_mknod; -pub use sys_syscall::SYS_chmod; -pub use sys_syscall::SYS_chown; -pub use sys_syscall::SYS_break; -pub use sys_syscall::SYS_getpid; -pub use sys_syscall::SYS_mount; -pub use sys_syscall::SYS_unmount; -pub use sys_syscall::SYS_setuid; -pub use sys_syscall::SYS_getuid; -pub use sys_syscall::SYS_geteuid; -pub use sys_syscall::SYS_ptrace; -pub use sys_syscall::SYS_recvmsg; -pub use sys_syscall::SYS_sendmsg; -pub use sys_syscall::SYS_recvfrom; -pub use sys_syscall::SYS_accept; -pub use sys_syscall::SYS_getpeername; -pub use sys_syscall::SYS_getsockname; -pub use sys_syscall::SYS_access; -pub use sys_syscall::SYS_chflags; -pub use sys_syscall::SYS_fchflags; -pub use sys_syscall::SYS_sync; -pub use sys_syscall::SYS_kill; -pub use sys_syscall::SYS_getppid; -pub use sys_syscall::SYS_dup; -pub use sys_syscall::SYS_freebsd10_pipe; -pub use sys_syscall::SYS_getegid; -pub use sys_syscall::SYS_profil; -pub use sys_syscall::SYS_ktrace; -pub use sys_syscall::SYS_getgid; -pub use sys_syscall::SYS_getlogin; -pub use sys_syscall::SYS_setlogin; -pub use sys_syscall::SYS_acct; -pub use sys_syscall::SYS_sigaltstack; -pub use sys_syscall::SYS_ioctl; -pub use sys_syscall::SYS_reboot; -pub use sys_syscall::SYS_revoke; -pub use sys_syscall::SYS_symlink; -pub use sys_syscall::SYS_readlink; -pub use sys_syscall::SYS_execve; -pub use sys_syscall::SYS_umask; -pub use sys_syscall::SYS_chroot; -pub use sys_syscall::SYS_msync; -pub use sys_syscall::SYS_vfork; -pub use sys_syscall::SYS_freebsd11_vadvise; -pub use sys_syscall::SYS_munmap; -pub use sys_syscall::SYS_mprotect; -pub use sys_syscall::SYS_madvise; -pub use sys_syscall::SYS_mincore; -pub use sys_syscall::SYS_getgroups; -pub use sys_syscall::SYS_setgroups; -pub use sys_syscall::SYS_getpgrp; -pub use sys_syscall::SYS_setpgid; -pub use sys_syscall::SYS_setitimer; -pub use sys_syscall::SYS_swapon; -pub use sys_syscall::SYS_getitimer; -pub use sys_syscall::SYS_getdtablesize; -pub use sys_syscall::SYS_dup2; -pub use sys_syscall::SYS_fcntl; -pub use sys_syscall::SYS_select; -pub use sys_syscall::SYS_fsync; -pub use sys_syscall::SYS_setpriority; -pub use sys_syscall::SYS_socket; -pub use sys_syscall::SYS_connect; -pub use sys_syscall::SYS_getpriority; -pub use sys_syscall::SYS_bind; -pub use sys_syscall::SYS_setsockopt; -pub use sys_syscall::SYS_listen; -pub use sys_syscall::SYS_gettimeofday; -pub use sys_syscall::SYS_getrusage; -pub use sys_syscall::SYS_getsockopt; -pub use sys_syscall::SYS_readv; -pub use sys_syscall::SYS_writev; -pub use sys_syscall::SYS_settimeofday; -pub use sys_syscall::SYS_fchown; -pub use sys_syscall::SYS_fchmod; -pub use sys_syscall::SYS_setreuid; -pub use sys_syscall::SYS_setregid; -pub use sys_syscall::SYS_rename; -pub use sys_syscall::SYS_flock; -pub use sys_syscall::SYS_mkfifo; -pub use sys_syscall::SYS_sendto; -pub use sys_syscall::SYS_shutdown; -pub use sys_syscall::SYS_socketpair; -pub use sys_syscall::SYS_mkdir; -pub use sys_syscall::SYS_rmdir; -pub use sys_syscall::SYS_utimes; -pub use sys_syscall::SYS_adjtime; -pub use sys_syscall::SYS_setsid; -pub use sys_syscall::SYS_quotactl; -pub use sys_syscall::SYS_nlm_syscall; -pub use sys_syscall::SYS_nfssvc; -pub use sys_syscall::SYS_lgetfh; -pub use sys_syscall::SYS_getfh; -pub use sys_syscall::SYS_sysarch; -pub use sys_syscall::SYS_rtprio; -pub use sys_syscall::SYS_semsys; -pub use sys_syscall::SYS_msgsys; -pub use sys_syscall::SYS_shmsys; -pub use sys_syscall::SYS_setfib; -pub use sys_syscall::SYS_ntp_adjtime; -pub use sys_syscall::SYS_setgid; -pub use sys_syscall::SYS_setegid; -pub use sys_syscall::SYS_seteuid; -pub use sys_syscall::SYS_freebsd11_stat; -pub use sys_syscall::SYS_freebsd11_fstat; -pub use sys_syscall::SYS_freebsd11_lstat; -pub use sys_syscall::SYS_pathconf; -pub use sys_syscall::SYS_fpathconf; -pub use sys_syscall::SYS_getrlimit; -pub use sys_syscall::SYS_setrlimit; -pub use sys_syscall::SYS_freebsd11_getdirentries; -pub use sys_syscall::SYS___syscall; -pub use sys_syscall::SYS___sysctl; -pub use sys_syscall::SYS_mlock; -pub use sys_syscall::SYS_munlock; -pub use sys_syscall::SYS_undelete; -pub use sys_syscall::SYS_futimes; -pub use sys_syscall::SYS_getpgid; -pub use sys_syscall::SYS_poll; -pub use sys_syscall::SYS_freebsd7___semctl; -pub use sys_syscall::SYS_semget; -pub use sys_syscall::SYS_semop; -pub use sys_syscall::SYS_freebsd7_msgctl; -pub use sys_syscall::SYS_msgget; -pub use sys_syscall::SYS_msgsnd; -pub use sys_syscall::SYS_msgrcv; -pub use sys_syscall::SYS_shmat; -pub use sys_syscall::SYS_freebsd7_shmctl; -pub use sys_syscall::SYS_shmdt; -pub use sys_syscall::SYS_shmget; -pub use sys_syscall::SYS_clock_gettime; -pub use sys_syscall::SYS_clock_settime; -pub use sys_syscall::SYS_clock_getres; -pub use sys_syscall::SYS_ktimer_create; -pub use sys_syscall::SYS_ktimer_delete; -pub use sys_syscall::SYS_ktimer_settime; -pub use sys_syscall::SYS_ktimer_gettime; -pub use sys_syscall::SYS_ktimer_getoverrun; -pub use sys_syscall::SYS_nanosleep; -pub use sys_syscall::SYS_ffclock_getcounter; -pub use sys_syscall::SYS_ffclock_setestimate; -pub use sys_syscall::SYS_ffclock_getestimate; -pub use sys_syscall::SYS_clock_nanosleep; -pub use sys_syscall::SYS_clock_getcpuclockid2; -pub use sys_syscall::SYS_ntp_gettime; -pub use sys_syscall::SYS_minherit; -pub use sys_syscall::SYS_rfork; -pub use sys_syscall::SYS_issetugid; -pub use sys_syscall::SYS_lchown; -pub use sys_syscall::SYS_aio_read; -pub use sys_syscall::SYS_aio_write; -pub use sys_syscall::SYS_lio_listio; -pub use sys_syscall::SYS_freebsd11_getdents; -pub use sys_syscall::SYS_lchmod; -pub use sys_syscall::SYS_lutimes; -pub use sys_syscall::SYS_freebsd11_nstat; -pub use sys_syscall::SYS_freebsd11_nfstat; -pub use sys_syscall::SYS_freebsd11_nlstat; -pub use sys_syscall::SYS_preadv; -pub use sys_syscall::SYS_pwritev; -pub use sys_syscall::SYS_fhopen; -pub use sys_syscall::SYS_freebsd11_fhstat; -pub use sys_syscall::SYS_modnext; -pub use sys_syscall::SYS_modstat; -pub use sys_syscall::SYS_modfnext; -pub use sys_syscall::SYS_modfind; -pub use sys_syscall::SYS_kldload; -pub use sys_syscall::SYS_kldunload; -pub use sys_syscall::SYS_kldfind; -pub use sys_syscall::SYS_kldnext; -pub use sys_syscall::SYS_kldstat; -pub use sys_syscall::SYS_kldfirstmod; -pub use sys_syscall::SYS_getsid; -pub use sys_syscall::SYS_setresuid; -pub use sys_syscall::SYS_setresgid; -pub use sys_syscall::SYS_aio_return; -pub use sys_syscall::SYS_aio_suspend; -pub use sys_syscall::SYS_aio_cancel; -pub use sys_syscall::SYS_aio_error; -pub use sys_syscall::SYS_yield; -pub use sys_syscall::SYS_mlockall; -pub use sys_syscall::SYS_munlockall; -pub use sys_syscall::SYS___getcwd; -pub use sys_syscall::SYS_sched_setparam; -pub use sys_syscall::SYS_sched_getparam; -pub use sys_syscall::SYS_sched_setscheduler; -pub use sys_syscall::SYS_sched_getscheduler; -pub use sys_syscall::SYS_sched_yield; -pub use sys_syscall::SYS_sched_get_priority_max; -pub use sys_syscall::SYS_sched_get_priority_min; -pub use sys_syscall::SYS_sched_rr_get_interval; -pub use sys_syscall::SYS_utrace; -pub use sys_syscall::SYS_kldsym; -pub use sys_syscall::SYS_jail; -pub use sys_syscall::SYS_nnpfs_syscall; -pub use sys_syscall::SYS_sigprocmask; -pub use sys_syscall::SYS_sigsuspend; -pub use sys_syscall::SYS_sigpending; -pub use sys_syscall::SYS_sigtimedwait; -pub use sys_syscall::SYS_sigwaitinfo; -pub use sys_syscall::SYS___acl_get_file; -pub use sys_syscall::SYS___acl_set_file; -pub use sys_syscall::SYS___acl_get_fd; -pub use sys_syscall::SYS___acl_set_fd; -pub use sys_syscall::SYS___acl_delete_file; -pub use sys_syscall::SYS___acl_delete_fd; -pub use sys_syscall::SYS___acl_aclcheck_file; -pub use sys_syscall::SYS___acl_aclcheck_fd; -pub use sys_syscall::SYS_extattrctl; -pub use sys_syscall::SYS_extattr_set_file; -pub use sys_syscall::SYS_extattr_get_file; -pub use sys_syscall::SYS_extattr_delete_file; -pub use sys_syscall::SYS_aio_waitcomplete; -pub use sys_syscall::SYS_getresuid; -pub use sys_syscall::SYS_getresgid; -pub use sys_syscall::SYS_kqueue; -pub use sys_syscall::SYS_freebsd11_kevent; -pub use sys_syscall::SYS_extattr_set_fd; -pub use sys_syscall::SYS_extattr_get_fd; -pub use sys_syscall::SYS_extattr_delete_fd; -pub use sys_syscall::SYS___setugid; -pub use sys_syscall::SYS_eaccess; -pub use sys_syscall::SYS_afs3_syscall; -pub use sys_syscall::SYS_nmount; -pub use sys_syscall::SYS___mac_get_proc; -pub use sys_syscall::SYS___mac_set_proc; -pub use sys_syscall::SYS___mac_get_fd; -pub use sys_syscall::SYS___mac_get_file; -pub use sys_syscall::SYS___mac_set_fd; -pub use sys_syscall::SYS___mac_set_file; -pub use sys_syscall::SYS_kenv; -pub use sys_syscall::SYS_lchflags; -pub use sys_syscall::SYS_uuidgen; -pub use sys_syscall::SYS_sendfile; -pub use sys_syscall::SYS_mac_syscall; -pub use sys_syscall::SYS_freebsd11_getfsstat; -pub use sys_syscall::SYS_freebsd11_statfs; -pub use sys_syscall::SYS_freebsd11_fstatfs; -pub use sys_syscall::SYS_freebsd11_fhstatfs; -pub use sys_syscall::SYS_ksem_close; -pub use sys_syscall::SYS_ksem_post; -pub use sys_syscall::SYS_ksem_wait; -pub use sys_syscall::SYS_ksem_trywait; -pub use sys_syscall::SYS_ksem_init; -pub use sys_syscall::SYS_ksem_open; -pub use sys_syscall::SYS_ksem_unlink; -pub use sys_syscall::SYS_ksem_getvalue; -pub use sys_syscall::SYS_ksem_destroy; -pub use sys_syscall::SYS___mac_get_pid; -pub use sys_syscall::SYS___mac_get_link; -pub use sys_syscall::SYS___mac_set_link; -pub use sys_syscall::SYS_extattr_set_link; -pub use sys_syscall::SYS_extattr_get_link; -pub use sys_syscall::SYS_extattr_delete_link; -pub use sys_syscall::SYS___mac_execve; -pub use sys_syscall::SYS_sigaction; -pub use sys_syscall::SYS_sigreturn; -pub use sys_syscall::SYS_getcontext; -pub use sys_syscall::SYS_setcontext; -pub use sys_syscall::SYS_swapcontext; -pub use sys_syscall::SYS_freebsd13_swapoff; -pub use sys_syscall::SYS___acl_get_link; -pub use sys_syscall::SYS___acl_set_link; -pub use sys_syscall::SYS___acl_delete_link; -pub use sys_syscall::SYS___acl_aclcheck_link; -pub use sys_syscall::SYS_sigwait; -pub use sys_syscall::SYS_thr_create; -pub use sys_syscall::SYS_thr_exit; -pub use sys_syscall::SYS_thr_self; -pub use sys_syscall::SYS_thr_kill; -pub use sys_syscall::SYS_freebsd10__umtx_lock; -pub use sys_syscall::SYS_freebsd10__umtx_unlock; -pub use sys_syscall::SYS_jail_attach; -pub use sys_syscall::SYS_extattr_list_fd; -pub use sys_syscall::SYS_extattr_list_file; -pub use sys_syscall::SYS_extattr_list_link; -pub use sys_syscall::SYS_ksem_timedwait; -pub use sys_syscall::SYS_thr_suspend; -pub use sys_syscall::SYS_thr_wake; -pub use sys_syscall::SYS_kldunloadf; -pub use sys_syscall::SYS_audit; -pub use sys_syscall::SYS_auditon; -pub use sys_syscall::SYS_getauid; -pub use sys_syscall::SYS_setauid; -pub use sys_syscall::SYS_getaudit; -pub use sys_syscall::SYS_setaudit; -pub use sys_syscall::SYS_getaudit_addr; -pub use sys_syscall::SYS_setaudit_addr; -pub use sys_syscall::SYS_auditctl; -pub use sys_syscall::SYS__umtx_op; -pub use sys_syscall::SYS_thr_new; -pub use sys_syscall::SYS_sigqueue; -pub use sys_syscall::SYS_kmq_open; -pub use sys_syscall::SYS_kmq_setattr; -pub use sys_syscall::SYS_kmq_timedreceive; -pub use sys_syscall::SYS_kmq_timedsend; -pub use sys_syscall::SYS_kmq_notify; -pub use sys_syscall::SYS_kmq_unlink; -pub use sys_syscall::SYS_abort2; -pub use sys_syscall::SYS_thr_set_name; -pub use sys_syscall::SYS_aio_fsync; -pub use sys_syscall::SYS_rtprio_thread; -pub use sys_syscall::SYS_sctp_peeloff; -pub use sys_syscall::SYS_sctp_generic_sendmsg; -pub use sys_syscall::SYS_sctp_generic_sendmsg_iov; -pub use sys_syscall::SYS_sctp_generic_recvmsg; -pub use sys_syscall::SYS_pread; -pub use sys_syscall::SYS_pwrite; -pub use sys_syscall::SYS_mmap; -pub use sys_syscall::SYS_lseek; -pub use sys_syscall::SYS_truncate; -pub use sys_syscall::SYS_ftruncate; -pub use sys_syscall::SYS_thr_kill2; -pub use sys_syscall::SYS_freebsd12_shm_open; -pub use sys_syscall::SYS_shm_unlink; -pub use sys_syscall::SYS_cpuset; -pub use sys_syscall::SYS_cpuset_setid; -pub use sys_syscall::SYS_cpuset_getid; -pub use sys_syscall::SYS_cpuset_getaffinity; -pub use sys_syscall::SYS_cpuset_setaffinity; -pub use sys_syscall::SYS_faccessat; -pub use sys_syscall::SYS_fchmodat; -pub use sys_syscall::SYS_fchownat; -pub use sys_syscall::SYS_fexecve; -pub use sys_syscall::SYS_freebsd11_fstatat; -pub use sys_syscall::SYS_futimesat; -pub use sys_syscall::SYS_linkat; -pub use sys_syscall::SYS_mkdirat; -pub use sys_syscall::SYS_mkfifoat; -pub use sys_syscall::SYS_freebsd11_mknodat; -pub use sys_syscall::SYS_openat; -pub use sys_syscall::SYS_readlinkat; -pub use sys_syscall::SYS_renameat; -pub use sys_syscall::SYS_symlinkat; -pub use sys_syscall::SYS_unlinkat; -pub use sys_syscall::SYS_posix_openpt; -pub use sys_syscall::SYS_gssd_syscall; -pub use sys_syscall::SYS_jail_get; -pub use sys_syscall::SYS_jail_set; -pub use sys_syscall::SYS_jail_remove; -pub use sys_syscall::SYS_freebsd12_closefrom; -pub use sys_syscall::SYS___semctl; -pub use sys_syscall::SYS_msgctl; -pub use sys_syscall::SYS_shmctl; -pub use sys_syscall::SYS_lpathconf; -pub use sys_syscall::SYS___cap_rights_get; -pub use sys_syscall::SYS_cap_enter; -pub use sys_syscall::SYS_cap_getmode; -pub use sys_syscall::SYS_pdfork; -pub use sys_syscall::SYS_pdkill; -pub use sys_syscall::SYS_pdgetpid; -pub use sys_syscall::SYS_pselect; -pub use sys_syscall::SYS_getloginclass; -pub use sys_syscall::SYS_setloginclass; -pub use sys_syscall::SYS_rctl_get_racct; -pub use sys_syscall::SYS_rctl_get_rules; -pub use sys_syscall::SYS_rctl_get_limits; -pub use sys_syscall::SYS_rctl_add_rule; -pub use sys_syscall::SYS_rctl_remove_rule; -pub use sys_syscall::SYS_posix_fallocate; -pub use sys_syscall::SYS_posix_fadvise; -pub use sys_syscall::SYS_wait6; -pub use sys_syscall::SYS_cap_rights_limit; -pub use sys_syscall::SYS_cap_ioctls_limit; -pub use sys_syscall::SYS_cap_ioctls_get; -pub use sys_syscall::SYS_cap_fcntls_limit; -pub use sys_syscall::SYS_cap_fcntls_get; -pub use sys_syscall::SYS_bindat; -pub use sys_syscall::SYS_connectat; -pub use sys_syscall::SYS_chflagsat; -pub use sys_syscall::SYS_accept4; -pub use sys_syscall::SYS_pipe2; -pub use sys_syscall::SYS_aio_mlock; -pub use sys_syscall::SYS_procctl; -pub use sys_syscall::SYS_ppoll; -pub use sys_syscall::SYS_futimens; -pub use sys_syscall::SYS_utimensat; -pub use sys_syscall::SYS_fdatasync; -pub use sys_syscall::SYS_fstat; -pub use sys_syscall::SYS_fstatat; -pub use sys_syscall::SYS_fhstat; -pub use sys_syscall::SYS_getdirentries; -pub use sys_syscall::SYS_statfs; -pub use sys_syscall::SYS_fstatfs; -pub use sys_syscall::SYS_getfsstat; -pub use sys_syscall::SYS_fhstatfs; -pub use sys_syscall::SYS_mknodat; -pub use sys_syscall::SYS_kevent; -pub use sys_syscall::SYS_cpuset_getdomain; -pub use sys_syscall::SYS_cpuset_setdomain; -pub use sys_syscall::SYS_getrandom; -pub use sys_syscall::SYS_getfhat; -pub use sys_syscall::SYS_fhlink; -pub use sys_syscall::SYS_fhlinkat; -pub use sys_syscall::SYS_fhreadlink; -pub use sys_syscall::SYS_funlinkat; -pub use sys_syscall::SYS_copy_file_range; -pub use sys_syscall::SYS___sysctlbyname; -pub use sys_syscall::SYS_shm_open2; -pub use sys_syscall::SYS_shm_rename; -pub use sys_syscall::SYS_sigfastblock; -pub use sys_syscall::SYS___realpathat; -pub use sys_syscall::SYS_close_range; -pub use sys_syscall::SYS_rpctls_syscall; -pub use sys_syscall::SYS___specialfd; -pub use sys_syscall::SYS_aio_writev; -pub use sys_syscall::SYS_aio_readv; -pub use sys_syscall::SYS_fspacectl; -pub use sys_syscall::SYS_sched_getcpu; -pub use sys_syscall::SYS_swapoff; -pub use sys_syscall::SYS_kqueuex; -pub use sys_syscall::SYS_membarrier; -pub use sys_syscall::SYS_timerfd_create; -pub use sys_syscall::SYS_timerfd_gettime; -pub use sys_syscall::SYS_timerfd_settime; -pub use sys_syscall::SYS_kcmp; -pub use sys_syscall::SYS_getrlimitusage; -pub use sys_syscall::SYS_MAXSYSCALL; -mod sys_sysctl; -pub use sys_sysctl::CTL_KERN; -pub use sys_sysctl::KERN_PROC; -pub use sys_sysctl::KERN_PROC_AUXV; -mod sys_elf_common; -pub use sys_elf_common::AT_NULL; -pub use sys_elf_common::AT_IGNORE; -pub use sys_elf_common::AT_EXECFD; -pub use sys_elf_common::AT_PHDR; -pub use sys_elf_common::AT_PHENT; -pub use sys_elf_common::AT_PHNUM; -pub use sys_elf_common::AT_PAGESZ; -pub use sys_elf_common::AT_BASE; -pub use sys_elf_common::AT_FLAGS; -pub use sys_elf_common::AT_ENTRY; -pub use sys_elf_common::AT_NOTELF; -pub use sys_elf_common::AT_UID; -pub use sys_elf_common::AT_EUID; -pub use sys_elf_common::AT_GID; -pub use sys_elf_common::AT_EGID; -pub use sys_elf_common::AT_EXECPATH; -pub use sys_elf_common::AT_CANARY; -pub use sys_elf_common::AT_CANARYLEN; -pub use sys_elf_common::AT_OSRELDATE; -pub use sys_elf_common::AT_NCPUS; -pub use sys_elf_common::AT_PAGESIZES; -pub use sys_elf_common::AT_PAGESIZESLEN; -pub use sys_elf_common::AT_TIMEKEEP; -pub use sys_elf_common::AT_STACKPROT; -pub use sys_elf_common::AT_EHDRFLAGS; -pub use sys_elf_common::AT_HWCAP; -pub use sys_elf_common::AT_HWCAP2; -pub use sys_elf_common::AT_BSDFLAGS; -pub use sys_elf_common::AT_ARGC; -pub use sys_elf_common::AT_ARGV; -pub use sys_elf_common::AT_ENVC; -pub use sys_elf_common::AT_ENVV; -pub use sys_elf_common::AT_PS_STRINGS; -pub use sys_elf_common::AT_FXRNG; -pub use sys_elf_common::AT_KPRELOAD; -pub use sys_elf_common::AT_USRSTACKBASE; -pub use sys_elf_common::AT_USRSTACKLIM; -pub use sys_elf_common::AT_CHERI_STATS; -pub use sys_elf_common::AT_COUNT; -mod machine_cpu; -pub use machine_cpu::PPC_FEATURE_32; -pub use machine_cpu::PPC_FEATURE_64; -pub use machine_cpu::PPC_FEATURE_601_INSTR; -pub use machine_cpu::PPC_FEATURE_HAS_ALTIVEC; -pub use machine_cpu::PPC_FEATURE_HAS_FPU; -pub use machine_cpu::PPC_FEATURE_HAS_MMU; -pub use machine_cpu::PPC_FEATURE_UNIFIED_CACHE; -pub use machine_cpu::PPC_FEATURE_HAS_SPE; -pub use machine_cpu::PPC_FEATURE_HAS_EFP_SINGLE; -pub use machine_cpu::PPC_FEATURE_HAS_EFP_DOUBLE; -pub use machine_cpu::PPC_FEATURE_NO_TB; -pub use machine_cpu::PPC_FEATURE_POWER4; -pub use machine_cpu::PPC_FEATURE_POWER5; -pub use machine_cpu::PPC_FEATURE_POWER5_PLUS; -pub use machine_cpu::PPC_FEATURE_CELL; -pub use machine_cpu::PPC_FEATURE_BOOKE; -pub use machine_cpu::PPC_FEATURE_SMT; -pub use machine_cpu::PPC_FEATURE_ICACHE_SNOOP; -pub use machine_cpu::PPC_FEATURE_ARCH_2_05; -pub use machine_cpu::PPC_FEATURE_HAS_DFP; -pub use machine_cpu::PPC_FEATURE_POWER6_EXT; -pub use machine_cpu::PPC_FEATURE_ARCH_2_06; -pub use machine_cpu::PPC_FEATURE_HAS_VSX; -pub use machine_cpu::PPC_FEATURE_TRUE_LE; -pub use machine_cpu::PPC_FEATURE_PPC_LE; -pub use machine_cpu::PPC_FEATURE2_ARCH_2_07; -pub use machine_cpu::PPC_FEATURE2_HTM; -pub use machine_cpu::PPC_FEATURE2_DSCR; -pub use machine_cpu::PPC_FEATURE2_EBB; -pub use machine_cpu::PPC_FEATURE2_ISEL; -pub use machine_cpu::PPC_FEATURE2_TAR; -pub use machine_cpu::PPC_FEATURE2_HAS_VEC_CRYPTO; -pub use machine_cpu::PPC_FEATURE2_HTM_NOSC; -pub use machine_cpu::PPC_FEATURE2_ARCH_3_00; -pub use machine_cpu::PPC_FEATURE2_HAS_IEEE128; -pub use machine_cpu::PPC_FEATURE2_DARN; -pub use machine_cpu::PPC_FEATURE2_SCV; -pub use machine_cpu::PPC_FEATURE2_HTM_NOSUSPEND; -pub use machine_cpu::PPC_FEATURE_BITMASK; -pub use machine_cpu::PPC_FEATURE2_BITMASK; -mod machine_elf; -pub use machine_elf::Elf32_Auxinfo; -pub use machine_elf::Elf64_Auxinfo; -pub use machine_elf::Elf_Auxinfo; -pub type c_char = u8; diff --git a/tests/helper/src/gen/sys/powerpc64le_freebsd/sys_auxv.rs b/tests/helper/src/gen/sys/powerpc64le_freebsd/sys_auxv.rs deleted file mode 100644 index 7b6c1be2..00000000 --- a/tests/helper/src/gen/sys/powerpc64le_freebsd/sys_auxv.rs +++ /dev/null @@ -1,14 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -extern "C" { - pub fn elf_aux_info( - aux: ::std::os::raw::c_int, - buf: *mut ::core::ffi::c_void, - buflen: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; -} diff --git a/tests/helper/src/gen/sys/powerpc64le_freebsd/sys_elf_common.rs b/tests/helper/src/gen/sys/powerpc64le_freebsd/sys_elf_common.rs deleted file mode 100644 index 85bae3b6..00000000 --- a/tests/helper/src/gen/sys/powerpc64le_freebsd/sys_elf_common.rs +++ /dev/null @@ -1,46 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -pub const AT_NULL: u32 = 0; -pub const AT_IGNORE: u32 = 1; -pub const AT_EXECFD: u32 = 2; -pub const AT_PHDR: u32 = 3; -pub const AT_PHENT: u32 = 4; -pub const AT_PHNUM: u32 = 5; -pub const AT_PAGESZ: u32 = 6; -pub const AT_BASE: u32 = 7; -pub const AT_FLAGS: u32 = 8; -pub const AT_ENTRY: u32 = 9; -pub const AT_NOTELF: u32 = 10; -pub const AT_UID: u32 = 11; -pub const AT_EUID: u32 = 12; -pub const AT_GID: u32 = 13; -pub const AT_EGID: u32 = 14; -pub const AT_EXECPATH: u32 = 15; -pub const AT_CANARY: u32 = 16; -pub const AT_CANARYLEN: u32 = 17; -pub const AT_OSRELDATE: u32 = 18; -pub const AT_NCPUS: u32 = 19; -pub const AT_PAGESIZES: u32 = 20; -pub const AT_PAGESIZESLEN: u32 = 21; -pub const AT_TIMEKEEP: u32 = 22; -pub const AT_STACKPROT: u32 = 23; -pub const AT_EHDRFLAGS: u32 = 24; -pub const AT_HWCAP: u32 = 25; -pub const AT_HWCAP2: u32 = 26; -pub const AT_BSDFLAGS: u32 = 27; -pub const AT_ARGC: u32 = 28; -pub const AT_ARGV: u32 = 29; -pub const AT_ENVC: u32 = 30; -pub const AT_ENVV: u32 = 31; -pub const AT_PS_STRINGS: u32 = 32; -pub const AT_FXRNG: u32 = 33; -pub const AT_KPRELOAD: u32 = 34; -pub const AT_USRSTACKBASE: u32 = 35; -pub const AT_USRSTACKLIM: u32 = 36; -pub const AT_CHERI_STATS: u32 = 37; -pub const AT_COUNT: u32 = 38; diff --git a/tests/helper/src/gen/sys/powerpc64le_freebsd/sys_syscall.rs b/tests/helper/src/gen/sys/powerpc64le_freebsd/sys_syscall.rs deleted file mode 100644 index 9437b0b4..00000000 --- a/tests/helper/src/gen/sys/powerpc64le_freebsd/sys_syscall.rs +++ /dev/null @@ -1,437 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -pub const SYS_syscall: u32 = 0; -pub const SYS_exit: u32 = 1; -pub const SYS_fork: u32 = 2; -pub const SYS_read: u32 = 3; -pub const SYS_write: u32 = 4; -pub const SYS_open: u32 = 5; -pub const SYS_close: u32 = 6; -pub const SYS_wait4: u32 = 7; -pub const SYS_link: u32 = 9; -pub const SYS_unlink: u32 = 10; -pub const SYS_chdir: u32 = 12; -pub const SYS_fchdir: u32 = 13; -pub const SYS_freebsd11_mknod: u32 = 14; -pub const SYS_chmod: u32 = 15; -pub const SYS_chown: u32 = 16; -pub const SYS_break: u32 = 17; -pub const SYS_getpid: u32 = 20; -pub const SYS_mount: u32 = 21; -pub const SYS_unmount: u32 = 22; -pub const SYS_setuid: u32 = 23; -pub const SYS_getuid: u32 = 24; -pub const SYS_geteuid: u32 = 25; -pub const SYS_ptrace: u32 = 26; -pub const SYS_recvmsg: u32 = 27; -pub const SYS_sendmsg: u32 = 28; -pub const SYS_recvfrom: u32 = 29; -pub const SYS_accept: u32 = 30; -pub const SYS_getpeername: u32 = 31; -pub const SYS_getsockname: u32 = 32; -pub const SYS_access: u32 = 33; -pub const SYS_chflags: u32 = 34; -pub const SYS_fchflags: u32 = 35; -pub const SYS_sync: u32 = 36; -pub const SYS_kill: u32 = 37; -pub const SYS_getppid: u32 = 39; -pub const SYS_dup: u32 = 41; -pub const SYS_freebsd10_pipe: u32 = 42; -pub const SYS_getegid: u32 = 43; -pub const SYS_profil: u32 = 44; -pub const SYS_ktrace: u32 = 45; -pub const SYS_getgid: u32 = 47; -pub const SYS_getlogin: u32 = 49; -pub const SYS_setlogin: u32 = 50; -pub const SYS_acct: u32 = 51; -pub const SYS_sigaltstack: u32 = 53; -pub const SYS_ioctl: u32 = 54; -pub const SYS_reboot: u32 = 55; -pub const SYS_revoke: u32 = 56; -pub const SYS_symlink: u32 = 57; -pub const SYS_readlink: u32 = 58; -pub const SYS_execve: u32 = 59; -pub const SYS_umask: u32 = 60; -pub const SYS_chroot: u32 = 61; -pub const SYS_msync: u32 = 65; -pub const SYS_vfork: u32 = 66; -pub const SYS_freebsd11_vadvise: u32 = 72; -pub const SYS_munmap: u32 = 73; -pub const SYS_mprotect: u32 = 74; -pub const SYS_madvise: u32 = 75; -pub const SYS_mincore: u32 = 78; -pub const SYS_getgroups: u32 = 79; -pub const SYS_setgroups: u32 = 80; -pub const SYS_getpgrp: u32 = 81; -pub const SYS_setpgid: u32 = 82; -pub const SYS_setitimer: u32 = 83; -pub const SYS_swapon: u32 = 85; -pub const SYS_getitimer: u32 = 86; -pub const SYS_getdtablesize: u32 = 89; -pub const SYS_dup2: u32 = 90; -pub const SYS_fcntl: u32 = 92; -pub const SYS_select: u32 = 93; -pub const SYS_fsync: u32 = 95; -pub const SYS_setpriority: u32 = 96; -pub const SYS_socket: u32 = 97; -pub const SYS_connect: u32 = 98; -pub const SYS_getpriority: u32 = 100; -pub const SYS_bind: u32 = 104; -pub const SYS_setsockopt: u32 = 105; -pub const SYS_listen: u32 = 106; -pub const SYS_gettimeofday: u32 = 116; -pub const SYS_getrusage: u32 = 117; -pub const SYS_getsockopt: u32 = 118; -pub const SYS_readv: u32 = 120; -pub const SYS_writev: u32 = 121; -pub const SYS_settimeofday: u32 = 122; -pub const SYS_fchown: u32 = 123; -pub const SYS_fchmod: u32 = 124; -pub const SYS_setreuid: u32 = 126; -pub const SYS_setregid: u32 = 127; -pub const SYS_rename: u32 = 128; -pub const SYS_flock: u32 = 131; -pub const SYS_mkfifo: u32 = 132; -pub const SYS_sendto: u32 = 133; -pub const SYS_shutdown: u32 = 134; -pub const SYS_socketpair: u32 = 135; -pub const SYS_mkdir: u32 = 136; -pub const SYS_rmdir: u32 = 137; -pub const SYS_utimes: u32 = 138; -pub const SYS_adjtime: u32 = 140; -pub const SYS_setsid: u32 = 147; -pub const SYS_quotactl: u32 = 148; -pub const SYS_nlm_syscall: u32 = 154; -pub const SYS_nfssvc: u32 = 155; -pub const SYS_lgetfh: u32 = 160; -pub const SYS_getfh: u32 = 161; -pub const SYS_sysarch: u32 = 165; -pub const SYS_rtprio: u32 = 166; -pub const SYS_semsys: u32 = 169; -pub const SYS_msgsys: u32 = 170; -pub const SYS_shmsys: u32 = 171; -pub const SYS_setfib: u32 = 175; -pub const SYS_ntp_adjtime: u32 = 176; -pub const SYS_setgid: u32 = 181; -pub const SYS_setegid: u32 = 182; -pub const SYS_seteuid: u32 = 183; -pub const SYS_freebsd11_stat: u32 = 188; -pub const SYS_freebsd11_fstat: u32 = 189; -pub const SYS_freebsd11_lstat: u32 = 190; -pub const SYS_pathconf: u32 = 191; -pub const SYS_fpathconf: u32 = 192; -pub const SYS_getrlimit: u32 = 194; -pub const SYS_setrlimit: u32 = 195; -pub const SYS_freebsd11_getdirentries: u32 = 196; -pub const SYS___syscall: u32 = 198; -pub const SYS___sysctl: u32 = 202; -pub const SYS_mlock: u32 = 203; -pub const SYS_munlock: u32 = 204; -pub const SYS_undelete: u32 = 205; -pub const SYS_futimes: u32 = 206; -pub const SYS_getpgid: u32 = 207; -pub const SYS_poll: u32 = 209; -pub const SYS_freebsd7___semctl: u32 = 220; -pub const SYS_semget: u32 = 221; -pub const SYS_semop: u32 = 222; -pub const SYS_freebsd7_msgctl: u32 = 224; -pub const SYS_msgget: u32 = 225; -pub const SYS_msgsnd: u32 = 226; -pub const SYS_msgrcv: u32 = 227; -pub const SYS_shmat: u32 = 228; -pub const SYS_freebsd7_shmctl: u32 = 229; -pub const SYS_shmdt: u32 = 230; -pub const SYS_shmget: u32 = 231; -pub const SYS_clock_gettime: u32 = 232; -pub const SYS_clock_settime: u32 = 233; -pub const SYS_clock_getres: u32 = 234; -pub const SYS_ktimer_create: u32 = 235; -pub const SYS_ktimer_delete: u32 = 236; -pub const SYS_ktimer_settime: u32 = 237; -pub const SYS_ktimer_gettime: u32 = 238; -pub const SYS_ktimer_getoverrun: u32 = 239; -pub const SYS_nanosleep: u32 = 240; -pub const SYS_ffclock_getcounter: u32 = 241; -pub const SYS_ffclock_setestimate: u32 = 242; -pub const SYS_ffclock_getestimate: u32 = 243; -pub const SYS_clock_nanosleep: u32 = 244; -pub const SYS_clock_getcpuclockid2: u32 = 247; -pub const SYS_ntp_gettime: u32 = 248; -pub const SYS_minherit: u32 = 250; -pub const SYS_rfork: u32 = 251; -pub const SYS_issetugid: u32 = 253; -pub const SYS_lchown: u32 = 254; -pub const SYS_aio_read: u32 = 255; -pub const SYS_aio_write: u32 = 256; -pub const SYS_lio_listio: u32 = 257; -pub const SYS_freebsd11_getdents: u32 = 272; -pub const SYS_lchmod: u32 = 274; -pub const SYS_lutimes: u32 = 276; -pub const SYS_freebsd11_nstat: u32 = 278; -pub const SYS_freebsd11_nfstat: u32 = 279; -pub const SYS_freebsd11_nlstat: u32 = 280; -pub const SYS_preadv: u32 = 289; -pub const SYS_pwritev: u32 = 290; -pub const SYS_fhopen: u32 = 298; -pub const SYS_freebsd11_fhstat: u32 = 299; -pub const SYS_modnext: u32 = 300; -pub const SYS_modstat: u32 = 301; -pub const SYS_modfnext: u32 = 302; -pub const SYS_modfind: u32 = 303; -pub const SYS_kldload: u32 = 304; -pub const SYS_kldunload: u32 = 305; -pub const SYS_kldfind: u32 = 306; -pub const SYS_kldnext: u32 = 307; -pub const SYS_kldstat: u32 = 308; -pub const SYS_kldfirstmod: u32 = 309; -pub const SYS_getsid: u32 = 310; -pub const SYS_setresuid: u32 = 311; -pub const SYS_setresgid: u32 = 312; -pub const SYS_aio_return: u32 = 314; -pub const SYS_aio_suspend: u32 = 315; -pub const SYS_aio_cancel: u32 = 316; -pub const SYS_aio_error: u32 = 317; -pub const SYS_yield: u32 = 321; -pub const SYS_mlockall: u32 = 324; -pub const SYS_munlockall: u32 = 325; -pub const SYS___getcwd: u32 = 326; -pub const SYS_sched_setparam: u32 = 327; -pub const SYS_sched_getparam: u32 = 328; -pub const SYS_sched_setscheduler: u32 = 329; -pub const SYS_sched_getscheduler: u32 = 330; -pub const SYS_sched_yield: u32 = 331; -pub const SYS_sched_get_priority_max: u32 = 332; -pub const SYS_sched_get_priority_min: u32 = 333; -pub const SYS_sched_rr_get_interval: u32 = 334; -pub const SYS_utrace: u32 = 335; -pub const SYS_kldsym: u32 = 337; -pub const SYS_jail: u32 = 338; -pub const SYS_nnpfs_syscall: u32 = 339; -pub const SYS_sigprocmask: u32 = 340; -pub const SYS_sigsuspend: u32 = 341; -pub const SYS_sigpending: u32 = 343; -pub const SYS_sigtimedwait: u32 = 345; -pub const SYS_sigwaitinfo: u32 = 346; -pub const SYS___acl_get_file: u32 = 347; -pub const SYS___acl_set_file: u32 = 348; -pub const SYS___acl_get_fd: u32 = 349; -pub const SYS___acl_set_fd: u32 = 350; -pub const SYS___acl_delete_file: u32 = 351; -pub const SYS___acl_delete_fd: u32 = 352; -pub const SYS___acl_aclcheck_file: u32 = 353; -pub const SYS___acl_aclcheck_fd: u32 = 354; -pub const SYS_extattrctl: u32 = 355; -pub const SYS_extattr_set_file: u32 = 356; -pub const SYS_extattr_get_file: u32 = 357; -pub const SYS_extattr_delete_file: u32 = 358; -pub const SYS_aio_waitcomplete: u32 = 359; -pub const SYS_getresuid: u32 = 360; -pub const SYS_getresgid: u32 = 361; -pub const SYS_kqueue: u32 = 362; -pub const SYS_freebsd11_kevent: u32 = 363; -pub const SYS_extattr_set_fd: u32 = 371; -pub const SYS_extattr_get_fd: u32 = 372; -pub const SYS_extattr_delete_fd: u32 = 373; -pub const SYS___setugid: u32 = 374; -pub const SYS_eaccess: u32 = 376; -pub const SYS_afs3_syscall: u32 = 377; -pub const SYS_nmount: u32 = 378; -pub const SYS___mac_get_proc: u32 = 384; -pub const SYS___mac_set_proc: u32 = 385; -pub const SYS___mac_get_fd: u32 = 386; -pub const SYS___mac_get_file: u32 = 387; -pub const SYS___mac_set_fd: u32 = 388; -pub const SYS___mac_set_file: u32 = 389; -pub const SYS_kenv: u32 = 390; -pub const SYS_lchflags: u32 = 391; -pub const SYS_uuidgen: u32 = 392; -pub const SYS_sendfile: u32 = 393; -pub const SYS_mac_syscall: u32 = 394; -pub const SYS_freebsd11_getfsstat: u32 = 395; -pub const SYS_freebsd11_statfs: u32 = 396; -pub const SYS_freebsd11_fstatfs: u32 = 397; -pub const SYS_freebsd11_fhstatfs: u32 = 398; -pub const SYS_ksem_close: u32 = 400; -pub const SYS_ksem_post: u32 = 401; -pub const SYS_ksem_wait: u32 = 402; -pub const SYS_ksem_trywait: u32 = 403; -pub const SYS_ksem_init: u32 = 404; -pub const SYS_ksem_open: u32 = 405; -pub const SYS_ksem_unlink: u32 = 406; -pub const SYS_ksem_getvalue: u32 = 407; -pub const SYS_ksem_destroy: u32 = 408; -pub const SYS___mac_get_pid: u32 = 409; -pub const SYS___mac_get_link: u32 = 410; -pub const SYS___mac_set_link: u32 = 411; -pub const SYS_extattr_set_link: u32 = 412; -pub const SYS_extattr_get_link: u32 = 413; -pub const SYS_extattr_delete_link: u32 = 414; -pub const SYS___mac_execve: u32 = 415; -pub const SYS_sigaction: u32 = 416; -pub const SYS_sigreturn: u32 = 417; -pub const SYS_getcontext: u32 = 421; -pub const SYS_setcontext: u32 = 422; -pub const SYS_swapcontext: u32 = 423; -pub const SYS_freebsd13_swapoff: u32 = 424; -pub const SYS___acl_get_link: u32 = 425; -pub const SYS___acl_set_link: u32 = 426; -pub const SYS___acl_delete_link: u32 = 427; -pub const SYS___acl_aclcheck_link: u32 = 428; -pub const SYS_sigwait: u32 = 429; -pub const SYS_thr_create: u32 = 430; -pub const SYS_thr_exit: u32 = 431; -pub const SYS_thr_self: u32 = 432; -pub const SYS_thr_kill: u32 = 433; -pub const SYS_freebsd10__umtx_lock: u32 = 434; -pub const SYS_freebsd10__umtx_unlock: u32 = 435; -pub const SYS_jail_attach: u32 = 436; -pub const SYS_extattr_list_fd: u32 = 437; -pub const SYS_extattr_list_file: u32 = 438; -pub const SYS_extattr_list_link: u32 = 439; -pub const SYS_ksem_timedwait: u32 = 441; -pub const SYS_thr_suspend: u32 = 442; -pub const SYS_thr_wake: u32 = 443; -pub const SYS_kldunloadf: u32 = 444; -pub const SYS_audit: u32 = 445; -pub const SYS_auditon: u32 = 446; -pub const SYS_getauid: u32 = 447; -pub const SYS_setauid: u32 = 448; -pub const SYS_getaudit: u32 = 449; -pub const SYS_setaudit: u32 = 450; -pub const SYS_getaudit_addr: u32 = 451; -pub const SYS_setaudit_addr: u32 = 452; -pub const SYS_auditctl: u32 = 453; -pub const SYS__umtx_op: u32 = 454; -pub const SYS_thr_new: u32 = 455; -pub const SYS_sigqueue: u32 = 456; -pub const SYS_kmq_open: u32 = 457; -pub const SYS_kmq_setattr: u32 = 458; -pub const SYS_kmq_timedreceive: u32 = 459; -pub const SYS_kmq_timedsend: u32 = 460; -pub const SYS_kmq_notify: u32 = 461; -pub const SYS_kmq_unlink: u32 = 462; -pub const SYS_abort2: u32 = 463; -pub const SYS_thr_set_name: u32 = 464; -pub const SYS_aio_fsync: u32 = 465; -pub const SYS_rtprio_thread: u32 = 466; -pub const SYS_sctp_peeloff: u32 = 471; -pub const SYS_sctp_generic_sendmsg: u32 = 472; -pub const SYS_sctp_generic_sendmsg_iov: u32 = 473; -pub const SYS_sctp_generic_recvmsg: u32 = 474; -pub const SYS_pread: u32 = 475; -pub const SYS_pwrite: u32 = 476; -pub const SYS_mmap: u32 = 477; -pub const SYS_lseek: u32 = 478; -pub const SYS_truncate: u32 = 479; -pub const SYS_ftruncate: u32 = 480; -pub const SYS_thr_kill2: u32 = 481; -pub const SYS_freebsd12_shm_open: u32 = 482; -pub const SYS_shm_unlink: u32 = 483; -pub const SYS_cpuset: u32 = 484; -pub const SYS_cpuset_setid: u32 = 485; -pub const SYS_cpuset_getid: u32 = 486; -pub const SYS_cpuset_getaffinity: u32 = 487; -pub const SYS_cpuset_setaffinity: u32 = 488; -pub const SYS_faccessat: u32 = 489; -pub const SYS_fchmodat: u32 = 490; -pub const SYS_fchownat: u32 = 491; -pub const SYS_fexecve: u32 = 492; -pub const SYS_freebsd11_fstatat: u32 = 493; -pub const SYS_futimesat: u32 = 494; -pub const SYS_linkat: u32 = 495; -pub const SYS_mkdirat: u32 = 496; -pub const SYS_mkfifoat: u32 = 497; -pub const SYS_freebsd11_mknodat: u32 = 498; -pub const SYS_openat: u32 = 499; -pub const SYS_readlinkat: u32 = 500; -pub const SYS_renameat: u32 = 501; -pub const SYS_symlinkat: u32 = 502; -pub const SYS_unlinkat: u32 = 503; -pub const SYS_posix_openpt: u32 = 504; -pub const SYS_gssd_syscall: u32 = 505; -pub const SYS_jail_get: u32 = 506; -pub const SYS_jail_set: u32 = 507; -pub const SYS_jail_remove: u32 = 508; -pub const SYS_freebsd12_closefrom: u32 = 509; -pub const SYS___semctl: u32 = 510; -pub const SYS_msgctl: u32 = 511; -pub const SYS_shmctl: u32 = 512; -pub const SYS_lpathconf: u32 = 513; -pub const SYS___cap_rights_get: u32 = 515; -pub const SYS_cap_enter: u32 = 516; -pub const SYS_cap_getmode: u32 = 517; -pub const SYS_pdfork: u32 = 518; -pub const SYS_pdkill: u32 = 519; -pub const SYS_pdgetpid: u32 = 520; -pub const SYS_pselect: u32 = 522; -pub const SYS_getloginclass: u32 = 523; -pub const SYS_setloginclass: u32 = 524; -pub const SYS_rctl_get_racct: u32 = 525; -pub const SYS_rctl_get_rules: u32 = 526; -pub const SYS_rctl_get_limits: u32 = 527; -pub const SYS_rctl_add_rule: u32 = 528; -pub const SYS_rctl_remove_rule: u32 = 529; -pub const SYS_posix_fallocate: u32 = 530; -pub const SYS_posix_fadvise: u32 = 531; -pub const SYS_wait6: u32 = 532; -pub const SYS_cap_rights_limit: u32 = 533; -pub const SYS_cap_ioctls_limit: u32 = 534; -pub const SYS_cap_ioctls_get: u32 = 535; -pub const SYS_cap_fcntls_limit: u32 = 536; -pub const SYS_cap_fcntls_get: u32 = 537; -pub const SYS_bindat: u32 = 538; -pub const SYS_connectat: u32 = 539; -pub const SYS_chflagsat: u32 = 540; -pub const SYS_accept4: u32 = 541; -pub const SYS_pipe2: u32 = 542; -pub const SYS_aio_mlock: u32 = 543; -pub const SYS_procctl: u32 = 544; -pub const SYS_ppoll: u32 = 545; -pub const SYS_futimens: u32 = 546; -pub const SYS_utimensat: u32 = 547; -pub const SYS_fdatasync: u32 = 550; -pub const SYS_fstat: u32 = 551; -pub const SYS_fstatat: u32 = 552; -pub const SYS_fhstat: u32 = 553; -pub const SYS_getdirentries: u32 = 554; -pub const SYS_statfs: u32 = 555; -pub const SYS_fstatfs: u32 = 556; -pub const SYS_getfsstat: u32 = 557; -pub const SYS_fhstatfs: u32 = 558; -pub const SYS_mknodat: u32 = 559; -pub const SYS_kevent: u32 = 560; -pub const SYS_cpuset_getdomain: u32 = 561; -pub const SYS_cpuset_setdomain: u32 = 562; -pub const SYS_getrandom: u32 = 563; -pub const SYS_getfhat: u32 = 564; -pub const SYS_fhlink: u32 = 565; -pub const SYS_fhlinkat: u32 = 566; -pub const SYS_fhreadlink: u32 = 567; -pub const SYS_funlinkat: u32 = 568; -pub const SYS_copy_file_range: u32 = 569; -pub const SYS___sysctlbyname: u32 = 570; -pub const SYS_shm_open2: u32 = 571; -pub const SYS_shm_rename: u32 = 572; -pub const SYS_sigfastblock: u32 = 573; -pub const SYS___realpathat: u32 = 574; -pub const SYS_close_range: u32 = 575; -pub const SYS_rpctls_syscall: u32 = 576; -pub const SYS___specialfd: u32 = 577; -pub const SYS_aio_writev: u32 = 578; -pub const SYS_aio_readv: u32 = 579; -pub const SYS_fspacectl: u32 = 580; -pub const SYS_sched_getcpu: u32 = 581; -pub const SYS_swapoff: u32 = 582; -pub const SYS_kqueuex: u32 = 583; -pub const SYS_membarrier: u32 = 584; -pub const SYS_timerfd_create: u32 = 585; -pub const SYS_timerfd_gettime: u32 = 586; -pub const SYS_timerfd_settime: u32 = 587; -pub const SYS_kcmp: u32 = 588; -pub const SYS_getrlimitusage: u32 = 589; -pub const SYS_MAXSYSCALL: u32 = 590; diff --git a/tests/helper/src/gen/sys/powerpc64le_freebsd/sys_sysctl.rs b/tests/helper/src/gen/sys/powerpc64le_freebsd/sys_sysctl.rs deleted file mode 100644 index c84111ec..00000000 --- a/tests/helper/src/gen/sys/powerpc64le_freebsd/sys_sysctl.rs +++ /dev/null @@ -1,10 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -pub const CTL_KERN: u32 = 1; -pub const KERN_PROC: u32 = 14; -pub const KERN_PROC_AUXV: u32 = 36; diff --git a/tests/helper/src/gen/sys/powerpc64le_linux_gnu/dlfcn.rs b/tests/helper/src/gen/sys/powerpc64le_linux_gnu/dlfcn.rs deleted file mode 100644 index 0c516f36..00000000 --- a/tests/helper/src/gen/sys/powerpc64le_linux_gnu/dlfcn.rs +++ /dev/null @@ -1,14 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -pub const RTLD_DEFAULT: *mut ::std::os::raw::c_void = ::core::ptr::null_mut(); -extern "C" { - pub fn dlsym( - __handle: *mut ::core::ffi::c_void, - __name: *const ::std::os::raw::c_char, - ) -> *mut ::core::ffi::c_void; -} diff --git a/tests/helper/src/gen/sys/powerpc64le_linux_gnu/elf.rs b/tests/helper/src/gen/sys/powerpc64le_linux_gnu/elf.rs deleted file mode 100644 index a3c1790d..00000000 --- a/tests/helper/src/gen/sys/powerpc64le_linux_gnu/elf.rs +++ /dev/null @@ -1,29 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -#[repr(C)] -#[derive(Copy, Clone)] -pub struct Elf32_auxv_t { - pub a_type: u32, - pub a_un: Elf32_auxv_t__bindgen_ty_1, -} -#[repr(C)] -#[derive(Copy, Clone)] -pub union Elf32_auxv_t__bindgen_ty_1 { - pub a_val: u32, -} -#[repr(C)] -#[derive(Copy, Clone)] -pub struct Elf64_auxv_t { - pub a_type: u64, - pub a_un: Elf64_auxv_t__bindgen_ty_1, -} -#[repr(C)] -#[derive(Copy, Clone)] -pub union Elf64_auxv_t__bindgen_ty_1 { - pub a_val: u64, -} diff --git a/tests/helper/src/gen/sys/powerpc64le_linux_gnu/linux_headers_asm_cputable.rs b/tests/helper/src/gen/sys/powerpc64le_linux_gnu/linux_headers_asm_cputable.rs deleted file mode 100644 index 905b1aaa..00000000 --- a/tests/helper/src/gen/sys/powerpc64le_linux_gnu/linux_headers_asm_cputable.rs +++ /dev/null @@ -1,50 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -pub const PPC_FEATURE_32: u32 = 2147483648; -pub const PPC_FEATURE_64: u32 = 1073741824; -pub const PPC_FEATURE_601_INSTR: u32 = 536870912; -pub const PPC_FEATURE_HAS_ALTIVEC: u32 = 268435456; -pub const PPC_FEATURE_HAS_FPU: u32 = 134217728; -pub const PPC_FEATURE_HAS_MMU: u32 = 67108864; -pub const PPC_FEATURE_HAS_4xxMAC: u32 = 33554432; -pub const PPC_FEATURE_UNIFIED_CACHE: u32 = 16777216; -pub const PPC_FEATURE_HAS_SPE: u32 = 8388608; -pub const PPC_FEATURE_HAS_EFP_SINGLE: u32 = 4194304; -pub const PPC_FEATURE_HAS_EFP_DOUBLE: u32 = 2097152; -pub const PPC_FEATURE_NO_TB: u32 = 1048576; -pub const PPC_FEATURE_POWER4: u32 = 524288; -pub const PPC_FEATURE_POWER5: u32 = 262144; -pub const PPC_FEATURE_POWER5_PLUS: u32 = 131072; -pub const PPC_FEATURE_CELL: u32 = 65536; -pub const PPC_FEATURE_BOOKE: u32 = 32768; -pub const PPC_FEATURE_SMT: u32 = 16384; -pub const PPC_FEATURE_ICACHE_SNOOP: u32 = 8192; -pub const PPC_FEATURE_ARCH_2_05: u32 = 4096; -pub const PPC_FEATURE_PA6T: u32 = 2048; -pub const PPC_FEATURE_HAS_DFP: u32 = 1024; -pub const PPC_FEATURE_POWER6_EXT: u32 = 512; -pub const PPC_FEATURE_ARCH_2_06: u32 = 256; -pub const PPC_FEATURE_HAS_VSX: u32 = 128; -pub const PPC_FEATURE_PSERIES_PERFMON_COMPAT: u32 = 64; -pub const PPC_FEATURE_TRUE_LE: u32 = 2; -pub const PPC_FEATURE_PPC_LE: u32 = 1; -pub const PPC_FEATURE2_ARCH_2_07: u32 = 2147483648; -pub const PPC_FEATURE2_HTM: u32 = 1073741824; -pub const PPC_FEATURE2_DSCR: u32 = 536870912; -pub const PPC_FEATURE2_EBB: u32 = 268435456; -pub const PPC_FEATURE2_ISEL: u32 = 134217728; -pub const PPC_FEATURE2_TAR: u32 = 67108864; -pub const PPC_FEATURE2_VEC_CRYPTO: u32 = 33554432; -pub const PPC_FEATURE2_HTM_NOSC: u32 = 16777216; -pub const PPC_FEATURE2_ARCH_3_00: u32 = 8388608; -pub const PPC_FEATURE2_HAS_IEEE128: u32 = 4194304; -pub const PPC_FEATURE2_DARN: u32 = 2097152; -pub const PPC_FEATURE2_SCV: u32 = 1048576; -pub const PPC_FEATURE2_HTM_NO_SUSPEND: u32 = 524288; -pub const PPC_FEATURE2_ARCH_3_1: u32 = 262144; -pub const PPC_FEATURE2_MMA: u32 = 131072; diff --git a/tests/helper/src/gen/sys/powerpc64le_linux_gnu/linux_headers_asm_unistd.rs b/tests/helper/src/gen/sys/powerpc64le_linux_gnu/linux_headers_asm_unistd.rs deleted file mode 100644 index 1fcd97eb..00000000 --- a/tests/helper/src/gen/sys/powerpc64le_linux_gnu/linux_headers_asm_unistd.rs +++ /dev/null @@ -1,422 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -pub const __NR_restart_syscall: u32 = 0; -pub const __NR_exit: u32 = 1; -pub const __NR_fork: u32 = 2; -pub const __NR_read: u32 = 3; -pub const __NR_write: u32 = 4; -pub const __NR_open: u32 = 5; -pub const __NR_close: u32 = 6; -pub const __NR_waitpid: u32 = 7; -pub const __NR_creat: u32 = 8; -pub const __NR_link: u32 = 9; -pub const __NR_unlink: u32 = 10; -pub const __NR_execve: u32 = 11; -pub const __NR_chdir: u32 = 12; -pub const __NR_time: u32 = 13; -pub const __NR_mknod: u32 = 14; -pub const __NR_chmod: u32 = 15; -pub const __NR_lchown: u32 = 16; -pub const __NR_break: u32 = 17; -pub const __NR_oldstat: u32 = 18; -pub const __NR_lseek: u32 = 19; -pub const __NR_getpid: u32 = 20; -pub const __NR_mount: u32 = 21; -pub const __NR_umount: u32 = 22; -pub const __NR_setuid: u32 = 23; -pub const __NR_getuid: u32 = 24; -pub const __NR_stime: u32 = 25; -pub const __NR_ptrace: u32 = 26; -pub const __NR_alarm: u32 = 27; -pub const __NR_oldfstat: u32 = 28; -pub const __NR_pause: u32 = 29; -pub const __NR_utime: u32 = 30; -pub const __NR_stty: u32 = 31; -pub const __NR_gtty: u32 = 32; -pub const __NR_access: u32 = 33; -pub const __NR_nice: u32 = 34; -pub const __NR_ftime: u32 = 35; -pub const __NR_sync: u32 = 36; -pub const __NR_kill: u32 = 37; -pub const __NR_rename: u32 = 38; -pub const __NR_mkdir: u32 = 39; -pub const __NR_rmdir: u32 = 40; -pub const __NR_dup: u32 = 41; -pub const __NR_pipe: u32 = 42; -pub const __NR_times: u32 = 43; -pub const __NR_prof: u32 = 44; -pub const __NR_brk: u32 = 45; -pub const __NR_setgid: u32 = 46; -pub const __NR_getgid: u32 = 47; -pub const __NR_signal: u32 = 48; -pub const __NR_geteuid: u32 = 49; -pub const __NR_getegid: u32 = 50; -pub const __NR_acct: u32 = 51; -pub const __NR_umount2: u32 = 52; -pub const __NR_lock: u32 = 53; -pub const __NR_ioctl: u32 = 54; -pub const __NR_fcntl: u32 = 55; -pub const __NR_mpx: u32 = 56; -pub const __NR_setpgid: u32 = 57; -pub const __NR_ulimit: u32 = 58; -pub const __NR_oldolduname: u32 = 59; -pub const __NR_umask: u32 = 60; -pub const __NR_chroot: u32 = 61; -pub const __NR_ustat: u32 = 62; -pub const __NR_dup2: u32 = 63; -pub const __NR_getppid: u32 = 64; -pub const __NR_getpgrp: u32 = 65; -pub const __NR_setsid: u32 = 66; -pub const __NR_sigaction: u32 = 67; -pub const __NR_sgetmask: u32 = 68; -pub const __NR_ssetmask: u32 = 69; -pub const __NR_setreuid: u32 = 70; -pub const __NR_setregid: u32 = 71; -pub const __NR_sigsuspend: u32 = 72; -pub const __NR_sigpending: u32 = 73; -pub const __NR_sethostname: u32 = 74; -pub const __NR_setrlimit: u32 = 75; -pub const __NR_getrlimit: u32 = 76; -pub const __NR_getrusage: u32 = 77; -pub const __NR_gettimeofday: u32 = 78; -pub const __NR_settimeofday: u32 = 79; -pub const __NR_getgroups: u32 = 80; -pub const __NR_setgroups: u32 = 81; -pub const __NR_select: u32 = 82; -pub const __NR_symlink: u32 = 83; -pub const __NR_oldlstat: u32 = 84; -pub const __NR_readlink: u32 = 85; -pub const __NR_uselib: u32 = 86; -pub const __NR_swapon: u32 = 87; -pub const __NR_reboot: u32 = 88; -pub const __NR_readdir: u32 = 89; -pub const __NR_mmap: u32 = 90; -pub const __NR_munmap: u32 = 91; -pub const __NR_truncate: u32 = 92; -pub const __NR_ftruncate: u32 = 93; -pub const __NR_fchmod: u32 = 94; -pub const __NR_fchown: u32 = 95; -pub const __NR_getpriority: u32 = 96; -pub const __NR_setpriority: u32 = 97; -pub const __NR_profil: u32 = 98; -pub const __NR_statfs: u32 = 99; -pub const __NR_fstatfs: u32 = 100; -pub const __NR_ioperm: u32 = 101; -pub const __NR_socketcall: u32 = 102; -pub const __NR_syslog: u32 = 103; -pub const __NR_setitimer: u32 = 104; -pub const __NR_getitimer: u32 = 105; -pub const __NR_stat: u32 = 106; -pub const __NR_lstat: u32 = 107; -pub const __NR_fstat: u32 = 108; -pub const __NR_olduname: u32 = 109; -pub const __NR_iopl: u32 = 110; -pub const __NR_vhangup: u32 = 111; -pub const __NR_idle: u32 = 112; -pub const __NR_vm86: u32 = 113; -pub const __NR_wait4: u32 = 114; -pub const __NR_swapoff: u32 = 115; -pub const __NR_sysinfo: u32 = 116; -pub const __NR_ipc: u32 = 117; -pub const __NR_fsync: u32 = 118; -pub const __NR_sigreturn: u32 = 119; -pub const __NR_clone: u32 = 120; -pub const __NR_setdomainname: u32 = 121; -pub const __NR_uname: u32 = 122; -pub const __NR_modify_ldt: u32 = 123; -pub const __NR_adjtimex: u32 = 124; -pub const __NR_mprotect: u32 = 125; -pub const __NR_sigprocmask: u32 = 126; -pub const __NR_create_module: u32 = 127; -pub const __NR_init_module: u32 = 128; -pub const __NR_delete_module: u32 = 129; -pub const __NR_get_kernel_syms: u32 = 130; -pub const __NR_quotactl: u32 = 131; -pub const __NR_getpgid: u32 = 132; -pub const __NR_fchdir: u32 = 133; -pub const __NR_bdflush: u32 = 134; -pub const __NR_sysfs: u32 = 135; -pub const __NR_personality: u32 = 136; -pub const __NR_afs_syscall: u32 = 137; -pub const __NR_setfsuid: u32 = 138; -pub const __NR_setfsgid: u32 = 139; -pub const __NR__llseek: u32 = 140; -pub const __NR_getdents: u32 = 141; -pub const __NR__newselect: u32 = 142; -pub const __NR_flock: u32 = 143; -pub const __NR_msync: u32 = 144; -pub const __NR_readv: u32 = 145; -pub const __NR_writev: u32 = 146; -pub const __NR_getsid: u32 = 147; -pub const __NR_fdatasync: u32 = 148; -pub const __NR__sysctl: u32 = 149; -pub const __NR_mlock: u32 = 150; -pub const __NR_munlock: u32 = 151; -pub const __NR_mlockall: u32 = 152; -pub const __NR_munlockall: u32 = 153; -pub const __NR_sched_setparam: u32 = 154; -pub const __NR_sched_getparam: u32 = 155; -pub const __NR_sched_setscheduler: u32 = 156; -pub const __NR_sched_getscheduler: u32 = 157; -pub const __NR_sched_yield: u32 = 158; -pub const __NR_sched_get_priority_max: u32 = 159; -pub const __NR_sched_get_priority_min: u32 = 160; -pub const __NR_sched_rr_get_interval: u32 = 161; -pub const __NR_nanosleep: u32 = 162; -pub const __NR_mremap: u32 = 163; -pub const __NR_setresuid: u32 = 164; -pub const __NR_getresuid: u32 = 165; -pub const __NR_query_module: u32 = 166; -pub const __NR_poll: u32 = 167; -pub const __NR_nfsservctl: u32 = 168; -pub const __NR_setresgid: u32 = 169; -pub const __NR_getresgid: u32 = 170; -pub const __NR_prctl: u32 = 171; -pub const __NR_rt_sigreturn: u32 = 172; -pub const __NR_rt_sigaction: u32 = 173; -pub const __NR_rt_sigprocmask: u32 = 174; -pub const __NR_rt_sigpending: u32 = 175; -pub const __NR_rt_sigtimedwait: u32 = 176; -pub const __NR_rt_sigqueueinfo: u32 = 177; -pub const __NR_rt_sigsuspend: u32 = 178; -pub const __NR_pread64: u32 = 179; -pub const __NR_pwrite64: u32 = 180; -pub const __NR_chown: u32 = 181; -pub const __NR_getcwd: u32 = 182; -pub const __NR_capget: u32 = 183; -pub const __NR_capset: u32 = 184; -pub const __NR_sigaltstack: u32 = 185; -pub const __NR_sendfile: u32 = 186; -pub const __NR_getpmsg: u32 = 187; -pub const __NR_putpmsg: u32 = 188; -pub const __NR_vfork: u32 = 189; -pub const __NR_ugetrlimit: u32 = 190; -pub const __NR_readahead: u32 = 191; -pub const __NR_pciconfig_read: u32 = 198; -pub const __NR_pciconfig_write: u32 = 199; -pub const __NR_pciconfig_iobase: u32 = 200; -pub const __NR_multiplexer: u32 = 201; -pub const __NR_getdents64: u32 = 202; -pub const __NR_pivot_root: u32 = 203; -pub const __NR_madvise: u32 = 205; -pub const __NR_mincore: u32 = 206; -pub const __NR_gettid: u32 = 207; -pub const __NR_tkill: u32 = 208; -pub const __NR_setxattr: u32 = 209; -pub const __NR_lsetxattr: u32 = 210; -pub const __NR_fsetxattr: u32 = 211; -pub const __NR_getxattr: u32 = 212; -pub const __NR_lgetxattr: u32 = 213; -pub const __NR_fgetxattr: u32 = 214; -pub const __NR_listxattr: u32 = 215; -pub const __NR_llistxattr: u32 = 216; -pub const __NR_flistxattr: u32 = 217; -pub const __NR_removexattr: u32 = 218; -pub const __NR_lremovexattr: u32 = 219; -pub const __NR_fremovexattr: u32 = 220; -pub const __NR_futex: u32 = 221; -pub const __NR_sched_setaffinity: u32 = 222; -pub const __NR_sched_getaffinity: u32 = 223; -pub const __NR_tuxcall: u32 = 225; -pub const __NR_io_setup: u32 = 227; -pub const __NR_io_destroy: u32 = 228; -pub const __NR_io_getevents: u32 = 229; -pub const __NR_io_submit: u32 = 230; -pub const __NR_io_cancel: u32 = 231; -pub const __NR_set_tid_address: u32 = 232; -pub const __NR_fadvise64: u32 = 233; -pub const __NR_exit_group: u32 = 234; -pub const __NR_lookup_dcookie: u32 = 235; -pub const __NR_epoll_create: u32 = 236; -pub const __NR_epoll_ctl: u32 = 237; -pub const __NR_epoll_wait: u32 = 238; -pub const __NR_remap_file_pages: u32 = 239; -pub const __NR_timer_create: u32 = 240; -pub const __NR_timer_settime: u32 = 241; -pub const __NR_timer_gettime: u32 = 242; -pub const __NR_timer_getoverrun: u32 = 243; -pub const __NR_timer_delete: u32 = 244; -pub const __NR_clock_settime: u32 = 245; -pub const __NR_clock_gettime: u32 = 246; -pub const __NR_clock_getres: u32 = 247; -pub const __NR_clock_nanosleep: u32 = 248; -pub const __NR_swapcontext: u32 = 249; -pub const __NR_tgkill: u32 = 250; -pub const __NR_utimes: u32 = 251; -pub const __NR_statfs64: u32 = 252; -pub const __NR_fstatfs64: u32 = 253; -pub const __NR_rtas: u32 = 255; -pub const __NR_sys_debug_setcontext: u32 = 256; -pub const __NR_migrate_pages: u32 = 258; -pub const __NR_mbind: u32 = 259; -pub const __NR_get_mempolicy: u32 = 260; -pub const __NR_set_mempolicy: u32 = 261; -pub const __NR_mq_open: u32 = 262; -pub const __NR_mq_unlink: u32 = 263; -pub const __NR_mq_timedsend: u32 = 264; -pub const __NR_mq_timedreceive: u32 = 265; -pub const __NR_mq_notify: u32 = 266; -pub const __NR_mq_getsetattr: u32 = 267; -pub const __NR_kexec_load: u32 = 268; -pub const __NR_add_key: u32 = 269; -pub const __NR_request_key: u32 = 270; -pub const __NR_keyctl: u32 = 271; -pub const __NR_waitid: u32 = 272; -pub const __NR_ioprio_set: u32 = 273; -pub const __NR_ioprio_get: u32 = 274; -pub const __NR_inotify_init: u32 = 275; -pub const __NR_inotify_add_watch: u32 = 276; -pub const __NR_inotify_rm_watch: u32 = 277; -pub const __NR_spu_run: u32 = 278; -pub const __NR_spu_create: u32 = 279; -pub const __NR_pselect6: u32 = 280; -pub const __NR_ppoll: u32 = 281; -pub const __NR_unshare: u32 = 282; -pub const __NR_splice: u32 = 283; -pub const __NR_tee: u32 = 284; -pub const __NR_vmsplice: u32 = 285; -pub const __NR_openat: u32 = 286; -pub const __NR_mkdirat: u32 = 287; -pub const __NR_mknodat: u32 = 288; -pub const __NR_fchownat: u32 = 289; -pub const __NR_futimesat: u32 = 290; -pub const __NR_newfstatat: u32 = 291; -pub const __NR_unlinkat: u32 = 292; -pub const __NR_renameat: u32 = 293; -pub const __NR_linkat: u32 = 294; -pub const __NR_symlinkat: u32 = 295; -pub const __NR_readlinkat: u32 = 296; -pub const __NR_fchmodat: u32 = 297; -pub const __NR_faccessat: u32 = 298; -pub const __NR_get_robust_list: u32 = 299; -pub const __NR_set_robust_list: u32 = 300; -pub const __NR_move_pages: u32 = 301; -pub const __NR_getcpu: u32 = 302; -pub const __NR_epoll_pwait: u32 = 303; -pub const __NR_utimensat: u32 = 304; -pub const __NR_signalfd: u32 = 305; -pub const __NR_timerfd_create: u32 = 306; -pub const __NR_eventfd: u32 = 307; -pub const __NR_sync_file_range2: u32 = 308; -pub const __NR_fallocate: u32 = 309; -pub const __NR_subpage_prot: u32 = 310; -pub const __NR_timerfd_settime: u32 = 311; -pub const __NR_timerfd_gettime: u32 = 312; -pub const __NR_signalfd4: u32 = 313; -pub const __NR_eventfd2: u32 = 314; -pub const __NR_epoll_create1: u32 = 315; -pub const __NR_dup3: u32 = 316; -pub const __NR_pipe2: u32 = 317; -pub const __NR_inotify_init1: u32 = 318; -pub const __NR_perf_event_open: u32 = 319; -pub const __NR_preadv: u32 = 320; -pub const __NR_pwritev: u32 = 321; -pub const __NR_rt_tgsigqueueinfo: u32 = 322; -pub const __NR_fanotify_init: u32 = 323; -pub const __NR_fanotify_mark: u32 = 324; -pub const __NR_prlimit64: u32 = 325; -pub const __NR_socket: u32 = 326; -pub const __NR_bind: u32 = 327; -pub const __NR_connect: u32 = 328; -pub const __NR_listen: u32 = 329; -pub const __NR_accept: u32 = 330; -pub const __NR_getsockname: u32 = 331; -pub const __NR_getpeername: u32 = 332; -pub const __NR_socketpair: u32 = 333; -pub const __NR_send: u32 = 334; -pub const __NR_sendto: u32 = 335; -pub const __NR_recv: u32 = 336; -pub const __NR_recvfrom: u32 = 337; -pub const __NR_shutdown: u32 = 338; -pub const __NR_setsockopt: u32 = 339; -pub const __NR_getsockopt: u32 = 340; -pub const __NR_sendmsg: u32 = 341; -pub const __NR_recvmsg: u32 = 342; -pub const __NR_recvmmsg: u32 = 343; -pub const __NR_accept4: u32 = 344; -pub const __NR_name_to_handle_at: u32 = 345; -pub const __NR_open_by_handle_at: u32 = 346; -pub const __NR_clock_adjtime: u32 = 347; -pub const __NR_syncfs: u32 = 348; -pub const __NR_sendmmsg: u32 = 349; -pub const __NR_setns: u32 = 350; -pub const __NR_process_vm_readv: u32 = 351; -pub const __NR_process_vm_writev: u32 = 352; -pub const __NR_finit_module: u32 = 353; -pub const __NR_kcmp: u32 = 354; -pub const __NR_sched_setattr: u32 = 355; -pub const __NR_sched_getattr: u32 = 356; -pub const __NR_renameat2: u32 = 357; -pub const __NR_seccomp: u32 = 358; -pub const __NR_getrandom: u32 = 359; -pub const __NR_memfd_create: u32 = 360; -pub const __NR_bpf: u32 = 361; -pub const __NR_execveat: u32 = 362; -pub const __NR_switch_endian: u32 = 363; -pub const __NR_userfaultfd: u32 = 364; -pub const __NR_membarrier: u32 = 365; -pub const __NR_mlock2: u32 = 378; -pub const __NR_copy_file_range: u32 = 379; -pub const __NR_preadv2: u32 = 380; -pub const __NR_pwritev2: u32 = 381; -pub const __NR_kexec_file_load: u32 = 382; -pub const __NR_statx: u32 = 383; -pub const __NR_pkey_alloc: u32 = 384; -pub const __NR_pkey_free: u32 = 385; -pub const __NR_pkey_mprotect: u32 = 386; -pub const __NR_rseq: u32 = 387; -pub const __NR_io_pgetevents: u32 = 388; -pub const __NR_semtimedop: u32 = 392; -pub const __NR_semget: u32 = 393; -pub const __NR_semctl: u32 = 394; -pub const __NR_shmget: u32 = 395; -pub const __NR_shmctl: u32 = 396; -pub const __NR_shmat: u32 = 397; -pub const __NR_shmdt: u32 = 398; -pub const __NR_msgget: u32 = 399; -pub const __NR_msgsnd: u32 = 400; -pub const __NR_msgrcv: u32 = 401; -pub const __NR_msgctl: u32 = 402; -pub const __NR_pidfd_send_signal: u32 = 424; -pub const __NR_io_uring_setup: u32 = 425; -pub const __NR_io_uring_enter: u32 = 426; -pub const __NR_io_uring_register: u32 = 427; -pub const __NR_open_tree: u32 = 428; -pub const __NR_move_mount: u32 = 429; -pub const __NR_fsopen: u32 = 430; -pub const __NR_fsconfig: u32 = 431; -pub const __NR_fsmount: u32 = 432; -pub const __NR_fspick: u32 = 433; -pub const __NR_pidfd_open: u32 = 434; -pub const __NR_clone3: u32 = 435; -pub const __NR_close_range: u32 = 436; -pub const __NR_openat2: u32 = 437; -pub const __NR_pidfd_getfd: u32 = 438; -pub const __NR_faccessat2: u32 = 439; -pub const __NR_process_madvise: u32 = 440; -pub const __NR_epoll_pwait2: u32 = 441; -pub const __NR_mount_setattr: u32 = 442; -pub const __NR_quotactl_fd: u32 = 443; -pub const __NR_landlock_create_ruleset: u32 = 444; -pub const __NR_landlock_add_rule: u32 = 445; -pub const __NR_landlock_restrict_self: u32 = 446; -pub const __NR_process_mrelease: u32 = 448; -pub const __NR_futex_waitv: u32 = 449; -pub const __NR_set_mempolicy_home_node: u32 = 450; -pub const __NR_cachestat: u32 = 451; -pub const __NR_fchmodat2: u32 = 452; -pub const __NR_map_shadow_stack: u32 = 453; -pub const __NR_futex_wake: u32 = 454; -pub const __NR_futex_wait: u32 = 455; -pub const __NR_futex_requeue: u32 = 456; -pub const __NR_statmount: u32 = 457; -pub const __NR_listmount: u32 = 458; -pub const __NR_lsm_get_self_attr: u32 = 459; -pub const __NR_lsm_set_self_attr: u32 = 460; -pub const __NR_lsm_list_modules: u32 = 461; -pub const __NR_mseal: u32 = 462; diff --git a/tests/helper/src/gen/sys/powerpc64le_linux_gnu/linux_headers_linux_auxvec.rs b/tests/helper/src/gen/sys/powerpc64le_linux_gnu/linux_headers_linux_auxvec.rs deleted file mode 100644 index 16bf174c..00000000 --- a/tests/helper/src/gen/sys/powerpc64le_linux_gnu/linux_headers_linux_auxvec.rs +++ /dev/null @@ -1,49 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -pub const AT_DCACHEBSIZE: u32 = 19; -pub const AT_ICACHEBSIZE: u32 = 20; -pub const AT_UCACHEBSIZE: u32 = 21; -pub const AT_IGNOREPPC: u32 = 22; -pub const AT_SYSINFO_EHDR: u32 = 33; -pub const AT_L1I_CACHESIZE: u32 = 40; -pub const AT_L1I_CACHEGEOMETRY: u32 = 41; -pub const AT_L1D_CACHESIZE: u32 = 42; -pub const AT_L1D_CACHEGEOMETRY: u32 = 43; -pub const AT_L2_CACHESIZE: u32 = 44; -pub const AT_L2_CACHEGEOMETRY: u32 = 45; -pub const AT_L3_CACHESIZE: u32 = 46; -pub const AT_L3_CACHEGEOMETRY: u32 = 47; -pub const AT_MINSIGSTKSZ: u32 = 51; -pub const AT_VECTOR_SIZE_ARCH: u32 = 15; -pub const AT_NULL: u32 = 0; -pub const AT_IGNORE: u32 = 1; -pub const AT_EXECFD: u32 = 2; -pub const AT_PHDR: u32 = 3; -pub const AT_PHENT: u32 = 4; -pub const AT_PHNUM: u32 = 5; -pub const AT_PAGESZ: u32 = 6; -pub const AT_BASE: u32 = 7; -pub const AT_FLAGS: u32 = 8; -pub const AT_ENTRY: u32 = 9; -pub const AT_NOTELF: u32 = 10; -pub const AT_UID: u32 = 11; -pub const AT_EUID: u32 = 12; -pub const AT_GID: u32 = 13; -pub const AT_EGID: u32 = 14; -pub const AT_PLATFORM: u32 = 15; -pub const AT_HWCAP: u32 = 16; -pub const AT_CLKTCK: u32 = 17; -pub const AT_SECURE: u32 = 23; -pub const AT_BASE_PLATFORM: u32 = 24; -pub const AT_RANDOM: u32 = 25; -pub const AT_HWCAP2: u32 = 26; -pub const AT_RSEQ_FEATURE_SIZE: u32 = 27; -pub const AT_RSEQ_ALIGN: u32 = 28; -pub const AT_HWCAP3: u32 = 29; -pub const AT_HWCAP4: u32 = 30; -pub const AT_EXECFN: u32 = 31; diff --git a/tests/helper/src/gen/sys/powerpc64le_linux_gnu/linux_headers_linux_prctl.rs b/tests/helper/src/gen/sys/powerpc64le_linux_gnu/linux_headers_linux_prctl.rs deleted file mode 100644 index 6eeb3021..00000000 --- a/tests/helper/src/gen/sys/powerpc64le_linux_gnu/linux_headers_linux_prctl.rs +++ /dev/null @@ -1,189 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -pub const PR_SET_PDEATHSIG: u32 = 1; -pub const PR_GET_PDEATHSIG: u32 = 2; -pub const PR_GET_DUMPABLE: u32 = 3; -pub const PR_SET_DUMPABLE: u32 = 4; -pub const PR_GET_UNALIGN: u32 = 5; -pub const PR_SET_UNALIGN: u32 = 6; -pub const PR_UNALIGN_NOPRINT: u32 = 1; -pub const PR_UNALIGN_SIGBUS: u32 = 2; -pub const PR_GET_KEEPCAPS: u32 = 7; -pub const PR_SET_KEEPCAPS: u32 = 8; -pub const PR_GET_FPEMU: u32 = 9; -pub const PR_SET_FPEMU: u32 = 10; -pub const PR_FPEMU_NOPRINT: u32 = 1; -pub const PR_FPEMU_SIGFPE: u32 = 2; -pub const PR_GET_FPEXC: u32 = 11; -pub const PR_SET_FPEXC: u32 = 12; -pub const PR_FP_EXC_SW_ENABLE: u32 = 128; -pub const PR_FP_EXC_DIV: u32 = 65536; -pub const PR_FP_EXC_OVF: u32 = 131072; -pub const PR_FP_EXC_UND: u32 = 262144; -pub const PR_FP_EXC_RES: u32 = 524288; -pub const PR_FP_EXC_INV: u32 = 1048576; -pub const PR_FP_EXC_DISABLED: u32 = 0; -pub const PR_FP_EXC_NONRECOV: u32 = 1; -pub const PR_FP_EXC_ASYNC: u32 = 2; -pub const PR_FP_EXC_PRECISE: u32 = 3; -pub const PR_GET_TIMING: u32 = 13; -pub const PR_SET_TIMING: u32 = 14; -pub const PR_TIMING_STATISTICAL: u32 = 0; -pub const PR_TIMING_TIMESTAMP: u32 = 1; -pub const PR_SET_NAME: u32 = 15; -pub const PR_GET_NAME: u32 = 16; -pub const PR_GET_ENDIAN: u32 = 19; -pub const PR_SET_ENDIAN: u32 = 20; -pub const PR_ENDIAN_BIG: u32 = 0; -pub const PR_ENDIAN_LITTLE: u32 = 1; -pub const PR_ENDIAN_PPC_LITTLE: u32 = 2; -pub const PR_GET_SECCOMP: u32 = 21; -pub const PR_SET_SECCOMP: u32 = 22; -pub const PR_CAPBSET_READ: u32 = 23; -pub const PR_CAPBSET_DROP: u32 = 24; -pub const PR_GET_TSC: u32 = 25; -pub const PR_SET_TSC: u32 = 26; -pub const PR_TSC_ENABLE: u32 = 1; -pub const PR_TSC_SIGSEGV: u32 = 2; -pub const PR_GET_SECUREBITS: u32 = 27; -pub const PR_SET_SECUREBITS: u32 = 28; -pub const PR_SET_TIMERSLACK: u32 = 29; -pub const PR_GET_TIMERSLACK: u32 = 30; -pub const PR_TASK_PERF_EVENTS_DISABLE: u32 = 31; -pub const PR_TASK_PERF_EVENTS_ENABLE: u32 = 32; -pub const PR_MCE_KILL: u32 = 33; -pub const PR_MCE_KILL_CLEAR: u32 = 0; -pub const PR_MCE_KILL_SET: u32 = 1; -pub const PR_MCE_KILL_LATE: u32 = 0; -pub const PR_MCE_KILL_EARLY: u32 = 1; -pub const PR_MCE_KILL_DEFAULT: u32 = 2; -pub const PR_MCE_KILL_GET: u32 = 34; -pub const PR_SET_MM: u32 = 35; -pub const PR_SET_MM_START_CODE: u32 = 1; -pub const PR_SET_MM_END_CODE: u32 = 2; -pub const PR_SET_MM_START_DATA: u32 = 3; -pub const PR_SET_MM_END_DATA: u32 = 4; -pub const PR_SET_MM_START_STACK: u32 = 5; -pub const PR_SET_MM_START_BRK: u32 = 6; -pub const PR_SET_MM_BRK: u32 = 7; -pub const PR_SET_MM_ARG_START: u32 = 8; -pub const PR_SET_MM_ARG_END: u32 = 9; -pub const PR_SET_MM_ENV_START: u32 = 10; -pub const PR_SET_MM_ENV_END: u32 = 11; -pub const PR_SET_MM_AUXV: u32 = 12; -pub const PR_SET_MM_EXE_FILE: u32 = 13; -pub const PR_SET_MM_MAP: u32 = 14; -pub const PR_SET_MM_MAP_SIZE: u32 = 15; -pub const PR_SET_PTRACER: u32 = 1499557217; -pub const PR_SET_PTRACER_ANY: ::std::os::raw::c_ulong = -1i8 as ::std::os::raw::c_ulong; -pub const PR_SET_CHILD_SUBREAPER: u32 = 36; -pub const PR_GET_CHILD_SUBREAPER: u32 = 37; -pub const PR_SET_NO_NEW_PRIVS: u32 = 38; -pub const PR_GET_NO_NEW_PRIVS: u32 = 39; -pub const PR_GET_TID_ADDRESS: u32 = 40; -pub const PR_SET_THP_DISABLE: u32 = 41; -pub const PR_GET_THP_DISABLE: u32 = 42; -pub const PR_MPX_ENABLE_MANAGEMENT: u32 = 43; -pub const PR_MPX_DISABLE_MANAGEMENT: u32 = 44; -pub const PR_SET_FP_MODE: u32 = 45; -pub const PR_GET_FP_MODE: u32 = 46; -pub const PR_FP_MODE_FR: u32 = 1; -pub const PR_FP_MODE_FRE: u32 = 2; -pub const PR_CAP_AMBIENT: u32 = 47; -pub const PR_CAP_AMBIENT_IS_SET: u32 = 1; -pub const PR_CAP_AMBIENT_RAISE: u32 = 2; -pub const PR_CAP_AMBIENT_LOWER: u32 = 3; -pub const PR_CAP_AMBIENT_CLEAR_ALL: u32 = 4; -pub const PR_SVE_SET_VL: u32 = 50; -pub const PR_SVE_SET_VL_ONEXEC: u32 = 262144; -pub const PR_SVE_GET_VL: u32 = 51; -pub const PR_SVE_VL_LEN_MASK: u32 = 65535; -pub const PR_SVE_VL_INHERIT: u32 = 131072; -pub const PR_GET_SPECULATION_CTRL: u32 = 52; -pub const PR_SET_SPECULATION_CTRL: u32 = 53; -pub const PR_SPEC_STORE_BYPASS: u32 = 0; -pub const PR_SPEC_INDIRECT_BRANCH: u32 = 1; -pub const PR_SPEC_L1D_FLUSH: u32 = 2; -pub const PR_SPEC_NOT_AFFECTED: u32 = 0; -pub const PR_SPEC_PRCTL: u32 = 1; -pub const PR_SPEC_ENABLE: u32 = 2; -pub const PR_SPEC_DISABLE: u32 = 4; -pub const PR_SPEC_FORCE_DISABLE: u32 = 8; -pub const PR_SPEC_DISABLE_NOEXEC: u32 = 16; -pub const PR_PAC_RESET_KEYS: u32 = 54; -pub const PR_PAC_APIAKEY: u32 = 1; -pub const PR_PAC_APIBKEY: u32 = 2; -pub const PR_PAC_APDAKEY: u32 = 4; -pub const PR_PAC_APDBKEY: u32 = 8; -pub const PR_PAC_APGAKEY: u32 = 16; -pub const PR_SET_TAGGED_ADDR_CTRL: u32 = 55; -pub const PR_GET_TAGGED_ADDR_CTRL: u32 = 56; -pub const PR_TAGGED_ADDR_ENABLE: u32 = 1; -pub const PR_MTE_TCF_NONE: u32 = 0; -pub const PR_MTE_TCF_SYNC: u32 = 2; -pub const PR_MTE_TCF_ASYNC: u32 = 4; -pub const PR_MTE_TCF_MASK: u32 = 6; -pub const PR_MTE_TAG_SHIFT: u32 = 3; -pub const PR_MTE_TAG_MASK: u32 = 524280; -pub const PR_MTE_TCF_SHIFT: u32 = 1; -pub const PR_SET_IO_FLUSHER: u32 = 57; -pub const PR_GET_IO_FLUSHER: u32 = 58; -pub const PR_SET_SYSCALL_USER_DISPATCH: u32 = 59; -pub const PR_SYS_DISPATCH_OFF: u32 = 0; -pub const PR_SYS_DISPATCH_ON: u32 = 1; -pub const PR_PAC_SET_ENABLED_KEYS: u32 = 60; -pub const PR_PAC_GET_ENABLED_KEYS: u32 = 61; -pub const PR_SCHED_CORE: u32 = 62; -pub const PR_SCHED_CORE_GET: u32 = 0; -pub const PR_SCHED_CORE_CREATE: u32 = 1; -pub const PR_SCHED_CORE_SHARE_TO: u32 = 2; -pub const PR_SCHED_CORE_SHARE_FROM: u32 = 3; -pub const PR_SCHED_CORE_MAX: u32 = 4; -pub const PR_SCHED_CORE_SCOPE_THREAD: u32 = 0; -pub const PR_SCHED_CORE_SCOPE_THREAD_GROUP: u32 = 1; -pub const PR_SCHED_CORE_SCOPE_PROCESS_GROUP: u32 = 2; -pub const PR_SME_SET_VL: u32 = 63; -pub const PR_SME_SET_VL_ONEXEC: u32 = 262144; -pub const PR_SME_GET_VL: u32 = 64; -pub const PR_SME_VL_LEN_MASK: u32 = 65535; -pub const PR_SME_VL_INHERIT: u32 = 131072; -pub const PR_SET_MDWE: u32 = 65; -pub const PR_MDWE_REFUSE_EXEC_GAIN: u32 = 1; -pub const PR_MDWE_NO_INHERIT: u32 = 2; -pub const PR_GET_MDWE: u32 = 66; -pub const PR_SET_VMA: u32 = 1398164801; -pub const PR_SET_VMA_ANON_NAME: u32 = 0; -pub const PR_GET_AUXV: u32 = 1096112214; -pub const PR_SET_MEMORY_MERGE: u32 = 67; -pub const PR_GET_MEMORY_MERGE: u32 = 68; -pub const PR_RISCV_V_SET_CONTROL: u32 = 69; -pub const PR_RISCV_V_GET_CONTROL: u32 = 70; -pub const PR_RISCV_V_VSTATE_CTRL_DEFAULT: u32 = 0; -pub const PR_RISCV_V_VSTATE_CTRL_OFF: u32 = 1; -pub const PR_RISCV_V_VSTATE_CTRL_ON: u32 = 2; -pub const PR_RISCV_V_VSTATE_CTRL_INHERIT: u32 = 16; -pub const PR_RISCV_V_VSTATE_CTRL_CUR_MASK: u32 = 3; -pub const PR_RISCV_V_VSTATE_CTRL_NEXT_MASK: u32 = 12; -pub const PR_RISCV_V_VSTATE_CTRL_MASK: u32 = 31; -pub const PR_RISCV_SET_ICACHE_FLUSH_CTX: u32 = 71; -pub const PR_RISCV_CTX_SW_FENCEI_ON: u32 = 0; -pub const PR_RISCV_CTX_SW_FENCEI_OFF: u32 = 1; -pub const PR_RISCV_SCOPE_PER_PROCESS: u32 = 0; -pub const PR_RISCV_SCOPE_PER_THREAD: u32 = 1; -pub const PR_PPC_GET_DEXCR: u32 = 72; -pub const PR_PPC_SET_DEXCR: u32 = 73; -pub const PR_PPC_DEXCR_SBHE: u32 = 0; -pub const PR_PPC_DEXCR_IBRTPD: u32 = 1; -pub const PR_PPC_DEXCR_SRAPD: u32 = 2; -pub const PR_PPC_DEXCR_NPHIE: u32 = 3; -pub const PR_PPC_DEXCR_CTRL_EDITABLE: u32 = 1; -pub const PR_PPC_DEXCR_CTRL_SET: u32 = 2; -pub const PR_PPC_DEXCR_CTRL_CLEAR: u32 = 4; -pub const PR_PPC_DEXCR_CTRL_SET_ONEXEC: u32 = 8; -pub const PR_PPC_DEXCR_CTRL_CLEAR_ONEXEC: u32 = 16; -pub const PR_PPC_DEXCR_CTRL_MASK: u32 = 31; diff --git a/tests/helper/src/gen/sys/powerpc64le_linux_gnu/mod.rs b/tests/helper/src/gen/sys/powerpc64le_linux_gnu/mod.rs deleted file mode 100644 index 80efc536..00000000 --- a/tests/helper/src/gen/sys/powerpc64le_linux_gnu/mod.rs +++ /dev/null @@ -1,703 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] -mod linux_headers_asm_cputable; -pub use linux_headers_asm_cputable::PPC_FEATURE_32; -pub use linux_headers_asm_cputable::PPC_FEATURE_64; -pub use linux_headers_asm_cputable::PPC_FEATURE_601_INSTR; -pub use linux_headers_asm_cputable::PPC_FEATURE_HAS_ALTIVEC; -pub use linux_headers_asm_cputable::PPC_FEATURE_HAS_FPU; -pub use linux_headers_asm_cputable::PPC_FEATURE_HAS_MMU; -pub use linux_headers_asm_cputable::PPC_FEATURE_HAS_4xxMAC; -pub use linux_headers_asm_cputable::PPC_FEATURE_UNIFIED_CACHE; -pub use linux_headers_asm_cputable::PPC_FEATURE_HAS_SPE; -pub use linux_headers_asm_cputable::PPC_FEATURE_HAS_EFP_SINGLE; -pub use linux_headers_asm_cputable::PPC_FEATURE_HAS_EFP_DOUBLE; -pub use linux_headers_asm_cputable::PPC_FEATURE_NO_TB; -pub use linux_headers_asm_cputable::PPC_FEATURE_POWER4; -pub use linux_headers_asm_cputable::PPC_FEATURE_POWER5; -pub use linux_headers_asm_cputable::PPC_FEATURE_POWER5_PLUS; -pub use linux_headers_asm_cputable::PPC_FEATURE_CELL; -pub use linux_headers_asm_cputable::PPC_FEATURE_BOOKE; -pub use linux_headers_asm_cputable::PPC_FEATURE_SMT; -pub use linux_headers_asm_cputable::PPC_FEATURE_ICACHE_SNOOP; -pub use linux_headers_asm_cputable::PPC_FEATURE_ARCH_2_05; -pub use linux_headers_asm_cputable::PPC_FEATURE_PA6T; -pub use linux_headers_asm_cputable::PPC_FEATURE_HAS_DFP; -pub use linux_headers_asm_cputable::PPC_FEATURE_POWER6_EXT; -pub use linux_headers_asm_cputable::PPC_FEATURE_ARCH_2_06; -pub use linux_headers_asm_cputable::PPC_FEATURE_HAS_VSX; -pub use linux_headers_asm_cputable::PPC_FEATURE_PSERIES_PERFMON_COMPAT; -pub use linux_headers_asm_cputable::PPC_FEATURE_TRUE_LE; -pub use linux_headers_asm_cputable::PPC_FEATURE_PPC_LE; -pub use linux_headers_asm_cputable::PPC_FEATURE2_ARCH_2_07; -pub use linux_headers_asm_cputable::PPC_FEATURE2_HTM; -pub use linux_headers_asm_cputable::PPC_FEATURE2_DSCR; -pub use linux_headers_asm_cputable::PPC_FEATURE2_EBB; -pub use linux_headers_asm_cputable::PPC_FEATURE2_ISEL; -pub use linux_headers_asm_cputable::PPC_FEATURE2_TAR; -pub use linux_headers_asm_cputable::PPC_FEATURE2_VEC_CRYPTO; -pub use linux_headers_asm_cputable::PPC_FEATURE2_HTM_NOSC; -pub use linux_headers_asm_cputable::PPC_FEATURE2_ARCH_3_00; -pub use linux_headers_asm_cputable::PPC_FEATURE2_HAS_IEEE128; -pub use linux_headers_asm_cputable::PPC_FEATURE2_DARN; -pub use linux_headers_asm_cputable::PPC_FEATURE2_SCV; -pub use linux_headers_asm_cputable::PPC_FEATURE2_HTM_NO_SUSPEND; -pub use linux_headers_asm_cputable::PPC_FEATURE2_ARCH_3_1; -pub use linux_headers_asm_cputable::PPC_FEATURE2_MMA; -mod linux_headers_asm_unistd; -pub use linux_headers_asm_unistd::__NR_restart_syscall; -pub use linux_headers_asm_unistd::__NR_exit; -pub use linux_headers_asm_unistd::__NR_fork; -pub use linux_headers_asm_unistd::__NR_read; -pub use linux_headers_asm_unistd::__NR_write; -pub use linux_headers_asm_unistd::__NR_open; -pub use linux_headers_asm_unistd::__NR_close; -pub use linux_headers_asm_unistd::__NR_waitpid; -pub use linux_headers_asm_unistd::__NR_creat; -pub use linux_headers_asm_unistd::__NR_link; -pub use linux_headers_asm_unistd::__NR_unlink; -pub use linux_headers_asm_unistd::__NR_execve; -pub use linux_headers_asm_unistd::__NR_chdir; -pub use linux_headers_asm_unistd::__NR_time; -pub use linux_headers_asm_unistd::__NR_mknod; -pub use linux_headers_asm_unistd::__NR_chmod; -pub use linux_headers_asm_unistd::__NR_lchown; -pub use linux_headers_asm_unistd::__NR_break; -pub use linux_headers_asm_unistd::__NR_oldstat; -pub use linux_headers_asm_unistd::__NR_lseek; -pub use linux_headers_asm_unistd::__NR_getpid; -pub use linux_headers_asm_unistd::__NR_mount; -pub use linux_headers_asm_unistd::__NR_umount; -pub use linux_headers_asm_unistd::__NR_setuid; -pub use linux_headers_asm_unistd::__NR_getuid; -pub use linux_headers_asm_unistd::__NR_stime; -pub use linux_headers_asm_unistd::__NR_ptrace; -pub use linux_headers_asm_unistd::__NR_alarm; -pub use linux_headers_asm_unistd::__NR_oldfstat; -pub use linux_headers_asm_unistd::__NR_pause; -pub use linux_headers_asm_unistd::__NR_utime; -pub use linux_headers_asm_unistd::__NR_stty; -pub use linux_headers_asm_unistd::__NR_gtty; -pub use linux_headers_asm_unistd::__NR_access; -pub use linux_headers_asm_unistd::__NR_nice; -pub use linux_headers_asm_unistd::__NR_ftime; -pub use linux_headers_asm_unistd::__NR_sync; -pub use linux_headers_asm_unistd::__NR_kill; -pub use linux_headers_asm_unistd::__NR_rename; -pub use linux_headers_asm_unistd::__NR_mkdir; -pub use linux_headers_asm_unistd::__NR_rmdir; -pub use linux_headers_asm_unistd::__NR_dup; -pub use linux_headers_asm_unistd::__NR_pipe; -pub use linux_headers_asm_unistd::__NR_times; -pub use linux_headers_asm_unistd::__NR_prof; -pub use linux_headers_asm_unistd::__NR_brk; -pub use linux_headers_asm_unistd::__NR_setgid; -pub use linux_headers_asm_unistd::__NR_getgid; -pub use linux_headers_asm_unistd::__NR_signal; -pub use linux_headers_asm_unistd::__NR_geteuid; -pub use linux_headers_asm_unistd::__NR_getegid; -pub use linux_headers_asm_unistd::__NR_acct; -pub use linux_headers_asm_unistd::__NR_umount2; -pub use linux_headers_asm_unistd::__NR_lock; -pub use linux_headers_asm_unistd::__NR_ioctl; -pub use linux_headers_asm_unistd::__NR_fcntl; -pub use linux_headers_asm_unistd::__NR_mpx; -pub use linux_headers_asm_unistd::__NR_setpgid; -pub use linux_headers_asm_unistd::__NR_ulimit; -pub use linux_headers_asm_unistd::__NR_oldolduname; -pub use linux_headers_asm_unistd::__NR_umask; -pub use linux_headers_asm_unistd::__NR_chroot; -pub use linux_headers_asm_unistd::__NR_ustat; -pub use linux_headers_asm_unistd::__NR_dup2; -pub use linux_headers_asm_unistd::__NR_getppid; -pub use linux_headers_asm_unistd::__NR_getpgrp; -pub use linux_headers_asm_unistd::__NR_setsid; -pub use linux_headers_asm_unistd::__NR_sigaction; -pub use linux_headers_asm_unistd::__NR_sgetmask; -pub use linux_headers_asm_unistd::__NR_ssetmask; -pub use linux_headers_asm_unistd::__NR_setreuid; -pub use linux_headers_asm_unistd::__NR_setregid; -pub use linux_headers_asm_unistd::__NR_sigsuspend; -pub use linux_headers_asm_unistd::__NR_sigpending; -pub use linux_headers_asm_unistd::__NR_sethostname; -pub use linux_headers_asm_unistd::__NR_setrlimit; -pub use linux_headers_asm_unistd::__NR_getrlimit; -pub use linux_headers_asm_unistd::__NR_getrusage; -pub use linux_headers_asm_unistd::__NR_gettimeofday; -pub use linux_headers_asm_unistd::__NR_settimeofday; -pub use linux_headers_asm_unistd::__NR_getgroups; -pub use linux_headers_asm_unistd::__NR_setgroups; -pub use linux_headers_asm_unistd::__NR_select; -pub use linux_headers_asm_unistd::__NR_symlink; -pub use linux_headers_asm_unistd::__NR_oldlstat; -pub use linux_headers_asm_unistd::__NR_readlink; -pub use linux_headers_asm_unistd::__NR_uselib; -pub use linux_headers_asm_unistd::__NR_swapon; -pub use linux_headers_asm_unistd::__NR_reboot; -pub use linux_headers_asm_unistd::__NR_readdir; -pub use linux_headers_asm_unistd::__NR_mmap; -pub use linux_headers_asm_unistd::__NR_munmap; -pub use linux_headers_asm_unistd::__NR_truncate; -pub use linux_headers_asm_unistd::__NR_ftruncate; -pub use linux_headers_asm_unistd::__NR_fchmod; -pub use linux_headers_asm_unistd::__NR_fchown; -pub use linux_headers_asm_unistd::__NR_getpriority; -pub use linux_headers_asm_unistd::__NR_setpriority; -pub use linux_headers_asm_unistd::__NR_profil; -pub use linux_headers_asm_unistd::__NR_statfs; -pub use linux_headers_asm_unistd::__NR_fstatfs; -pub use linux_headers_asm_unistd::__NR_ioperm; -pub use linux_headers_asm_unistd::__NR_socketcall; -pub use linux_headers_asm_unistd::__NR_syslog; -pub use linux_headers_asm_unistd::__NR_setitimer; -pub use linux_headers_asm_unistd::__NR_getitimer; -pub use linux_headers_asm_unistd::__NR_stat; -pub use linux_headers_asm_unistd::__NR_lstat; -pub use linux_headers_asm_unistd::__NR_fstat; -pub use linux_headers_asm_unistd::__NR_olduname; -pub use linux_headers_asm_unistd::__NR_iopl; -pub use linux_headers_asm_unistd::__NR_vhangup; -pub use linux_headers_asm_unistd::__NR_idle; -pub use linux_headers_asm_unistd::__NR_vm86; -pub use linux_headers_asm_unistd::__NR_wait4; -pub use linux_headers_asm_unistd::__NR_swapoff; -pub use linux_headers_asm_unistd::__NR_sysinfo; -pub use linux_headers_asm_unistd::__NR_ipc; -pub use linux_headers_asm_unistd::__NR_fsync; -pub use linux_headers_asm_unistd::__NR_sigreturn; -pub use linux_headers_asm_unistd::__NR_clone; -pub use linux_headers_asm_unistd::__NR_setdomainname; -pub use linux_headers_asm_unistd::__NR_uname; -pub use linux_headers_asm_unistd::__NR_modify_ldt; -pub use linux_headers_asm_unistd::__NR_adjtimex; -pub use linux_headers_asm_unistd::__NR_mprotect; -pub use linux_headers_asm_unistd::__NR_sigprocmask; -pub use linux_headers_asm_unistd::__NR_create_module; -pub use linux_headers_asm_unistd::__NR_init_module; -pub use linux_headers_asm_unistd::__NR_delete_module; -pub use linux_headers_asm_unistd::__NR_get_kernel_syms; -pub use linux_headers_asm_unistd::__NR_quotactl; -pub use linux_headers_asm_unistd::__NR_getpgid; -pub use linux_headers_asm_unistd::__NR_fchdir; -pub use linux_headers_asm_unistd::__NR_bdflush; -pub use linux_headers_asm_unistd::__NR_sysfs; -pub use linux_headers_asm_unistd::__NR_personality; -pub use linux_headers_asm_unistd::__NR_afs_syscall; -pub use linux_headers_asm_unistd::__NR_setfsuid; -pub use linux_headers_asm_unistd::__NR_setfsgid; -pub use linux_headers_asm_unistd::__NR__llseek; -pub use linux_headers_asm_unistd::__NR_getdents; -pub use linux_headers_asm_unistd::__NR__newselect; -pub use linux_headers_asm_unistd::__NR_flock; -pub use linux_headers_asm_unistd::__NR_msync; -pub use linux_headers_asm_unistd::__NR_readv; -pub use linux_headers_asm_unistd::__NR_writev; -pub use linux_headers_asm_unistd::__NR_getsid; -pub use linux_headers_asm_unistd::__NR_fdatasync; -pub use linux_headers_asm_unistd::__NR__sysctl; -pub use linux_headers_asm_unistd::__NR_mlock; -pub use linux_headers_asm_unistd::__NR_munlock; -pub use linux_headers_asm_unistd::__NR_mlockall; -pub use linux_headers_asm_unistd::__NR_munlockall; -pub use linux_headers_asm_unistd::__NR_sched_setparam; -pub use linux_headers_asm_unistd::__NR_sched_getparam; -pub use linux_headers_asm_unistd::__NR_sched_setscheduler; -pub use linux_headers_asm_unistd::__NR_sched_getscheduler; -pub use linux_headers_asm_unistd::__NR_sched_yield; -pub use linux_headers_asm_unistd::__NR_sched_get_priority_max; -pub use linux_headers_asm_unistd::__NR_sched_get_priority_min; -pub use linux_headers_asm_unistd::__NR_sched_rr_get_interval; -pub use linux_headers_asm_unistd::__NR_nanosleep; -pub use linux_headers_asm_unistd::__NR_mremap; -pub use linux_headers_asm_unistd::__NR_setresuid; -pub use linux_headers_asm_unistd::__NR_getresuid; -pub use linux_headers_asm_unistd::__NR_query_module; -pub use linux_headers_asm_unistd::__NR_poll; -pub use linux_headers_asm_unistd::__NR_nfsservctl; -pub use linux_headers_asm_unistd::__NR_setresgid; -pub use linux_headers_asm_unistd::__NR_getresgid; -pub use linux_headers_asm_unistd::__NR_prctl; -pub use linux_headers_asm_unistd::__NR_rt_sigreturn; -pub use linux_headers_asm_unistd::__NR_rt_sigaction; -pub use linux_headers_asm_unistd::__NR_rt_sigprocmask; -pub use linux_headers_asm_unistd::__NR_rt_sigpending; -pub use linux_headers_asm_unistd::__NR_rt_sigtimedwait; -pub use linux_headers_asm_unistd::__NR_rt_sigqueueinfo; -pub use linux_headers_asm_unistd::__NR_rt_sigsuspend; -pub use linux_headers_asm_unistd::__NR_pread64; -pub use linux_headers_asm_unistd::__NR_pwrite64; -pub use linux_headers_asm_unistd::__NR_chown; -pub use linux_headers_asm_unistd::__NR_getcwd; -pub use linux_headers_asm_unistd::__NR_capget; -pub use linux_headers_asm_unistd::__NR_capset; -pub use linux_headers_asm_unistd::__NR_sigaltstack; -pub use linux_headers_asm_unistd::__NR_sendfile; -pub use linux_headers_asm_unistd::__NR_getpmsg; -pub use linux_headers_asm_unistd::__NR_putpmsg; -pub use linux_headers_asm_unistd::__NR_vfork; -pub use linux_headers_asm_unistd::__NR_ugetrlimit; -pub use linux_headers_asm_unistd::__NR_readahead; -pub use linux_headers_asm_unistd::__NR_pciconfig_read; -pub use linux_headers_asm_unistd::__NR_pciconfig_write; -pub use linux_headers_asm_unistd::__NR_pciconfig_iobase; -pub use linux_headers_asm_unistd::__NR_multiplexer; -pub use linux_headers_asm_unistd::__NR_getdents64; -pub use linux_headers_asm_unistd::__NR_pivot_root; -pub use linux_headers_asm_unistd::__NR_madvise; -pub use linux_headers_asm_unistd::__NR_mincore; -pub use linux_headers_asm_unistd::__NR_gettid; -pub use linux_headers_asm_unistd::__NR_tkill; -pub use linux_headers_asm_unistd::__NR_setxattr; -pub use linux_headers_asm_unistd::__NR_lsetxattr; -pub use linux_headers_asm_unistd::__NR_fsetxattr; -pub use linux_headers_asm_unistd::__NR_getxattr; -pub use linux_headers_asm_unistd::__NR_lgetxattr; -pub use linux_headers_asm_unistd::__NR_fgetxattr; -pub use linux_headers_asm_unistd::__NR_listxattr; -pub use linux_headers_asm_unistd::__NR_llistxattr; -pub use linux_headers_asm_unistd::__NR_flistxattr; -pub use linux_headers_asm_unistd::__NR_removexattr; -pub use linux_headers_asm_unistd::__NR_lremovexattr; -pub use linux_headers_asm_unistd::__NR_fremovexattr; -pub use linux_headers_asm_unistd::__NR_futex; -pub use linux_headers_asm_unistd::__NR_sched_setaffinity; -pub use linux_headers_asm_unistd::__NR_sched_getaffinity; -pub use linux_headers_asm_unistd::__NR_tuxcall; -pub use linux_headers_asm_unistd::__NR_io_setup; -pub use linux_headers_asm_unistd::__NR_io_destroy; -pub use linux_headers_asm_unistd::__NR_io_getevents; -pub use linux_headers_asm_unistd::__NR_io_submit; -pub use linux_headers_asm_unistd::__NR_io_cancel; -pub use linux_headers_asm_unistd::__NR_set_tid_address; -pub use linux_headers_asm_unistd::__NR_fadvise64; -pub use linux_headers_asm_unistd::__NR_exit_group; -pub use linux_headers_asm_unistd::__NR_lookup_dcookie; -pub use linux_headers_asm_unistd::__NR_epoll_create; -pub use linux_headers_asm_unistd::__NR_epoll_ctl; -pub use linux_headers_asm_unistd::__NR_epoll_wait; -pub use linux_headers_asm_unistd::__NR_remap_file_pages; -pub use linux_headers_asm_unistd::__NR_timer_create; -pub use linux_headers_asm_unistd::__NR_timer_settime; -pub use linux_headers_asm_unistd::__NR_timer_gettime; -pub use linux_headers_asm_unistd::__NR_timer_getoverrun; -pub use linux_headers_asm_unistd::__NR_timer_delete; -pub use linux_headers_asm_unistd::__NR_clock_settime; -pub use linux_headers_asm_unistd::__NR_clock_gettime; -pub use linux_headers_asm_unistd::__NR_clock_getres; -pub use linux_headers_asm_unistd::__NR_clock_nanosleep; -pub use linux_headers_asm_unistd::__NR_swapcontext; -pub use linux_headers_asm_unistd::__NR_tgkill; -pub use linux_headers_asm_unistd::__NR_utimes; -pub use linux_headers_asm_unistd::__NR_statfs64; -pub use linux_headers_asm_unistd::__NR_fstatfs64; -pub use linux_headers_asm_unistd::__NR_rtas; -pub use linux_headers_asm_unistd::__NR_sys_debug_setcontext; -pub use linux_headers_asm_unistd::__NR_migrate_pages; -pub use linux_headers_asm_unistd::__NR_mbind; -pub use linux_headers_asm_unistd::__NR_get_mempolicy; -pub use linux_headers_asm_unistd::__NR_set_mempolicy; -pub use linux_headers_asm_unistd::__NR_mq_open; -pub use linux_headers_asm_unistd::__NR_mq_unlink; -pub use linux_headers_asm_unistd::__NR_mq_timedsend; -pub use linux_headers_asm_unistd::__NR_mq_timedreceive; -pub use linux_headers_asm_unistd::__NR_mq_notify; -pub use linux_headers_asm_unistd::__NR_mq_getsetattr; -pub use linux_headers_asm_unistd::__NR_kexec_load; -pub use linux_headers_asm_unistd::__NR_add_key; -pub use linux_headers_asm_unistd::__NR_request_key; -pub use linux_headers_asm_unistd::__NR_keyctl; -pub use linux_headers_asm_unistd::__NR_waitid; -pub use linux_headers_asm_unistd::__NR_ioprio_set; -pub use linux_headers_asm_unistd::__NR_ioprio_get; -pub use linux_headers_asm_unistd::__NR_inotify_init; -pub use linux_headers_asm_unistd::__NR_inotify_add_watch; -pub use linux_headers_asm_unistd::__NR_inotify_rm_watch; -pub use linux_headers_asm_unistd::__NR_spu_run; -pub use linux_headers_asm_unistd::__NR_spu_create; -pub use linux_headers_asm_unistd::__NR_pselect6; -pub use linux_headers_asm_unistd::__NR_ppoll; -pub use linux_headers_asm_unistd::__NR_unshare; -pub use linux_headers_asm_unistd::__NR_splice; -pub use linux_headers_asm_unistd::__NR_tee; -pub use linux_headers_asm_unistd::__NR_vmsplice; -pub use linux_headers_asm_unistd::__NR_openat; -pub use linux_headers_asm_unistd::__NR_mkdirat; -pub use linux_headers_asm_unistd::__NR_mknodat; -pub use linux_headers_asm_unistd::__NR_fchownat; -pub use linux_headers_asm_unistd::__NR_futimesat; -pub use linux_headers_asm_unistd::__NR_newfstatat; -pub use linux_headers_asm_unistd::__NR_unlinkat; -pub use linux_headers_asm_unistd::__NR_renameat; -pub use linux_headers_asm_unistd::__NR_linkat; -pub use linux_headers_asm_unistd::__NR_symlinkat; -pub use linux_headers_asm_unistd::__NR_readlinkat; -pub use linux_headers_asm_unistd::__NR_fchmodat; -pub use linux_headers_asm_unistd::__NR_faccessat; -pub use linux_headers_asm_unistd::__NR_get_robust_list; -pub use linux_headers_asm_unistd::__NR_set_robust_list; -pub use linux_headers_asm_unistd::__NR_move_pages; -pub use linux_headers_asm_unistd::__NR_getcpu; -pub use linux_headers_asm_unistd::__NR_epoll_pwait; -pub use linux_headers_asm_unistd::__NR_utimensat; -pub use linux_headers_asm_unistd::__NR_signalfd; -pub use linux_headers_asm_unistd::__NR_timerfd_create; -pub use linux_headers_asm_unistd::__NR_eventfd; -pub use linux_headers_asm_unistd::__NR_sync_file_range2; -pub use linux_headers_asm_unistd::__NR_fallocate; -pub use linux_headers_asm_unistd::__NR_subpage_prot; -pub use linux_headers_asm_unistd::__NR_timerfd_settime; -pub use linux_headers_asm_unistd::__NR_timerfd_gettime; -pub use linux_headers_asm_unistd::__NR_signalfd4; -pub use linux_headers_asm_unistd::__NR_eventfd2; -pub use linux_headers_asm_unistd::__NR_epoll_create1; -pub use linux_headers_asm_unistd::__NR_dup3; -pub use linux_headers_asm_unistd::__NR_pipe2; -pub use linux_headers_asm_unistd::__NR_inotify_init1; -pub use linux_headers_asm_unistd::__NR_perf_event_open; -pub use linux_headers_asm_unistd::__NR_preadv; -pub use linux_headers_asm_unistd::__NR_pwritev; -pub use linux_headers_asm_unistd::__NR_rt_tgsigqueueinfo; -pub use linux_headers_asm_unistd::__NR_fanotify_init; -pub use linux_headers_asm_unistd::__NR_fanotify_mark; -pub use linux_headers_asm_unistd::__NR_prlimit64; -pub use linux_headers_asm_unistd::__NR_socket; -pub use linux_headers_asm_unistd::__NR_bind; -pub use linux_headers_asm_unistd::__NR_connect; -pub use linux_headers_asm_unistd::__NR_listen; -pub use linux_headers_asm_unistd::__NR_accept; -pub use linux_headers_asm_unistd::__NR_getsockname; -pub use linux_headers_asm_unistd::__NR_getpeername; -pub use linux_headers_asm_unistd::__NR_socketpair; -pub use linux_headers_asm_unistd::__NR_send; -pub use linux_headers_asm_unistd::__NR_sendto; -pub use linux_headers_asm_unistd::__NR_recv; -pub use linux_headers_asm_unistd::__NR_recvfrom; -pub use linux_headers_asm_unistd::__NR_shutdown; -pub use linux_headers_asm_unistd::__NR_setsockopt; -pub use linux_headers_asm_unistd::__NR_getsockopt; -pub use linux_headers_asm_unistd::__NR_sendmsg; -pub use linux_headers_asm_unistd::__NR_recvmsg; -pub use linux_headers_asm_unistd::__NR_recvmmsg; -pub use linux_headers_asm_unistd::__NR_accept4; -pub use linux_headers_asm_unistd::__NR_name_to_handle_at; -pub use linux_headers_asm_unistd::__NR_open_by_handle_at; -pub use linux_headers_asm_unistd::__NR_clock_adjtime; -pub use linux_headers_asm_unistd::__NR_syncfs; -pub use linux_headers_asm_unistd::__NR_sendmmsg; -pub use linux_headers_asm_unistd::__NR_setns; -pub use linux_headers_asm_unistd::__NR_process_vm_readv; -pub use linux_headers_asm_unistd::__NR_process_vm_writev; -pub use linux_headers_asm_unistd::__NR_finit_module; -pub use linux_headers_asm_unistd::__NR_kcmp; -pub use linux_headers_asm_unistd::__NR_sched_setattr; -pub use linux_headers_asm_unistd::__NR_sched_getattr; -pub use linux_headers_asm_unistd::__NR_renameat2; -pub use linux_headers_asm_unistd::__NR_seccomp; -pub use linux_headers_asm_unistd::__NR_getrandom; -pub use linux_headers_asm_unistd::__NR_memfd_create; -pub use linux_headers_asm_unistd::__NR_bpf; -pub use linux_headers_asm_unistd::__NR_execveat; -pub use linux_headers_asm_unistd::__NR_switch_endian; -pub use linux_headers_asm_unistd::__NR_userfaultfd; -pub use linux_headers_asm_unistd::__NR_membarrier; -pub use linux_headers_asm_unistd::__NR_mlock2; -pub use linux_headers_asm_unistd::__NR_copy_file_range; -pub use linux_headers_asm_unistd::__NR_preadv2; -pub use linux_headers_asm_unistd::__NR_pwritev2; -pub use linux_headers_asm_unistd::__NR_kexec_file_load; -pub use linux_headers_asm_unistd::__NR_statx; -pub use linux_headers_asm_unistd::__NR_pkey_alloc; -pub use linux_headers_asm_unistd::__NR_pkey_free; -pub use linux_headers_asm_unistd::__NR_pkey_mprotect; -pub use linux_headers_asm_unistd::__NR_rseq; -pub use linux_headers_asm_unistd::__NR_io_pgetevents; -pub use linux_headers_asm_unistd::__NR_semtimedop; -pub use linux_headers_asm_unistd::__NR_semget; -pub use linux_headers_asm_unistd::__NR_semctl; -pub use linux_headers_asm_unistd::__NR_shmget; -pub use linux_headers_asm_unistd::__NR_shmctl; -pub use linux_headers_asm_unistd::__NR_shmat; -pub use linux_headers_asm_unistd::__NR_shmdt; -pub use linux_headers_asm_unistd::__NR_msgget; -pub use linux_headers_asm_unistd::__NR_msgsnd; -pub use linux_headers_asm_unistd::__NR_msgrcv; -pub use linux_headers_asm_unistd::__NR_msgctl; -pub use linux_headers_asm_unistd::__NR_pidfd_send_signal; -pub use linux_headers_asm_unistd::__NR_io_uring_setup; -pub use linux_headers_asm_unistd::__NR_io_uring_enter; -pub use linux_headers_asm_unistd::__NR_io_uring_register; -pub use linux_headers_asm_unistd::__NR_open_tree; -pub use linux_headers_asm_unistd::__NR_move_mount; -pub use linux_headers_asm_unistd::__NR_fsopen; -pub use linux_headers_asm_unistd::__NR_fsconfig; -pub use linux_headers_asm_unistd::__NR_fsmount; -pub use linux_headers_asm_unistd::__NR_fspick; -pub use linux_headers_asm_unistd::__NR_pidfd_open; -pub use linux_headers_asm_unistd::__NR_clone3; -pub use linux_headers_asm_unistd::__NR_close_range; -pub use linux_headers_asm_unistd::__NR_openat2; -pub use linux_headers_asm_unistd::__NR_pidfd_getfd; -pub use linux_headers_asm_unistd::__NR_faccessat2; -pub use linux_headers_asm_unistd::__NR_process_madvise; -pub use linux_headers_asm_unistd::__NR_epoll_pwait2; -pub use linux_headers_asm_unistd::__NR_mount_setattr; -pub use linux_headers_asm_unistd::__NR_quotactl_fd; -pub use linux_headers_asm_unistd::__NR_landlock_create_ruleset; -pub use linux_headers_asm_unistd::__NR_landlock_add_rule; -pub use linux_headers_asm_unistd::__NR_landlock_restrict_self; -pub use linux_headers_asm_unistd::__NR_process_mrelease; -pub use linux_headers_asm_unistd::__NR_futex_waitv; -pub use linux_headers_asm_unistd::__NR_set_mempolicy_home_node; -pub use linux_headers_asm_unistd::__NR_cachestat; -pub use linux_headers_asm_unistd::__NR_fchmodat2; -pub use linux_headers_asm_unistd::__NR_map_shadow_stack; -pub use linux_headers_asm_unistd::__NR_futex_wake; -pub use linux_headers_asm_unistd::__NR_futex_wait; -pub use linux_headers_asm_unistd::__NR_futex_requeue; -pub use linux_headers_asm_unistd::__NR_statmount; -pub use linux_headers_asm_unistd::__NR_listmount; -pub use linux_headers_asm_unistd::__NR_lsm_get_self_attr; -pub use linux_headers_asm_unistd::__NR_lsm_set_self_attr; -pub use linux_headers_asm_unistd::__NR_lsm_list_modules; -pub use linux_headers_asm_unistd::__NR_mseal; -mod linux_headers_linux_auxvec; -pub use linux_headers_linux_auxvec::AT_DCACHEBSIZE; -pub use linux_headers_linux_auxvec::AT_ICACHEBSIZE; -pub use linux_headers_linux_auxvec::AT_UCACHEBSIZE; -pub use linux_headers_linux_auxvec::AT_IGNOREPPC; -pub use linux_headers_linux_auxvec::AT_SYSINFO_EHDR; -pub use linux_headers_linux_auxvec::AT_L1I_CACHESIZE; -pub use linux_headers_linux_auxvec::AT_L1I_CACHEGEOMETRY; -pub use linux_headers_linux_auxvec::AT_L1D_CACHESIZE; -pub use linux_headers_linux_auxvec::AT_L1D_CACHEGEOMETRY; -pub use linux_headers_linux_auxvec::AT_L2_CACHESIZE; -pub use linux_headers_linux_auxvec::AT_L2_CACHEGEOMETRY; -pub use linux_headers_linux_auxvec::AT_L3_CACHESIZE; -pub use linux_headers_linux_auxvec::AT_L3_CACHEGEOMETRY; -pub use linux_headers_linux_auxvec::AT_MINSIGSTKSZ; -pub use linux_headers_linux_auxvec::AT_VECTOR_SIZE_ARCH; -pub use linux_headers_linux_auxvec::AT_NULL; -pub use linux_headers_linux_auxvec::AT_IGNORE; -pub use linux_headers_linux_auxvec::AT_EXECFD; -pub use linux_headers_linux_auxvec::AT_PHDR; -pub use linux_headers_linux_auxvec::AT_PHENT; -pub use linux_headers_linux_auxvec::AT_PHNUM; -pub use linux_headers_linux_auxvec::AT_PAGESZ; -pub use linux_headers_linux_auxvec::AT_BASE; -pub use linux_headers_linux_auxvec::AT_FLAGS; -pub use linux_headers_linux_auxvec::AT_ENTRY; -pub use linux_headers_linux_auxvec::AT_NOTELF; -pub use linux_headers_linux_auxvec::AT_UID; -pub use linux_headers_linux_auxvec::AT_EUID; -pub use linux_headers_linux_auxvec::AT_GID; -pub use linux_headers_linux_auxvec::AT_EGID; -pub use linux_headers_linux_auxvec::AT_PLATFORM; -pub use linux_headers_linux_auxvec::AT_HWCAP; -pub use linux_headers_linux_auxvec::AT_CLKTCK; -pub use linux_headers_linux_auxvec::AT_SECURE; -pub use linux_headers_linux_auxvec::AT_BASE_PLATFORM; -pub use linux_headers_linux_auxvec::AT_RANDOM; -pub use linux_headers_linux_auxvec::AT_HWCAP2; -pub use linux_headers_linux_auxvec::AT_RSEQ_FEATURE_SIZE; -pub use linux_headers_linux_auxvec::AT_RSEQ_ALIGN; -pub use linux_headers_linux_auxvec::AT_HWCAP3; -pub use linux_headers_linux_auxvec::AT_HWCAP4; -pub use linux_headers_linux_auxvec::AT_EXECFN; -mod linux_headers_linux_prctl; -pub use linux_headers_linux_prctl::PR_SET_PDEATHSIG; -pub use linux_headers_linux_prctl::PR_GET_PDEATHSIG; -pub use linux_headers_linux_prctl::PR_GET_DUMPABLE; -pub use linux_headers_linux_prctl::PR_SET_DUMPABLE; -pub use linux_headers_linux_prctl::PR_GET_UNALIGN; -pub use linux_headers_linux_prctl::PR_SET_UNALIGN; -pub use linux_headers_linux_prctl::PR_UNALIGN_NOPRINT; -pub use linux_headers_linux_prctl::PR_UNALIGN_SIGBUS; -pub use linux_headers_linux_prctl::PR_GET_KEEPCAPS; -pub use linux_headers_linux_prctl::PR_SET_KEEPCAPS; -pub use linux_headers_linux_prctl::PR_GET_FPEMU; -pub use linux_headers_linux_prctl::PR_SET_FPEMU; -pub use linux_headers_linux_prctl::PR_FPEMU_NOPRINT; -pub use linux_headers_linux_prctl::PR_FPEMU_SIGFPE; -pub use linux_headers_linux_prctl::PR_GET_FPEXC; -pub use linux_headers_linux_prctl::PR_SET_FPEXC; -pub use linux_headers_linux_prctl::PR_FP_EXC_SW_ENABLE; -pub use linux_headers_linux_prctl::PR_FP_EXC_DIV; -pub use linux_headers_linux_prctl::PR_FP_EXC_OVF; -pub use linux_headers_linux_prctl::PR_FP_EXC_UND; -pub use linux_headers_linux_prctl::PR_FP_EXC_RES; -pub use linux_headers_linux_prctl::PR_FP_EXC_INV; -pub use linux_headers_linux_prctl::PR_FP_EXC_DISABLED; -pub use linux_headers_linux_prctl::PR_FP_EXC_NONRECOV; -pub use linux_headers_linux_prctl::PR_FP_EXC_ASYNC; -pub use linux_headers_linux_prctl::PR_FP_EXC_PRECISE; -pub use linux_headers_linux_prctl::PR_GET_TIMING; -pub use linux_headers_linux_prctl::PR_SET_TIMING; -pub use linux_headers_linux_prctl::PR_TIMING_STATISTICAL; -pub use linux_headers_linux_prctl::PR_TIMING_TIMESTAMP; -pub use linux_headers_linux_prctl::PR_SET_NAME; -pub use linux_headers_linux_prctl::PR_GET_NAME; -pub use linux_headers_linux_prctl::PR_GET_ENDIAN; -pub use linux_headers_linux_prctl::PR_SET_ENDIAN; -pub use linux_headers_linux_prctl::PR_ENDIAN_BIG; -pub use linux_headers_linux_prctl::PR_ENDIAN_LITTLE; -pub use linux_headers_linux_prctl::PR_ENDIAN_PPC_LITTLE; -pub use linux_headers_linux_prctl::PR_GET_SECCOMP; -pub use linux_headers_linux_prctl::PR_SET_SECCOMP; -pub use linux_headers_linux_prctl::PR_CAPBSET_READ; -pub use linux_headers_linux_prctl::PR_CAPBSET_DROP; -pub use linux_headers_linux_prctl::PR_GET_TSC; -pub use linux_headers_linux_prctl::PR_SET_TSC; -pub use linux_headers_linux_prctl::PR_TSC_ENABLE; -pub use linux_headers_linux_prctl::PR_TSC_SIGSEGV; -pub use linux_headers_linux_prctl::PR_GET_SECUREBITS; -pub use linux_headers_linux_prctl::PR_SET_SECUREBITS; -pub use linux_headers_linux_prctl::PR_SET_TIMERSLACK; -pub use linux_headers_linux_prctl::PR_GET_TIMERSLACK; -pub use linux_headers_linux_prctl::PR_TASK_PERF_EVENTS_DISABLE; -pub use linux_headers_linux_prctl::PR_TASK_PERF_EVENTS_ENABLE; -pub use linux_headers_linux_prctl::PR_MCE_KILL; -pub use linux_headers_linux_prctl::PR_MCE_KILL_CLEAR; -pub use linux_headers_linux_prctl::PR_MCE_KILL_SET; -pub use linux_headers_linux_prctl::PR_MCE_KILL_LATE; -pub use linux_headers_linux_prctl::PR_MCE_KILL_EARLY; -pub use linux_headers_linux_prctl::PR_MCE_KILL_DEFAULT; -pub use linux_headers_linux_prctl::PR_MCE_KILL_GET; -pub use linux_headers_linux_prctl::PR_SET_MM; -pub use linux_headers_linux_prctl::PR_SET_MM_START_CODE; -pub use linux_headers_linux_prctl::PR_SET_MM_END_CODE; -pub use linux_headers_linux_prctl::PR_SET_MM_START_DATA; -pub use linux_headers_linux_prctl::PR_SET_MM_END_DATA; -pub use linux_headers_linux_prctl::PR_SET_MM_START_STACK; -pub use linux_headers_linux_prctl::PR_SET_MM_START_BRK; -pub use linux_headers_linux_prctl::PR_SET_MM_BRK; -pub use linux_headers_linux_prctl::PR_SET_MM_ARG_START; -pub use linux_headers_linux_prctl::PR_SET_MM_ARG_END; -pub use linux_headers_linux_prctl::PR_SET_MM_ENV_START; -pub use linux_headers_linux_prctl::PR_SET_MM_ENV_END; -pub use linux_headers_linux_prctl::PR_SET_MM_AUXV; -pub use linux_headers_linux_prctl::PR_SET_MM_EXE_FILE; -pub use linux_headers_linux_prctl::PR_SET_MM_MAP; -pub use linux_headers_linux_prctl::PR_SET_MM_MAP_SIZE; -pub use linux_headers_linux_prctl::PR_SET_PTRACER; -pub use linux_headers_linux_prctl::PR_SET_PTRACER_ANY; -pub use linux_headers_linux_prctl::PR_SET_CHILD_SUBREAPER; -pub use linux_headers_linux_prctl::PR_GET_CHILD_SUBREAPER; -pub use linux_headers_linux_prctl::PR_SET_NO_NEW_PRIVS; -pub use linux_headers_linux_prctl::PR_GET_NO_NEW_PRIVS; -pub use linux_headers_linux_prctl::PR_GET_TID_ADDRESS; -pub use linux_headers_linux_prctl::PR_SET_THP_DISABLE; -pub use linux_headers_linux_prctl::PR_GET_THP_DISABLE; -pub use linux_headers_linux_prctl::PR_MPX_ENABLE_MANAGEMENT; -pub use linux_headers_linux_prctl::PR_MPX_DISABLE_MANAGEMENT; -pub use linux_headers_linux_prctl::PR_SET_FP_MODE; -pub use linux_headers_linux_prctl::PR_GET_FP_MODE; -pub use linux_headers_linux_prctl::PR_FP_MODE_FR; -pub use linux_headers_linux_prctl::PR_FP_MODE_FRE; -pub use linux_headers_linux_prctl::PR_CAP_AMBIENT; -pub use linux_headers_linux_prctl::PR_CAP_AMBIENT_IS_SET; -pub use linux_headers_linux_prctl::PR_CAP_AMBIENT_RAISE; -pub use linux_headers_linux_prctl::PR_CAP_AMBIENT_LOWER; -pub use linux_headers_linux_prctl::PR_CAP_AMBIENT_CLEAR_ALL; -pub use linux_headers_linux_prctl::PR_SVE_SET_VL; -pub use linux_headers_linux_prctl::PR_SVE_SET_VL_ONEXEC; -pub use linux_headers_linux_prctl::PR_SVE_GET_VL; -pub use linux_headers_linux_prctl::PR_SVE_VL_LEN_MASK; -pub use linux_headers_linux_prctl::PR_SVE_VL_INHERIT; -pub use linux_headers_linux_prctl::PR_GET_SPECULATION_CTRL; -pub use linux_headers_linux_prctl::PR_SET_SPECULATION_CTRL; -pub use linux_headers_linux_prctl::PR_SPEC_STORE_BYPASS; -pub use linux_headers_linux_prctl::PR_SPEC_INDIRECT_BRANCH; -pub use linux_headers_linux_prctl::PR_SPEC_L1D_FLUSH; -pub use linux_headers_linux_prctl::PR_SPEC_NOT_AFFECTED; -pub use linux_headers_linux_prctl::PR_SPEC_PRCTL; -pub use linux_headers_linux_prctl::PR_SPEC_ENABLE; -pub use linux_headers_linux_prctl::PR_SPEC_DISABLE; -pub use linux_headers_linux_prctl::PR_SPEC_FORCE_DISABLE; -pub use linux_headers_linux_prctl::PR_SPEC_DISABLE_NOEXEC; -pub use linux_headers_linux_prctl::PR_PAC_RESET_KEYS; -pub use linux_headers_linux_prctl::PR_PAC_APIAKEY; -pub use linux_headers_linux_prctl::PR_PAC_APIBKEY; -pub use linux_headers_linux_prctl::PR_PAC_APDAKEY; -pub use linux_headers_linux_prctl::PR_PAC_APDBKEY; -pub use linux_headers_linux_prctl::PR_PAC_APGAKEY; -pub use linux_headers_linux_prctl::PR_SET_TAGGED_ADDR_CTRL; -pub use linux_headers_linux_prctl::PR_GET_TAGGED_ADDR_CTRL; -pub use linux_headers_linux_prctl::PR_TAGGED_ADDR_ENABLE; -pub use linux_headers_linux_prctl::PR_MTE_TCF_NONE; -pub use linux_headers_linux_prctl::PR_MTE_TCF_SYNC; -pub use linux_headers_linux_prctl::PR_MTE_TCF_ASYNC; -pub use linux_headers_linux_prctl::PR_MTE_TCF_MASK; -pub use linux_headers_linux_prctl::PR_MTE_TAG_SHIFT; -pub use linux_headers_linux_prctl::PR_MTE_TAG_MASK; -pub use linux_headers_linux_prctl::PR_MTE_TCF_SHIFT; -pub use linux_headers_linux_prctl::PR_SET_IO_FLUSHER; -pub use linux_headers_linux_prctl::PR_GET_IO_FLUSHER; -pub use linux_headers_linux_prctl::PR_SET_SYSCALL_USER_DISPATCH; -pub use linux_headers_linux_prctl::PR_SYS_DISPATCH_OFF; -pub use linux_headers_linux_prctl::PR_SYS_DISPATCH_ON; -pub use linux_headers_linux_prctl::PR_PAC_SET_ENABLED_KEYS; -pub use linux_headers_linux_prctl::PR_PAC_GET_ENABLED_KEYS; -pub use linux_headers_linux_prctl::PR_SCHED_CORE; -pub use linux_headers_linux_prctl::PR_SCHED_CORE_GET; -pub use linux_headers_linux_prctl::PR_SCHED_CORE_CREATE; -pub use linux_headers_linux_prctl::PR_SCHED_CORE_SHARE_TO; -pub use linux_headers_linux_prctl::PR_SCHED_CORE_SHARE_FROM; -pub use linux_headers_linux_prctl::PR_SCHED_CORE_MAX; -pub use linux_headers_linux_prctl::PR_SCHED_CORE_SCOPE_THREAD; -pub use linux_headers_linux_prctl::PR_SCHED_CORE_SCOPE_THREAD_GROUP; -pub use linux_headers_linux_prctl::PR_SCHED_CORE_SCOPE_PROCESS_GROUP; -pub use linux_headers_linux_prctl::PR_SME_SET_VL; -pub use linux_headers_linux_prctl::PR_SME_SET_VL_ONEXEC; -pub use linux_headers_linux_prctl::PR_SME_GET_VL; -pub use linux_headers_linux_prctl::PR_SME_VL_LEN_MASK; -pub use linux_headers_linux_prctl::PR_SME_VL_INHERIT; -pub use linux_headers_linux_prctl::PR_SET_MDWE; -pub use linux_headers_linux_prctl::PR_MDWE_REFUSE_EXEC_GAIN; -pub use linux_headers_linux_prctl::PR_MDWE_NO_INHERIT; -pub use linux_headers_linux_prctl::PR_GET_MDWE; -pub use linux_headers_linux_prctl::PR_SET_VMA; -pub use linux_headers_linux_prctl::PR_SET_VMA_ANON_NAME; -pub use linux_headers_linux_prctl::PR_GET_AUXV; -pub use linux_headers_linux_prctl::PR_SET_MEMORY_MERGE; -pub use linux_headers_linux_prctl::PR_GET_MEMORY_MERGE; -pub use linux_headers_linux_prctl::PR_RISCV_V_SET_CONTROL; -pub use linux_headers_linux_prctl::PR_RISCV_V_GET_CONTROL; -pub use linux_headers_linux_prctl::PR_RISCV_V_VSTATE_CTRL_DEFAULT; -pub use linux_headers_linux_prctl::PR_RISCV_V_VSTATE_CTRL_OFF; -pub use linux_headers_linux_prctl::PR_RISCV_V_VSTATE_CTRL_ON; -pub use linux_headers_linux_prctl::PR_RISCV_V_VSTATE_CTRL_INHERIT; -pub use linux_headers_linux_prctl::PR_RISCV_V_VSTATE_CTRL_CUR_MASK; -pub use linux_headers_linux_prctl::PR_RISCV_V_VSTATE_CTRL_NEXT_MASK; -pub use linux_headers_linux_prctl::PR_RISCV_V_VSTATE_CTRL_MASK; -pub use linux_headers_linux_prctl::PR_RISCV_SET_ICACHE_FLUSH_CTX; -pub use linux_headers_linux_prctl::PR_RISCV_CTX_SW_FENCEI_ON; -pub use linux_headers_linux_prctl::PR_RISCV_CTX_SW_FENCEI_OFF; -pub use linux_headers_linux_prctl::PR_RISCV_SCOPE_PER_PROCESS; -pub use linux_headers_linux_prctl::PR_RISCV_SCOPE_PER_THREAD; -pub use linux_headers_linux_prctl::PR_PPC_GET_DEXCR; -pub use linux_headers_linux_prctl::PR_PPC_SET_DEXCR; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_SBHE; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_IBRTPD; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_SRAPD; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_NPHIE; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_CTRL_EDITABLE; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_CTRL_SET; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_CTRL_CLEAR; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_CTRL_SET_ONEXEC; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_CTRL_CLEAR_ONEXEC; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_CTRL_MASK; -mod dlfcn; -pub use dlfcn::RTLD_DEFAULT; -pub use dlfcn::dlsym; -mod elf; -pub use elf::Elf32_auxv_t; -pub use elf::Elf64_auxv_t; -mod sys_auxv; -pub use sys_auxv::getauxval; -mod unistd; -pub use unistd::syscall; -pub type c_char = u8; diff --git a/tests/helper/src/gen/sys/powerpc64le_linux_gnu/sys_auxv.rs b/tests/helper/src/gen/sys/powerpc64le_linux_gnu/sys_auxv.rs deleted file mode 100644 index 1fe1c678..00000000 --- a/tests/helper/src/gen/sys/powerpc64le_linux_gnu/sys_auxv.rs +++ /dev/null @@ -1,10 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -extern "C" { - pub fn getauxval(__type: ::std::os::raw::c_ulong) -> ::std::os::raw::c_ulong; -} diff --git a/tests/helper/src/gen/sys/powerpc64le_linux_gnu/unistd.rs b/tests/helper/src/gen/sys/powerpc64le_linux_gnu/unistd.rs deleted file mode 100644 index eab78d00..00000000 --- a/tests/helper/src/gen/sys/powerpc64le_linux_gnu/unistd.rs +++ /dev/null @@ -1,10 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -extern "C" { - pub fn syscall(__sysno: ::std::os::raw::c_long, ...) -> ::std::os::raw::c_long; -} diff --git a/tests/helper/src/gen/sys/powerpc64le_linux_musl/dlfcn.rs b/tests/helper/src/gen/sys/powerpc64le_linux_musl/dlfcn.rs deleted file mode 100644 index 87cb3e98..00000000 --- a/tests/helper/src/gen/sys/powerpc64le_linux_musl/dlfcn.rs +++ /dev/null @@ -1,14 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -pub const RTLD_DEFAULT: *mut ::std::os::raw::c_void = ::core::ptr::null_mut(); -extern "C" { - pub fn dlsym( - arg1: *mut ::core::ffi::c_void, - arg2: *const ::std::os::raw::c_char, - ) -> *mut ::core::ffi::c_void; -} diff --git a/tests/helper/src/gen/sys/powerpc64le_linux_musl/elf.rs b/tests/helper/src/gen/sys/powerpc64le_linux_musl/elf.rs deleted file mode 100644 index a3c1790d..00000000 --- a/tests/helper/src/gen/sys/powerpc64le_linux_musl/elf.rs +++ /dev/null @@ -1,29 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -#[repr(C)] -#[derive(Copy, Clone)] -pub struct Elf32_auxv_t { - pub a_type: u32, - pub a_un: Elf32_auxv_t__bindgen_ty_1, -} -#[repr(C)] -#[derive(Copy, Clone)] -pub union Elf32_auxv_t__bindgen_ty_1 { - pub a_val: u32, -} -#[repr(C)] -#[derive(Copy, Clone)] -pub struct Elf64_auxv_t { - pub a_type: u64, - pub a_un: Elf64_auxv_t__bindgen_ty_1, -} -#[repr(C)] -#[derive(Copy, Clone)] -pub union Elf64_auxv_t__bindgen_ty_1 { - pub a_val: u64, -} diff --git a/tests/helper/src/gen/sys/powerpc64le_linux_musl/linux_headers_asm_cputable.rs b/tests/helper/src/gen/sys/powerpc64le_linux_musl/linux_headers_asm_cputable.rs deleted file mode 100644 index 905b1aaa..00000000 --- a/tests/helper/src/gen/sys/powerpc64le_linux_musl/linux_headers_asm_cputable.rs +++ /dev/null @@ -1,50 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -pub const PPC_FEATURE_32: u32 = 2147483648; -pub const PPC_FEATURE_64: u32 = 1073741824; -pub const PPC_FEATURE_601_INSTR: u32 = 536870912; -pub const PPC_FEATURE_HAS_ALTIVEC: u32 = 268435456; -pub const PPC_FEATURE_HAS_FPU: u32 = 134217728; -pub const PPC_FEATURE_HAS_MMU: u32 = 67108864; -pub const PPC_FEATURE_HAS_4xxMAC: u32 = 33554432; -pub const PPC_FEATURE_UNIFIED_CACHE: u32 = 16777216; -pub const PPC_FEATURE_HAS_SPE: u32 = 8388608; -pub const PPC_FEATURE_HAS_EFP_SINGLE: u32 = 4194304; -pub const PPC_FEATURE_HAS_EFP_DOUBLE: u32 = 2097152; -pub const PPC_FEATURE_NO_TB: u32 = 1048576; -pub const PPC_FEATURE_POWER4: u32 = 524288; -pub const PPC_FEATURE_POWER5: u32 = 262144; -pub const PPC_FEATURE_POWER5_PLUS: u32 = 131072; -pub const PPC_FEATURE_CELL: u32 = 65536; -pub const PPC_FEATURE_BOOKE: u32 = 32768; -pub const PPC_FEATURE_SMT: u32 = 16384; -pub const PPC_FEATURE_ICACHE_SNOOP: u32 = 8192; -pub const PPC_FEATURE_ARCH_2_05: u32 = 4096; -pub const PPC_FEATURE_PA6T: u32 = 2048; -pub const PPC_FEATURE_HAS_DFP: u32 = 1024; -pub const PPC_FEATURE_POWER6_EXT: u32 = 512; -pub const PPC_FEATURE_ARCH_2_06: u32 = 256; -pub const PPC_FEATURE_HAS_VSX: u32 = 128; -pub const PPC_FEATURE_PSERIES_PERFMON_COMPAT: u32 = 64; -pub const PPC_FEATURE_TRUE_LE: u32 = 2; -pub const PPC_FEATURE_PPC_LE: u32 = 1; -pub const PPC_FEATURE2_ARCH_2_07: u32 = 2147483648; -pub const PPC_FEATURE2_HTM: u32 = 1073741824; -pub const PPC_FEATURE2_DSCR: u32 = 536870912; -pub const PPC_FEATURE2_EBB: u32 = 268435456; -pub const PPC_FEATURE2_ISEL: u32 = 134217728; -pub const PPC_FEATURE2_TAR: u32 = 67108864; -pub const PPC_FEATURE2_VEC_CRYPTO: u32 = 33554432; -pub const PPC_FEATURE2_HTM_NOSC: u32 = 16777216; -pub const PPC_FEATURE2_ARCH_3_00: u32 = 8388608; -pub const PPC_FEATURE2_HAS_IEEE128: u32 = 4194304; -pub const PPC_FEATURE2_DARN: u32 = 2097152; -pub const PPC_FEATURE2_SCV: u32 = 1048576; -pub const PPC_FEATURE2_HTM_NO_SUSPEND: u32 = 524288; -pub const PPC_FEATURE2_ARCH_3_1: u32 = 262144; -pub const PPC_FEATURE2_MMA: u32 = 131072; diff --git a/tests/helper/src/gen/sys/powerpc64le_linux_musl/linux_headers_asm_unistd.rs b/tests/helper/src/gen/sys/powerpc64le_linux_musl/linux_headers_asm_unistd.rs deleted file mode 100644 index 1fcd97eb..00000000 --- a/tests/helper/src/gen/sys/powerpc64le_linux_musl/linux_headers_asm_unistd.rs +++ /dev/null @@ -1,422 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -pub const __NR_restart_syscall: u32 = 0; -pub const __NR_exit: u32 = 1; -pub const __NR_fork: u32 = 2; -pub const __NR_read: u32 = 3; -pub const __NR_write: u32 = 4; -pub const __NR_open: u32 = 5; -pub const __NR_close: u32 = 6; -pub const __NR_waitpid: u32 = 7; -pub const __NR_creat: u32 = 8; -pub const __NR_link: u32 = 9; -pub const __NR_unlink: u32 = 10; -pub const __NR_execve: u32 = 11; -pub const __NR_chdir: u32 = 12; -pub const __NR_time: u32 = 13; -pub const __NR_mknod: u32 = 14; -pub const __NR_chmod: u32 = 15; -pub const __NR_lchown: u32 = 16; -pub const __NR_break: u32 = 17; -pub const __NR_oldstat: u32 = 18; -pub const __NR_lseek: u32 = 19; -pub const __NR_getpid: u32 = 20; -pub const __NR_mount: u32 = 21; -pub const __NR_umount: u32 = 22; -pub const __NR_setuid: u32 = 23; -pub const __NR_getuid: u32 = 24; -pub const __NR_stime: u32 = 25; -pub const __NR_ptrace: u32 = 26; -pub const __NR_alarm: u32 = 27; -pub const __NR_oldfstat: u32 = 28; -pub const __NR_pause: u32 = 29; -pub const __NR_utime: u32 = 30; -pub const __NR_stty: u32 = 31; -pub const __NR_gtty: u32 = 32; -pub const __NR_access: u32 = 33; -pub const __NR_nice: u32 = 34; -pub const __NR_ftime: u32 = 35; -pub const __NR_sync: u32 = 36; -pub const __NR_kill: u32 = 37; -pub const __NR_rename: u32 = 38; -pub const __NR_mkdir: u32 = 39; -pub const __NR_rmdir: u32 = 40; -pub const __NR_dup: u32 = 41; -pub const __NR_pipe: u32 = 42; -pub const __NR_times: u32 = 43; -pub const __NR_prof: u32 = 44; -pub const __NR_brk: u32 = 45; -pub const __NR_setgid: u32 = 46; -pub const __NR_getgid: u32 = 47; -pub const __NR_signal: u32 = 48; -pub const __NR_geteuid: u32 = 49; -pub const __NR_getegid: u32 = 50; -pub const __NR_acct: u32 = 51; -pub const __NR_umount2: u32 = 52; -pub const __NR_lock: u32 = 53; -pub const __NR_ioctl: u32 = 54; -pub const __NR_fcntl: u32 = 55; -pub const __NR_mpx: u32 = 56; -pub const __NR_setpgid: u32 = 57; -pub const __NR_ulimit: u32 = 58; -pub const __NR_oldolduname: u32 = 59; -pub const __NR_umask: u32 = 60; -pub const __NR_chroot: u32 = 61; -pub const __NR_ustat: u32 = 62; -pub const __NR_dup2: u32 = 63; -pub const __NR_getppid: u32 = 64; -pub const __NR_getpgrp: u32 = 65; -pub const __NR_setsid: u32 = 66; -pub const __NR_sigaction: u32 = 67; -pub const __NR_sgetmask: u32 = 68; -pub const __NR_ssetmask: u32 = 69; -pub const __NR_setreuid: u32 = 70; -pub const __NR_setregid: u32 = 71; -pub const __NR_sigsuspend: u32 = 72; -pub const __NR_sigpending: u32 = 73; -pub const __NR_sethostname: u32 = 74; -pub const __NR_setrlimit: u32 = 75; -pub const __NR_getrlimit: u32 = 76; -pub const __NR_getrusage: u32 = 77; -pub const __NR_gettimeofday: u32 = 78; -pub const __NR_settimeofday: u32 = 79; -pub const __NR_getgroups: u32 = 80; -pub const __NR_setgroups: u32 = 81; -pub const __NR_select: u32 = 82; -pub const __NR_symlink: u32 = 83; -pub const __NR_oldlstat: u32 = 84; -pub const __NR_readlink: u32 = 85; -pub const __NR_uselib: u32 = 86; -pub const __NR_swapon: u32 = 87; -pub const __NR_reboot: u32 = 88; -pub const __NR_readdir: u32 = 89; -pub const __NR_mmap: u32 = 90; -pub const __NR_munmap: u32 = 91; -pub const __NR_truncate: u32 = 92; -pub const __NR_ftruncate: u32 = 93; -pub const __NR_fchmod: u32 = 94; -pub const __NR_fchown: u32 = 95; -pub const __NR_getpriority: u32 = 96; -pub const __NR_setpriority: u32 = 97; -pub const __NR_profil: u32 = 98; -pub const __NR_statfs: u32 = 99; -pub const __NR_fstatfs: u32 = 100; -pub const __NR_ioperm: u32 = 101; -pub const __NR_socketcall: u32 = 102; -pub const __NR_syslog: u32 = 103; -pub const __NR_setitimer: u32 = 104; -pub const __NR_getitimer: u32 = 105; -pub const __NR_stat: u32 = 106; -pub const __NR_lstat: u32 = 107; -pub const __NR_fstat: u32 = 108; -pub const __NR_olduname: u32 = 109; -pub const __NR_iopl: u32 = 110; -pub const __NR_vhangup: u32 = 111; -pub const __NR_idle: u32 = 112; -pub const __NR_vm86: u32 = 113; -pub const __NR_wait4: u32 = 114; -pub const __NR_swapoff: u32 = 115; -pub const __NR_sysinfo: u32 = 116; -pub const __NR_ipc: u32 = 117; -pub const __NR_fsync: u32 = 118; -pub const __NR_sigreturn: u32 = 119; -pub const __NR_clone: u32 = 120; -pub const __NR_setdomainname: u32 = 121; -pub const __NR_uname: u32 = 122; -pub const __NR_modify_ldt: u32 = 123; -pub const __NR_adjtimex: u32 = 124; -pub const __NR_mprotect: u32 = 125; -pub const __NR_sigprocmask: u32 = 126; -pub const __NR_create_module: u32 = 127; -pub const __NR_init_module: u32 = 128; -pub const __NR_delete_module: u32 = 129; -pub const __NR_get_kernel_syms: u32 = 130; -pub const __NR_quotactl: u32 = 131; -pub const __NR_getpgid: u32 = 132; -pub const __NR_fchdir: u32 = 133; -pub const __NR_bdflush: u32 = 134; -pub const __NR_sysfs: u32 = 135; -pub const __NR_personality: u32 = 136; -pub const __NR_afs_syscall: u32 = 137; -pub const __NR_setfsuid: u32 = 138; -pub const __NR_setfsgid: u32 = 139; -pub const __NR__llseek: u32 = 140; -pub const __NR_getdents: u32 = 141; -pub const __NR__newselect: u32 = 142; -pub const __NR_flock: u32 = 143; -pub const __NR_msync: u32 = 144; -pub const __NR_readv: u32 = 145; -pub const __NR_writev: u32 = 146; -pub const __NR_getsid: u32 = 147; -pub const __NR_fdatasync: u32 = 148; -pub const __NR__sysctl: u32 = 149; -pub const __NR_mlock: u32 = 150; -pub const __NR_munlock: u32 = 151; -pub const __NR_mlockall: u32 = 152; -pub const __NR_munlockall: u32 = 153; -pub const __NR_sched_setparam: u32 = 154; -pub const __NR_sched_getparam: u32 = 155; -pub const __NR_sched_setscheduler: u32 = 156; -pub const __NR_sched_getscheduler: u32 = 157; -pub const __NR_sched_yield: u32 = 158; -pub const __NR_sched_get_priority_max: u32 = 159; -pub const __NR_sched_get_priority_min: u32 = 160; -pub const __NR_sched_rr_get_interval: u32 = 161; -pub const __NR_nanosleep: u32 = 162; -pub const __NR_mremap: u32 = 163; -pub const __NR_setresuid: u32 = 164; -pub const __NR_getresuid: u32 = 165; -pub const __NR_query_module: u32 = 166; -pub const __NR_poll: u32 = 167; -pub const __NR_nfsservctl: u32 = 168; -pub const __NR_setresgid: u32 = 169; -pub const __NR_getresgid: u32 = 170; -pub const __NR_prctl: u32 = 171; -pub const __NR_rt_sigreturn: u32 = 172; -pub const __NR_rt_sigaction: u32 = 173; -pub const __NR_rt_sigprocmask: u32 = 174; -pub const __NR_rt_sigpending: u32 = 175; -pub const __NR_rt_sigtimedwait: u32 = 176; -pub const __NR_rt_sigqueueinfo: u32 = 177; -pub const __NR_rt_sigsuspend: u32 = 178; -pub const __NR_pread64: u32 = 179; -pub const __NR_pwrite64: u32 = 180; -pub const __NR_chown: u32 = 181; -pub const __NR_getcwd: u32 = 182; -pub const __NR_capget: u32 = 183; -pub const __NR_capset: u32 = 184; -pub const __NR_sigaltstack: u32 = 185; -pub const __NR_sendfile: u32 = 186; -pub const __NR_getpmsg: u32 = 187; -pub const __NR_putpmsg: u32 = 188; -pub const __NR_vfork: u32 = 189; -pub const __NR_ugetrlimit: u32 = 190; -pub const __NR_readahead: u32 = 191; -pub const __NR_pciconfig_read: u32 = 198; -pub const __NR_pciconfig_write: u32 = 199; -pub const __NR_pciconfig_iobase: u32 = 200; -pub const __NR_multiplexer: u32 = 201; -pub const __NR_getdents64: u32 = 202; -pub const __NR_pivot_root: u32 = 203; -pub const __NR_madvise: u32 = 205; -pub const __NR_mincore: u32 = 206; -pub const __NR_gettid: u32 = 207; -pub const __NR_tkill: u32 = 208; -pub const __NR_setxattr: u32 = 209; -pub const __NR_lsetxattr: u32 = 210; -pub const __NR_fsetxattr: u32 = 211; -pub const __NR_getxattr: u32 = 212; -pub const __NR_lgetxattr: u32 = 213; -pub const __NR_fgetxattr: u32 = 214; -pub const __NR_listxattr: u32 = 215; -pub const __NR_llistxattr: u32 = 216; -pub const __NR_flistxattr: u32 = 217; -pub const __NR_removexattr: u32 = 218; -pub const __NR_lremovexattr: u32 = 219; -pub const __NR_fremovexattr: u32 = 220; -pub const __NR_futex: u32 = 221; -pub const __NR_sched_setaffinity: u32 = 222; -pub const __NR_sched_getaffinity: u32 = 223; -pub const __NR_tuxcall: u32 = 225; -pub const __NR_io_setup: u32 = 227; -pub const __NR_io_destroy: u32 = 228; -pub const __NR_io_getevents: u32 = 229; -pub const __NR_io_submit: u32 = 230; -pub const __NR_io_cancel: u32 = 231; -pub const __NR_set_tid_address: u32 = 232; -pub const __NR_fadvise64: u32 = 233; -pub const __NR_exit_group: u32 = 234; -pub const __NR_lookup_dcookie: u32 = 235; -pub const __NR_epoll_create: u32 = 236; -pub const __NR_epoll_ctl: u32 = 237; -pub const __NR_epoll_wait: u32 = 238; -pub const __NR_remap_file_pages: u32 = 239; -pub const __NR_timer_create: u32 = 240; -pub const __NR_timer_settime: u32 = 241; -pub const __NR_timer_gettime: u32 = 242; -pub const __NR_timer_getoverrun: u32 = 243; -pub const __NR_timer_delete: u32 = 244; -pub const __NR_clock_settime: u32 = 245; -pub const __NR_clock_gettime: u32 = 246; -pub const __NR_clock_getres: u32 = 247; -pub const __NR_clock_nanosleep: u32 = 248; -pub const __NR_swapcontext: u32 = 249; -pub const __NR_tgkill: u32 = 250; -pub const __NR_utimes: u32 = 251; -pub const __NR_statfs64: u32 = 252; -pub const __NR_fstatfs64: u32 = 253; -pub const __NR_rtas: u32 = 255; -pub const __NR_sys_debug_setcontext: u32 = 256; -pub const __NR_migrate_pages: u32 = 258; -pub const __NR_mbind: u32 = 259; -pub const __NR_get_mempolicy: u32 = 260; -pub const __NR_set_mempolicy: u32 = 261; -pub const __NR_mq_open: u32 = 262; -pub const __NR_mq_unlink: u32 = 263; -pub const __NR_mq_timedsend: u32 = 264; -pub const __NR_mq_timedreceive: u32 = 265; -pub const __NR_mq_notify: u32 = 266; -pub const __NR_mq_getsetattr: u32 = 267; -pub const __NR_kexec_load: u32 = 268; -pub const __NR_add_key: u32 = 269; -pub const __NR_request_key: u32 = 270; -pub const __NR_keyctl: u32 = 271; -pub const __NR_waitid: u32 = 272; -pub const __NR_ioprio_set: u32 = 273; -pub const __NR_ioprio_get: u32 = 274; -pub const __NR_inotify_init: u32 = 275; -pub const __NR_inotify_add_watch: u32 = 276; -pub const __NR_inotify_rm_watch: u32 = 277; -pub const __NR_spu_run: u32 = 278; -pub const __NR_spu_create: u32 = 279; -pub const __NR_pselect6: u32 = 280; -pub const __NR_ppoll: u32 = 281; -pub const __NR_unshare: u32 = 282; -pub const __NR_splice: u32 = 283; -pub const __NR_tee: u32 = 284; -pub const __NR_vmsplice: u32 = 285; -pub const __NR_openat: u32 = 286; -pub const __NR_mkdirat: u32 = 287; -pub const __NR_mknodat: u32 = 288; -pub const __NR_fchownat: u32 = 289; -pub const __NR_futimesat: u32 = 290; -pub const __NR_newfstatat: u32 = 291; -pub const __NR_unlinkat: u32 = 292; -pub const __NR_renameat: u32 = 293; -pub const __NR_linkat: u32 = 294; -pub const __NR_symlinkat: u32 = 295; -pub const __NR_readlinkat: u32 = 296; -pub const __NR_fchmodat: u32 = 297; -pub const __NR_faccessat: u32 = 298; -pub const __NR_get_robust_list: u32 = 299; -pub const __NR_set_robust_list: u32 = 300; -pub const __NR_move_pages: u32 = 301; -pub const __NR_getcpu: u32 = 302; -pub const __NR_epoll_pwait: u32 = 303; -pub const __NR_utimensat: u32 = 304; -pub const __NR_signalfd: u32 = 305; -pub const __NR_timerfd_create: u32 = 306; -pub const __NR_eventfd: u32 = 307; -pub const __NR_sync_file_range2: u32 = 308; -pub const __NR_fallocate: u32 = 309; -pub const __NR_subpage_prot: u32 = 310; -pub const __NR_timerfd_settime: u32 = 311; -pub const __NR_timerfd_gettime: u32 = 312; -pub const __NR_signalfd4: u32 = 313; -pub const __NR_eventfd2: u32 = 314; -pub const __NR_epoll_create1: u32 = 315; -pub const __NR_dup3: u32 = 316; -pub const __NR_pipe2: u32 = 317; -pub const __NR_inotify_init1: u32 = 318; -pub const __NR_perf_event_open: u32 = 319; -pub const __NR_preadv: u32 = 320; -pub const __NR_pwritev: u32 = 321; -pub const __NR_rt_tgsigqueueinfo: u32 = 322; -pub const __NR_fanotify_init: u32 = 323; -pub const __NR_fanotify_mark: u32 = 324; -pub const __NR_prlimit64: u32 = 325; -pub const __NR_socket: u32 = 326; -pub const __NR_bind: u32 = 327; -pub const __NR_connect: u32 = 328; -pub const __NR_listen: u32 = 329; -pub const __NR_accept: u32 = 330; -pub const __NR_getsockname: u32 = 331; -pub const __NR_getpeername: u32 = 332; -pub const __NR_socketpair: u32 = 333; -pub const __NR_send: u32 = 334; -pub const __NR_sendto: u32 = 335; -pub const __NR_recv: u32 = 336; -pub const __NR_recvfrom: u32 = 337; -pub const __NR_shutdown: u32 = 338; -pub const __NR_setsockopt: u32 = 339; -pub const __NR_getsockopt: u32 = 340; -pub const __NR_sendmsg: u32 = 341; -pub const __NR_recvmsg: u32 = 342; -pub const __NR_recvmmsg: u32 = 343; -pub const __NR_accept4: u32 = 344; -pub const __NR_name_to_handle_at: u32 = 345; -pub const __NR_open_by_handle_at: u32 = 346; -pub const __NR_clock_adjtime: u32 = 347; -pub const __NR_syncfs: u32 = 348; -pub const __NR_sendmmsg: u32 = 349; -pub const __NR_setns: u32 = 350; -pub const __NR_process_vm_readv: u32 = 351; -pub const __NR_process_vm_writev: u32 = 352; -pub const __NR_finit_module: u32 = 353; -pub const __NR_kcmp: u32 = 354; -pub const __NR_sched_setattr: u32 = 355; -pub const __NR_sched_getattr: u32 = 356; -pub const __NR_renameat2: u32 = 357; -pub const __NR_seccomp: u32 = 358; -pub const __NR_getrandom: u32 = 359; -pub const __NR_memfd_create: u32 = 360; -pub const __NR_bpf: u32 = 361; -pub const __NR_execveat: u32 = 362; -pub const __NR_switch_endian: u32 = 363; -pub const __NR_userfaultfd: u32 = 364; -pub const __NR_membarrier: u32 = 365; -pub const __NR_mlock2: u32 = 378; -pub const __NR_copy_file_range: u32 = 379; -pub const __NR_preadv2: u32 = 380; -pub const __NR_pwritev2: u32 = 381; -pub const __NR_kexec_file_load: u32 = 382; -pub const __NR_statx: u32 = 383; -pub const __NR_pkey_alloc: u32 = 384; -pub const __NR_pkey_free: u32 = 385; -pub const __NR_pkey_mprotect: u32 = 386; -pub const __NR_rseq: u32 = 387; -pub const __NR_io_pgetevents: u32 = 388; -pub const __NR_semtimedop: u32 = 392; -pub const __NR_semget: u32 = 393; -pub const __NR_semctl: u32 = 394; -pub const __NR_shmget: u32 = 395; -pub const __NR_shmctl: u32 = 396; -pub const __NR_shmat: u32 = 397; -pub const __NR_shmdt: u32 = 398; -pub const __NR_msgget: u32 = 399; -pub const __NR_msgsnd: u32 = 400; -pub const __NR_msgrcv: u32 = 401; -pub const __NR_msgctl: u32 = 402; -pub const __NR_pidfd_send_signal: u32 = 424; -pub const __NR_io_uring_setup: u32 = 425; -pub const __NR_io_uring_enter: u32 = 426; -pub const __NR_io_uring_register: u32 = 427; -pub const __NR_open_tree: u32 = 428; -pub const __NR_move_mount: u32 = 429; -pub const __NR_fsopen: u32 = 430; -pub const __NR_fsconfig: u32 = 431; -pub const __NR_fsmount: u32 = 432; -pub const __NR_fspick: u32 = 433; -pub const __NR_pidfd_open: u32 = 434; -pub const __NR_clone3: u32 = 435; -pub const __NR_close_range: u32 = 436; -pub const __NR_openat2: u32 = 437; -pub const __NR_pidfd_getfd: u32 = 438; -pub const __NR_faccessat2: u32 = 439; -pub const __NR_process_madvise: u32 = 440; -pub const __NR_epoll_pwait2: u32 = 441; -pub const __NR_mount_setattr: u32 = 442; -pub const __NR_quotactl_fd: u32 = 443; -pub const __NR_landlock_create_ruleset: u32 = 444; -pub const __NR_landlock_add_rule: u32 = 445; -pub const __NR_landlock_restrict_self: u32 = 446; -pub const __NR_process_mrelease: u32 = 448; -pub const __NR_futex_waitv: u32 = 449; -pub const __NR_set_mempolicy_home_node: u32 = 450; -pub const __NR_cachestat: u32 = 451; -pub const __NR_fchmodat2: u32 = 452; -pub const __NR_map_shadow_stack: u32 = 453; -pub const __NR_futex_wake: u32 = 454; -pub const __NR_futex_wait: u32 = 455; -pub const __NR_futex_requeue: u32 = 456; -pub const __NR_statmount: u32 = 457; -pub const __NR_listmount: u32 = 458; -pub const __NR_lsm_get_self_attr: u32 = 459; -pub const __NR_lsm_set_self_attr: u32 = 460; -pub const __NR_lsm_list_modules: u32 = 461; -pub const __NR_mseal: u32 = 462; diff --git a/tests/helper/src/gen/sys/powerpc64le_linux_musl/linux_headers_linux_auxvec.rs b/tests/helper/src/gen/sys/powerpc64le_linux_musl/linux_headers_linux_auxvec.rs deleted file mode 100644 index 16bf174c..00000000 --- a/tests/helper/src/gen/sys/powerpc64le_linux_musl/linux_headers_linux_auxvec.rs +++ /dev/null @@ -1,49 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -pub const AT_DCACHEBSIZE: u32 = 19; -pub const AT_ICACHEBSIZE: u32 = 20; -pub const AT_UCACHEBSIZE: u32 = 21; -pub const AT_IGNOREPPC: u32 = 22; -pub const AT_SYSINFO_EHDR: u32 = 33; -pub const AT_L1I_CACHESIZE: u32 = 40; -pub const AT_L1I_CACHEGEOMETRY: u32 = 41; -pub const AT_L1D_CACHESIZE: u32 = 42; -pub const AT_L1D_CACHEGEOMETRY: u32 = 43; -pub const AT_L2_CACHESIZE: u32 = 44; -pub const AT_L2_CACHEGEOMETRY: u32 = 45; -pub const AT_L3_CACHESIZE: u32 = 46; -pub const AT_L3_CACHEGEOMETRY: u32 = 47; -pub const AT_MINSIGSTKSZ: u32 = 51; -pub const AT_VECTOR_SIZE_ARCH: u32 = 15; -pub const AT_NULL: u32 = 0; -pub const AT_IGNORE: u32 = 1; -pub const AT_EXECFD: u32 = 2; -pub const AT_PHDR: u32 = 3; -pub const AT_PHENT: u32 = 4; -pub const AT_PHNUM: u32 = 5; -pub const AT_PAGESZ: u32 = 6; -pub const AT_BASE: u32 = 7; -pub const AT_FLAGS: u32 = 8; -pub const AT_ENTRY: u32 = 9; -pub const AT_NOTELF: u32 = 10; -pub const AT_UID: u32 = 11; -pub const AT_EUID: u32 = 12; -pub const AT_GID: u32 = 13; -pub const AT_EGID: u32 = 14; -pub const AT_PLATFORM: u32 = 15; -pub const AT_HWCAP: u32 = 16; -pub const AT_CLKTCK: u32 = 17; -pub const AT_SECURE: u32 = 23; -pub const AT_BASE_PLATFORM: u32 = 24; -pub const AT_RANDOM: u32 = 25; -pub const AT_HWCAP2: u32 = 26; -pub const AT_RSEQ_FEATURE_SIZE: u32 = 27; -pub const AT_RSEQ_ALIGN: u32 = 28; -pub const AT_HWCAP3: u32 = 29; -pub const AT_HWCAP4: u32 = 30; -pub const AT_EXECFN: u32 = 31; diff --git a/tests/helper/src/gen/sys/powerpc64le_linux_musl/linux_headers_linux_prctl.rs b/tests/helper/src/gen/sys/powerpc64le_linux_musl/linux_headers_linux_prctl.rs deleted file mode 100644 index 6eeb3021..00000000 --- a/tests/helper/src/gen/sys/powerpc64le_linux_musl/linux_headers_linux_prctl.rs +++ /dev/null @@ -1,189 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -pub const PR_SET_PDEATHSIG: u32 = 1; -pub const PR_GET_PDEATHSIG: u32 = 2; -pub const PR_GET_DUMPABLE: u32 = 3; -pub const PR_SET_DUMPABLE: u32 = 4; -pub const PR_GET_UNALIGN: u32 = 5; -pub const PR_SET_UNALIGN: u32 = 6; -pub const PR_UNALIGN_NOPRINT: u32 = 1; -pub const PR_UNALIGN_SIGBUS: u32 = 2; -pub const PR_GET_KEEPCAPS: u32 = 7; -pub const PR_SET_KEEPCAPS: u32 = 8; -pub const PR_GET_FPEMU: u32 = 9; -pub const PR_SET_FPEMU: u32 = 10; -pub const PR_FPEMU_NOPRINT: u32 = 1; -pub const PR_FPEMU_SIGFPE: u32 = 2; -pub const PR_GET_FPEXC: u32 = 11; -pub const PR_SET_FPEXC: u32 = 12; -pub const PR_FP_EXC_SW_ENABLE: u32 = 128; -pub const PR_FP_EXC_DIV: u32 = 65536; -pub const PR_FP_EXC_OVF: u32 = 131072; -pub const PR_FP_EXC_UND: u32 = 262144; -pub const PR_FP_EXC_RES: u32 = 524288; -pub const PR_FP_EXC_INV: u32 = 1048576; -pub const PR_FP_EXC_DISABLED: u32 = 0; -pub const PR_FP_EXC_NONRECOV: u32 = 1; -pub const PR_FP_EXC_ASYNC: u32 = 2; -pub const PR_FP_EXC_PRECISE: u32 = 3; -pub const PR_GET_TIMING: u32 = 13; -pub const PR_SET_TIMING: u32 = 14; -pub const PR_TIMING_STATISTICAL: u32 = 0; -pub const PR_TIMING_TIMESTAMP: u32 = 1; -pub const PR_SET_NAME: u32 = 15; -pub const PR_GET_NAME: u32 = 16; -pub const PR_GET_ENDIAN: u32 = 19; -pub const PR_SET_ENDIAN: u32 = 20; -pub const PR_ENDIAN_BIG: u32 = 0; -pub const PR_ENDIAN_LITTLE: u32 = 1; -pub const PR_ENDIAN_PPC_LITTLE: u32 = 2; -pub const PR_GET_SECCOMP: u32 = 21; -pub const PR_SET_SECCOMP: u32 = 22; -pub const PR_CAPBSET_READ: u32 = 23; -pub const PR_CAPBSET_DROP: u32 = 24; -pub const PR_GET_TSC: u32 = 25; -pub const PR_SET_TSC: u32 = 26; -pub const PR_TSC_ENABLE: u32 = 1; -pub const PR_TSC_SIGSEGV: u32 = 2; -pub const PR_GET_SECUREBITS: u32 = 27; -pub const PR_SET_SECUREBITS: u32 = 28; -pub const PR_SET_TIMERSLACK: u32 = 29; -pub const PR_GET_TIMERSLACK: u32 = 30; -pub const PR_TASK_PERF_EVENTS_DISABLE: u32 = 31; -pub const PR_TASK_PERF_EVENTS_ENABLE: u32 = 32; -pub const PR_MCE_KILL: u32 = 33; -pub const PR_MCE_KILL_CLEAR: u32 = 0; -pub const PR_MCE_KILL_SET: u32 = 1; -pub const PR_MCE_KILL_LATE: u32 = 0; -pub const PR_MCE_KILL_EARLY: u32 = 1; -pub const PR_MCE_KILL_DEFAULT: u32 = 2; -pub const PR_MCE_KILL_GET: u32 = 34; -pub const PR_SET_MM: u32 = 35; -pub const PR_SET_MM_START_CODE: u32 = 1; -pub const PR_SET_MM_END_CODE: u32 = 2; -pub const PR_SET_MM_START_DATA: u32 = 3; -pub const PR_SET_MM_END_DATA: u32 = 4; -pub const PR_SET_MM_START_STACK: u32 = 5; -pub const PR_SET_MM_START_BRK: u32 = 6; -pub const PR_SET_MM_BRK: u32 = 7; -pub const PR_SET_MM_ARG_START: u32 = 8; -pub const PR_SET_MM_ARG_END: u32 = 9; -pub const PR_SET_MM_ENV_START: u32 = 10; -pub const PR_SET_MM_ENV_END: u32 = 11; -pub const PR_SET_MM_AUXV: u32 = 12; -pub const PR_SET_MM_EXE_FILE: u32 = 13; -pub const PR_SET_MM_MAP: u32 = 14; -pub const PR_SET_MM_MAP_SIZE: u32 = 15; -pub const PR_SET_PTRACER: u32 = 1499557217; -pub const PR_SET_PTRACER_ANY: ::std::os::raw::c_ulong = -1i8 as ::std::os::raw::c_ulong; -pub const PR_SET_CHILD_SUBREAPER: u32 = 36; -pub const PR_GET_CHILD_SUBREAPER: u32 = 37; -pub const PR_SET_NO_NEW_PRIVS: u32 = 38; -pub const PR_GET_NO_NEW_PRIVS: u32 = 39; -pub const PR_GET_TID_ADDRESS: u32 = 40; -pub const PR_SET_THP_DISABLE: u32 = 41; -pub const PR_GET_THP_DISABLE: u32 = 42; -pub const PR_MPX_ENABLE_MANAGEMENT: u32 = 43; -pub const PR_MPX_DISABLE_MANAGEMENT: u32 = 44; -pub const PR_SET_FP_MODE: u32 = 45; -pub const PR_GET_FP_MODE: u32 = 46; -pub const PR_FP_MODE_FR: u32 = 1; -pub const PR_FP_MODE_FRE: u32 = 2; -pub const PR_CAP_AMBIENT: u32 = 47; -pub const PR_CAP_AMBIENT_IS_SET: u32 = 1; -pub const PR_CAP_AMBIENT_RAISE: u32 = 2; -pub const PR_CAP_AMBIENT_LOWER: u32 = 3; -pub const PR_CAP_AMBIENT_CLEAR_ALL: u32 = 4; -pub const PR_SVE_SET_VL: u32 = 50; -pub const PR_SVE_SET_VL_ONEXEC: u32 = 262144; -pub const PR_SVE_GET_VL: u32 = 51; -pub const PR_SVE_VL_LEN_MASK: u32 = 65535; -pub const PR_SVE_VL_INHERIT: u32 = 131072; -pub const PR_GET_SPECULATION_CTRL: u32 = 52; -pub const PR_SET_SPECULATION_CTRL: u32 = 53; -pub const PR_SPEC_STORE_BYPASS: u32 = 0; -pub const PR_SPEC_INDIRECT_BRANCH: u32 = 1; -pub const PR_SPEC_L1D_FLUSH: u32 = 2; -pub const PR_SPEC_NOT_AFFECTED: u32 = 0; -pub const PR_SPEC_PRCTL: u32 = 1; -pub const PR_SPEC_ENABLE: u32 = 2; -pub const PR_SPEC_DISABLE: u32 = 4; -pub const PR_SPEC_FORCE_DISABLE: u32 = 8; -pub const PR_SPEC_DISABLE_NOEXEC: u32 = 16; -pub const PR_PAC_RESET_KEYS: u32 = 54; -pub const PR_PAC_APIAKEY: u32 = 1; -pub const PR_PAC_APIBKEY: u32 = 2; -pub const PR_PAC_APDAKEY: u32 = 4; -pub const PR_PAC_APDBKEY: u32 = 8; -pub const PR_PAC_APGAKEY: u32 = 16; -pub const PR_SET_TAGGED_ADDR_CTRL: u32 = 55; -pub const PR_GET_TAGGED_ADDR_CTRL: u32 = 56; -pub const PR_TAGGED_ADDR_ENABLE: u32 = 1; -pub const PR_MTE_TCF_NONE: u32 = 0; -pub const PR_MTE_TCF_SYNC: u32 = 2; -pub const PR_MTE_TCF_ASYNC: u32 = 4; -pub const PR_MTE_TCF_MASK: u32 = 6; -pub const PR_MTE_TAG_SHIFT: u32 = 3; -pub const PR_MTE_TAG_MASK: u32 = 524280; -pub const PR_MTE_TCF_SHIFT: u32 = 1; -pub const PR_SET_IO_FLUSHER: u32 = 57; -pub const PR_GET_IO_FLUSHER: u32 = 58; -pub const PR_SET_SYSCALL_USER_DISPATCH: u32 = 59; -pub const PR_SYS_DISPATCH_OFF: u32 = 0; -pub const PR_SYS_DISPATCH_ON: u32 = 1; -pub const PR_PAC_SET_ENABLED_KEYS: u32 = 60; -pub const PR_PAC_GET_ENABLED_KEYS: u32 = 61; -pub const PR_SCHED_CORE: u32 = 62; -pub const PR_SCHED_CORE_GET: u32 = 0; -pub const PR_SCHED_CORE_CREATE: u32 = 1; -pub const PR_SCHED_CORE_SHARE_TO: u32 = 2; -pub const PR_SCHED_CORE_SHARE_FROM: u32 = 3; -pub const PR_SCHED_CORE_MAX: u32 = 4; -pub const PR_SCHED_CORE_SCOPE_THREAD: u32 = 0; -pub const PR_SCHED_CORE_SCOPE_THREAD_GROUP: u32 = 1; -pub const PR_SCHED_CORE_SCOPE_PROCESS_GROUP: u32 = 2; -pub const PR_SME_SET_VL: u32 = 63; -pub const PR_SME_SET_VL_ONEXEC: u32 = 262144; -pub const PR_SME_GET_VL: u32 = 64; -pub const PR_SME_VL_LEN_MASK: u32 = 65535; -pub const PR_SME_VL_INHERIT: u32 = 131072; -pub const PR_SET_MDWE: u32 = 65; -pub const PR_MDWE_REFUSE_EXEC_GAIN: u32 = 1; -pub const PR_MDWE_NO_INHERIT: u32 = 2; -pub const PR_GET_MDWE: u32 = 66; -pub const PR_SET_VMA: u32 = 1398164801; -pub const PR_SET_VMA_ANON_NAME: u32 = 0; -pub const PR_GET_AUXV: u32 = 1096112214; -pub const PR_SET_MEMORY_MERGE: u32 = 67; -pub const PR_GET_MEMORY_MERGE: u32 = 68; -pub const PR_RISCV_V_SET_CONTROL: u32 = 69; -pub const PR_RISCV_V_GET_CONTROL: u32 = 70; -pub const PR_RISCV_V_VSTATE_CTRL_DEFAULT: u32 = 0; -pub const PR_RISCV_V_VSTATE_CTRL_OFF: u32 = 1; -pub const PR_RISCV_V_VSTATE_CTRL_ON: u32 = 2; -pub const PR_RISCV_V_VSTATE_CTRL_INHERIT: u32 = 16; -pub const PR_RISCV_V_VSTATE_CTRL_CUR_MASK: u32 = 3; -pub const PR_RISCV_V_VSTATE_CTRL_NEXT_MASK: u32 = 12; -pub const PR_RISCV_V_VSTATE_CTRL_MASK: u32 = 31; -pub const PR_RISCV_SET_ICACHE_FLUSH_CTX: u32 = 71; -pub const PR_RISCV_CTX_SW_FENCEI_ON: u32 = 0; -pub const PR_RISCV_CTX_SW_FENCEI_OFF: u32 = 1; -pub const PR_RISCV_SCOPE_PER_PROCESS: u32 = 0; -pub const PR_RISCV_SCOPE_PER_THREAD: u32 = 1; -pub const PR_PPC_GET_DEXCR: u32 = 72; -pub const PR_PPC_SET_DEXCR: u32 = 73; -pub const PR_PPC_DEXCR_SBHE: u32 = 0; -pub const PR_PPC_DEXCR_IBRTPD: u32 = 1; -pub const PR_PPC_DEXCR_SRAPD: u32 = 2; -pub const PR_PPC_DEXCR_NPHIE: u32 = 3; -pub const PR_PPC_DEXCR_CTRL_EDITABLE: u32 = 1; -pub const PR_PPC_DEXCR_CTRL_SET: u32 = 2; -pub const PR_PPC_DEXCR_CTRL_CLEAR: u32 = 4; -pub const PR_PPC_DEXCR_CTRL_SET_ONEXEC: u32 = 8; -pub const PR_PPC_DEXCR_CTRL_CLEAR_ONEXEC: u32 = 16; -pub const PR_PPC_DEXCR_CTRL_MASK: u32 = 31; diff --git a/tests/helper/src/gen/sys/powerpc64le_linux_musl/mod.rs b/tests/helper/src/gen/sys/powerpc64le_linux_musl/mod.rs deleted file mode 100644 index 80efc536..00000000 --- a/tests/helper/src/gen/sys/powerpc64le_linux_musl/mod.rs +++ /dev/null @@ -1,703 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] -mod linux_headers_asm_cputable; -pub use linux_headers_asm_cputable::PPC_FEATURE_32; -pub use linux_headers_asm_cputable::PPC_FEATURE_64; -pub use linux_headers_asm_cputable::PPC_FEATURE_601_INSTR; -pub use linux_headers_asm_cputable::PPC_FEATURE_HAS_ALTIVEC; -pub use linux_headers_asm_cputable::PPC_FEATURE_HAS_FPU; -pub use linux_headers_asm_cputable::PPC_FEATURE_HAS_MMU; -pub use linux_headers_asm_cputable::PPC_FEATURE_HAS_4xxMAC; -pub use linux_headers_asm_cputable::PPC_FEATURE_UNIFIED_CACHE; -pub use linux_headers_asm_cputable::PPC_FEATURE_HAS_SPE; -pub use linux_headers_asm_cputable::PPC_FEATURE_HAS_EFP_SINGLE; -pub use linux_headers_asm_cputable::PPC_FEATURE_HAS_EFP_DOUBLE; -pub use linux_headers_asm_cputable::PPC_FEATURE_NO_TB; -pub use linux_headers_asm_cputable::PPC_FEATURE_POWER4; -pub use linux_headers_asm_cputable::PPC_FEATURE_POWER5; -pub use linux_headers_asm_cputable::PPC_FEATURE_POWER5_PLUS; -pub use linux_headers_asm_cputable::PPC_FEATURE_CELL; -pub use linux_headers_asm_cputable::PPC_FEATURE_BOOKE; -pub use linux_headers_asm_cputable::PPC_FEATURE_SMT; -pub use linux_headers_asm_cputable::PPC_FEATURE_ICACHE_SNOOP; -pub use linux_headers_asm_cputable::PPC_FEATURE_ARCH_2_05; -pub use linux_headers_asm_cputable::PPC_FEATURE_PA6T; -pub use linux_headers_asm_cputable::PPC_FEATURE_HAS_DFP; -pub use linux_headers_asm_cputable::PPC_FEATURE_POWER6_EXT; -pub use linux_headers_asm_cputable::PPC_FEATURE_ARCH_2_06; -pub use linux_headers_asm_cputable::PPC_FEATURE_HAS_VSX; -pub use linux_headers_asm_cputable::PPC_FEATURE_PSERIES_PERFMON_COMPAT; -pub use linux_headers_asm_cputable::PPC_FEATURE_TRUE_LE; -pub use linux_headers_asm_cputable::PPC_FEATURE_PPC_LE; -pub use linux_headers_asm_cputable::PPC_FEATURE2_ARCH_2_07; -pub use linux_headers_asm_cputable::PPC_FEATURE2_HTM; -pub use linux_headers_asm_cputable::PPC_FEATURE2_DSCR; -pub use linux_headers_asm_cputable::PPC_FEATURE2_EBB; -pub use linux_headers_asm_cputable::PPC_FEATURE2_ISEL; -pub use linux_headers_asm_cputable::PPC_FEATURE2_TAR; -pub use linux_headers_asm_cputable::PPC_FEATURE2_VEC_CRYPTO; -pub use linux_headers_asm_cputable::PPC_FEATURE2_HTM_NOSC; -pub use linux_headers_asm_cputable::PPC_FEATURE2_ARCH_3_00; -pub use linux_headers_asm_cputable::PPC_FEATURE2_HAS_IEEE128; -pub use linux_headers_asm_cputable::PPC_FEATURE2_DARN; -pub use linux_headers_asm_cputable::PPC_FEATURE2_SCV; -pub use linux_headers_asm_cputable::PPC_FEATURE2_HTM_NO_SUSPEND; -pub use linux_headers_asm_cputable::PPC_FEATURE2_ARCH_3_1; -pub use linux_headers_asm_cputable::PPC_FEATURE2_MMA; -mod linux_headers_asm_unistd; -pub use linux_headers_asm_unistd::__NR_restart_syscall; -pub use linux_headers_asm_unistd::__NR_exit; -pub use linux_headers_asm_unistd::__NR_fork; -pub use linux_headers_asm_unistd::__NR_read; -pub use linux_headers_asm_unistd::__NR_write; -pub use linux_headers_asm_unistd::__NR_open; -pub use linux_headers_asm_unistd::__NR_close; -pub use linux_headers_asm_unistd::__NR_waitpid; -pub use linux_headers_asm_unistd::__NR_creat; -pub use linux_headers_asm_unistd::__NR_link; -pub use linux_headers_asm_unistd::__NR_unlink; -pub use linux_headers_asm_unistd::__NR_execve; -pub use linux_headers_asm_unistd::__NR_chdir; -pub use linux_headers_asm_unistd::__NR_time; -pub use linux_headers_asm_unistd::__NR_mknod; -pub use linux_headers_asm_unistd::__NR_chmod; -pub use linux_headers_asm_unistd::__NR_lchown; -pub use linux_headers_asm_unistd::__NR_break; -pub use linux_headers_asm_unistd::__NR_oldstat; -pub use linux_headers_asm_unistd::__NR_lseek; -pub use linux_headers_asm_unistd::__NR_getpid; -pub use linux_headers_asm_unistd::__NR_mount; -pub use linux_headers_asm_unistd::__NR_umount; -pub use linux_headers_asm_unistd::__NR_setuid; -pub use linux_headers_asm_unistd::__NR_getuid; -pub use linux_headers_asm_unistd::__NR_stime; -pub use linux_headers_asm_unistd::__NR_ptrace; -pub use linux_headers_asm_unistd::__NR_alarm; -pub use linux_headers_asm_unistd::__NR_oldfstat; -pub use linux_headers_asm_unistd::__NR_pause; -pub use linux_headers_asm_unistd::__NR_utime; -pub use linux_headers_asm_unistd::__NR_stty; -pub use linux_headers_asm_unistd::__NR_gtty; -pub use linux_headers_asm_unistd::__NR_access; -pub use linux_headers_asm_unistd::__NR_nice; -pub use linux_headers_asm_unistd::__NR_ftime; -pub use linux_headers_asm_unistd::__NR_sync; -pub use linux_headers_asm_unistd::__NR_kill; -pub use linux_headers_asm_unistd::__NR_rename; -pub use linux_headers_asm_unistd::__NR_mkdir; -pub use linux_headers_asm_unistd::__NR_rmdir; -pub use linux_headers_asm_unistd::__NR_dup; -pub use linux_headers_asm_unistd::__NR_pipe; -pub use linux_headers_asm_unistd::__NR_times; -pub use linux_headers_asm_unistd::__NR_prof; -pub use linux_headers_asm_unistd::__NR_brk; -pub use linux_headers_asm_unistd::__NR_setgid; -pub use linux_headers_asm_unistd::__NR_getgid; -pub use linux_headers_asm_unistd::__NR_signal; -pub use linux_headers_asm_unistd::__NR_geteuid; -pub use linux_headers_asm_unistd::__NR_getegid; -pub use linux_headers_asm_unistd::__NR_acct; -pub use linux_headers_asm_unistd::__NR_umount2; -pub use linux_headers_asm_unistd::__NR_lock; -pub use linux_headers_asm_unistd::__NR_ioctl; -pub use linux_headers_asm_unistd::__NR_fcntl; -pub use linux_headers_asm_unistd::__NR_mpx; -pub use linux_headers_asm_unistd::__NR_setpgid; -pub use linux_headers_asm_unistd::__NR_ulimit; -pub use linux_headers_asm_unistd::__NR_oldolduname; -pub use linux_headers_asm_unistd::__NR_umask; -pub use linux_headers_asm_unistd::__NR_chroot; -pub use linux_headers_asm_unistd::__NR_ustat; -pub use linux_headers_asm_unistd::__NR_dup2; -pub use linux_headers_asm_unistd::__NR_getppid; -pub use linux_headers_asm_unistd::__NR_getpgrp; -pub use linux_headers_asm_unistd::__NR_setsid; -pub use linux_headers_asm_unistd::__NR_sigaction; -pub use linux_headers_asm_unistd::__NR_sgetmask; -pub use linux_headers_asm_unistd::__NR_ssetmask; -pub use linux_headers_asm_unistd::__NR_setreuid; -pub use linux_headers_asm_unistd::__NR_setregid; -pub use linux_headers_asm_unistd::__NR_sigsuspend; -pub use linux_headers_asm_unistd::__NR_sigpending; -pub use linux_headers_asm_unistd::__NR_sethostname; -pub use linux_headers_asm_unistd::__NR_setrlimit; -pub use linux_headers_asm_unistd::__NR_getrlimit; -pub use linux_headers_asm_unistd::__NR_getrusage; -pub use linux_headers_asm_unistd::__NR_gettimeofday; -pub use linux_headers_asm_unistd::__NR_settimeofday; -pub use linux_headers_asm_unistd::__NR_getgroups; -pub use linux_headers_asm_unistd::__NR_setgroups; -pub use linux_headers_asm_unistd::__NR_select; -pub use linux_headers_asm_unistd::__NR_symlink; -pub use linux_headers_asm_unistd::__NR_oldlstat; -pub use linux_headers_asm_unistd::__NR_readlink; -pub use linux_headers_asm_unistd::__NR_uselib; -pub use linux_headers_asm_unistd::__NR_swapon; -pub use linux_headers_asm_unistd::__NR_reboot; -pub use linux_headers_asm_unistd::__NR_readdir; -pub use linux_headers_asm_unistd::__NR_mmap; -pub use linux_headers_asm_unistd::__NR_munmap; -pub use linux_headers_asm_unistd::__NR_truncate; -pub use linux_headers_asm_unistd::__NR_ftruncate; -pub use linux_headers_asm_unistd::__NR_fchmod; -pub use linux_headers_asm_unistd::__NR_fchown; -pub use linux_headers_asm_unistd::__NR_getpriority; -pub use linux_headers_asm_unistd::__NR_setpriority; -pub use linux_headers_asm_unistd::__NR_profil; -pub use linux_headers_asm_unistd::__NR_statfs; -pub use linux_headers_asm_unistd::__NR_fstatfs; -pub use linux_headers_asm_unistd::__NR_ioperm; -pub use linux_headers_asm_unistd::__NR_socketcall; -pub use linux_headers_asm_unistd::__NR_syslog; -pub use linux_headers_asm_unistd::__NR_setitimer; -pub use linux_headers_asm_unistd::__NR_getitimer; -pub use linux_headers_asm_unistd::__NR_stat; -pub use linux_headers_asm_unistd::__NR_lstat; -pub use linux_headers_asm_unistd::__NR_fstat; -pub use linux_headers_asm_unistd::__NR_olduname; -pub use linux_headers_asm_unistd::__NR_iopl; -pub use linux_headers_asm_unistd::__NR_vhangup; -pub use linux_headers_asm_unistd::__NR_idle; -pub use linux_headers_asm_unistd::__NR_vm86; -pub use linux_headers_asm_unistd::__NR_wait4; -pub use linux_headers_asm_unistd::__NR_swapoff; -pub use linux_headers_asm_unistd::__NR_sysinfo; -pub use linux_headers_asm_unistd::__NR_ipc; -pub use linux_headers_asm_unistd::__NR_fsync; -pub use linux_headers_asm_unistd::__NR_sigreturn; -pub use linux_headers_asm_unistd::__NR_clone; -pub use linux_headers_asm_unistd::__NR_setdomainname; -pub use linux_headers_asm_unistd::__NR_uname; -pub use linux_headers_asm_unistd::__NR_modify_ldt; -pub use linux_headers_asm_unistd::__NR_adjtimex; -pub use linux_headers_asm_unistd::__NR_mprotect; -pub use linux_headers_asm_unistd::__NR_sigprocmask; -pub use linux_headers_asm_unistd::__NR_create_module; -pub use linux_headers_asm_unistd::__NR_init_module; -pub use linux_headers_asm_unistd::__NR_delete_module; -pub use linux_headers_asm_unistd::__NR_get_kernel_syms; -pub use linux_headers_asm_unistd::__NR_quotactl; -pub use linux_headers_asm_unistd::__NR_getpgid; -pub use linux_headers_asm_unistd::__NR_fchdir; -pub use linux_headers_asm_unistd::__NR_bdflush; -pub use linux_headers_asm_unistd::__NR_sysfs; -pub use linux_headers_asm_unistd::__NR_personality; -pub use linux_headers_asm_unistd::__NR_afs_syscall; -pub use linux_headers_asm_unistd::__NR_setfsuid; -pub use linux_headers_asm_unistd::__NR_setfsgid; -pub use linux_headers_asm_unistd::__NR__llseek; -pub use linux_headers_asm_unistd::__NR_getdents; -pub use linux_headers_asm_unistd::__NR__newselect; -pub use linux_headers_asm_unistd::__NR_flock; -pub use linux_headers_asm_unistd::__NR_msync; -pub use linux_headers_asm_unistd::__NR_readv; -pub use linux_headers_asm_unistd::__NR_writev; -pub use linux_headers_asm_unistd::__NR_getsid; -pub use linux_headers_asm_unistd::__NR_fdatasync; -pub use linux_headers_asm_unistd::__NR__sysctl; -pub use linux_headers_asm_unistd::__NR_mlock; -pub use linux_headers_asm_unistd::__NR_munlock; -pub use linux_headers_asm_unistd::__NR_mlockall; -pub use linux_headers_asm_unistd::__NR_munlockall; -pub use linux_headers_asm_unistd::__NR_sched_setparam; -pub use linux_headers_asm_unistd::__NR_sched_getparam; -pub use linux_headers_asm_unistd::__NR_sched_setscheduler; -pub use linux_headers_asm_unistd::__NR_sched_getscheduler; -pub use linux_headers_asm_unistd::__NR_sched_yield; -pub use linux_headers_asm_unistd::__NR_sched_get_priority_max; -pub use linux_headers_asm_unistd::__NR_sched_get_priority_min; -pub use linux_headers_asm_unistd::__NR_sched_rr_get_interval; -pub use linux_headers_asm_unistd::__NR_nanosleep; -pub use linux_headers_asm_unistd::__NR_mremap; -pub use linux_headers_asm_unistd::__NR_setresuid; -pub use linux_headers_asm_unistd::__NR_getresuid; -pub use linux_headers_asm_unistd::__NR_query_module; -pub use linux_headers_asm_unistd::__NR_poll; -pub use linux_headers_asm_unistd::__NR_nfsservctl; -pub use linux_headers_asm_unistd::__NR_setresgid; -pub use linux_headers_asm_unistd::__NR_getresgid; -pub use linux_headers_asm_unistd::__NR_prctl; -pub use linux_headers_asm_unistd::__NR_rt_sigreturn; -pub use linux_headers_asm_unistd::__NR_rt_sigaction; -pub use linux_headers_asm_unistd::__NR_rt_sigprocmask; -pub use linux_headers_asm_unistd::__NR_rt_sigpending; -pub use linux_headers_asm_unistd::__NR_rt_sigtimedwait; -pub use linux_headers_asm_unistd::__NR_rt_sigqueueinfo; -pub use linux_headers_asm_unistd::__NR_rt_sigsuspend; -pub use linux_headers_asm_unistd::__NR_pread64; -pub use linux_headers_asm_unistd::__NR_pwrite64; -pub use linux_headers_asm_unistd::__NR_chown; -pub use linux_headers_asm_unistd::__NR_getcwd; -pub use linux_headers_asm_unistd::__NR_capget; -pub use linux_headers_asm_unistd::__NR_capset; -pub use linux_headers_asm_unistd::__NR_sigaltstack; -pub use linux_headers_asm_unistd::__NR_sendfile; -pub use linux_headers_asm_unistd::__NR_getpmsg; -pub use linux_headers_asm_unistd::__NR_putpmsg; -pub use linux_headers_asm_unistd::__NR_vfork; -pub use linux_headers_asm_unistd::__NR_ugetrlimit; -pub use linux_headers_asm_unistd::__NR_readahead; -pub use linux_headers_asm_unistd::__NR_pciconfig_read; -pub use linux_headers_asm_unistd::__NR_pciconfig_write; -pub use linux_headers_asm_unistd::__NR_pciconfig_iobase; -pub use linux_headers_asm_unistd::__NR_multiplexer; -pub use linux_headers_asm_unistd::__NR_getdents64; -pub use linux_headers_asm_unistd::__NR_pivot_root; -pub use linux_headers_asm_unistd::__NR_madvise; -pub use linux_headers_asm_unistd::__NR_mincore; -pub use linux_headers_asm_unistd::__NR_gettid; -pub use linux_headers_asm_unistd::__NR_tkill; -pub use linux_headers_asm_unistd::__NR_setxattr; -pub use linux_headers_asm_unistd::__NR_lsetxattr; -pub use linux_headers_asm_unistd::__NR_fsetxattr; -pub use linux_headers_asm_unistd::__NR_getxattr; -pub use linux_headers_asm_unistd::__NR_lgetxattr; -pub use linux_headers_asm_unistd::__NR_fgetxattr; -pub use linux_headers_asm_unistd::__NR_listxattr; -pub use linux_headers_asm_unistd::__NR_llistxattr; -pub use linux_headers_asm_unistd::__NR_flistxattr; -pub use linux_headers_asm_unistd::__NR_removexattr; -pub use linux_headers_asm_unistd::__NR_lremovexattr; -pub use linux_headers_asm_unistd::__NR_fremovexattr; -pub use linux_headers_asm_unistd::__NR_futex; -pub use linux_headers_asm_unistd::__NR_sched_setaffinity; -pub use linux_headers_asm_unistd::__NR_sched_getaffinity; -pub use linux_headers_asm_unistd::__NR_tuxcall; -pub use linux_headers_asm_unistd::__NR_io_setup; -pub use linux_headers_asm_unistd::__NR_io_destroy; -pub use linux_headers_asm_unistd::__NR_io_getevents; -pub use linux_headers_asm_unistd::__NR_io_submit; -pub use linux_headers_asm_unistd::__NR_io_cancel; -pub use linux_headers_asm_unistd::__NR_set_tid_address; -pub use linux_headers_asm_unistd::__NR_fadvise64; -pub use linux_headers_asm_unistd::__NR_exit_group; -pub use linux_headers_asm_unistd::__NR_lookup_dcookie; -pub use linux_headers_asm_unistd::__NR_epoll_create; -pub use linux_headers_asm_unistd::__NR_epoll_ctl; -pub use linux_headers_asm_unistd::__NR_epoll_wait; -pub use linux_headers_asm_unistd::__NR_remap_file_pages; -pub use linux_headers_asm_unistd::__NR_timer_create; -pub use linux_headers_asm_unistd::__NR_timer_settime; -pub use linux_headers_asm_unistd::__NR_timer_gettime; -pub use linux_headers_asm_unistd::__NR_timer_getoverrun; -pub use linux_headers_asm_unistd::__NR_timer_delete; -pub use linux_headers_asm_unistd::__NR_clock_settime; -pub use linux_headers_asm_unistd::__NR_clock_gettime; -pub use linux_headers_asm_unistd::__NR_clock_getres; -pub use linux_headers_asm_unistd::__NR_clock_nanosleep; -pub use linux_headers_asm_unistd::__NR_swapcontext; -pub use linux_headers_asm_unistd::__NR_tgkill; -pub use linux_headers_asm_unistd::__NR_utimes; -pub use linux_headers_asm_unistd::__NR_statfs64; -pub use linux_headers_asm_unistd::__NR_fstatfs64; -pub use linux_headers_asm_unistd::__NR_rtas; -pub use linux_headers_asm_unistd::__NR_sys_debug_setcontext; -pub use linux_headers_asm_unistd::__NR_migrate_pages; -pub use linux_headers_asm_unistd::__NR_mbind; -pub use linux_headers_asm_unistd::__NR_get_mempolicy; -pub use linux_headers_asm_unistd::__NR_set_mempolicy; -pub use linux_headers_asm_unistd::__NR_mq_open; -pub use linux_headers_asm_unistd::__NR_mq_unlink; -pub use linux_headers_asm_unistd::__NR_mq_timedsend; -pub use linux_headers_asm_unistd::__NR_mq_timedreceive; -pub use linux_headers_asm_unistd::__NR_mq_notify; -pub use linux_headers_asm_unistd::__NR_mq_getsetattr; -pub use linux_headers_asm_unistd::__NR_kexec_load; -pub use linux_headers_asm_unistd::__NR_add_key; -pub use linux_headers_asm_unistd::__NR_request_key; -pub use linux_headers_asm_unistd::__NR_keyctl; -pub use linux_headers_asm_unistd::__NR_waitid; -pub use linux_headers_asm_unistd::__NR_ioprio_set; -pub use linux_headers_asm_unistd::__NR_ioprio_get; -pub use linux_headers_asm_unistd::__NR_inotify_init; -pub use linux_headers_asm_unistd::__NR_inotify_add_watch; -pub use linux_headers_asm_unistd::__NR_inotify_rm_watch; -pub use linux_headers_asm_unistd::__NR_spu_run; -pub use linux_headers_asm_unistd::__NR_spu_create; -pub use linux_headers_asm_unistd::__NR_pselect6; -pub use linux_headers_asm_unistd::__NR_ppoll; -pub use linux_headers_asm_unistd::__NR_unshare; -pub use linux_headers_asm_unistd::__NR_splice; -pub use linux_headers_asm_unistd::__NR_tee; -pub use linux_headers_asm_unistd::__NR_vmsplice; -pub use linux_headers_asm_unistd::__NR_openat; -pub use linux_headers_asm_unistd::__NR_mkdirat; -pub use linux_headers_asm_unistd::__NR_mknodat; -pub use linux_headers_asm_unistd::__NR_fchownat; -pub use linux_headers_asm_unistd::__NR_futimesat; -pub use linux_headers_asm_unistd::__NR_newfstatat; -pub use linux_headers_asm_unistd::__NR_unlinkat; -pub use linux_headers_asm_unistd::__NR_renameat; -pub use linux_headers_asm_unistd::__NR_linkat; -pub use linux_headers_asm_unistd::__NR_symlinkat; -pub use linux_headers_asm_unistd::__NR_readlinkat; -pub use linux_headers_asm_unistd::__NR_fchmodat; -pub use linux_headers_asm_unistd::__NR_faccessat; -pub use linux_headers_asm_unistd::__NR_get_robust_list; -pub use linux_headers_asm_unistd::__NR_set_robust_list; -pub use linux_headers_asm_unistd::__NR_move_pages; -pub use linux_headers_asm_unistd::__NR_getcpu; -pub use linux_headers_asm_unistd::__NR_epoll_pwait; -pub use linux_headers_asm_unistd::__NR_utimensat; -pub use linux_headers_asm_unistd::__NR_signalfd; -pub use linux_headers_asm_unistd::__NR_timerfd_create; -pub use linux_headers_asm_unistd::__NR_eventfd; -pub use linux_headers_asm_unistd::__NR_sync_file_range2; -pub use linux_headers_asm_unistd::__NR_fallocate; -pub use linux_headers_asm_unistd::__NR_subpage_prot; -pub use linux_headers_asm_unistd::__NR_timerfd_settime; -pub use linux_headers_asm_unistd::__NR_timerfd_gettime; -pub use linux_headers_asm_unistd::__NR_signalfd4; -pub use linux_headers_asm_unistd::__NR_eventfd2; -pub use linux_headers_asm_unistd::__NR_epoll_create1; -pub use linux_headers_asm_unistd::__NR_dup3; -pub use linux_headers_asm_unistd::__NR_pipe2; -pub use linux_headers_asm_unistd::__NR_inotify_init1; -pub use linux_headers_asm_unistd::__NR_perf_event_open; -pub use linux_headers_asm_unistd::__NR_preadv; -pub use linux_headers_asm_unistd::__NR_pwritev; -pub use linux_headers_asm_unistd::__NR_rt_tgsigqueueinfo; -pub use linux_headers_asm_unistd::__NR_fanotify_init; -pub use linux_headers_asm_unistd::__NR_fanotify_mark; -pub use linux_headers_asm_unistd::__NR_prlimit64; -pub use linux_headers_asm_unistd::__NR_socket; -pub use linux_headers_asm_unistd::__NR_bind; -pub use linux_headers_asm_unistd::__NR_connect; -pub use linux_headers_asm_unistd::__NR_listen; -pub use linux_headers_asm_unistd::__NR_accept; -pub use linux_headers_asm_unistd::__NR_getsockname; -pub use linux_headers_asm_unistd::__NR_getpeername; -pub use linux_headers_asm_unistd::__NR_socketpair; -pub use linux_headers_asm_unistd::__NR_send; -pub use linux_headers_asm_unistd::__NR_sendto; -pub use linux_headers_asm_unistd::__NR_recv; -pub use linux_headers_asm_unistd::__NR_recvfrom; -pub use linux_headers_asm_unistd::__NR_shutdown; -pub use linux_headers_asm_unistd::__NR_setsockopt; -pub use linux_headers_asm_unistd::__NR_getsockopt; -pub use linux_headers_asm_unistd::__NR_sendmsg; -pub use linux_headers_asm_unistd::__NR_recvmsg; -pub use linux_headers_asm_unistd::__NR_recvmmsg; -pub use linux_headers_asm_unistd::__NR_accept4; -pub use linux_headers_asm_unistd::__NR_name_to_handle_at; -pub use linux_headers_asm_unistd::__NR_open_by_handle_at; -pub use linux_headers_asm_unistd::__NR_clock_adjtime; -pub use linux_headers_asm_unistd::__NR_syncfs; -pub use linux_headers_asm_unistd::__NR_sendmmsg; -pub use linux_headers_asm_unistd::__NR_setns; -pub use linux_headers_asm_unistd::__NR_process_vm_readv; -pub use linux_headers_asm_unistd::__NR_process_vm_writev; -pub use linux_headers_asm_unistd::__NR_finit_module; -pub use linux_headers_asm_unistd::__NR_kcmp; -pub use linux_headers_asm_unistd::__NR_sched_setattr; -pub use linux_headers_asm_unistd::__NR_sched_getattr; -pub use linux_headers_asm_unistd::__NR_renameat2; -pub use linux_headers_asm_unistd::__NR_seccomp; -pub use linux_headers_asm_unistd::__NR_getrandom; -pub use linux_headers_asm_unistd::__NR_memfd_create; -pub use linux_headers_asm_unistd::__NR_bpf; -pub use linux_headers_asm_unistd::__NR_execveat; -pub use linux_headers_asm_unistd::__NR_switch_endian; -pub use linux_headers_asm_unistd::__NR_userfaultfd; -pub use linux_headers_asm_unistd::__NR_membarrier; -pub use linux_headers_asm_unistd::__NR_mlock2; -pub use linux_headers_asm_unistd::__NR_copy_file_range; -pub use linux_headers_asm_unistd::__NR_preadv2; -pub use linux_headers_asm_unistd::__NR_pwritev2; -pub use linux_headers_asm_unistd::__NR_kexec_file_load; -pub use linux_headers_asm_unistd::__NR_statx; -pub use linux_headers_asm_unistd::__NR_pkey_alloc; -pub use linux_headers_asm_unistd::__NR_pkey_free; -pub use linux_headers_asm_unistd::__NR_pkey_mprotect; -pub use linux_headers_asm_unistd::__NR_rseq; -pub use linux_headers_asm_unistd::__NR_io_pgetevents; -pub use linux_headers_asm_unistd::__NR_semtimedop; -pub use linux_headers_asm_unistd::__NR_semget; -pub use linux_headers_asm_unistd::__NR_semctl; -pub use linux_headers_asm_unistd::__NR_shmget; -pub use linux_headers_asm_unistd::__NR_shmctl; -pub use linux_headers_asm_unistd::__NR_shmat; -pub use linux_headers_asm_unistd::__NR_shmdt; -pub use linux_headers_asm_unistd::__NR_msgget; -pub use linux_headers_asm_unistd::__NR_msgsnd; -pub use linux_headers_asm_unistd::__NR_msgrcv; -pub use linux_headers_asm_unistd::__NR_msgctl; -pub use linux_headers_asm_unistd::__NR_pidfd_send_signal; -pub use linux_headers_asm_unistd::__NR_io_uring_setup; -pub use linux_headers_asm_unistd::__NR_io_uring_enter; -pub use linux_headers_asm_unistd::__NR_io_uring_register; -pub use linux_headers_asm_unistd::__NR_open_tree; -pub use linux_headers_asm_unistd::__NR_move_mount; -pub use linux_headers_asm_unistd::__NR_fsopen; -pub use linux_headers_asm_unistd::__NR_fsconfig; -pub use linux_headers_asm_unistd::__NR_fsmount; -pub use linux_headers_asm_unistd::__NR_fspick; -pub use linux_headers_asm_unistd::__NR_pidfd_open; -pub use linux_headers_asm_unistd::__NR_clone3; -pub use linux_headers_asm_unistd::__NR_close_range; -pub use linux_headers_asm_unistd::__NR_openat2; -pub use linux_headers_asm_unistd::__NR_pidfd_getfd; -pub use linux_headers_asm_unistd::__NR_faccessat2; -pub use linux_headers_asm_unistd::__NR_process_madvise; -pub use linux_headers_asm_unistd::__NR_epoll_pwait2; -pub use linux_headers_asm_unistd::__NR_mount_setattr; -pub use linux_headers_asm_unistd::__NR_quotactl_fd; -pub use linux_headers_asm_unistd::__NR_landlock_create_ruleset; -pub use linux_headers_asm_unistd::__NR_landlock_add_rule; -pub use linux_headers_asm_unistd::__NR_landlock_restrict_self; -pub use linux_headers_asm_unistd::__NR_process_mrelease; -pub use linux_headers_asm_unistd::__NR_futex_waitv; -pub use linux_headers_asm_unistd::__NR_set_mempolicy_home_node; -pub use linux_headers_asm_unistd::__NR_cachestat; -pub use linux_headers_asm_unistd::__NR_fchmodat2; -pub use linux_headers_asm_unistd::__NR_map_shadow_stack; -pub use linux_headers_asm_unistd::__NR_futex_wake; -pub use linux_headers_asm_unistd::__NR_futex_wait; -pub use linux_headers_asm_unistd::__NR_futex_requeue; -pub use linux_headers_asm_unistd::__NR_statmount; -pub use linux_headers_asm_unistd::__NR_listmount; -pub use linux_headers_asm_unistd::__NR_lsm_get_self_attr; -pub use linux_headers_asm_unistd::__NR_lsm_set_self_attr; -pub use linux_headers_asm_unistd::__NR_lsm_list_modules; -pub use linux_headers_asm_unistd::__NR_mseal; -mod linux_headers_linux_auxvec; -pub use linux_headers_linux_auxvec::AT_DCACHEBSIZE; -pub use linux_headers_linux_auxvec::AT_ICACHEBSIZE; -pub use linux_headers_linux_auxvec::AT_UCACHEBSIZE; -pub use linux_headers_linux_auxvec::AT_IGNOREPPC; -pub use linux_headers_linux_auxvec::AT_SYSINFO_EHDR; -pub use linux_headers_linux_auxvec::AT_L1I_CACHESIZE; -pub use linux_headers_linux_auxvec::AT_L1I_CACHEGEOMETRY; -pub use linux_headers_linux_auxvec::AT_L1D_CACHESIZE; -pub use linux_headers_linux_auxvec::AT_L1D_CACHEGEOMETRY; -pub use linux_headers_linux_auxvec::AT_L2_CACHESIZE; -pub use linux_headers_linux_auxvec::AT_L2_CACHEGEOMETRY; -pub use linux_headers_linux_auxvec::AT_L3_CACHESIZE; -pub use linux_headers_linux_auxvec::AT_L3_CACHEGEOMETRY; -pub use linux_headers_linux_auxvec::AT_MINSIGSTKSZ; -pub use linux_headers_linux_auxvec::AT_VECTOR_SIZE_ARCH; -pub use linux_headers_linux_auxvec::AT_NULL; -pub use linux_headers_linux_auxvec::AT_IGNORE; -pub use linux_headers_linux_auxvec::AT_EXECFD; -pub use linux_headers_linux_auxvec::AT_PHDR; -pub use linux_headers_linux_auxvec::AT_PHENT; -pub use linux_headers_linux_auxvec::AT_PHNUM; -pub use linux_headers_linux_auxvec::AT_PAGESZ; -pub use linux_headers_linux_auxvec::AT_BASE; -pub use linux_headers_linux_auxvec::AT_FLAGS; -pub use linux_headers_linux_auxvec::AT_ENTRY; -pub use linux_headers_linux_auxvec::AT_NOTELF; -pub use linux_headers_linux_auxvec::AT_UID; -pub use linux_headers_linux_auxvec::AT_EUID; -pub use linux_headers_linux_auxvec::AT_GID; -pub use linux_headers_linux_auxvec::AT_EGID; -pub use linux_headers_linux_auxvec::AT_PLATFORM; -pub use linux_headers_linux_auxvec::AT_HWCAP; -pub use linux_headers_linux_auxvec::AT_CLKTCK; -pub use linux_headers_linux_auxvec::AT_SECURE; -pub use linux_headers_linux_auxvec::AT_BASE_PLATFORM; -pub use linux_headers_linux_auxvec::AT_RANDOM; -pub use linux_headers_linux_auxvec::AT_HWCAP2; -pub use linux_headers_linux_auxvec::AT_RSEQ_FEATURE_SIZE; -pub use linux_headers_linux_auxvec::AT_RSEQ_ALIGN; -pub use linux_headers_linux_auxvec::AT_HWCAP3; -pub use linux_headers_linux_auxvec::AT_HWCAP4; -pub use linux_headers_linux_auxvec::AT_EXECFN; -mod linux_headers_linux_prctl; -pub use linux_headers_linux_prctl::PR_SET_PDEATHSIG; -pub use linux_headers_linux_prctl::PR_GET_PDEATHSIG; -pub use linux_headers_linux_prctl::PR_GET_DUMPABLE; -pub use linux_headers_linux_prctl::PR_SET_DUMPABLE; -pub use linux_headers_linux_prctl::PR_GET_UNALIGN; -pub use linux_headers_linux_prctl::PR_SET_UNALIGN; -pub use linux_headers_linux_prctl::PR_UNALIGN_NOPRINT; -pub use linux_headers_linux_prctl::PR_UNALIGN_SIGBUS; -pub use linux_headers_linux_prctl::PR_GET_KEEPCAPS; -pub use linux_headers_linux_prctl::PR_SET_KEEPCAPS; -pub use linux_headers_linux_prctl::PR_GET_FPEMU; -pub use linux_headers_linux_prctl::PR_SET_FPEMU; -pub use linux_headers_linux_prctl::PR_FPEMU_NOPRINT; -pub use linux_headers_linux_prctl::PR_FPEMU_SIGFPE; -pub use linux_headers_linux_prctl::PR_GET_FPEXC; -pub use linux_headers_linux_prctl::PR_SET_FPEXC; -pub use linux_headers_linux_prctl::PR_FP_EXC_SW_ENABLE; -pub use linux_headers_linux_prctl::PR_FP_EXC_DIV; -pub use linux_headers_linux_prctl::PR_FP_EXC_OVF; -pub use linux_headers_linux_prctl::PR_FP_EXC_UND; -pub use linux_headers_linux_prctl::PR_FP_EXC_RES; -pub use linux_headers_linux_prctl::PR_FP_EXC_INV; -pub use linux_headers_linux_prctl::PR_FP_EXC_DISABLED; -pub use linux_headers_linux_prctl::PR_FP_EXC_NONRECOV; -pub use linux_headers_linux_prctl::PR_FP_EXC_ASYNC; -pub use linux_headers_linux_prctl::PR_FP_EXC_PRECISE; -pub use linux_headers_linux_prctl::PR_GET_TIMING; -pub use linux_headers_linux_prctl::PR_SET_TIMING; -pub use linux_headers_linux_prctl::PR_TIMING_STATISTICAL; -pub use linux_headers_linux_prctl::PR_TIMING_TIMESTAMP; -pub use linux_headers_linux_prctl::PR_SET_NAME; -pub use linux_headers_linux_prctl::PR_GET_NAME; -pub use linux_headers_linux_prctl::PR_GET_ENDIAN; -pub use linux_headers_linux_prctl::PR_SET_ENDIAN; -pub use linux_headers_linux_prctl::PR_ENDIAN_BIG; -pub use linux_headers_linux_prctl::PR_ENDIAN_LITTLE; -pub use linux_headers_linux_prctl::PR_ENDIAN_PPC_LITTLE; -pub use linux_headers_linux_prctl::PR_GET_SECCOMP; -pub use linux_headers_linux_prctl::PR_SET_SECCOMP; -pub use linux_headers_linux_prctl::PR_CAPBSET_READ; -pub use linux_headers_linux_prctl::PR_CAPBSET_DROP; -pub use linux_headers_linux_prctl::PR_GET_TSC; -pub use linux_headers_linux_prctl::PR_SET_TSC; -pub use linux_headers_linux_prctl::PR_TSC_ENABLE; -pub use linux_headers_linux_prctl::PR_TSC_SIGSEGV; -pub use linux_headers_linux_prctl::PR_GET_SECUREBITS; -pub use linux_headers_linux_prctl::PR_SET_SECUREBITS; -pub use linux_headers_linux_prctl::PR_SET_TIMERSLACK; -pub use linux_headers_linux_prctl::PR_GET_TIMERSLACK; -pub use linux_headers_linux_prctl::PR_TASK_PERF_EVENTS_DISABLE; -pub use linux_headers_linux_prctl::PR_TASK_PERF_EVENTS_ENABLE; -pub use linux_headers_linux_prctl::PR_MCE_KILL; -pub use linux_headers_linux_prctl::PR_MCE_KILL_CLEAR; -pub use linux_headers_linux_prctl::PR_MCE_KILL_SET; -pub use linux_headers_linux_prctl::PR_MCE_KILL_LATE; -pub use linux_headers_linux_prctl::PR_MCE_KILL_EARLY; -pub use linux_headers_linux_prctl::PR_MCE_KILL_DEFAULT; -pub use linux_headers_linux_prctl::PR_MCE_KILL_GET; -pub use linux_headers_linux_prctl::PR_SET_MM; -pub use linux_headers_linux_prctl::PR_SET_MM_START_CODE; -pub use linux_headers_linux_prctl::PR_SET_MM_END_CODE; -pub use linux_headers_linux_prctl::PR_SET_MM_START_DATA; -pub use linux_headers_linux_prctl::PR_SET_MM_END_DATA; -pub use linux_headers_linux_prctl::PR_SET_MM_START_STACK; -pub use linux_headers_linux_prctl::PR_SET_MM_START_BRK; -pub use linux_headers_linux_prctl::PR_SET_MM_BRK; -pub use linux_headers_linux_prctl::PR_SET_MM_ARG_START; -pub use linux_headers_linux_prctl::PR_SET_MM_ARG_END; -pub use linux_headers_linux_prctl::PR_SET_MM_ENV_START; -pub use linux_headers_linux_prctl::PR_SET_MM_ENV_END; -pub use linux_headers_linux_prctl::PR_SET_MM_AUXV; -pub use linux_headers_linux_prctl::PR_SET_MM_EXE_FILE; -pub use linux_headers_linux_prctl::PR_SET_MM_MAP; -pub use linux_headers_linux_prctl::PR_SET_MM_MAP_SIZE; -pub use linux_headers_linux_prctl::PR_SET_PTRACER; -pub use linux_headers_linux_prctl::PR_SET_PTRACER_ANY; -pub use linux_headers_linux_prctl::PR_SET_CHILD_SUBREAPER; -pub use linux_headers_linux_prctl::PR_GET_CHILD_SUBREAPER; -pub use linux_headers_linux_prctl::PR_SET_NO_NEW_PRIVS; -pub use linux_headers_linux_prctl::PR_GET_NO_NEW_PRIVS; -pub use linux_headers_linux_prctl::PR_GET_TID_ADDRESS; -pub use linux_headers_linux_prctl::PR_SET_THP_DISABLE; -pub use linux_headers_linux_prctl::PR_GET_THP_DISABLE; -pub use linux_headers_linux_prctl::PR_MPX_ENABLE_MANAGEMENT; -pub use linux_headers_linux_prctl::PR_MPX_DISABLE_MANAGEMENT; -pub use linux_headers_linux_prctl::PR_SET_FP_MODE; -pub use linux_headers_linux_prctl::PR_GET_FP_MODE; -pub use linux_headers_linux_prctl::PR_FP_MODE_FR; -pub use linux_headers_linux_prctl::PR_FP_MODE_FRE; -pub use linux_headers_linux_prctl::PR_CAP_AMBIENT; -pub use linux_headers_linux_prctl::PR_CAP_AMBIENT_IS_SET; -pub use linux_headers_linux_prctl::PR_CAP_AMBIENT_RAISE; -pub use linux_headers_linux_prctl::PR_CAP_AMBIENT_LOWER; -pub use linux_headers_linux_prctl::PR_CAP_AMBIENT_CLEAR_ALL; -pub use linux_headers_linux_prctl::PR_SVE_SET_VL; -pub use linux_headers_linux_prctl::PR_SVE_SET_VL_ONEXEC; -pub use linux_headers_linux_prctl::PR_SVE_GET_VL; -pub use linux_headers_linux_prctl::PR_SVE_VL_LEN_MASK; -pub use linux_headers_linux_prctl::PR_SVE_VL_INHERIT; -pub use linux_headers_linux_prctl::PR_GET_SPECULATION_CTRL; -pub use linux_headers_linux_prctl::PR_SET_SPECULATION_CTRL; -pub use linux_headers_linux_prctl::PR_SPEC_STORE_BYPASS; -pub use linux_headers_linux_prctl::PR_SPEC_INDIRECT_BRANCH; -pub use linux_headers_linux_prctl::PR_SPEC_L1D_FLUSH; -pub use linux_headers_linux_prctl::PR_SPEC_NOT_AFFECTED; -pub use linux_headers_linux_prctl::PR_SPEC_PRCTL; -pub use linux_headers_linux_prctl::PR_SPEC_ENABLE; -pub use linux_headers_linux_prctl::PR_SPEC_DISABLE; -pub use linux_headers_linux_prctl::PR_SPEC_FORCE_DISABLE; -pub use linux_headers_linux_prctl::PR_SPEC_DISABLE_NOEXEC; -pub use linux_headers_linux_prctl::PR_PAC_RESET_KEYS; -pub use linux_headers_linux_prctl::PR_PAC_APIAKEY; -pub use linux_headers_linux_prctl::PR_PAC_APIBKEY; -pub use linux_headers_linux_prctl::PR_PAC_APDAKEY; -pub use linux_headers_linux_prctl::PR_PAC_APDBKEY; -pub use linux_headers_linux_prctl::PR_PAC_APGAKEY; -pub use linux_headers_linux_prctl::PR_SET_TAGGED_ADDR_CTRL; -pub use linux_headers_linux_prctl::PR_GET_TAGGED_ADDR_CTRL; -pub use linux_headers_linux_prctl::PR_TAGGED_ADDR_ENABLE; -pub use linux_headers_linux_prctl::PR_MTE_TCF_NONE; -pub use linux_headers_linux_prctl::PR_MTE_TCF_SYNC; -pub use linux_headers_linux_prctl::PR_MTE_TCF_ASYNC; -pub use linux_headers_linux_prctl::PR_MTE_TCF_MASK; -pub use linux_headers_linux_prctl::PR_MTE_TAG_SHIFT; -pub use linux_headers_linux_prctl::PR_MTE_TAG_MASK; -pub use linux_headers_linux_prctl::PR_MTE_TCF_SHIFT; -pub use linux_headers_linux_prctl::PR_SET_IO_FLUSHER; -pub use linux_headers_linux_prctl::PR_GET_IO_FLUSHER; -pub use linux_headers_linux_prctl::PR_SET_SYSCALL_USER_DISPATCH; -pub use linux_headers_linux_prctl::PR_SYS_DISPATCH_OFF; -pub use linux_headers_linux_prctl::PR_SYS_DISPATCH_ON; -pub use linux_headers_linux_prctl::PR_PAC_SET_ENABLED_KEYS; -pub use linux_headers_linux_prctl::PR_PAC_GET_ENABLED_KEYS; -pub use linux_headers_linux_prctl::PR_SCHED_CORE; -pub use linux_headers_linux_prctl::PR_SCHED_CORE_GET; -pub use linux_headers_linux_prctl::PR_SCHED_CORE_CREATE; -pub use linux_headers_linux_prctl::PR_SCHED_CORE_SHARE_TO; -pub use linux_headers_linux_prctl::PR_SCHED_CORE_SHARE_FROM; -pub use linux_headers_linux_prctl::PR_SCHED_CORE_MAX; -pub use linux_headers_linux_prctl::PR_SCHED_CORE_SCOPE_THREAD; -pub use linux_headers_linux_prctl::PR_SCHED_CORE_SCOPE_THREAD_GROUP; -pub use linux_headers_linux_prctl::PR_SCHED_CORE_SCOPE_PROCESS_GROUP; -pub use linux_headers_linux_prctl::PR_SME_SET_VL; -pub use linux_headers_linux_prctl::PR_SME_SET_VL_ONEXEC; -pub use linux_headers_linux_prctl::PR_SME_GET_VL; -pub use linux_headers_linux_prctl::PR_SME_VL_LEN_MASK; -pub use linux_headers_linux_prctl::PR_SME_VL_INHERIT; -pub use linux_headers_linux_prctl::PR_SET_MDWE; -pub use linux_headers_linux_prctl::PR_MDWE_REFUSE_EXEC_GAIN; -pub use linux_headers_linux_prctl::PR_MDWE_NO_INHERIT; -pub use linux_headers_linux_prctl::PR_GET_MDWE; -pub use linux_headers_linux_prctl::PR_SET_VMA; -pub use linux_headers_linux_prctl::PR_SET_VMA_ANON_NAME; -pub use linux_headers_linux_prctl::PR_GET_AUXV; -pub use linux_headers_linux_prctl::PR_SET_MEMORY_MERGE; -pub use linux_headers_linux_prctl::PR_GET_MEMORY_MERGE; -pub use linux_headers_linux_prctl::PR_RISCV_V_SET_CONTROL; -pub use linux_headers_linux_prctl::PR_RISCV_V_GET_CONTROL; -pub use linux_headers_linux_prctl::PR_RISCV_V_VSTATE_CTRL_DEFAULT; -pub use linux_headers_linux_prctl::PR_RISCV_V_VSTATE_CTRL_OFF; -pub use linux_headers_linux_prctl::PR_RISCV_V_VSTATE_CTRL_ON; -pub use linux_headers_linux_prctl::PR_RISCV_V_VSTATE_CTRL_INHERIT; -pub use linux_headers_linux_prctl::PR_RISCV_V_VSTATE_CTRL_CUR_MASK; -pub use linux_headers_linux_prctl::PR_RISCV_V_VSTATE_CTRL_NEXT_MASK; -pub use linux_headers_linux_prctl::PR_RISCV_V_VSTATE_CTRL_MASK; -pub use linux_headers_linux_prctl::PR_RISCV_SET_ICACHE_FLUSH_CTX; -pub use linux_headers_linux_prctl::PR_RISCV_CTX_SW_FENCEI_ON; -pub use linux_headers_linux_prctl::PR_RISCV_CTX_SW_FENCEI_OFF; -pub use linux_headers_linux_prctl::PR_RISCV_SCOPE_PER_PROCESS; -pub use linux_headers_linux_prctl::PR_RISCV_SCOPE_PER_THREAD; -pub use linux_headers_linux_prctl::PR_PPC_GET_DEXCR; -pub use linux_headers_linux_prctl::PR_PPC_SET_DEXCR; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_SBHE; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_IBRTPD; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_SRAPD; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_NPHIE; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_CTRL_EDITABLE; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_CTRL_SET; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_CTRL_CLEAR; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_CTRL_SET_ONEXEC; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_CTRL_CLEAR_ONEXEC; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_CTRL_MASK; -mod dlfcn; -pub use dlfcn::RTLD_DEFAULT; -pub use dlfcn::dlsym; -mod elf; -pub use elf::Elf32_auxv_t; -pub use elf::Elf64_auxv_t; -mod sys_auxv; -pub use sys_auxv::getauxval; -mod unistd; -pub use unistd::syscall; -pub type c_char = u8; diff --git a/tests/helper/src/gen/sys/powerpc64le_linux_musl/sys_auxv.rs b/tests/helper/src/gen/sys/powerpc64le_linux_musl/sys_auxv.rs deleted file mode 100644 index fc602aeb..00000000 --- a/tests/helper/src/gen/sys/powerpc64le_linux_musl/sys_auxv.rs +++ /dev/null @@ -1,10 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -extern "C" { - pub fn getauxval(arg1: ::std::os::raw::c_ulong) -> ::std::os::raw::c_ulong; -} diff --git a/tests/helper/src/gen/sys/powerpc64le_linux_musl/unistd.rs b/tests/helper/src/gen/sys/powerpc64le_linux_musl/unistd.rs deleted file mode 100644 index d16be956..00000000 --- a/tests/helper/src/gen/sys/powerpc64le_linux_musl/unistd.rs +++ /dev/null @@ -1,10 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -extern "C" { - pub fn syscall(arg1: ::std::os::raw::c_long, ...) -> ::std::os::raw::c_long; -} diff --git a/tests/helper/src/gen/sys/riscv32gc_linux_gnu/dlfcn.rs b/tests/helper/src/gen/sys/riscv32gc_linux_gnu/dlfcn.rs deleted file mode 100644 index 0c516f36..00000000 --- a/tests/helper/src/gen/sys/riscv32gc_linux_gnu/dlfcn.rs +++ /dev/null @@ -1,14 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -pub const RTLD_DEFAULT: *mut ::std::os::raw::c_void = ::core::ptr::null_mut(); -extern "C" { - pub fn dlsym( - __handle: *mut ::core::ffi::c_void, - __name: *const ::std::os::raw::c_char, - ) -> *mut ::core::ffi::c_void; -} diff --git a/tests/helper/src/gen/sys/riscv32gc_linux_gnu/elf.rs b/tests/helper/src/gen/sys/riscv32gc_linux_gnu/elf.rs deleted file mode 100644 index a3c1790d..00000000 --- a/tests/helper/src/gen/sys/riscv32gc_linux_gnu/elf.rs +++ /dev/null @@ -1,29 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -#[repr(C)] -#[derive(Copy, Clone)] -pub struct Elf32_auxv_t { - pub a_type: u32, - pub a_un: Elf32_auxv_t__bindgen_ty_1, -} -#[repr(C)] -#[derive(Copy, Clone)] -pub union Elf32_auxv_t__bindgen_ty_1 { - pub a_val: u32, -} -#[repr(C)] -#[derive(Copy, Clone)] -pub struct Elf64_auxv_t { - pub a_type: u64, - pub a_un: Elf64_auxv_t__bindgen_ty_1, -} -#[repr(C)] -#[derive(Copy, Clone)] -pub union Elf64_auxv_t__bindgen_ty_1 { - pub a_val: u64, -} diff --git a/tests/helper/src/gen/sys/riscv32gc_linux_gnu/linux_headers_asm_hwcap.rs b/tests/helper/src/gen/sys/riscv32gc_linux_gnu/linux_headers_asm_hwcap.rs deleted file mode 100644 index fc615659..00000000 --- a/tests/helper/src/gen/sys/riscv32gc_linux_gnu/linux_headers_asm_hwcap.rs +++ /dev/null @@ -1,7 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - diff --git a/tests/helper/src/gen/sys/riscv32gc_linux_gnu/linux_headers_asm_hwprobe.rs b/tests/helper/src/gen/sys/riscv32gc_linux_gnu/linux_headers_asm_hwprobe.rs deleted file mode 100644 index ae69d15b..00000000 --- a/tests/helper/src/gen/sys/riscv32gc_linux_gnu/linux_headers_asm_hwprobe.rs +++ /dev/null @@ -1,87 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -pub type __s64 = ::std::os::raw::c_longlong; -pub type __u64 = ::std::os::raw::c_ulonglong; -#[repr(C)] -#[derive(Copy, Clone)] -pub struct riscv_hwprobe { - pub key: __s64, - pub value: __u64, -} -pub const RISCV_HWPROBE_KEY_MVENDORID: u32 = 0; -pub const RISCV_HWPROBE_KEY_MARCHID: u32 = 1; -pub const RISCV_HWPROBE_KEY_MIMPID: u32 = 2; -pub const RISCV_HWPROBE_KEY_BASE_BEHAVIOR: u32 = 3; -pub const RISCV_HWPROBE_BASE_BEHAVIOR_IMA: u32 = 1; -pub const RISCV_HWPROBE_KEY_IMA_EXT_0: u32 = 4; -pub const RISCV_HWPROBE_IMA_FD: u32 = 1; -pub const RISCV_HWPROBE_IMA_C: u32 = 2; -pub const RISCV_HWPROBE_IMA_V: u32 = 4; -pub const RISCV_HWPROBE_EXT_ZBA: u32 = 8; -pub const RISCV_HWPROBE_EXT_ZBB: u32 = 16; -pub const RISCV_HWPROBE_EXT_ZBS: u32 = 32; -pub const RISCV_HWPROBE_EXT_ZICBOZ: u32 = 64; -pub const RISCV_HWPROBE_EXT_ZBC: u32 = 128; -pub const RISCV_HWPROBE_EXT_ZBKB: u32 = 256; -pub const RISCV_HWPROBE_EXT_ZBKC: u32 = 512; -pub const RISCV_HWPROBE_EXT_ZBKX: u32 = 1024; -pub const RISCV_HWPROBE_EXT_ZKND: u32 = 2048; -pub const RISCV_HWPROBE_EXT_ZKNE: u32 = 4096; -pub const RISCV_HWPROBE_EXT_ZKNH: u32 = 8192; -pub const RISCV_HWPROBE_EXT_ZKSED: u32 = 16384; -pub const RISCV_HWPROBE_EXT_ZKSH: u32 = 32768; -pub const RISCV_HWPROBE_EXT_ZKT: u32 = 65536; -pub const RISCV_HWPROBE_EXT_ZVBB: u32 = 131072; -pub const RISCV_HWPROBE_EXT_ZVBC: u32 = 262144; -pub const RISCV_HWPROBE_EXT_ZVKB: u32 = 524288; -pub const RISCV_HWPROBE_EXT_ZVKG: u32 = 1048576; -pub const RISCV_HWPROBE_EXT_ZVKNED: u32 = 2097152; -pub const RISCV_HWPROBE_EXT_ZVKNHA: u32 = 4194304; -pub const RISCV_HWPROBE_EXT_ZVKNHB: u32 = 8388608; -pub const RISCV_HWPROBE_EXT_ZVKSED: u32 = 16777216; -pub const RISCV_HWPROBE_EXT_ZVKSH: u32 = 33554432; -pub const RISCV_HWPROBE_EXT_ZVKT: u32 = 67108864; -pub const RISCV_HWPROBE_EXT_ZFH: u32 = 134217728; -pub const RISCV_HWPROBE_EXT_ZFHMIN: u32 = 268435456; -pub const RISCV_HWPROBE_EXT_ZIHINTNTL: u32 = 536870912; -pub const RISCV_HWPROBE_EXT_ZVFH: u32 = 1073741824; -pub const RISCV_HWPROBE_EXT_ZVFHMIN: u32 = 2147483648; -pub const RISCV_HWPROBE_EXT_ZFA: u64 = 4294967296; -pub const RISCV_HWPROBE_EXT_ZTSO: u64 = 8589934592; -pub const RISCV_HWPROBE_EXT_ZACAS: u64 = 17179869184; -pub const RISCV_HWPROBE_EXT_ZICOND: u64 = 34359738368; -pub const RISCV_HWPROBE_EXT_ZIHINTPAUSE: u64 = 68719476736; -pub const RISCV_HWPROBE_EXT_ZVE32X: u64 = 137438953472; -pub const RISCV_HWPROBE_EXT_ZVE32F: u64 = 274877906944; -pub const RISCV_HWPROBE_EXT_ZVE64X: u64 = 549755813888; -pub const RISCV_HWPROBE_EXT_ZVE64F: u64 = 1099511627776; -pub const RISCV_HWPROBE_EXT_ZVE64D: u64 = 2199023255552; -pub const RISCV_HWPROBE_EXT_ZIMOP: u64 = 4398046511104; -pub const RISCV_HWPROBE_EXT_ZCA: u64 = 8796093022208; -pub const RISCV_HWPROBE_EXT_ZCB: u64 = 17592186044416; -pub const RISCV_HWPROBE_EXT_ZCD: u64 = 35184372088832; -pub const RISCV_HWPROBE_EXT_ZCF: u64 = 70368744177664; -pub const RISCV_HWPROBE_EXT_ZCMOP: u64 = 140737488355328; -pub const RISCV_HWPROBE_EXT_ZAWRS: u64 = 281474976710656; -pub const RISCV_HWPROBE_KEY_CPUPERF_0: u32 = 5; -pub const RISCV_HWPROBE_MISALIGNED_UNKNOWN: u32 = 0; -pub const RISCV_HWPROBE_MISALIGNED_EMULATED: u32 = 1; -pub const RISCV_HWPROBE_MISALIGNED_SLOW: u32 = 2; -pub const RISCV_HWPROBE_MISALIGNED_FAST: u32 = 3; -pub const RISCV_HWPROBE_MISALIGNED_UNSUPPORTED: u32 = 4; -pub const RISCV_HWPROBE_MISALIGNED_MASK: u32 = 7; -pub const RISCV_HWPROBE_KEY_ZICBOZ_BLOCK_SIZE: u32 = 6; -pub const RISCV_HWPROBE_KEY_HIGHEST_VIRT_ADDRESS: u32 = 7; -pub const RISCV_HWPROBE_KEY_TIME_CSR_FREQ: u32 = 8; -pub const RISCV_HWPROBE_KEY_MISALIGNED_SCALAR_PERF: u32 = 9; -pub const RISCV_HWPROBE_MISALIGNED_SCALAR_UNKNOWN: u32 = 0; -pub const RISCV_HWPROBE_MISALIGNED_SCALAR_EMULATED: u32 = 1; -pub const RISCV_HWPROBE_MISALIGNED_SCALAR_SLOW: u32 = 2; -pub const RISCV_HWPROBE_MISALIGNED_SCALAR_FAST: u32 = 3; -pub const RISCV_HWPROBE_MISALIGNED_SCALAR_UNSUPPORTED: u32 = 4; -pub const RISCV_HWPROBE_WHICH_CPUS: u32 = 1; diff --git a/tests/helper/src/gen/sys/riscv32gc_linux_gnu/linux_headers_asm_unistd.rs b/tests/helper/src/gen/sys/riscv32gc_linux_gnu/linux_headers_asm_unistd.rs deleted file mode 100644 index 0b469b53..00000000 --- a/tests/helper/src/gen/sys/riscv32gc_linux_gnu/linux_headers_asm_unistd.rs +++ /dev/null @@ -1,316 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -pub const __NR_io_setup: u32 = 0; -pub const __NR_io_destroy: u32 = 1; -pub const __NR_io_submit: u32 = 2; -pub const __NR_io_cancel: u32 = 3; -pub const __NR_setxattr: u32 = 5; -pub const __NR_lsetxattr: u32 = 6; -pub const __NR_fsetxattr: u32 = 7; -pub const __NR_getxattr: u32 = 8; -pub const __NR_lgetxattr: u32 = 9; -pub const __NR_fgetxattr: u32 = 10; -pub const __NR_listxattr: u32 = 11; -pub const __NR_llistxattr: u32 = 12; -pub const __NR_flistxattr: u32 = 13; -pub const __NR_removexattr: u32 = 14; -pub const __NR_lremovexattr: u32 = 15; -pub const __NR_fremovexattr: u32 = 16; -pub const __NR_getcwd: u32 = 17; -pub const __NR_lookup_dcookie: u32 = 18; -pub const __NR_eventfd2: u32 = 19; -pub const __NR_epoll_create1: u32 = 20; -pub const __NR_epoll_ctl: u32 = 21; -pub const __NR_epoll_pwait: u32 = 22; -pub const __NR_dup: u32 = 23; -pub const __NR_dup3: u32 = 24; -pub const __NR_fcntl64: u32 = 25; -pub const __NR_inotify_init1: u32 = 26; -pub const __NR_inotify_add_watch: u32 = 27; -pub const __NR_inotify_rm_watch: u32 = 28; -pub const __NR_ioctl: u32 = 29; -pub const __NR_ioprio_set: u32 = 30; -pub const __NR_ioprio_get: u32 = 31; -pub const __NR_flock: u32 = 32; -pub const __NR_mknodat: u32 = 33; -pub const __NR_mkdirat: u32 = 34; -pub const __NR_unlinkat: u32 = 35; -pub const __NR_symlinkat: u32 = 36; -pub const __NR_linkat: u32 = 37; -pub const __NR_umount2: u32 = 39; -pub const __NR_mount: u32 = 40; -pub const __NR_pivot_root: u32 = 41; -pub const __NR_nfsservctl: u32 = 42; -pub const __NR_statfs64: u32 = 43; -pub const __NR_fstatfs64: u32 = 44; -pub const __NR_truncate64: u32 = 45; -pub const __NR_ftruncate64: u32 = 46; -pub const __NR_fallocate: u32 = 47; -pub const __NR_faccessat: u32 = 48; -pub const __NR_chdir: u32 = 49; -pub const __NR_fchdir: u32 = 50; -pub const __NR_chroot: u32 = 51; -pub const __NR_fchmod: u32 = 52; -pub const __NR_fchmodat: u32 = 53; -pub const __NR_fchownat: u32 = 54; -pub const __NR_fchown: u32 = 55; -pub const __NR_openat: u32 = 56; -pub const __NR_close: u32 = 57; -pub const __NR_vhangup: u32 = 58; -pub const __NR_pipe2: u32 = 59; -pub const __NR_quotactl: u32 = 60; -pub const __NR_getdents64: u32 = 61; -pub const __NR_llseek: u32 = 62; -pub const __NR_read: u32 = 63; -pub const __NR_write: u32 = 64; -pub const __NR_readv: u32 = 65; -pub const __NR_writev: u32 = 66; -pub const __NR_pread64: u32 = 67; -pub const __NR_pwrite64: u32 = 68; -pub const __NR_preadv: u32 = 69; -pub const __NR_pwritev: u32 = 70; -pub const __NR_sendfile64: u32 = 71; -pub const __NR_signalfd4: u32 = 74; -pub const __NR_vmsplice: u32 = 75; -pub const __NR_splice: u32 = 76; -pub const __NR_tee: u32 = 77; -pub const __NR_readlinkat: u32 = 78; -pub const __NR_sync: u32 = 81; -pub const __NR_fsync: u32 = 82; -pub const __NR_fdatasync: u32 = 83; -pub const __NR_sync_file_range: u32 = 84; -pub const __NR_timerfd_create: u32 = 85; -pub const __NR_acct: u32 = 89; -pub const __NR_capget: u32 = 90; -pub const __NR_capset: u32 = 91; -pub const __NR_personality: u32 = 92; -pub const __NR_exit: u32 = 93; -pub const __NR_exit_group: u32 = 94; -pub const __NR_waitid: u32 = 95; -pub const __NR_set_tid_address: u32 = 96; -pub const __NR_unshare: u32 = 97; -pub const __NR_set_robust_list: u32 = 99; -pub const __NR_get_robust_list: u32 = 100; -pub const __NR_getitimer: u32 = 102; -pub const __NR_setitimer: u32 = 103; -pub const __NR_kexec_load: u32 = 104; -pub const __NR_init_module: u32 = 105; -pub const __NR_delete_module: u32 = 106; -pub const __NR_timer_create: u32 = 107; -pub const __NR_timer_getoverrun: u32 = 109; -pub const __NR_timer_delete: u32 = 111; -pub const __NR_syslog: u32 = 116; -pub const __NR_ptrace: u32 = 117; -pub const __NR_sched_setparam: u32 = 118; -pub const __NR_sched_setscheduler: u32 = 119; -pub const __NR_sched_getscheduler: u32 = 120; -pub const __NR_sched_getparam: u32 = 121; -pub const __NR_sched_setaffinity: u32 = 122; -pub const __NR_sched_getaffinity: u32 = 123; -pub const __NR_sched_yield: u32 = 124; -pub const __NR_sched_get_priority_max: u32 = 125; -pub const __NR_sched_get_priority_min: u32 = 126; -pub const __NR_restart_syscall: u32 = 128; -pub const __NR_kill: u32 = 129; -pub const __NR_tkill: u32 = 130; -pub const __NR_tgkill: u32 = 131; -pub const __NR_sigaltstack: u32 = 132; -pub const __NR_rt_sigsuspend: u32 = 133; -pub const __NR_rt_sigaction: u32 = 134; -pub const __NR_rt_sigprocmask: u32 = 135; -pub const __NR_rt_sigpending: u32 = 136; -pub const __NR_rt_sigqueueinfo: u32 = 138; -pub const __NR_rt_sigreturn: u32 = 139; -pub const __NR_setpriority: u32 = 140; -pub const __NR_getpriority: u32 = 141; -pub const __NR_reboot: u32 = 142; -pub const __NR_setregid: u32 = 143; -pub const __NR_setgid: u32 = 144; -pub const __NR_setreuid: u32 = 145; -pub const __NR_setuid: u32 = 146; -pub const __NR_setresuid: u32 = 147; -pub const __NR_getresuid: u32 = 148; -pub const __NR_setresgid: u32 = 149; -pub const __NR_getresgid: u32 = 150; -pub const __NR_setfsuid: u32 = 151; -pub const __NR_setfsgid: u32 = 152; -pub const __NR_times: u32 = 153; -pub const __NR_setpgid: u32 = 154; -pub const __NR_getpgid: u32 = 155; -pub const __NR_getsid: u32 = 156; -pub const __NR_setsid: u32 = 157; -pub const __NR_getgroups: u32 = 158; -pub const __NR_setgroups: u32 = 159; -pub const __NR_uname: u32 = 160; -pub const __NR_sethostname: u32 = 161; -pub const __NR_setdomainname: u32 = 162; -pub const __NR_getrusage: u32 = 165; -pub const __NR_umask: u32 = 166; -pub const __NR_prctl: u32 = 167; -pub const __NR_getcpu: u32 = 168; -pub const __NR_getpid: u32 = 172; -pub const __NR_getppid: u32 = 173; -pub const __NR_getuid: u32 = 174; -pub const __NR_geteuid: u32 = 175; -pub const __NR_getgid: u32 = 176; -pub const __NR_getegid: u32 = 177; -pub const __NR_gettid: u32 = 178; -pub const __NR_sysinfo: u32 = 179; -pub const __NR_mq_open: u32 = 180; -pub const __NR_mq_unlink: u32 = 181; -pub const __NR_mq_notify: u32 = 184; -pub const __NR_mq_getsetattr: u32 = 185; -pub const __NR_msgget: u32 = 186; -pub const __NR_msgctl: u32 = 187; -pub const __NR_msgrcv: u32 = 188; -pub const __NR_msgsnd: u32 = 189; -pub const __NR_semget: u32 = 190; -pub const __NR_semctl: u32 = 191; -pub const __NR_semop: u32 = 193; -pub const __NR_shmget: u32 = 194; -pub const __NR_shmctl: u32 = 195; -pub const __NR_shmat: u32 = 196; -pub const __NR_shmdt: u32 = 197; -pub const __NR_socket: u32 = 198; -pub const __NR_socketpair: u32 = 199; -pub const __NR_bind: u32 = 200; -pub const __NR_listen: u32 = 201; -pub const __NR_accept: u32 = 202; -pub const __NR_connect: u32 = 203; -pub const __NR_getsockname: u32 = 204; -pub const __NR_getpeername: u32 = 205; -pub const __NR_sendto: u32 = 206; -pub const __NR_recvfrom: u32 = 207; -pub const __NR_setsockopt: u32 = 208; -pub const __NR_getsockopt: u32 = 209; -pub const __NR_shutdown: u32 = 210; -pub const __NR_sendmsg: u32 = 211; -pub const __NR_recvmsg: u32 = 212; -pub const __NR_readahead: u32 = 213; -pub const __NR_brk: u32 = 214; -pub const __NR_munmap: u32 = 215; -pub const __NR_mremap: u32 = 216; -pub const __NR_add_key: u32 = 217; -pub const __NR_request_key: u32 = 218; -pub const __NR_keyctl: u32 = 219; -pub const __NR_clone: u32 = 220; -pub const __NR_execve: u32 = 221; -pub const __NR_mmap2: u32 = 222; -pub const __NR_fadvise64_64: u32 = 223; -pub const __NR_swapon: u32 = 224; -pub const __NR_swapoff: u32 = 225; -pub const __NR_mprotect: u32 = 226; -pub const __NR_msync: u32 = 227; -pub const __NR_mlock: u32 = 228; -pub const __NR_munlock: u32 = 229; -pub const __NR_mlockall: u32 = 230; -pub const __NR_munlockall: u32 = 231; -pub const __NR_mincore: u32 = 232; -pub const __NR_madvise: u32 = 233; -pub const __NR_remap_file_pages: u32 = 234; -pub const __NR_mbind: u32 = 235; -pub const __NR_get_mempolicy: u32 = 236; -pub const __NR_set_mempolicy: u32 = 237; -pub const __NR_migrate_pages: u32 = 238; -pub const __NR_move_pages: u32 = 239; -pub const __NR_rt_tgsigqueueinfo: u32 = 240; -pub const __NR_perf_event_open: u32 = 241; -pub const __NR_accept4: u32 = 242; -pub const __NR_riscv_hwprobe: u32 = 258; -pub const __NR_riscv_flush_icache: u32 = 259; -pub const __NR_prlimit64: u32 = 261; -pub const __NR_fanotify_init: u32 = 262; -pub const __NR_fanotify_mark: u32 = 263; -pub const __NR_name_to_handle_at: u32 = 264; -pub const __NR_open_by_handle_at: u32 = 265; -pub const __NR_syncfs: u32 = 267; -pub const __NR_setns: u32 = 268; -pub const __NR_sendmmsg: u32 = 269; -pub const __NR_process_vm_readv: u32 = 270; -pub const __NR_process_vm_writev: u32 = 271; -pub const __NR_kcmp: u32 = 272; -pub const __NR_finit_module: u32 = 273; -pub const __NR_sched_setattr: u32 = 274; -pub const __NR_sched_getattr: u32 = 275; -pub const __NR_renameat2: u32 = 276; -pub const __NR_seccomp: u32 = 277; -pub const __NR_getrandom: u32 = 278; -pub const __NR_memfd_create: u32 = 279; -pub const __NR_bpf: u32 = 280; -pub const __NR_execveat: u32 = 281; -pub const __NR_userfaultfd: u32 = 282; -pub const __NR_membarrier: u32 = 283; -pub const __NR_mlock2: u32 = 284; -pub const __NR_copy_file_range: u32 = 285; -pub const __NR_preadv2: u32 = 286; -pub const __NR_pwritev2: u32 = 287; -pub const __NR_pkey_mprotect: u32 = 288; -pub const __NR_pkey_alloc: u32 = 289; -pub const __NR_pkey_free: u32 = 290; -pub const __NR_statx: u32 = 291; -pub const __NR_rseq: u32 = 293; -pub const __NR_kexec_file_load: u32 = 294; -pub const __NR_clock_gettime64: u32 = 403; -pub const __NR_clock_settime64: u32 = 404; -pub const __NR_clock_adjtime64: u32 = 405; -pub const __NR_clock_getres_time64: u32 = 406; -pub const __NR_clock_nanosleep_time64: u32 = 407; -pub const __NR_timer_gettime64: u32 = 408; -pub const __NR_timer_settime64: u32 = 409; -pub const __NR_timerfd_gettime64: u32 = 410; -pub const __NR_timerfd_settime64: u32 = 411; -pub const __NR_utimensat_time64: u32 = 412; -pub const __NR_pselect6_time64: u32 = 413; -pub const __NR_ppoll_time64: u32 = 414; -pub const __NR_io_pgetevents_time64: u32 = 416; -pub const __NR_recvmmsg_time64: u32 = 417; -pub const __NR_mq_timedsend_time64: u32 = 418; -pub const __NR_mq_timedreceive_time64: u32 = 419; -pub const __NR_semtimedop_time64: u32 = 420; -pub const __NR_rt_sigtimedwait_time64: u32 = 421; -pub const __NR_futex_time64: u32 = 422; -pub const __NR_sched_rr_get_interval_time64: u32 = 423; -pub const __NR_pidfd_send_signal: u32 = 424; -pub const __NR_io_uring_setup: u32 = 425; -pub const __NR_io_uring_enter: u32 = 426; -pub const __NR_io_uring_register: u32 = 427; -pub const __NR_open_tree: u32 = 428; -pub const __NR_move_mount: u32 = 429; -pub const __NR_fsopen: u32 = 430; -pub const __NR_fsconfig: u32 = 431; -pub const __NR_fsmount: u32 = 432; -pub const __NR_fspick: u32 = 433; -pub const __NR_pidfd_open: u32 = 434; -pub const __NR_clone3: u32 = 435; -pub const __NR_close_range: u32 = 436; -pub const __NR_openat2: u32 = 437; -pub const __NR_pidfd_getfd: u32 = 438; -pub const __NR_faccessat2: u32 = 439; -pub const __NR_process_madvise: u32 = 440; -pub const __NR_epoll_pwait2: u32 = 441; -pub const __NR_mount_setattr: u32 = 442; -pub const __NR_quotactl_fd: u32 = 443; -pub const __NR_landlock_create_ruleset: u32 = 444; -pub const __NR_landlock_add_rule: u32 = 445; -pub const __NR_landlock_restrict_self: u32 = 446; -pub const __NR_memfd_secret: u32 = 447; -pub const __NR_process_mrelease: u32 = 448; -pub const __NR_futex_waitv: u32 = 449; -pub const __NR_set_mempolicy_home_node: u32 = 450; -pub const __NR_cachestat: u32 = 451; -pub const __NR_fchmodat2: u32 = 452; -pub const __NR_map_shadow_stack: u32 = 453; -pub const __NR_futex_wake: u32 = 454; -pub const __NR_futex_wait: u32 = 455; -pub const __NR_futex_requeue: u32 = 456; -pub const __NR_statmount: u32 = 457; -pub const __NR_listmount: u32 = 458; -pub const __NR_lsm_get_self_attr: u32 = 459; -pub const __NR_lsm_set_self_attr: u32 = 460; -pub const __NR_lsm_list_modules: u32 = 461; -pub const __NR_mseal: u32 = 462; diff --git a/tests/helper/src/gen/sys/riscv32gc_linux_gnu/linux_headers_linux_auxvec.rs b/tests/helper/src/gen/sys/riscv32gc_linux_gnu/linux_headers_linux_auxvec.rs deleted file mode 100644 index dcb2f60d..00000000 --- a/tests/helper/src/gen/sys/riscv32gc_linux_gnu/linux_headers_linux_auxvec.rs +++ /dev/null @@ -1,45 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -pub const AT_SYSINFO_EHDR: u32 = 33; -pub const AT_L1I_CACHESIZE: u32 = 40; -pub const AT_L1I_CACHEGEOMETRY: u32 = 41; -pub const AT_L1D_CACHESIZE: u32 = 42; -pub const AT_L1D_CACHEGEOMETRY: u32 = 43; -pub const AT_L2_CACHESIZE: u32 = 44; -pub const AT_L2_CACHEGEOMETRY: u32 = 45; -pub const AT_L3_CACHESIZE: u32 = 46; -pub const AT_L3_CACHEGEOMETRY: u32 = 47; -pub const AT_VECTOR_SIZE_ARCH: u32 = 10; -pub const AT_MINSIGSTKSZ: u32 = 51; -pub const AT_NULL: u32 = 0; -pub const AT_IGNORE: u32 = 1; -pub const AT_EXECFD: u32 = 2; -pub const AT_PHDR: u32 = 3; -pub const AT_PHENT: u32 = 4; -pub const AT_PHNUM: u32 = 5; -pub const AT_PAGESZ: u32 = 6; -pub const AT_BASE: u32 = 7; -pub const AT_FLAGS: u32 = 8; -pub const AT_ENTRY: u32 = 9; -pub const AT_NOTELF: u32 = 10; -pub const AT_UID: u32 = 11; -pub const AT_EUID: u32 = 12; -pub const AT_GID: u32 = 13; -pub const AT_EGID: u32 = 14; -pub const AT_PLATFORM: u32 = 15; -pub const AT_HWCAP: u32 = 16; -pub const AT_CLKTCK: u32 = 17; -pub const AT_SECURE: u32 = 23; -pub const AT_BASE_PLATFORM: u32 = 24; -pub const AT_RANDOM: u32 = 25; -pub const AT_HWCAP2: u32 = 26; -pub const AT_RSEQ_FEATURE_SIZE: u32 = 27; -pub const AT_RSEQ_ALIGN: u32 = 28; -pub const AT_HWCAP3: u32 = 29; -pub const AT_HWCAP4: u32 = 30; -pub const AT_EXECFN: u32 = 31; diff --git a/tests/helper/src/gen/sys/riscv32gc_linux_gnu/linux_headers_linux_prctl.rs b/tests/helper/src/gen/sys/riscv32gc_linux_gnu/linux_headers_linux_prctl.rs deleted file mode 100644 index 6eeb3021..00000000 --- a/tests/helper/src/gen/sys/riscv32gc_linux_gnu/linux_headers_linux_prctl.rs +++ /dev/null @@ -1,189 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -pub const PR_SET_PDEATHSIG: u32 = 1; -pub const PR_GET_PDEATHSIG: u32 = 2; -pub const PR_GET_DUMPABLE: u32 = 3; -pub const PR_SET_DUMPABLE: u32 = 4; -pub const PR_GET_UNALIGN: u32 = 5; -pub const PR_SET_UNALIGN: u32 = 6; -pub const PR_UNALIGN_NOPRINT: u32 = 1; -pub const PR_UNALIGN_SIGBUS: u32 = 2; -pub const PR_GET_KEEPCAPS: u32 = 7; -pub const PR_SET_KEEPCAPS: u32 = 8; -pub const PR_GET_FPEMU: u32 = 9; -pub const PR_SET_FPEMU: u32 = 10; -pub const PR_FPEMU_NOPRINT: u32 = 1; -pub const PR_FPEMU_SIGFPE: u32 = 2; -pub const PR_GET_FPEXC: u32 = 11; -pub const PR_SET_FPEXC: u32 = 12; -pub const PR_FP_EXC_SW_ENABLE: u32 = 128; -pub const PR_FP_EXC_DIV: u32 = 65536; -pub const PR_FP_EXC_OVF: u32 = 131072; -pub const PR_FP_EXC_UND: u32 = 262144; -pub const PR_FP_EXC_RES: u32 = 524288; -pub const PR_FP_EXC_INV: u32 = 1048576; -pub const PR_FP_EXC_DISABLED: u32 = 0; -pub const PR_FP_EXC_NONRECOV: u32 = 1; -pub const PR_FP_EXC_ASYNC: u32 = 2; -pub const PR_FP_EXC_PRECISE: u32 = 3; -pub const PR_GET_TIMING: u32 = 13; -pub const PR_SET_TIMING: u32 = 14; -pub const PR_TIMING_STATISTICAL: u32 = 0; -pub const PR_TIMING_TIMESTAMP: u32 = 1; -pub const PR_SET_NAME: u32 = 15; -pub const PR_GET_NAME: u32 = 16; -pub const PR_GET_ENDIAN: u32 = 19; -pub const PR_SET_ENDIAN: u32 = 20; -pub const PR_ENDIAN_BIG: u32 = 0; -pub const PR_ENDIAN_LITTLE: u32 = 1; -pub const PR_ENDIAN_PPC_LITTLE: u32 = 2; -pub const PR_GET_SECCOMP: u32 = 21; -pub const PR_SET_SECCOMP: u32 = 22; -pub const PR_CAPBSET_READ: u32 = 23; -pub const PR_CAPBSET_DROP: u32 = 24; -pub const PR_GET_TSC: u32 = 25; -pub const PR_SET_TSC: u32 = 26; -pub const PR_TSC_ENABLE: u32 = 1; -pub const PR_TSC_SIGSEGV: u32 = 2; -pub const PR_GET_SECUREBITS: u32 = 27; -pub const PR_SET_SECUREBITS: u32 = 28; -pub const PR_SET_TIMERSLACK: u32 = 29; -pub const PR_GET_TIMERSLACK: u32 = 30; -pub const PR_TASK_PERF_EVENTS_DISABLE: u32 = 31; -pub const PR_TASK_PERF_EVENTS_ENABLE: u32 = 32; -pub const PR_MCE_KILL: u32 = 33; -pub const PR_MCE_KILL_CLEAR: u32 = 0; -pub const PR_MCE_KILL_SET: u32 = 1; -pub const PR_MCE_KILL_LATE: u32 = 0; -pub const PR_MCE_KILL_EARLY: u32 = 1; -pub const PR_MCE_KILL_DEFAULT: u32 = 2; -pub const PR_MCE_KILL_GET: u32 = 34; -pub const PR_SET_MM: u32 = 35; -pub const PR_SET_MM_START_CODE: u32 = 1; -pub const PR_SET_MM_END_CODE: u32 = 2; -pub const PR_SET_MM_START_DATA: u32 = 3; -pub const PR_SET_MM_END_DATA: u32 = 4; -pub const PR_SET_MM_START_STACK: u32 = 5; -pub const PR_SET_MM_START_BRK: u32 = 6; -pub const PR_SET_MM_BRK: u32 = 7; -pub const PR_SET_MM_ARG_START: u32 = 8; -pub const PR_SET_MM_ARG_END: u32 = 9; -pub const PR_SET_MM_ENV_START: u32 = 10; -pub const PR_SET_MM_ENV_END: u32 = 11; -pub const PR_SET_MM_AUXV: u32 = 12; -pub const PR_SET_MM_EXE_FILE: u32 = 13; -pub const PR_SET_MM_MAP: u32 = 14; -pub const PR_SET_MM_MAP_SIZE: u32 = 15; -pub const PR_SET_PTRACER: u32 = 1499557217; -pub const PR_SET_PTRACER_ANY: ::std::os::raw::c_ulong = -1i8 as ::std::os::raw::c_ulong; -pub const PR_SET_CHILD_SUBREAPER: u32 = 36; -pub const PR_GET_CHILD_SUBREAPER: u32 = 37; -pub const PR_SET_NO_NEW_PRIVS: u32 = 38; -pub const PR_GET_NO_NEW_PRIVS: u32 = 39; -pub const PR_GET_TID_ADDRESS: u32 = 40; -pub const PR_SET_THP_DISABLE: u32 = 41; -pub const PR_GET_THP_DISABLE: u32 = 42; -pub const PR_MPX_ENABLE_MANAGEMENT: u32 = 43; -pub const PR_MPX_DISABLE_MANAGEMENT: u32 = 44; -pub const PR_SET_FP_MODE: u32 = 45; -pub const PR_GET_FP_MODE: u32 = 46; -pub const PR_FP_MODE_FR: u32 = 1; -pub const PR_FP_MODE_FRE: u32 = 2; -pub const PR_CAP_AMBIENT: u32 = 47; -pub const PR_CAP_AMBIENT_IS_SET: u32 = 1; -pub const PR_CAP_AMBIENT_RAISE: u32 = 2; -pub const PR_CAP_AMBIENT_LOWER: u32 = 3; -pub const PR_CAP_AMBIENT_CLEAR_ALL: u32 = 4; -pub const PR_SVE_SET_VL: u32 = 50; -pub const PR_SVE_SET_VL_ONEXEC: u32 = 262144; -pub const PR_SVE_GET_VL: u32 = 51; -pub const PR_SVE_VL_LEN_MASK: u32 = 65535; -pub const PR_SVE_VL_INHERIT: u32 = 131072; -pub const PR_GET_SPECULATION_CTRL: u32 = 52; -pub const PR_SET_SPECULATION_CTRL: u32 = 53; -pub const PR_SPEC_STORE_BYPASS: u32 = 0; -pub const PR_SPEC_INDIRECT_BRANCH: u32 = 1; -pub const PR_SPEC_L1D_FLUSH: u32 = 2; -pub const PR_SPEC_NOT_AFFECTED: u32 = 0; -pub const PR_SPEC_PRCTL: u32 = 1; -pub const PR_SPEC_ENABLE: u32 = 2; -pub const PR_SPEC_DISABLE: u32 = 4; -pub const PR_SPEC_FORCE_DISABLE: u32 = 8; -pub const PR_SPEC_DISABLE_NOEXEC: u32 = 16; -pub const PR_PAC_RESET_KEYS: u32 = 54; -pub const PR_PAC_APIAKEY: u32 = 1; -pub const PR_PAC_APIBKEY: u32 = 2; -pub const PR_PAC_APDAKEY: u32 = 4; -pub const PR_PAC_APDBKEY: u32 = 8; -pub const PR_PAC_APGAKEY: u32 = 16; -pub const PR_SET_TAGGED_ADDR_CTRL: u32 = 55; -pub const PR_GET_TAGGED_ADDR_CTRL: u32 = 56; -pub const PR_TAGGED_ADDR_ENABLE: u32 = 1; -pub const PR_MTE_TCF_NONE: u32 = 0; -pub const PR_MTE_TCF_SYNC: u32 = 2; -pub const PR_MTE_TCF_ASYNC: u32 = 4; -pub const PR_MTE_TCF_MASK: u32 = 6; -pub const PR_MTE_TAG_SHIFT: u32 = 3; -pub const PR_MTE_TAG_MASK: u32 = 524280; -pub const PR_MTE_TCF_SHIFT: u32 = 1; -pub const PR_SET_IO_FLUSHER: u32 = 57; -pub const PR_GET_IO_FLUSHER: u32 = 58; -pub const PR_SET_SYSCALL_USER_DISPATCH: u32 = 59; -pub const PR_SYS_DISPATCH_OFF: u32 = 0; -pub const PR_SYS_DISPATCH_ON: u32 = 1; -pub const PR_PAC_SET_ENABLED_KEYS: u32 = 60; -pub const PR_PAC_GET_ENABLED_KEYS: u32 = 61; -pub const PR_SCHED_CORE: u32 = 62; -pub const PR_SCHED_CORE_GET: u32 = 0; -pub const PR_SCHED_CORE_CREATE: u32 = 1; -pub const PR_SCHED_CORE_SHARE_TO: u32 = 2; -pub const PR_SCHED_CORE_SHARE_FROM: u32 = 3; -pub const PR_SCHED_CORE_MAX: u32 = 4; -pub const PR_SCHED_CORE_SCOPE_THREAD: u32 = 0; -pub const PR_SCHED_CORE_SCOPE_THREAD_GROUP: u32 = 1; -pub const PR_SCHED_CORE_SCOPE_PROCESS_GROUP: u32 = 2; -pub const PR_SME_SET_VL: u32 = 63; -pub const PR_SME_SET_VL_ONEXEC: u32 = 262144; -pub const PR_SME_GET_VL: u32 = 64; -pub const PR_SME_VL_LEN_MASK: u32 = 65535; -pub const PR_SME_VL_INHERIT: u32 = 131072; -pub const PR_SET_MDWE: u32 = 65; -pub const PR_MDWE_REFUSE_EXEC_GAIN: u32 = 1; -pub const PR_MDWE_NO_INHERIT: u32 = 2; -pub const PR_GET_MDWE: u32 = 66; -pub const PR_SET_VMA: u32 = 1398164801; -pub const PR_SET_VMA_ANON_NAME: u32 = 0; -pub const PR_GET_AUXV: u32 = 1096112214; -pub const PR_SET_MEMORY_MERGE: u32 = 67; -pub const PR_GET_MEMORY_MERGE: u32 = 68; -pub const PR_RISCV_V_SET_CONTROL: u32 = 69; -pub const PR_RISCV_V_GET_CONTROL: u32 = 70; -pub const PR_RISCV_V_VSTATE_CTRL_DEFAULT: u32 = 0; -pub const PR_RISCV_V_VSTATE_CTRL_OFF: u32 = 1; -pub const PR_RISCV_V_VSTATE_CTRL_ON: u32 = 2; -pub const PR_RISCV_V_VSTATE_CTRL_INHERIT: u32 = 16; -pub const PR_RISCV_V_VSTATE_CTRL_CUR_MASK: u32 = 3; -pub const PR_RISCV_V_VSTATE_CTRL_NEXT_MASK: u32 = 12; -pub const PR_RISCV_V_VSTATE_CTRL_MASK: u32 = 31; -pub const PR_RISCV_SET_ICACHE_FLUSH_CTX: u32 = 71; -pub const PR_RISCV_CTX_SW_FENCEI_ON: u32 = 0; -pub const PR_RISCV_CTX_SW_FENCEI_OFF: u32 = 1; -pub const PR_RISCV_SCOPE_PER_PROCESS: u32 = 0; -pub const PR_RISCV_SCOPE_PER_THREAD: u32 = 1; -pub const PR_PPC_GET_DEXCR: u32 = 72; -pub const PR_PPC_SET_DEXCR: u32 = 73; -pub const PR_PPC_DEXCR_SBHE: u32 = 0; -pub const PR_PPC_DEXCR_IBRTPD: u32 = 1; -pub const PR_PPC_DEXCR_SRAPD: u32 = 2; -pub const PR_PPC_DEXCR_NPHIE: u32 = 3; -pub const PR_PPC_DEXCR_CTRL_EDITABLE: u32 = 1; -pub const PR_PPC_DEXCR_CTRL_SET: u32 = 2; -pub const PR_PPC_DEXCR_CTRL_CLEAR: u32 = 4; -pub const PR_PPC_DEXCR_CTRL_SET_ONEXEC: u32 = 8; -pub const PR_PPC_DEXCR_CTRL_CLEAR_ONEXEC: u32 = 16; -pub const PR_PPC_DEXCR_CTRL_MASK: u32 = 31; diff --git a/tests/helper/src/gen/sys/riscv32gc_linux_gnu/mod.rs b/tests/helper/src/gen/sys/riscv32gc_linux_gnu/mod.rs deleted file mode 100644 index 192563b5..00000000 --- a/tests/helper/src/gen/sys/riscv32gc_linux_gnu/mod.rs +++ /dev/null @@ -1,624 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] -mod linux_headers_asm_hwcap; -mod linux_headers_asm_hwprobe; -pub use linux_headers_asm_hwprobe::riscv_hwprobe; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_KEY_MVENDORID; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_KEY_MARCHID; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_KEY_MIMPID; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_KEY_BASE_BEHAVIOR; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_BASE_BEHAVIOR_IMA; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_KEY_IMA_EXT_0; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_IMA_FD; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_IMA_C; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_IMA_V; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZBA; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZBB; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZBS; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZICBOZ; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZBC; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZBKB; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZBKC; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZBKX; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZKND; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZKNE; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZKNH; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZKSED; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZKSH; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZKT; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZVBB; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZVBC; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZVKB; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZVKG; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZVKNED; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZVKNHA; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZVKNHB; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZVKSED; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZVKSH; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZVKT; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZFH; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZFHMIN; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZIHINTNTL; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZVFH; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZVFHMIN; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZFA; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZTSO; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZACAS; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZICOND; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZIHINTPAUSE; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZVE32X; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZVE32F; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZVE64X; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZVE64F; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZVE64D; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZIMOP; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZCA; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZCB; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZCD; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZCF; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZCMOP; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZAWRS; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_KEY_CPUPERF_0; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_MISALIGNED_UNKNOWN; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_MISALIGNED_EMULATED; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_MISALIGNED_SLOW; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_MISALIGNED_FAST; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_MISALIGNED_UNSUPPORTED; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_MISALIGNED_MASK; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_KEY_ZICBOZ_BLOCK_SIZE; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_KEY_HIGHEST_VIRT_ADDRESS; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_KEY_TIME_CSR_FREQ; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_KEY_MISALIGNED_SCALAR_PERF; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_MISALIGNED_SCALAR_UNKNOWN; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_MISALIGNED_SCALAR_EMULATED; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_MISALIGNED_SCALAR_SLOW; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_MISALIGNED_SCALAR_FAST; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_MISALIGNED_SCALAR_UNSUPPORTED; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_WHICH_CPUS; -mod linux_headers_asm_unistd; -pub use linux_headers_asm_unistd::__NR_io_setup; -pub use linux_headers_asm_unistd::__NR_io_destroy; -pub use linux_headers_asm_unistd::__NR_io_submit; -pub use linux_headers_asm_unistd::__NR_io_cancel; -pub use linux_headers_asm_unistd::__NR_setxattr; -pub use linux_headers_asm_unistd::__NR_lsetxattr; -pub use linux_headers_asm_unistd::__NR_fsetxattr; -pub use linux_headers_asm_unistd::__NR_getxattr; -pub use linux_headers_asm_unistd::__NR_lgetxattr; -pub use linux_headers_asm_unistd::__NR_fgetxattr; -pub use linux_headers_asm_unistd::__NR_listxattr; -pub use linux_headers_asm_unistd::__NR_llistxattr; -pub use linux_headers_asm_unistd::__NR_flistxattr; -pub use linux_headers_asm_unistd::__NR_removexattr; -pub use linux_headers_asm_unistd::__NR_lremovexattr; -pub use linux_headers_asm_unistd::__NR_fremovexattr; -pub use linux_headers_asm_unistd::__NR_getcwd; -pub use linux_headers_asm_unistd::__NR_lookup_dcookie; -pub use linux_headers_asm_unistd::__NR_eventfd2; -pub use linux_headers_asm_unistd::__NR_epoll_create1; -pub use linux_headers_asm_unistd::__NR_epoll_ctl; -pub use linux_headers_asm_unistd::__NR_epoll_pwait; -pub use linux_headers_asm_unistd::__NR_dup; -pub use linux_headers_asm_unistd::__NR_dup3; -pub use linux_headers_asm_unistd::__NR_fcntl64; -pub use linux_headers_asm_unistd::__NR_inotify_init1; -pub use linux_headers_asm_unistd::__NR_inotify_add_watch; -pub use linux_headers_asm_unistd::__NR_inotify_rm_watch; -pub use linux_headers_asm_unistd::__NR_ioctl; -pub use linux_headers_asm_unistd::__NR_ioprio_set; -pub use linux_headers_asm_unistd::__NR_ioprio_get; -pub use linux_headers_asm_unistd::__NR_flock; -pub use linux_headers_asm_unistd::__NR_mknodat; -pub use linux_headers_asm_unistd::__NR_mkdirat; -pub use linux_headers_asm_unistd::__NR_unlinkat; -pub use linux_headers_asm_unistd::__NR_symlinkat; -pub use linux_headers_asm_unistd::__NR_linkat; -pub use linux_headers_asm_unistd::__NR_umount2; -pub use linux_headers_asm_unistd::__NR_mount; -pub use linux_headers_asm_unistd::__NR_pivot_root; -pub use linux_headers_asm_unistd::__NR_nfsservctl; -pub use linux_headers_asm_unistd::__NR_statfs64; -pub use linux_headers_asm_unistd::__NR_fstatfs64; -pub use linux_headers_asm_unistd::__NR_truncate64; -pub use linux_headers_asm_unistd::__NR_ftruncate64; -pub use linux_headers_asm_unistd::__NR_fallocate; -pub use linux_headers_asm_unistd::__NR_faccessat; -pub use linux_headers_asm_unistd::__NR_chdir; -pub use linux_headers_asm_unistd::__NR_fchdir; -pub use linux_headers_asm_unistd::__NR_chroot; -pub use linux_headers_asm_unistd::__NR_fchmod; -pub use linux_headers_asm_unistd::__NR_fchmodat; -pub use linux_headers_asm_unistd::__NR_fchownat; -pub use linux_headers_asm_unistd::__NR_fchown; -pub use linux_headers_asm_unistd::__NR_openat; -pub use linux_headers_asm_unistd::__NR_close; -pub use linux_headers_asm_unistd::__NR_vhangup; -pub use linux_headers_asm_unistd::__NR_pipe2; -pub use linux_headers_asm_unistd::__NR_quotactl; -pub use linux_headers_asm_unistd::__NR_getdents64; -pub use linux_headers_asm_unistd::__NR_llseek; -pub use linux_headers_asm_unistd::__NR_read; -pub use linux_headers_asm_unistd::__NR_write; -pub use linux_headers_asm_unistd::__NR_readv; -pub use linux_headers_asm_unistd::__NR_writev; -pub use linux_headers_asm_unistd::__NR_pread64; -pub use linux_headers_asm_unistd::__NR_pwrite64; -pub use linux_headers_asm_unistd::__NR_preadv; -pub use linux_headers_asm_unistd::__NR_pwritev; -pub use linux_headers_asm_unistd::__NR_sendfile64; -pub use linux_headers_asm_unistd::__NR_signalfd4; -pub use linux_headers_asm_unistd::__NR_vmsplice; -pub use linux_headers_asm_unistd::__NR_splice; -pub use linux_headers_asm_unistd::__NR_tee; -pub use linux_headers_asm_unistd::__NR_readlinkat; -pub use linux_headers_asm_unistd::__NR_sync; -pub use linux_headers_asm_unistd::__NR_fsync; -pub use linux_headers_asm_unistd::__NR_fdatasync; -pub use linux_headers_asm_unistd::__NR_sync_file_range; -pub use linux_headers_asm_unistd::__NR_timerfd_create; -pub use linux_headers_asm_unistd::__NR_acct; -pub use linux_headers_asm_unistd::__NR_capget; -pub use linux_headers_asm_unistd::__NR_capset; -pub use linux_headers_asm_unistd::__NR_personality; -pub use linux_headers_asm_unistd::__NR_exit; -pub use linux_headers_asm_unistd::__NR_exit_group; -pub use linux_headers_asm_unistd::__NR_waitid; -pub use linux_headers_asm_unistd::__NR_set_tid_address; -pub use linux_headers_asm_unistd::__NR_unshare; -pub use linux_headers_asm_unistd::__NR_set_robust_list; -pub use linux_headers_asm_unistd::__NR_get_robust_list; -pub use linux_headers_asm_unistd::__NR_getitimer; -pub use linux_headers_asm_unistd::__NR_setitimer; -pub use linux_headers_asm_unistd::__NR_kexec_load; -pub use linux_headers_asm_unistd::__NR_init_module; -pub use linux_headers_asm_unistd::__NR_delete_module; -pub use linux_headers_asm_unistd::__NR_timer_create; -pub use linux_headers_asm_unistd::__NR_timer_getoverrun; -pub use linux_headers_asm_unistd::__NR_timer_delete; -pub use linux_headers_asm_unistd::__NR_syslog; -pub use linux_headers_asm_unistd::__NR_ptrace; -pub use linux_headers_asm_unistd::__NR_sched_setparam; -pub use linux_headers_asm_unistd::__NR_sched_setscheduler; -pub use linux_headers_asm_unistd::__NR_sched_getscheduler; -pub use linux_headers_asm_unistd::__NR_sched_getparam; -pub use linux_headers_asm_unistd::__NR_sched_setaffinity; -pub use linux_headers_asm_unistd::__NR_sched_getaffinity; -pub use linux_headers_asm_unistd::__NR_sched_yield; -pub use linux_headers_asm_unistd::__NR_sched_get_priority_max; -pub use linux_headers_asm_unistd::__NR_sched_get_priority_min; -pub use linux_headers_asm_unistd::__NR_restart_syscall; -pub use linux_headers_asm_unistd::__NR_kill; -pub use linux_headers_asm_unistd::__NR_tkill; -pub use linux_headers_asm_unistd::__NR_tgkill; -pub use linux_headers_asm_unistd::__NR_sigaltstack; -pub use linux_headers_asm_unistd::__NR_rt_sigsuspend; -pub use linux_headers_asm_unistd::__NR_rt_sigaction; -pub use linux_headers_asm_unistd::__NR_rt_sigprocmask; -pub use linux_headers_asm_unistd::__NR_rt_sigpending; -pub use linux_headers_asm_unistd::__NR_rt_sigqueueinfo; -pub use linux_headers_asm_unistd::__NR_rt_sigreturn; -pub use linux_headers_asm_unistd::__NR_setpriority; -pub use linux_headers_asm_unistd::__NR_getpriority; -pub use linux_headers_asm_unistd::__NR_reboot; -pub use linux_headers_asm_unistd::__NR_setregid; -pub use linux_headers_asm_unistd::__NR_setgid; -pub use linux_headers_asm_unistd::__NR_setreuid; -pub use linux_headers_asm_unistd::__NR_setuid; -pub use linux_headers_asm_unistd::__NR_setresuid; -pub use linux_headers_asm_unistd::__NR_getresuid; -pub use linux_headers_asm_unistd::__NR_setresgid; -pub use linux_headers_asm_unistd::__NR_getresgid; -pub use linux_headers_asm_unistd::__NR_setfsuid; -pub use linux_headers_asm_unistd::__NR_setfsgid; -pub use linux_headers_asm_unistd::__NR_times; -pub use linux_headers_asm_unistd::__NR_setpgid; -pub use linux_headers_asm_unistd::__NR_getpgid; -pub use linux_headers_asm_unistd::__NR_getsid; -pub use linux_headers_asm_unistd::__NR_setsid; -pub use linux_headers_asm_unistd::__NR_getgroups; -pub use linux_headers_asm_unistd::__NR_setgroups; -pub use linux_headers_asm_unistd::__NR_uname; -pub use linux_headers_asm_unistd::__NR_sethostname; -pub use linux_headers_asm_unistd::__NR_setdomainname; -pub use linux_headers_asm_unistd::__NR_getrusage; -pub use linux_headers_asm_unistd::__NR_umask; -pub use linux_headers_asm_unistd::__NR_prctl; -pub use linux_headers_asm_unistd::__NR_getcpu; -pub use linux_headers_asm_unistd::__NR_getpid; -pub use linux_headers_asm_unistd::__NR_getppid; -pub use linux_headers_asm_unistd::__NR_getuid; -pub use linux_headers_asm_unistd::__NR_geteuid; -pub use linux_headers_asm_unistd::__NR_getgid; -pub use linux_headers_asm_unistd::__NR_getegid; -pub use linux_headers_asm_unistd::__NR_gettid; -pub use linux_headers_asm_unistd::__NR_sysinfo; -pub use linux_headers_asm_unistd::__NR_mq_open; -pub use linux_headers_asm_unistd::__NR_mq_unlink; -pub use linux_headers_asm_unistd::__NR_mq_notify; -pub use linux_headers_asm_unistd::__NR_mq_getsetattr; -pub use linux_headers_asm_unistd::__NR_msgget; -pub use linux_headers_asm_unistd::__NR_msgctl; -pub use linux_headers_asm_unistd::__NR_msgrcv; -pub use linux_headers_asm_unistd::__NR_msgsnd; -pub use linux_headers_asm_unistd::__NR_semget; -pub use linux_headers_asm_unistd::__NR_semctl; -pub use linux_headers_asm_unistd::__NR_semop; -pub use linux_headers_asm_unistd::__NR_shmget; -pub use linux_headers_asm_unistd::__NR_shmctl; -pub use linux_headers_asm_unistd::__NR_shmat; -pub use linux_headers_asm_unistd::__NR_shmdt; -pub use linux_headers_asm_unistd::__NR_socket; -pub use linux_headers_asm_unistd::__NR_socketpair; -pub use linux_headers_asm_unistd::__NR_bind; -pub use linux_headers_asm_unistd::__NR_listen; -pub use linux_headers_asm_unistd::__NR_accept; -pub use linux_headers_asm_unistd::__NR_connect; -pub use linux_headers_asm_unistd::__NR_getsockname; -pub use linux_headers_asm_unistd::__NR_getpeername; -pub use linux_headers_asm_unistd::__NR_sendto; -pub use linux_headers_asm_unistd::__NR_recvfrom; -pub use linux_headers_asm_unistd::__NR_setsockopt; -pub use linux_headers_asm_unistd::__NR_getsockopt; -pub use linux_headers_asm_unistd::__NR_shutdown; -pub use linux_headers_asm_unistd::__NR_sendmsg; -pub use linux_headers_asm_unistd::__NR_recvmsg; -pub use linux_headers_asm_unistd::__NR_readahead; -pub use linux_headers_asm_unistd::__NR_brk; -pub use linux_headers_asm_unistd::__NR_munmap; -pub use linux_headers_asm_unistd::__NR_mremap; -pub use linux_headers_asm_unistd::__NR_add_key; -pub use linux_headers_asm_unistd::__NR_request_key; -pub use linux_headers_asm_unistd::__NR_keyctl; -pub use linux_headers_asm_unistd::__NR_clone; -pub use linux_headers_asm_unistd::__NR_execve; -pub use linux_headers_asm_unistd::__NR_mmap2; -pub use linux_headers_asm_unistd::__NR_fadvise64_64; -pub use linux_headers_asm_unistd::__NR_swapon; -pub use linux_headers_asm_unistd::__NR_swapoff; -pub use linux_headers_asm_unistd::__NR_mprotect; -pub use linux_headers_asm_unistd::__NR_msync; -pub use linux_headers_asm_unistd::__NR_mlock; -pub use linux_headers_asm_unistd::__NR_munlock; -pub use linux_headers_asm_unistd::__NR_mlockall; -pub use linux_headers_asm_unistd::__NR_munlockall; -pub use linux_headers_asm_unistd::__NR_mincore; -pub use linux_headers_asm_unistd::__NR_madvise; -pub use linux_headers_asm_unistd::__NR_remap_file_pages; -pub use linux_headers_asm_unistd::__NR_mbind; -pub use linux_headers_asm_unistd::__NR_get_mempolicy; -pub use linux_headers_asm_unistd::__NR_set_mempolicy; -pub use linux_headers_asm_unistd::__NR_migrate_pages; -pub use linux_headers_asm_unistd::__NR_move_pages; -pub use linux_headers_asm_unistd::__NR_rt_tgsigqueueinfo; -pub use linux_headers_asm_unistd::__NR_perf_event_open; -pub use linux_headers_asm_unistd::__NR_accept4; -pub use linux_headers_asm_unistd::__NR_riscv_hwprobe; -pub use linux_headers_asm_unistd::__NR_riscv_flush_icache; -pub use linux_headers_asm_unistd::__NR_prlimit64; -pub use linux_headers_asm_unistd::__NR_fanotify_init; -pub use linux_headers_asm_unistd::__NR_fanotify_mark; -pub use linux_headers_asm_unistd::__NR_name_to_handle_at; -pub use linux_headers_asm_unistd::__NR_open_by_handle_at; -pub use linux_headers_asm_unistd::__NR_syncfs; -pub use linux_headers_asm_unistd::__NR_setns; -pub use linux_headers_asm_unistd::__NR_sendmmsg; -pub use linux_headers_asm_unistd::__NR_process_vm_readv; -pub use linux_headers_asm_unistd::__NR_process_vm_writev; -pub use linux_headers_asm_unistd::__NR_kcmp; -pub use linux_headers_asm_unistd::__NR_finit_module; -pub use linux_headers_asm_unistd::__NR_sched_setattr; -pub use linux_headers_asm_unistd::__NR_sched_getattr; -pub use linux_headers_asm_unistd::__NR_renameat2; -pub use linux_headers_asm_unistd::__NR_seccomp; -pub use linux_headers_asm_unistd::__NR_getrandom; -pub use linux_headers_asm_unistd::__NR_memfd_create; -pub use linux_headers_asm_unistd::__NR_bpf; -pub use linux_headers_asm_unistd::__NR_execveat; -pub use linux_headers_asm_unistd::__NR_userfaultfd; -pub use linux_headers_asm_unistd::__NR_membarrier; -pub use linux_headers_asm_unistd::__NR_mlock2; -pub use linux_headers_asm_unistd::__NR_copy_file_range; -pub use linux_headers_asm_unistd::__NR_preadv2; -pub use linux_headers_asm_unistd::__NR_pwritev2; -pub use linux_headers_asm_unistd::__NR_pkey_mprotect; -pub use linux_headers_asm_unistd::__NR_pkey_alloc; -pub use linux_headers_asm_unistd::__NR_pkey_free; -pub use linux_headers_asm_unistd::__NR_statx; -pub use linux_headers_asm_unistd::__NR_rseq; -pub use linux_headers_asm_unistd::__NR_kexec_file_load; -pub use linux_headers_asm_unistd::__NR_clock_gettime64; -pub use linux_headers_asm_unistd::__NR_clock_settime64; -pub use linux_headers_asm_unistd::__NR_clock_adjtime64; -pub use linux_headers_asm_unistd::__NR_clock_getres_time64; -pub use linux_headers_asm_unistd::__NR_clock_nanosleep_time64; -pub use linux_headers_asm_unistd::__NR_timer_gettime64; -pub use linux_headers_asm_unistd::__NR_timer_settime64; -pub use linux_headers_asm_unistd::__NR_timerfd_gettime64; -pub use linux_headers_asm_unistd::__NR_timerfd_settime64; -pub use linux_headers_asm_unistd::__NR_utimensat_time64; -pub use linux_headers_asm_unistd::__NR_pselect6_time64; -pub use linux_headers_asm_unistd::__NR_ppoll_time64; -pub use linux_headers_asm_unistd::__NR_io_pgetevents_time64; -pub use linux_headers_asm_unistd::__NR_recvmmsg_time64; -pub use linux_headers_asm_unistd::__NR_mq_timedsend_time64; -pub use linux_headers_asm_unistd::__NR_mq_timedreceive_time64; -pub use linux_headers_asm_unistd::__NR_semtimedop_time64; -pub use linux_headers_asm_unistd::__NR_rt_sigtimedwait_time64; -pub use linux_headers_asm_unistd::__NR_futex_time64; -pub use linux_headers_asm_unistd::__NR_sched_rr_get_interval_time64; -pub use linux_headers_asm_unistd::__NR_pidfd_send_signal; -pub use linux_headers_asm_unistd::__NR_io_uring_setup; -pub use linux_headers_asm_unistd::__NR_io_uring_enter; -pub use linux_headers_asm_unistd::__NR_io_uring_register; -pub use linux_headers_asm_unistd::__NR_open_tree; -pub use linux_headers_asm_unistd::__NR_move_mount; -pub use linux_headers_asm_unistd::__NR_fsopen; -pub use linux_headers_asm_unistd::__NR_fsconfig; -pub use linux_headers_asm_unistd::__NR_fsmount; -pub use linux_headers_asm_unistd::__NR_fspick; -pub use linux_headers_asm_unistd::__NR_pidfd_open; -pub use linux_headers_asm_unistd::__NR_clone3; -pub use linux_headers_asm_unistd::__NR_close_range; -pub use linux_headers_asm_unistd::__NR_openat2; -pub use linux_headers_asm_unistd::__NR_pidfd_getfd; -pub use linux_headers_asm_unistd::__NR_faccessat2; -pub use linux_headers_asm_unistd::__NR_process_madvise; -pub use linux_headers_asm_unistd::__NR_epoll_pwait2; -pub use linux_headers_asm_unistd::__NR_mount_setattr; -pub use linux_headers_asm_unistd::__NR_quotactl_fd; -pub use linux_headers_asm_unistd::__NR_landlock_create_ruleset; -pub use linux_headers_asm_unistd::__NR_landlock_add_rule; -pub use linux_headers_asm_unistd::__NR_landlock_restrict_self; -pub use linux_headers_asm_unistd::__NR_memfd_secret; -pub use linux_headers_asm_unistd::__NR_process_mrelease; -pub use linux_headers_asm_unistd::__NR_futex_waitv; -pub use linux_headers_asm_unistd::__NR_set_mempolicy_home_node; -pub use linux_headers_asm_unistd::__NR_cachestat; -pub use linux_headers_asm_unistd::__NR_fchmodat2; -pub use linux_headers_asm_unistd::__NR_map_shadow_stack; -pub use linux_headers_asm_unistd::__NR_futex_wake; -pub use linux_headers_asm_unistd::__NR_futex_wait; -pub use linux_headers_asm_unistd::__NR_futex_requeue; -pub use linux_headers_asm_unistd::__NR_statmount; -pub use linux_headers_asm_unistd::__NR_listmount; -pub use linux_headers_asm_unistd::__NR_lsm_get_self_attr; -pub use linux_headers_asm_unistd::__NR_lsm_set_self_attr; -pub use linux_headers_asm_unistd::__NR_lsm_list_modules; -pub use linux_headers_asm_unistd::__NR_mseal; -mod linux_headers_linux_auxvec; -pub use linux_headers_linux_auxvec::AT_SYSINFO_EHDR; -pub use linux_headers_linux_auxvec::AT_L1I_CACHESIZE; -pub use linux_headers_linux_auxvec::AT_L1I_CACHEGEOMETRY; -pub use linux_headers_linux_auxvec::AT_L1D_CACHESIZE; -pub use linux_headers_linux_auxvec::AT_L1D_CACHEGEOMETRY; -pub use linux_headers_linux_auxvec::AT_L2_CACHESIZE; -pub use linux_headers_linux_auxvec::AT_L2_CACHEGEOMETRY; -pub use linux_headers_linux_auxvec::AT_L3_CACHESIZE; -pub use linux_headers_linux_auxvec::AT_L3_CACHEGEOMETRY; -pub use linux_headers_linux_auxvec::AT_VECTOR_SIZE_ARCH; -pub use linux_headers_linux_auxvec::AT_MINSIGSTKSZ; -pub use linux_headers_linux_auxvec::AT_NULL; -pub use linux_headers_linux_auxvec::AT_IGNORE; -pub use linux_headers_linux_auxvec::AT_EXECFD; -pub use linux_headers_linux_auxvec::AT_PHDR; -pub use linux_headers_linux_auxvec::AT_PHENT; -pub use linux_headers_linux_auxvec::AT_PHNUM; -pub use linux_headers_linux_auxvec::AT_PAGESZ; -pub use linux_headers_linux_auxvec::AT_BASE; -pub use linux_headers_linux_auxvec::AT_FLAGS; -pub use linux_headers_linux_auxvec::AT_ENTRY; -pub use linux_headers_linux_auxvec::AT_NOTELF; -pub use linux_headers_linux_auxvec::AT_UID; -pub use linux_headers_linux_auxvec::AT_EUID; -pub use linux_headers_linux_auxvec::AT_GID; -pub use linux_headers_linux_auxvec::AT_EGID; -pub use linux_headers_linux_auxvec::AT_PLATFORM; -pub use linux_headers_linux_auxvec::AT_HWCAP; -pub use linux_headers_linux_auxvec::AT_CLKTCK; -pub use linux_headers_linux_auxvec::AT_SECURE; -pub use linux_headers_linux_auxvec::AT_BASE_PLATFORM; -pub use linux_headers_linux_auxvec::AT_RANDOM; -pub use linux_headers_linux_auxvec::AT_HWCAP2; -pub use linux_headers_linux_auxvec::AT_RSEQ_FEATURE_SIZE; -pub use linux_headers_linux_auxvec::AT_RSEQ_ALIGN; -pub use linux_headers_linux_auxvec::AT_HWCAP3; -pub use linux_headers_linux_auxvec::AT_HWCAP4; -pub use linux_headers_linux_auxvec::AT_EXECFN; -mod linux_headers_linux_prctl; -pub use linux_headers_linux_prctl::PR_SET_PDEATHSIG; -pub use linux_headers_linux_prctl::PR_GET_PDEATHSIG; -pub use linux_headers_linux_prctl::PR_GET_DUMPABLE; -pub use linux_headers_linux_prctl::PR_SET_DUMPABLE; -pub use linux_headers_linux_prctl::PR_GET_UNALIGN; -pub use linux_headers_linux_prctl::PR_SET_UNALIGN; -pub use linux_headers_linux_prctl::PR_UNALIGN_NOPRINT; -pub use linux_headers_linux_prctl::PR_UNALIGN_SIGBUS; -pub use linux_headers_linux_prctl::PR_GET_KEEPCAPS; -pub use linux_headers_linux_prctl::PR_SET_KEEPCAPS; -pub use linux_headers_linux_prctl::PR_GET_FPEMU; -pub use linux_headers_linux_prctl::PR_SET_FPEMU; -pub use linux_headers_linux_prctl::PR_FPEMU_NOPRINT; -pub use linux_headers_linux_prctl::PR_FPEMU_SIGFPE; -pub use linux_headers_linux_prctl::PR_GET_FPEXC; -pub use linux_headers_linux_prctl::PR_SET_FPEXC; -pub use linux_headers_linux_prctl::PR_FP_EXC_SW_ENABLE; -pub use linux_headers_linux_prctl::PR_FP_EXC_DIV; -pub use linux_headers_linux_prctl::PR_FP_EXC_OVF; -pub use linux_headers_linux_prctl::PR_FP_EXC_UND; -pub use linux_headers_linux_prctl::PR_FP_EXC_RES; -pub use linux_headers_linux_prctl::PR_FP_EXC_INV; -pub use linux_headers_linux_prctl::PR_FP_EXC_DISABLED; -pub use linux_headers_linux_prctl::PR_FP_EXC_NONRECOV; -pub use linux_headers_linux_prctl::PR_FP_EXC_ASYNC; -pub use linux_headers_linux_prctl::PR_FP_EXC_PRECISE; -pub use linux_headers_linux_prctl::PR_GET_TIMING; -pub use linux_headers_linux_prctl::PR_SET_TIMING; -pub use linux_headers_linux_prctl::PR_TIMING_STATISTICAL; -pub use linux_headers_linux_prctl::PR_TIMING_TIMESTAMP; -pub use linux_headers_linux_prctl::PR_SET_NAME; -pub use linux_headers_linux_prctl::PR_GET_NAME; -pub use linux_headers_linux_prctl::PR_GET_ENDIAN; -pub use linux_headers_linux_prctl::PR_SET_ENDIAN; -pub use linux_headers_linux_prctl::PR_ENDIAN_BIG; -pub use linux_headers_linux_prctl::PR_ENDIAN_LITTLE; -pub use linux_headers_linux_prctl::PR_ENDIAN_PPC_LITTLE; -pub use linux_headers_linux_prctl::PR_GET_SECCOMP; -pub use linux_headers_linux_prctl::PR_SET_SECCOMP; -pub use linux_headers_linux_prctl::PR_CAPBSET_READ; -pub use linux_headers_linux_prctl::PR_CAPBSET_DROP; -pub use linux_headers_linux_prctl::PR_GET_TSC; -pub use linux_headers_linux_prctl::PR_SET_TSC; -pub use linux_headers_linux_prctl::PR_TSC_ENABLE; -pub use linux_headers_linux_prctl::PR_TSC_SIGSEGV; -pub use linux_headers_linux_prctl::PR_GET_SECUREBITS; -pub use linux_headers_linux_prctl::PR_SET_SECUREBITS; -pub use linux_headers_linux_prctl::PR_SET_TIMERSLACK; -pub use linux_headers_linux_prctl::PR_GET_TIMERSLACK; -pub use linux_headers_linux_prctl::PR_TASK_PERF_EVENTS_DISABLE; -pub use linux_headers_linux_prctl::PR_TASK_PERF_EVENTS_ENABLE; -pub use linux_headers_linux_prctl::PR_MCE_KILL; -pub use linux_headers_linux_prctl::PR_MCE_KILL_CLEAR; -pub use linux_headers_linux_prctl::PR_MCE_KILL_SET; -pub use linux_headers_linux_prctl::PR_MCE_KILL_LATE; -pub use linux_headers_linux_prctl::PR_MCE_KILL_EARLY; -pub use linux_headers_linux_prctl::PR_MCE_KILL_DEFAULT; -pub use linux_headers_linux_prctl::PR_MCE_KILL_GET; -pub use linux_headers_linux_prctl::PR_SET_MM; -pub use linux_headers_linux_prctl::PR_SET_MM_START_CODE; -pub use linux_headers_linux_prctl::PR_SET_MM_END_CODE; -pub use linux_headers_linux_prctl::PR_SET_MM_START_DATA; -pub use linux_headers_linux_prctl::PR_SET_MM_END_DATA; -pub use linux_headers_linux_prctl::PR_SET_MM_START_STACK; -pub use linux_headers_linux_prctl::PR_SET_MM_START_BRK; -pub use linux_headers_linux_prctl::PR_SET_MM_BRK; -pub use linux_headers_linux_prctl::PR_SET_MM_ARG_START; -pub use linux_headers_linux_prctl::PR_SET_MM_ARG_END; -pub use linux_headers_linux_prctl::PR_SET_MM_ENV_START; -pub use linux_headers_linux_prctl::PR_SET_MM_ENV_END; -pub use linux_headers_linux_prctl::PR_SET_MM_AUXV; -pub use linux_headers_linux_prctl::PR_SET_MM_EXE_FILE; -pub use linux_headers_linux_prctl::PR_SET_MM_MAP; -pub use linux_headers_linux_prctl::PR_SET_MM_MAP_SIZE; -pub use linux_headers_linux_prctl::PR_SET_PTRACER; -pub use linux_headers_linux_prctl::PR_SET_PTRACER_ANY; -pub use linux_headers_linux_prctl::PR_SET_CHILD_SUBREAPER; -pub use linux_headers_linux_prctl::PR_GET_CHILD_SUBREAPER; -pub use linux_headers_linux_prctl::PR_SET_NO_NEW_PRIVS; -pub use linux_headers_linux_prctl::PR_GET_NO_NEW_PRIVS; -pub use linux_headers_linux_prctl::PR_GET_TID_ADDRESS; -pub use linux_headers_linux_prctl::PR_SET_THP_DISABLE; -pub use linux_headers_linux_prctl::PR_GET_THP_DISABLE; -pub use linux_headers_linux_prctl::PR_MPX_ENABLE_MANAGEMENT; -pub use linux_headers_linux_prctl::PR_MPX_DISABLE_MANAGEMENT; -pub use linux_headers_linux_prctl::PR_SET_FP_MODE; -pub use linux_headers_linux_prctl::PR_GET_FP_MODE; -pub use linux_headers_linux_prctl::PR_FP_MODE_FR; -pub use linux_headers_linux_prctl::PR_FP_MODE_FRE; -pub use linux_headers_linux_prctl::PR_CAP_AMBIENT; -pub use linux_headers_linux_prctl::PR_CAP_AMBIENT_IS_SET; -pub use linux_headers_linux_prctl::PR_CAP_AMBIENT_RAISE; -pub use linux_headers_linux_prctl::PR_CAP_AMBIENT_LOWER; -pub use linux_headers_linux_prctl::PR_CAP_AMBIENT_CLEAR_ALL; -pub use linux_headers_linux_prctl::PR_SVE_SET_VL; -pub use linux_headers_linux_prctl::PR_SVE_SET_VL_ONEXEC; -pub use linux_headers_linux_prctl::PR_SVE_GET_VL; -pub use linux_headers_linux_prctl::PR_SVE_VL_LEN_MASK; -pub use linux_headers_linux_prctl::PR_SVE_VL_INHERIT; -pub use linux_headers_linux_prctl::PR_GET_SPECULATION_CTRL; -pub use linux_headers_linux_prctl::PR_SET_SPECULATION_CTRL; -pub use linux_headers_linux_prctl::PR_SPEC_STORE_BYPASS; -pub use linux_headers_linux_prctl::PR_SPEC_INDIRECT_BRANCH; -pub use linux_headers_linux_prctl::PR_SPEC_L1D_FLUSH; -pub use linux_headers_linux_prctl::PR_SPEC_NOT_AFFECTED; -pub use linux_headers_linux_prctl::PR_SPEC_PRCTL; -pub use linux_headers_linux_prctl::PR_SPEC_ENABLE; -pub use linux_headers_linux_prctl::PR_SPEC_DISABLE; -pub use linux_headers_linux_prctl::PR_SPEC_FORCE_DISABLE; -pub use linux_headers_linux_prctl::PR_SPEC_DISABLE_NOEXEC; -pub use linux_headers_linux_prctl::PR_PAC_RESET_KEYS; -pub use linux_headers_linux_prctl::PR_PAC_APIAKEY; -pub use linux_headers_linux_prctl::PR_PAC_APIBKEY; -pub use linux_headers_linux_prctl::PR_PAC_APDAKEY; -pub use linux_headers_linux_prctl::PR_PAC_APDBKEY; -pub use linux_headers_linux_prctl::PR_PAC_APGAKEY; -pub use linux_headers_linux_prctl::PR_SET_TAGGED_ADDR_CTRL; -pub use linux_headers_linux_prctl::PR_GET_TAGGED_ADDR_CTRL; -pub use linux_headers_linux_prctl::PR_TAGGED_ADDR_ENABLE; -pub use linux_headers_linux_prctl::PR_MTE_TCF_NONE; -pub use linux_headers_linux_prctl::PR_MTE_TCF_SYNC; -pub use linux_headers_linux_prctl::PR_MTE_TCF_ASYNC; -pub use linux_headers_linux_prctl::PR_MTE_TCF_MASK; -pub use linux_headers_linux_prctl::PR_MTE_TAG_SHIFT; -pub use linux_headers_linux_prctl::PR_MTE_TAG_MASK; -pub use linux_headers_linux_prctl::PR_MTE_TCF_SHIFT; -pub use linux_headers_linux_prctl::PR_SET_IO_FLUSHER; -pub use linux_headers_linux_prctl::PR_GET_IO_FLUSHER; -pub use linux_headers_linux_prctl::PR_SET_SYSCALL_USER_DISPATCH; -pub use linux_headers_linux_prctl::PR_SYS_DISPATCH_OFF; -pub use linux_headers_linux_prctl::PR_SYS_DISPATCH_ON; -pub use linux_headers_linux_prctl::PR_PAC_SET_ENABLED_KEYS; -pub use linux_headers_linux_prctl::PR_PAC_GET_ENABLED_KEYS; -pub use linux_headers_linux_prctl::PR_SCHED_CORE; -pub use linux_headers_linux_prctl::PR_SCHED_CORE_GET; -pub use linux_headers_linux_prctl::PR_SCHED_CORE_CREATE; -pub use linux_headers_linux_prctl::PR_SCHED_CORE_SHARE_TO; -pub use linux_headers_linux_prctl::PR_SCHED_CORE_SHARE_FROM; -pub use linux_headers_linux_prctl::PR_SCHED_CORE_MAX; -pub use linux_headers_linux_prctl::PR_SCHED_CORE_SCOPE_THREAD; -pub use linux_headers_linux_prctl::PR_SCHED_CORE_SCOPE_THREAD_GROUP; -pub use linux_headers_linux_prctl::PR_SCHED_CORE_SCOPE_PROCESS_GROUP; -pub use linux_headers_linux_prctl::PR_SME_SET_VL; -pub use linux_headers_linux_prctl::PR_SME_SET_VL_ONEXEC; -pub use linux_headers_linux_prctl::PR_SME_GET_VL; -pub use linux_headers_linux_prctl::PR_SME_VL_LEN_MASK; -pub use linux_headers_linux_prctl::PR_SME_VL_INHERIT; -pub use linux_headers_linux_prctl::PR_SET_MDWE; -pub use linux_headers_linux_prctl::PR_MDWE_REFUSE_EXEC_GAIN; -pub use linux_headers_linux_prctl::PR_MDWE_NO_INHERIT; -pub use linux_headers_linux_prctl::PR_GET_MDWE; -pub use linux_headers_linux_prctl::PR_SET_VMA; -pub use linux_headers_linux_prctl::PR_SET_VMA_ANON_NAME; -pub use linux_headers_linux_prctl::PR_GET_AUXV; -pub use linux_headers_linux_prctl::PR_SET_MEMORY_MERGE; -pub use linux_headers_linux_prctl::PR_GET_MEMORY_MERGE; -pub use linux_headers_linux_prctl::PR_RISCV_V_SET_CONTROL; -pub use linux_headers_linux_prctl::PR_RISCV_V_GET_CONTROL; -pub use linux_headers_linux_prctl::PR_RISCV_V_VSTATE_CTRL_DEFAULT; -pub use linux_headers_linux_prctl::PR_RISCV_V_VSTATE_CTRL_OFF; -pub use linux_headers_linux_prctl::PR_RISCV_V_VSTATE_CTRL_ON; -pub use linux_headers_linux_prctl::PR_RISCV_V_VSTATE_CTRL_INHERIT; -pub use linux_headers_linux_prctl::PR_RISCV_V_VSTATE_CTRL_CUR_MASK; -pub use linux_headers_linux_prctl::PR_RISCV_V_VSTATE_CTRL_NEXT_MASK; -pub use linux_headers_linux_prctl::PR_RISCV_V_VSTATE_CTRL_MASK; -pub use linux_headers_linux_prctl::PR_RISCV_SET_ICACHE_FLUSH_CTX; -pub use linux_headers_linux_prctl::PR_RISCV_CTX_SW_FENCEI_ON; -pub use linux_headers_linux_prctl::PR_RISCV_CTX_SW_FENCEI_OFF; -pub use linux_headers_linux_prctl::PR_RISCV_SCOPE_PER_PROCESS; -pub use linux_headers_linux_prctl::PR_RISCV_SCOPE_PER_THREAD; -pub use linux_headers_linux_prctl::PR_PPC_GET_DEXCR; -pub use linux_headers_linux_prctl::PR_PPC_SET_DEXCR; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_SBHE; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_IBRTPD; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_SRAPD; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_NPHIE; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_CTRL_EDITABLE; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_CTRL_SET; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_CTRL_CLEAR; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_CTRL_SET_ONEXEC; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_CTRL_CLEAR_ONEXEC; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_CTRL_MASK; -mod dlfcn; -pub use dlfcn::RTLD_DEFAULT; -pub use dlfcn::dlsym; -mod elf; -pub use elf::Elf32_auxv_t; -pub use elf::Elf64_auxv_t; -mod sys_auxv; -pub use sys_auxv::getauxval; -mod unistd; -pub use unistd::syscall; -pub type c_char = u8; diff --git a/tests/helper/src/gen/sys/riscv32gc_linux_gnu/sys_auxv.rs b/tests/helper/src/gen/sys/riscv32gc_linux_gnu/sys_auxv.rs deleted file mode 100644 index 1fe1c678..00000000 --- a/tests/helper/src/gen/sys/riscv32gc_linux_gnu/sys_auxv.rs +++ /dev/null @@ -1,10 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -extern "C" { - pub fn getauxval(__type: ::std::os::raw::c_ulong) -> ::std::os::raw::c_ulong; -} diff --git a/tests/helper/src/gen/sys/riscv32gc_linux_gnu/unistd.rs b/tests/helper/src/gen/sys/riscv32gc_linux_gnu/unistd.rs deleted file mode 100644 index eab78d00..00000000 --- a/tests/helper/src/gen/sys/riscv32gc_linux_gnu/unistd.rs +++ /dev/null @@ -1,10 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -extern "C" { - pub fn syscall(__sysno: ::std::os::raw::c_long, ...) -> ::std::os::raw::c_long; -} diff --git a/tests/helper/src/gen/sys/riscv32gc_linux_musl/dlfcn.rs b/tests/helper/src/gen/sys/riscv32gc_linux_musl/dlfcn.rs deleted file mode 100644 index 87cb3e98..00000000 --- a/tests/helper/src/gen/sys/riscv32gc_linux_musl/dlfcn.rs +++ /dev/null @@ -1,14 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -pub const RTLD_DEFAULT: *mut ::std::os::raw::c_void = ::core::ptr::null_mut(); -extern "C" { - pub fn dlsym( - arg1: *mut ::core::ffi::c_void, - arg2: *const ::std::os::raw::c_char, - ) -> *mut ::core::ffi::c_void; -} diff --git a/tests/helper/src/gen/sys/riscv32gc_linux_musl/elf.rs b/tests/helper/src/gen/sys/riscv32gc_linux_musl/elf.rs deleted file mode 100644 index a3c1790d..00000000 --- a/tests/helper/src/gen/sys/riscv32gc_linux_musl/elf.rs +++ /dev/null @@ -1,29 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -#[repr(C)] -#[derive(Copy, Clone)] -pub struct Elf32_auxv_t { - pub a_type: u32, - pub a_un: Elf32_auxv_t__bindgen_ty_1, -} -#[repr(C)] -#[derive(Copy, Clone)] -pub union Elf32_auxv_t__bindgen_ty_1 { - pub a_val: u32, -} -#[repr(C)] -#[derive(Copy, Clone)] -pub struct Elf64_auxv_t { - pub a_type: u64, - pub a_un: Elf64_auxv_t__bindgen_ty_1, -} -#[repr(C)] -#[derive(Copy, Clone)] -pub union Elf64_auxv_t__bindgen_ty_1 { - pub a_val: u64, -} diff --git a/tests/helper/src/gen/sys/riscv32gc_linux_musl/linux_headers_asm_hwcap.rs b/tests/helper/src/gen/sys/riscv32gc_linux_musl/linux_headers_asm_hwcap.rs deleted file mode 100644 index fc615659..00000000 --- a/tests/helper/src/gen/sys/riscv32gc_linux_musl/linux_headers_asm_hwcap.rs +++ /dev/null @@ -1,7 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - diff --git a/tests/helper/src/gen/sys/riscv32gc_linux_musl/linux_headers_asm_hwprobe.rs b/tests/helper/src/gen/sys/riscv32gc_linux_musl/linux_headers_asm_hwprobe.rs deleted file mode 100644 index ae69d15b..00000000 --- a/tests/helper/src/gen/sys/riscv32gc_linux_musl/linux_headers_asm_hwprobe.rs +++ /dev/null @@ -1,87 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -pub type __s64 = ::std::os::raw::c_longlong; -pub type __u64 = ::std::os::raw::c_ulonglong; -#[repr(C)] -#[derive(Copy, Clone)] -pub struct riscv_hwprobe { - pub key: __s64, - pub value: __u64, -} -pub const RISCV_HWPROBE_KEY_MVENDORID: u32 = 0; -pub const RISCV_HWPROBE_KEY_MARCHID: u32 = 1; -pub const RISCV_HWPROBE_KEY_MIMPID: u32 = 2; -pub const RISCV_HWPROBE_KEY_BASE_BEHAVIOR: u32 = 3; -pub const RISCV_HWPROBE_BASE_BEHAVIOR_IMA: u32 = 1; -pub const RISCV_HWPROBE_KEY_IMA_EXT_0: u32 = 4; -pub const RISCV_HWPROBE_IMA_FD: u32 = 1; -pub const RISCV_HWPROBE_IMA_C: u32 = 2; -pub const RISCV_HWPROBE_IMA_V: u32 = 4; -pub const RISCV_HWPROBE_EXT_ZBA: u32 = 8; -pub const RISCV_HWPROBE_EXT_ZBB: u32 = 16; -pub const RISCV_HWPROBE_EXT_ZBS: u32 = 32; -pub const RISCV_HWPROBE_EXT_ZICBOZ: u32 = 64; -pub const RISCV_HWPROBE_EXT_ZBC: u32 = 128; -pub const RISCV_HWPROBE_EXT_ZBKB: u32 = 256; -pub const RISCV_HWPROBE_EXT_ZBKC: u32 = 512; -pub const RISCV_HWPROBE_EXT_ZBKX: u32 = 1024; -pub const RISCV_HWPROBE_EXT_ZKND: u32 = 2048; -pub const RISCV_HWPROBE_EXT_ZKNE: u32 = 4096; -pub const RISCV_HWPROBE_EXT_ZKNH: u32 = 8192; -pub const RISCV_HWPROBE_EXT_ZKSED: u32 = 16384; -pub const RISCV_HWPROBE_EXT_ZKSH: u32 = 32768; -pub const RISCV_HWPROBE_EXT_ZKT: u32 = 65536; -pub const RISCV_HWPROBE_EXT_ZVBB: u32 = 131072; -pub const RISCV_HWPROBE_EXT_ZVBC: u32 = 262144; -pub const RISCV_HWPROBE_EXT_ZVKB: u32 = 524288; -pub const RISCV_HWPROBE_EXT_ZVKG: u32 = 1048576; -pub const RISCV_HWPROBE_EXT_ZVKNED: u32 = 2097152; -pub const RISCV_HWPROBE_EXT_ZVKNHA: u32 = 4194304; -pub const RISCV_HWPROBE_EXT_ZVKNHB: u32 = 8388608; -pub const RISCV_HWPROBE_EXT_ZVKSED: u32 = 16777216; -pub const RISCV_HWPROBE_EXT_ZVKSH: u32 = 33554432; -pub const RISCV_HWPROBE_EXT_ZVKT: u32 = 67108864; -pub const RISCV_HWPROBE_EXT_ZFH: u32 = 134217728; -pub const RISCV_HWPROBE_EXT_ZFHMIN: u32 = 268435456; -pub const RISCV_HWPROBE_EXT_ZIHINTNTL: u32 = 536870912; -pub const RISCV_HWPROBE_EXT_ZVFH: u32 = 1073741824; -pub const RISCV_HWPROBE_EXT_ZVFHMIN: u32 = 2147483648; -pub const RISCV_HWPROBE_EXT_ZFA: u64 = 4294967296; -pub const RISCV_HWPROBE_EXT_ZTSO: u64 = 8589934592; -pub const RISCV_HWPROBE_EXT_ZACAS: u64 = 17179869184; -pub const RISCV_HWPROBE_EXT_ZICOND: u64 = 34359738368; -pub const RISCV_HWPROBE_EXT_ZIHINTPAUSE: u64 = 68719476736; -pub const RISCV_HWPROBE_EXT_ZVE32X: u64 = 137438953472; -pub const RISCV_HWPROBE_EXT_ZVE32F: u64 = 274877906944; -pub const RISCV_HWPROBE_EXT_ZVE64X: u64 = 549755813888; -pub const RISCV_HWPROBE_EXT_ZVE64F: u64 = 1099511627776; -pub const RISCV_HWPROBE_EXT_ZVE64D: u64 = 2199023255552; -pub const RISCV_HWPROBE_EXT_ZIMOP: u64 = 4398046511104; -pub const RISCV_HWPROBE_EXT_ZCA: u64 = 8796093022208; -pub const RISCV_HWPROBE_EXT_ZCB: u64 = 17592186044416; -pub const RISCV_HWPROBE_EXT_ZCD: u64 = 35184372088832; -pub const RISCV_HWPROBE_EXT_ZCF: u64 = 70368744177664; -pub const RISCV_HWPROBE_EXT_ZCMOP: u64 = 140737488355328; -pub const RISCV_HWPROBE_EXT_ZAWRS: u64 = 281474976710656; -pub const RISCV_HWPROBE_KEY_CPUPERF_0: u32 = 5; -pub const RISCV_HWPROBE_MISALIGNED_UNKNOWN: u32 = 0; -pub const RISCV_HWPROBE_MISALIGNED_EMULATED: u32 = 1; -pub const RISCV_HWPROBE_MISALIGNED_SLOW: u32 = 2; -pub const RISCV_HWPROBE_MISALIGNED_FAST: u32 = 3; -pub const RISCV_HWPROBE_MISALIGNED_UNSUPPORTED: u32 = 4; -pub const RISCV_HWPROBE_MISALIGNED_MASK: u32 = 7; -pub const RISCV_HWPROBE_KEY_ZICBOZ_BLOCK_SIZE: u32 = 6; -pub const RISCV_HWPROBE_KEY_HIGHEST_VIRT_ADDRESS: u32 = 7; -pub const RISCV_HWPROBE_KEY_TIME_CSR_FREQ: u32 = 8; -pub const RISCV_HWPROBE_KEY_MISALIGNED_SCALAR_PERF: u32 = 9; -pub const RISCV_HWPROBE_MISALIGNED_SCALAR_UNKNOWN: u32 = 0; -pub const RISCV_HWPROBE_MISALIGNED_SCALAR_EMULATED: u32 = 1; -pub const RISCV_HWPROBE_MISALIGNED_SCALAR_SLOW: u32 = 2; -pub const RISCV_HWPROBE_MISALIGNED_SCALAR_FAST: u32 = 3; -pub const RISCV_HWPROBE_MISALIGNED_SCALAR_UNSUPPORTED: u32 = 4; -pub const RISCV_HWPROBE_WHICH_CPUS: u32 = 1; diff --git a/tests/helper/src/gen/sys/riscv32gc_linux_musl/linux_headers_asm_unistd.rs b/tests/helper/src/gen/sys/riscv32gc_linux_musl/linux_headers_asm_unistd.rs deleted file mode 100644 index 0b469b53..00000000 --- a/tests/helper/src/gen/sys/riscv32gc_linux_musl/linux_headers_asm_unistd.rs +++ /dev/null @@ -1,316 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -pub const __NR_io_setup: u32 = 0; -pub const __NR_io_destroy: u32 = 1; -pub const __NR_io_submit: u32 = 2; -pub const __NR_io_cancel: u32 = 3; -pub const __NR_setxattr: u32 = 5; -pub const __NR_lsetxattr: u32 = 6; -pub const __NR_fsetxattr: u32 = 7; -pub const __NR_getxattr: u32 = 8; -pub const __NR_lgetxattr: u32 = 9; -pub const __NR_fgetxattr: u32 = 10; -pub const __NR_listxattr: u32 = 11; -pub const __NR_llistxattr: u32 = 12; -pub const __NR_flistxattr: u32 = 13; -pub const __NR_removexattr: u32 = 14; -pub const __NR_lremovexattr: u32 = 15; -pub const __NR_fremovexattr: u32 = 16; -pub const __NR_getcwd: u32 = 17; -pub const __NR_lookup_dcookie: u32 = 18; -pub const __NR_eventfd2: u32 = 19; -pub const __NR_epoll_create1: u32 = 20; -pub const __NR_epoll_ctl: u32 = 21; -pub const __NR_epoll_pwait: u32 = 22; -pub const __NR_dup: u32 = 23; -pub const __NR_dup3: u32 = 24; -pub const __NR_fcntl64: u32 = 25; -pub const __NR_inotify_init1: u32 = 26; -pub const __NR_inotify_add_watch: u32 = 27; -pub const __NR_inotify_rm_watch: u32 = 28; -pub const __NR_ioctl: u32 = 29; -pub const __NR_ioprio_set: u32 = 30; -pub const __NR_ioprio_get: u32 = 31; -pub const __NR_flock: u32 = 32; -pub const __NR_mknodat: u32 = 33; -pub const __NR_mkdirat: u32 = 34; -pub const __NR_unlinkat: u32 = 35; -pub const __NR_symlinkat: u32 = 36; -pub const __NR_linkat: u32 = 37; -pub const __NR_umount2: u32 = 39; -pub const __NR_mount: u32 = 40; -pub const __NR_pivot_root: u32 = 41; -pub const __NR_nfsservctl: u32 = 42; -pub const __NR_statfs64: u32 = 43; -pub const __NR_fstatfs64: u32 = 44; -pub const __NR_truncate64: u32 = 45; -pub const __NR_ftruncate64: u32 = 46; -pub const __NR_fallocate: u32 = 47; -pub const __NR_faccessat: u32 = 48; -pub const __NR_chdir: u32 = 49; -pub const __NR_fchdir: u32 = 50; -pub const __NR_chroot: u32 = 51; -pub const __NR_fchmod: u32 = 52; -pub const __NR_fchmodat: u32 = 53; -pub const __NR_fchownat: u32 = 54; -pub const __NR_fchown: u32 = 55; -pub const __NR_openat: u32 = 56; -pub const __NR_close: u32 = 57; -pub const __NR_vhangup: u32 = 58; -pub const __NR_pipe2: u32 = 59; -pub const __NR_quotactl: u32 = 60; -pub const __NR_getdents64: u32 = 61; -pub const __NR_llseek: u32 = 62; -pub const __NR_read: u32 = 63; -pub const __NR_write: u32 = 64; -pub const __NR_readv: u32 = 65; -pub const __NR_writev: u32 = 66; -pub const __NR_pread64: u32 = 67; -pub const __NR_pwrite64: u32 = 68; -pub const __NR_preadv: u32 = 69; -pub const __NR_pwritev: u32 = 70; -pub const __NR_sendfile64: u32 = 71; -pub const __NR_signalfd4: u32 = 74; -pub const __NR_vmsplice: u32 = 75; -pub const __NR_splice: u32 = 76; -pub const __NR_tee: u32 = 77; -pub const __NR_readlinkat: u32 = 78; -pub const __NR_sync: u32 = 81; -pub const __NR_fsync: u32 = 82; -pub const __NR_fdatasync: u32 = 83; -pub const __NR_sync_file_range: u32 = 84; -pub const __NR_timerfd_create: u32 = 85; -pub const __NR_acct: u32 = 89; -pub const __NR_capget: u32 = 90; -pub const __NR_capset: u32 = 91; -pub const __NR_personality: u32 = 92; -pub const __NR_exit: u32 = 93; -pub const __NR_exit_group: u32 = 94; -pub const __NR_waitid: u32 = 95; -pub const __NR_set_tid_address: u32 = 96; -pub const __NR_unshare: u32 = 97; -pub const __NR_set_robust_list: u32 = 99; -pub const __NR_get_robust_list: u32 = 100; -pub const __NR_getitimer: u32 = 102; -pub const __NR_setitimer: u32 = 103; -pub const __NR_kexec_load: u32 = 104; -pub const __NR_init_module: u32 = 105; -pub const __NR_delete_module: u32 = 106; -pub const __NR_timer_create: u32 = 107; -pub const __NR_timer_getoverrun: u32 = 109; -pub const __NR_timer_delete: u32 = 111; -pub const __NR_syslog: u32 = 116; -pub const __NR_ptrace: u32 = 117; -pub const __NR_sched_setparam: u32 = 118; -pub const __NR_sched_setscheduler: u32 = 119; -pub const __NR_sched_getscheduler: u32 = 120; -pub const __NR_sched_getparam: u32 = 121; -pub const __NR_sched_setaffinity: u32 = 122; -pub const __NR_sched_getaffinity: u32 = 123; -pub const __NR_sched_yield: u32 = 124; -pub const __NR_sched_get_priority_max: u32 = 125; -pub const __NR_sched_get_priority_min: u32 = 126; -pub const __NR_restart_syscall: u32 = 128; -pub const __NR_kill: u32 = 129; -pub const __NR_tkill: u32 = 130; -pub const __NR_tgkill: u32 = 131; -pub const __NR_sigaltstack: u32 = 132; -pub const __NR_rt_sigsuspend: u32 = 133; -pub const __NR_rt_sigaction: u32 = 134; -pub const __NR_rt_sigprocmask: u32 = 135; -pub const __NR_rt_sigpending: u32 = 136; -pub const __NR_rt_sigqueueinfo: u32 = 138; -pub const __NR_rt_sigreturn: u32 = 139; -pub const __NR_setpriority: u32 = 140; -pub const __NR_getpriority: u32 = 141; -pub const __NR_reboot: u32 = 142; -pub const __NR_setregid: u32 = 143; -pub const __NR_setgid: u32 = 144; -pub const __NR_setreuid: u32 = 145; -pub const __NR_setuid: u32 = 146; -pub const __NR_setresuid: u32 = 147; -pub const __NR_getresuid: u32 = 148; -pub const __NR_setresgid: u32 = 149; -pub const __NR_getresgid: u32 = 150; -pub const __NR_setfsuid: u32 = 151; -pub const __NR_setfsgid: u32 = 152; -pub const __NR_times: u32 = 153; -pub const __NR_setpgid: u32 = 154; -pub const __NR_getpgid: u32 = 155; -pub const __NR_getsid: u32 = 156; -pub const __NR_setsid: u32 = 157; -pub const __NR_getgroups: u32 = 158; -pub const __NR_setgroups: u32 = 159; -pub const __NR_uname: u32 = 160; -pub const __NR_sethostname: u32 = 161; -pub const __NR_setdomainname: u32 = 162; -pub const __NR_getrusage: u32 = 165; -pub const __NR_umask: u32 = 166; -pub const __NR_prctl: u32 = 167; -pub const __NR_getcpu: u32 = 168; -pub const __NR_getpid: u32 = 172; -pub const __NR_getppid: u32 = 173; -pub const __NR_getuid: u32 = 174; -pub const __NR_geteuid: u32 = 175; -pub const __NR_getgid: u32 = 176; -pub const __NR_getegid: u32 = 177; -pub const __NR_gettid: u32 = 178; -pub const __NR_sysinfo: u32 = 179; -pub const __NR_mq_open: u32 = 180; -pub const __NR_mq_unlink: u32 = 181; -pub const __NR_mq_notify: u32 = 184; -pub const __NR_mq_getsetattr: u32 = 185; -pub const __NR_msgget: u32 = 186; -pub const __NR_msgctl: u32 = 187; -pub const __NR_msgrcv: u32 = 188; -pub const __NR_msgsnd: u32 = 189; -pub const __NR_semget: u32 = 190; -pub const __NR_semctl: u32 = 191; -pub const __NR_semop: u32 = 193; -pub const __NR_shmget: u32 = 194; -pub const __NR_shmctl: u32 = 195; -pub const __NR_shmat: u32 = 196; -pub const __NR_shmdt: u32 = 197; -pub const __NR_socket: u32 = 198; -pub const __NR_socketpair: u32 = 199; -pub const __NR_bind: u32 = 200; -pub const __NR_listen: u32 = 201; -pub const __NR_accept: u32 = 202; -pub const __NR_connect: u32 = 203; -pub const __NR_getsockname: u32 = 204; -pub const __NR_getpeername: u32 = 205; -pub const __NR_sendto: u32 = 206; -pub const __NR_recvfrom: u32 = 207; -pub const __NR_setsockopt: u32 = 208; -pub const __NR_getsockopt: u32 = 209; -pub const __NR_shutdown: u32 = 210; -pub const __NR_sendmsg: u32 = 211; -pub const __NR_recvmsg: u32 = 212; -pub const __NR_readahead: u32 = 213; -pub const __NR_brk: u32 = 214; -pub const __NR_munmap: u32 = 215; -pub const __NR_mremap: u32 = 216; -pub const __NR_add_key: u32 = 217; -pub const __NR_request_key: u32 = 218; -pub const __NR_keyctl: u32 = 219; -pub const __NR_clone: u32 = 220; -pub const __NR_execve: u32 = 221; -pub const __NR_mmap2: u32 = 222; -pub const __NR_fadvise64_64: u32 = 223; -pub const __NR_swapon: u32 = 224; -pub const __NR_swapoff: u32 = 225; -pub const __NR_mprotect: u32 = 226; -pub const __NR_msync: u32 = 227; -pub const __NR_mlock: u32 = 228; -pub const __NR_munlock: u32 = 229; -pub const __NR_mlockall: u32 = 230; -pub const __NR_munlockall: u32 = 231; -pub const __NR_mincore: u32 = 232; -pub const __NR_madvise: u32 = 233; -pub const __NR_remap_file_pages: u32 = 234; -pub const __NR_mbind: u32 = 235; -pub const __NR_get_mempolicy: u32 = 236; -pub const __NR_set_mempolicy: u32 = 237; -pub const __NR_migrate_pages: u32 = 238; -pub const __NR_move_pages: u32 = 239; -pub const __NR_rt_tgsigqueueinfo: u32 = 240; -pub const __NR_perf_event_open: u32 = 241; -pub const __NR_accept4: u32 = 242; -pub const __NR_riscv_hwprobe: u32 = 258; -pub const __NR_riscv_flush_icache: u32 = 259; -pub const __NR_prlimit64: u32 = 261; -pub const __NR_fanotify_init: u32 = 262; -pub const __NR_fanotify_mark: u32 = 263; -pub const __NR_name_to_handle_at: u32 = 264; -pub const __NR_open_by_handle_at: u32 = 265; -pub const __NR_syncfs: u32 = 267; -pub const __NR_setns: u32 = 268; -pub const __NR_sendmmsg: u32 = 269; -pub const __NR_process_vm_readv: u32 = 270; -pub const __NR_process_vm_writev: u32 = 271; -pub const __NR_kcmp: u32 = 272; -pub const __NR_finit_module: u32 = 273; -pub const __NR_sched_setattr: u32 = 274; -pub const __NR_sched_getattr: u32 = 275; -pub const __NR_renameat2: u32 = 276; -pub const __NR_seccomp: u32 = 277; -pub const __NR_getrandom: u32 = 278; -pub const __NR_memfd_create: u32 = 279; -pub const __NR_bpf: u32 = 280; -pub const __NR_execveat: u32 = 281; -pub const __NR_userfaultfd: u32 = 282; -pub const __NR_membarrier: u32 = 283; -pub const __NR_mlock2: u32 = 284; -pub const __NR_copy_file_range: u32 = 285; -pub const __NR_preadv2: u32 = 286; -pub const __NR_pwritev2: u32 = 287; -pub const __NR_pkey_mprotect: u32 = 288; -pub const __NR_pkey_alloc: u32 = 289; -pub const __NR_pkey_free: u32 = 290; -pub const __NR_statx: u32 = 291; -pub const __NR_rseq: u32 = 293; -pub const __NR_kexec_file_load: u32 = 294; -pub const __NR_clock_gettime64: u32 = 403; -pub const __NR_clock_settime64: u32 = 404; -pub const __NR_clock_adjtime64: u32 = 405; -pub const __NR_clock_getres_time64: u32 = 406; -pub const __NR_clock_nanosleep_time64: u32 = 407; -pub const __NR_timer_gettime64: u32 = 408; -pub const __NR_timer_settime64: u32 = 409; -pub const __NR_timerfd_gettime64: u32 = 410; -pub const __NR_timerfd_settime64: u32 = 411; -pub const __NR_utimensat_time64: u32 = 412; -pub const __NR_pselect6_time64: u32 = 413; -pub const __NR_ppoll_time64: u32 = 414; -pub const __NR_io_pgetevents_time64: u32 = 416; -pub const __NR_recvmmsg_time64: u32 = 417; -pub const __NR_mq_timedsend_time64: u32 = 418; -pub const __NR_mq_timedreceive_time64: u32 = 419; -pub const __NR_semtimedop_time64: u32 = 420; -pub const __NR_rt_sigtimedwait_time64: u32 = 421; -pub const __NR_futex_time64: u32 = 422; -pub const __NR_sched_rr_get_interval_time64: u32 = 423; -pub const __NR_pidfd_send_signal: u32 = 424; -pub const __NR_io_uring_setup: u32 = 425; -pub const __NR_io_uring_enter: u32 = 426; -pub const __NR_io_uring_register: u32 = 427; -pub const __NR_open_tree: u32 = 428; -pub const __NR_move_mount: u32 = 429; -pub const __NR_fsopen: u32 = 430; -pub const __NR_fsconfig: u32 = 431; -pub const __NR_fsmount: u32 = 432; -pub const __NR_fspick: u32 = 433; -pub const __NR_pidfd_open: u32 = 434; -pub const __NR_clone3: u32 = 435; -pub const __NR_close_range: u32 = 436; -pub const __NR_openat2: u32 = 437; -pub const __NR_pidfd_getfd: u32 = 438; -pub const __NR_faccessat2: u32 = 439; -pub const __NR_process_madvise: u32 = 440; -pub const __NR_epoll_pwait2: u32 = 441; -pub const __NR_mount_setattr: u32 = 442; -pub const __NR_quotactl_fd: u32 = 443; -pub const __NR_landlock_create_ruleset: u32 = 444; -pub const __NR_landlock_add_rule: u32 = 445; -pub const __NR_landlock_restrict_self: u32 = 446; -pub const __NR_memfd_secret: u32 = 447; -pub const __NR_process_mrelease: u32 = 448; -pub const __NR_futex_waitv: u32 = 449; -pub const __NR_set_mempolicy_home_node: u32 = 450; -pub const __NR_cachestat: u32 = 451; -pub const __NR_fchmodat2: u32 = 452; -pub const __NR_map_shadow_stack: u32 = 453; -pub const __NR_futex_wake: u32 = 454; -pub const __NR_futex_wait: u32 = 455; -pub const __NR_futex_requeue: u32 = 456; -pub const __NR_statmount: u32 = 457; -pub const __NR_listmount: u32 = 458; -pub const __NR_lsm_get_self_attr: u32 = 459; -pub const __NR_lsm_set_self_attr: u32 = 460; -pub const __NR_lsm_list_modules: u32 = 461; -pub const __NR_mseal: u32 = 462; diff --git a/tests/helper/src/gen/sys/riscv32gc_linux_musl/linux_headers_linux_auxvec.rs b/tests/helper/src/gen/sys/riscv32gc_linux_musl/linux_headers_linux_auxvec.rs deleted file mode 100644 index dcb2f60d..00000000 --- a/tests/helper/src/gen/sys/riscv32gc_linux_musl/linux_headers_linux_auxvec.rs +++ /dev/null @@ -1,45 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -pub const AT_SYSINFO_EHDR: u32 = 33; -pub const AT_L1I_CACHESIZE: u32 = 40; -pub const AT_L1I_CACHEGEOMETRY: u32 = 41; -pub const AT_L1D_CACHESIZE: u32 = 42; -pub const AT_L1D_CACHEGEOMETRY: u32 = 43; -pub const AT_L2_CACHESIZE: u32 = 44; -pub const AT_L2_CACHEGEOMETRY: u32 = 45; -pub const AT_L3_CACHESIZE: u32 = 46; -pub const AT_L3_CACHEGEOMETRY: u32 = 47; -pub const AT_VECTOR_SIZE_ARCH: u32 = 10; -pub const AT_MINSIGSTKSZ: u32 = 51; -pub const AT_NULL: u32 = 0; -pub const AT_IGNORE: u32 = 1; -pub const AT_EXECFD: u32 = 2; -pub const AT_PHDR: u32 = 3; -pub const AT_PHENT: u32 = 4; -pub const AT_PHNUM: u32 = 5; -pub const AT_PAGESZ: u32 = 6; -pub const AT_BASE: u32 = 7; -pub const AT_FLAGS: u32 = 8; -pub const AT_ENTRY: u32 = 9; -pub const AT_NOTELF: u32 = 10; -pub const AT_UID: u32 = 11; -pub const AT_EUID: u32 = 12; -pub const AT_GID: u32 = 13; -pub const AT_EGID: u32 = 14; -pub const AT_PLATFORM: u32 = 15; -pub const AT_HWCAP: u32 = 16; -pub const AT_CLKTCK: u32 = 17; -pub const AT_SECURE: u32 = 23; -pub const AT_BASE_PLATFORM: u32 = 24; -pub const AT_RANDOM: u32 = 25; -pub const AT_HWCAP2: u32 = 26; -pub const AT_RSEQ_FEATURE_SIZE: u32 = 27; -pub const AT_RSEQ_ALIGN: u32 = 28; -pub const AT_HWCAP3: u32 = 29; -pub const AT_HWCAP4: u32 = 30; -pub const AT_EXECFN: u32 = 31; diff --git a/tests/helper/src/gen/sys/riscv32gc_linux_musl/linux_headers_linux_prctl.rs b/tests/helper/src/gen/sys/riscv32gc_linux_musl/linux_headers_linux_prctl.rs deleted file mode 100644 index 6eeb3021..00000000 --- a/tests/helper/src/gen/sys/riscv32gc_linux_musl/linux_headers_linux_prctl.rs +++ /dev/null @@ -1,189 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -pub const PR_SET_PDEATHSIG: u32 = 1; -pub const PR_GET_PDEATHSIG: u32 = 2; -pub const PR_GET_DUMPABLE: u32 = 3; -pub const PR_SET_DUMPABLE: u32 = 4; -pub const PR_GET_UNALIGN: u32 = 5; -pub const PR_SET_UNALIGN: u32 = 6; -pub const PR_UNALIGN_NOPRINT: u32 = 1; -pub const PR_UNALIGN_SIGBUS: u32 = 2; -pub const PR_GET_KEEPCAPS: u32 = 7; -pub const PR_SET_KEEPCAPS: u32 = 8; -pub const PR_GET_FPEMU: u32 = 9; -pub const PR_SET_FPEMU: u32 = 10; -pub const PR_FPEMU_NOPRINT: u32 = 1; -pub const PR_FPEMU_SIGFPE: u32 = 2; -pub const PR_GET_FPEXC: u32 = 11; -pub const PR_SET_FPEXC: u32 = 12; -pub const PR_FP_EXC_SW_ENABLE: u32 = 128; -pub const PR_FP_EXC_DIV: u32 = 65536; -pub const PR_FP_EXC_OVF: u32 = 131072; -pub const PR_FP_EXC_UND: u32 = 262144; -pub const PR_FP_EXC_RES: u32 = 524288; -pub const PR_FP_EXC_INV: u32 = 1048576; -pub const PR_FP_EXC_DISABLED: u32 = 0; -pub const PR_FP_EXC_NONRECOV: u32 = 1; -pub const PR_FP_EXC_ASYNC: u32 = 2; -pub const PR_FP_EXC_PRECISE: u32 = 3; -pub const PR_GET_TIMING: u32 = 13; -pub const PR_SET_TIMING: u32 = 14; -pub const PR_TIMING_STATISTICAL: u32 = 0; -pub const PR_TIMING_TIMESTAMP: u32 = 1; -pub const PR_SET_NAME: u32 = 15; -pub const PR_GET_NAME: u32 = 16; -pub const PR_GET_ENDIAN: u32 = 19; -pub const PR_SET_ENDIAN: u32 = 20; -pub const PR_ENDIAN_BIG: u32 = 0; -pub const PR_ENDIAN_LITTLE: u32 = 1; -pub const PR_ENDIAN_PPC_LITTLE: u32 = 2; -pub const PR_GET_SECCOMP: u32 = 21; -pub const PR_SET_SECCOMP: u32 = 22; -pub const PR_CAPBSET_READ: u32 = 23; -pub const PR_CAPBSET_DROP: u32 = 24; -pub const PR_GET_TSC: u32 = 25; -pub const PR_SET_TSC: u32 = 26; -pub const PR_TSC_ENABLE: u32 = 1; -pub const PR_TSC_SIGSEGV: u32 = 2; -pub const PR_GET_SECUREBITS: u32 = 27; -pub const PR_SET_SECUREBITS: u32 = 28; -pub const PR_SET_TIMERSLACK: u32 = 29; -pub const PR_GET_TIMERSLACK: u32 = 30; -pub const PR_TASK_PERF_EVENTS_DISABLE: u32 = 31; -pub const PR_TASK_PERF_EVENTS_ENABLE: u32 = 32; -pub const PR_MCE_KILL: u32 = 33; -pub const PR_MCE_KILL_CLEAR: u32 = 0; -pub const PR_MCE_KILL_SET: u32 = 1; -pub const PR_MCE_KILL_LATE: u32 = 0; -pub const PR_MCE_KILL_EARLY: u32 = 1; -pub const PR_MCE_KILL_DEFAULT: u32 = 2; -pub const PR_MCE_KILL_GET: u32 = 34; -pub const PR_SET_MM: u32 = 35; -pub const PR_SET_MM_START_CODE: u32 = 1; -pub const PR_SET_MM_END_CODE: u32 = 2; -pub const PR_SET_MM_START_DATA: u32 = 3; -pub const PR_SET_MM_END_DATA: u32 = 4; -pub const PR_SET_MM_START_STACK: u32 = 5; -pub const PR_SET_MM_START_BRK: u32 = 6; -pub const PR_SET_MM_BRK: u32 = 7; -pub const PR_SET_MM_ARG_START: u32 = 8; -pub const PR_SET_MM_ARG_END: u32 = 9; -pub const PR_SET_MM_ENV_START: u32 = 10; -pub const PR_SET_MM_ENV_END: u32 = 11; -pub const PR_SET_MM_AUXV: u32 = 12; -pub const PR_SET_MM_EXE_FILE: u32 = 13; -pub const PR_SET_MM_MAP: u32 = 14; -pub const PR_SET_MM_MAP_SIZE: u32 = 15; -pub const PR_SET_PTRACER: u32 = 1499557217; -pub const PR_SET_PTRACER_ANY: ::std::os::raw::c_ulong = -1i8 as ::std::os::raw::c_ulong; -pub const PR_SET_CHILD_SUBREAPER: u32 = 36; -pub const PR_GET_CHILD_SUBREAPER: u32 = 37; -pub const PR_SET_NO_NEW_PRIVS: u32 = 38; -pub const PR_GET_NO_NEW_PRIVS: u32 = 39; -pub const PR_GET_TID_ADDRESS: u32 = 40; -pub const PR_SET_THP_DISABLE: u32 = 41; -pub const PR_GET_THP_DISABLE: u32 = 42; -pub const PR_MPX_ENABLE_MANAGEMENT: u32 = 43; -pub const PR_MPX_DISABLE_MANAGEMENT: u32 = 44; -pub const PR_SET_FP_MODE: u32 = 45; -pub const PR_GET_FP_MODE: u32 = 46; -pub const PR_FP_MODE_FR: u32 = 1; -pub const PR_FP_MODE_FRE: u32 = 2; -pub const PR_CAP_AMBIENT: u32 = 47; -pub const PR_CAP_AMBIENT_IS_SET: u32 = 1; -pub const PR_CAP_AMBIENT_RAISE: u32 = 2; -pub const PR_CAP_AMBIENT_LOWER: u32 = 3; -pub const PR_CAP_AMBIENT_CLEAR_ALL: u32 = 4; -pub const PR_SVE_SET_VL: u32 = 50; -pub const PR_SVE_SET_VL_ONEXEC: u32 = 262144; -pub const PR_SVE_GET_VL: u32 = 51; -pub const PR_SVE_VL_LEN_MASK: u32 = 65535; -pub const PR_SVE_VL_INHERIT: u32 = 131072; -pub const PR_GET_SPECULATION_CTRL: u32 = 52; -pub const PR_SET_SPECULATION_CTRL: u32 = 53; -pub const PR_SPEC_STORE_BYPASS: u32 = 0; -pub const PR_SPEC_INDIRECT_BRANCH: u32 = 1; -pub const PR_SPEC_L1D_FLUSH: u32 = 2; -pub const PR_SPEC_NOT_AFFECTED: u32 = 0; -pub const PR_SPEC_PRCTL: u32 = 1; -pub const PR_SPEC_ENABLE: u32 = 2; -pub const PR_SPEC_DISABLE: u32 = 4; -pub const PR_SPEC_FORCE_DISABLE: u32 = 8; -pub const PR_SPEC_DISABLE_NOEXEC: u32 = 16; -pub const PR_PAC_RESET_KEYS: u32 = 54; -pub const PR_PAC_APIAKEY: u32 = 1; -pub const PR_PAC_APIBKEY: u32 = 2; -pub const PR_PAC_APDAKEY: u32 = 4; -pub const PR_PAC_APDBKEY: u32 = 8; -pub const PR_PAC_APGAKEY: u32 = 16; -pub const PR_SET_TAGGED_ADDR_CTRL: u32 = 55; -pub const PR_GET_TAGGED_ADDR_CTRL: u32 = 56; -pub const PR_TAGGED_ADDR_ENABLE: u32 = 1; -pub const PR_MTE_TCF_NONE: u32 = 0; -pub const PR_MTE_TCF_SYNC: u32 = 2; -pub const PR_MTE_TCF_ASYNC: u32 = 4; -pub const PR_MTE_TCF_MASK: u32 = 6; -pub const PR_MTE_TAG_SHIFT: u32 = 3; -pub const PR_MTE_TAG_MASK: u32 = 524280; -pub const PR_MTE_TCF_SHIFT: u32 = 1; -pub const PR_SET_IO_FLUSHER: u32 = 57; -pub const PR_GET_IO_FLUSHER: u32 = 58; -pub const PR_SET_SYSCALL_USER_DISPATCH: u32 = 59; -pub const PR_SYS_DISPATCH_OFF: u32 = 0; -pub const PR_SYS_DISPATCH_ON: u32 = 1; -pub const PR_PAC_SET_ENABLED_KEYS: u32 = 60; -pub const PR_PAC_GET_ENABLED_KEYS: u32 = 61; -pub const PR_SCHED_CORE: u32 = 62; -pub const PR_SCHED_CORE_GET: u32 = 0; -pub const PR_SCHED_CORE_CREATE: u32 = 1; -pub const PR_SCHED_CORE_SHARE_TO: u32 = 2; -pub const PR_SCHED_CORE_SHARE_FROM: u32 = 3; -pub const PR_SCHED_CORE_MAX: u32 = 4; -pub const PR_SCHED_CORE_SCOPE_THREAD: u32 = 0; -pub const PR_SCHED_CORE_SCOPE_THREAD_GROUP: u32 = 1; -pub const PR_SCHED_CORE_SCOPE_PROCESS_GROUP: u32 = 2; -pub const PR_SME_SET_VL: u32 = 63; -pub const PR_SME_SET_VL_ONEXEC: u32 = 262144; -pub const PR_SME_GET_VL: u32 = 64; -pub const PR_SME_VL_LEN_MASK: u32 = 65535; -pub const PR_SME_VL_INHERIT: u32 = 131072; -pub const PR_SET_MDWE: u32 = 65; -pub const PR_MDWE_REFUSE_EXEC_GAIN: u32 = 1; -pub const PR_MDWE_NO_INHERIT: u32 = 2; -pub const PR_GET_MDWE: u32 = 66; -pub const PR_SET_VMA: u32 = 1398164801; -pub const PR_SET_VMA_ANON_NAME: u32 = 0; -pub const PR_GET_AUXV: u32 = 1096112214; -pub const PR_SET_MEMORY_MERGE: u32 = 67; -pub const PR_GET_MEMORY_MERGE: u32 = 68; -pub const PR_RISCV_V_SET_CONTROL: u32 = 69; -pub const PR_RISCV_V_GET_CONTROL: u32 = 70; -pub const PR_RISCV_V_VSTATE_CTRL_DEFAULT: u32 = 0; -pub const PR_RISCV_V_VSTATE_CTRL_OFF: u32 = 1; -pub const PR_RISCV_V_VSTATE_CTRL_ON: u32 = 2; -pub const PR_RISCV_V_VSTATE_CTRL_INHERIT: u32 = 16; -pub const PR_RISCV_V_VSTATE_CTRL_CUR_MASK: u32 = 3; -pub const PR_RISCV_V_VSTATE_CTRL_NEXT_MASK: u32 = 12; -pub const PR_RISCV_V_VSTATE_CTRL_MASK: u32 = 31; -pub const PR_RISCV_SET_ICACHE_FLUSH_CTX: u32 = 71; -pub const PR_RISCV_CTX_SW_FENCEI_ON: u32 = 0; -pub const PR_RISCV_CTX_SW_FENCEI_OFF: u32 = 1; -pub const PR_RISCV_SCOPE_PER_PROCESS: u32 = 0; -pub const PR_RISCV_SCOPE_PER_THREAD: u32 = 1; -pub const PR_PPC_GET_DEXCR: u32 = 72; -pub const PR_PPC_SET_DEXCR: u32 = 73; -pub const PR_PPC_DEXCR_SBHE: u32 = 0; -pub const PR_PPC_DEXCR_IBRTPD: u32 = 1; -pub const PR_PPC_DEXCR_SRAPD: u32 = 2; -pub const PR_PPC_DEXCR_NPHIE: u32 = 3; -pub const PR_PPC_DEXCR_CTRL_EDITABLE: u32 = 1; -pub const PR_PPC_DEXCR_CTRL_SET: u32 = 2; -pub const PR_PPC_DEXCR_CTRL_CLEAR: u32 = 4; -pub const PR_PPC_DEXCR_CTRL_SET_ONEXEC: u32 = 8; -pub const PR_PPC_DEXCR_CTRL_CLEAR_ONEXEC: u32 = 16; -pub const PR_PPC_DEXCR_CTRL_MASK: u32 = 31; diff --git a/tests/helper/src/gen/sys/riscv32gc_linux_musl/mod.rs b/tests/helper/src/gen/sys/riscv32gc_linux_musl/mod.rs deleted file mode 100644 index 192563b5..00000000 --- a/tests/helper/src/gen/sys/riscv32gc_linux_musl/mod.rs +++ /dev/null @@ -1,624 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] -mod linux_headers_asm_hwcap; -mod linux_headers_asm_hwprobe; -pub use linux_headers_asm_hwprobe::riscv_hwprobe; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_KEY_MVENDORID; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_KEY_MARCHID; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_KEY_MIMPID; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_KEY_BASE_BEHAVIOR; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_BASE_BEHAVIOR_IMA; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_KEY_IMA_EXT_0; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_IMA_FD; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_IMA_C; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_IMA_V; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZBA; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZBB; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZBS; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZICBOZ; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZBC; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZBKB; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZBKC; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZBKX; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZKND; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZKNE; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZKNH; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZKSED; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZKSH; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZKT; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZVBB; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZVBC; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZVKB; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZVKG; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZVKNED; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZVKNHA; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZVKNHB; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZVKSED; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZVKSH; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZVKT; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZFH; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZFHMIN; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZIHINTNTL; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZVFH; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZVFHMIN; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZFA; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZTSO; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZACAS; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZICOND; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZIHINTPAUSE; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZVE32X; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZVE32F; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZVE64X; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZVE64F; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZVE64D; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZIMOP; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZCA; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZCB; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZCD; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZCF; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZCMOP; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZAWRS; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_KEY_CPUPERF_0; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_MISALIGNED_UNKNOWN; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_MISALIGNED_EMULATED; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_MISALIGNED_SLOW; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_MISALIGNED_FAST; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_MISALIGNED_UNSUPPORTED; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_MISALIGNED_MASK; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_KEY_ZICBOZ_BLOCK_SIZE; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_KEY_HIGHEST_VIRT_ADDRESS; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_KEY_TIME_CSR_FREQ; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_KEY_MISALIGNED_SCALAR_PERF; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_MISALIGNED_SCALAR_UNKNOWN; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_MISALIGNED_SCALAR_EMULATED; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_MISALIGNED_SCALAR_SLOW; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_MISALIGNED_SCALAR_FAST; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_MISALIGNED_SCALAR_UNSUPPORTED; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_WHICH_CPUS; -mod linux_headers_asm_unistd; -pub use linux_headers_asm_unistd::__NR_io_setup; -pub use linux_headers_asm_unistd::__NR_io_destroy; -pub use linux_headers_asm_unistd::__NR_io_submit; -pub use linux_headers_asm_unistd::__NR_io_cancel; -pub use linux_headers_asm_unistd::__NR_setxattr; -pub use linux_headers_asm_unistd::__NR_lsetxattr; -pub use linux_headers_asm_unistd::__NR_fsetxattr; -pub use linux_headers_asm_unistd::__NR_getxattr; -pub use linux_headers_asm_unistd::__NR_lgetxattr; -pub use linux_headers_asm_unistd::__NR_fgetxattr; -pub use linux_headers_asm_unistd::__NR_listxattr; -pub use linux_headers_asm_unistd::__NR_llistxattr; -pub use linux_headers_asm_unistd::__NR_flistxattr; -pub use linux_headers_asm_unistd::__NR_removexattr; -pub use linux_headers_asm_unistd::__NR_lremovexattr; -pub use linux_headers_asm_unistd::__NR_fremovexattr; -pub use linux_headers_asm_unistd::__NR_getcwd; -pub use linux_headers_asm_unistd::__NR_lookup_dcookie; -pub use linux_headers_asm_unistd::__NR_eventfd2; -pub use linux_headers_asm_unistd::__NR_epoll_create1; -pub use linux_headers_asm_unistd::__NR_epoll_ctl; -pub use linux_headers_asm_unistd::__NR_epoll_pwait; -pub use linux_headers_asm_unistd::__NR_dup; -pub use linux_headers_asm_unistd::__NR_dup3; -pub use linux_headers_asm_unistd::__NR_fcntl64; -pub use linux_headers_asm_unistd::__NR_inotify_init1; -pub use linux_headers_asm_unistd::__NR_inotify_add_watch; -pub use linux_headers_asm_unistd::__NR_inotify_rm_watch; -pub use linux_headers_asm_unistd::__NR_ioctl; -pub use linux_headers_asm_unistd::__NR_ioprio_set; -pub use linux_headers_asm_unistd::__NR_ioprio_get; -pub use linux_headers_asm_unistd::__NR_flock; -pub use linux_headers_asm_unistd::__NR_mknodat; -pub use linux_headers_asm_unistd::__NR_mkdirat; -pub use linux_headers_asm_unistd::__NR_unlinkat; -pub use linux_headers_asm_unistd::__NR_symlinkat; -pub use linux_headers_asm_unistd::__NR_linkat; -pub use linux_headers_asm_unistd::__NR_umount2; -pub use linux_headers_asm_unistd::__NR_mount; -pub use linux_headers_asm_unistd::__NR_pivot_root; -pub use linux_headers_asm_unistd::__NR_nfsservctl; -pub use linux_headers_asm_unistd::__NR_statfs64; -pub use linux_headers_asm_unistd::__NR_fstatfs64; -pub use linux_headers_asm_unistd::__NR_truncate64; -pub use linux_headers_asm_unistd::__NR_ftruncate64; -pub use linux_headers_asm_unistd::__NR_fallocate; -pub use linux_headers_asm_unistd::__NR_faccessat; -pub use linux_headers_asm_unistd::__NR_chdir; -pub use linux_headers_asm_unistd::__NR_fchdir; -pub use linux_headers_asm_unistd::__NR_chroot; -pub use linux_headers_asm_unistd::__NR_fchmod; -pub use linux_headers_asm_unistd::__NR_fchmodat; -pub use linux_headers_asm_unistd::__NR_fchownat; -pub use linux_headers_asm_unistd::__NR_fchown; -pub use linux_headers_asm_unistd::__NR_openat; -pub use linux_headers_asm_unistd::__NR_close; -pub use linux_headers_asm_unistd::__NR_vhangup; -pub use linux_headers_asm_unistd::__NR_pipe2; -pub use linux_headers_asm_unistd::__NR_quotactl; -pub use linux_headers_asm_unistd::__NR_getdents64; -pub use linux_headers_asm_unistd::__NR_llseek; -pub use linux_headers_asm_unistd::__NR_read; -pub use linux_headers_asm_unistd::__NR_write; -pub use linux_headers_asm_unistd::__NR_readv; -pub use linux_headers_asm_unistd::__NR_writev; -pub use linux_headers_asm_unistd::__NR_pread64; -pub use linux_headers_asm_unistd::__NR_pwrite64; -pub use linux_headers_asm_unistd::__NR_preadv; -pub use linux_headers_asm_unistd::__NR_pwritev; -pub use linux_headers_asm_unistd::__NR_sendfile64; -pub use linux_headers_asm_unistd::__NR_signalfd4; -pub use linux_headers_asm_unistd::__NR_vmsplice; -pub use linux_headers_asm_unistd::__NR_splice; -pub use linux_headers_asm_unistd::__NR_tee; -pub use linux_headers_asm_unistd::__NR_readlinkat; -pub use linux_headers_asm_unistd::__NR_sync; -pub use linux_headers_asm_unistd::__NR_fsync; -pub use linux_headers_asm_unistd::__NR_fdatasync; -pub use linux_headers_asm_unistd::__NR_sync_file_range; -pub use linux_headers_asm_unistd::__NR_timerfd_create; -pub use linux_headers_asm_unistd::__NR_acct; -pub use linux_headers_asm_unistd::__NR_capget; -pub use linux_headers_asm_unistd::__NR_capset; -pub use linux_headers_asm_unistd::__NR_personality; -pub use linux_headers_asm_unistd::__NR_exit; -pub use linux_headers_asm_unistd::__NR_exit_group; -pub use linux_headers_asm_unistd::__NR_waitid; -pub use linux_headers_asm_unistd::__NR_set_tid_address; -pub use linux_headers_asm_unistd::__NR_unshare; -pub use linux_headers_asm_unistd::__NR_set_robust_list; -pub use linux_headers_asm_unistd::__NR_get_robust_list; -pub use linux_headers_asm_unistd::__NR_getitimer; -pub use linux_headers_asm_unistd::__NR_setitimer; -pub use linux_headers_asm_unistd::__NR_kexec_load; -pub use linux_headers_asm_unistd::__NR_init_module; -pub use linux_headers_asm_unistd::__NR_delete_module; -pub use linux_headers_asm_unistd::__NR_timer_create; -pub use linux_headers_asm_unistd::__NR_timer_getoverrun; -pub use linux_headers_asm_unistd::__NR_timer_delete; -pub use linux_headers_asm_unistd::__NR_syslog; -pub use linux_headers_asm_unistd::__NR_ptrace; -pub use linux_headers_asm_unistd::__NR_sched_setparam; -pub use linux_headers_asm_unistd::__NR_sched_setscheduler; -pub use linux_headers_asm_unistd::__NR_sched_getscheduler; -pub use linux_headers_asm_unistd::__NR_sched_getparam; -pub use linux_headers_asm_unistd::__NR_sched_setaffinity; -pub use linux_headers_asm_unistd::__NR_sched_getaffinity; -pub use linux_headers_asm_unistd::__NR_sched_yield; -pub use linux_headers_asm_unistd::__NR_sched_get_priority_max; -pub use linux_headers_asm_unistd::__NR_sched_get_priority_min; -pub use linux_headers_asm_unistd::__NR_restart_syscall; -pub use linux_headers_asm_unistd::__NR_kill; -pub use linux_headers_asm_unistd::__NR_tkill; -pub use linux_headers_asm_unistd::__NR_tgkill; -pub use linux_headers_asm_unistd::__NR_sigaltstack; -pub use linux_headers_asm_unistd::__NR_rt_sigsuspend; -pub use linux_headers_asm_unistd::__NR_rt_sigaction; -pub use linux_headers_asm_unistd::__NR_rt_sigprocmask; -pub use linux_headers_asm_unistd::__NR_rt_sigpending; -pub use linux_headers_asm_unistd::__NR_rt_sigqueueinfo; -pub use linux_headers_asm_unistd::__NR_rt_sigreturn; -pub use linux_headers_asm_unistd::__NR_setpriority; -pub use linux_headers_asm_unistd::__NR_getpriority; -pub use linux_headers_asm_unistd::__NR_reboot; -pub use linux_headers_asm_unistd::__NR_setregid; -pub use linux_headers_asm_unistd::__NR_setgid; -pub use linux_headers_asm_unistd::__NR_setreuid; -pub use linux_headers_asm_unistd::__NR_setuid; -pub use linux_headers_asm_unistd::__NR_setresuid; -pub use linux_headers_asm_unistd::__NR_getresuid; -pub use linux_headers_asm_unistd::__NR_setresgid; -pub use linux_headers_asm_unistd::__NR_getresgid; -pub use linux_headers_asm_unistd::__NR_setfsuid; -pub use linux_headers_asm_unistd::__NR_setfsgid; -pub use linux_headers_asm_unistd::__NR_times; -pub use linux_headers_asm_unistd::__NR_setpgid; -pub use linux_headers_asm_unistd::__NR_getpgid; -pub use linux_headers_asm_unistd::__NR_getsid; -pub use linux_headers_asm_unistd::__NR_setsid; -pub use linux_headers_asm_unistd::__NR_getgroups; -pub use linux_headers_asm_unistd::__NR_setgroups; -pub use linux_headers_asm_unistd::__NR_uname; -pub use linux_headers_asm_unistd::__NR_sethostname; -pub use linux_headers_asm_unistd::__NR_setdomainname; -pub use linux_headers_asm_unistd::__NR_getrusage; -pub use linux_headers_asm_unistd::__NR_umask; -pub use linux_headers_asm_unistd::__NR_prctl; -pub use linux_headers_asm_unistd::__NR_getcpu; -pub use linux_headers_asm_unistd::__NR_getpid; -pub use linux_headers_asm_unistd::__NR_getppid; -pub use linux_headers_asm_unistd::__NR_getuid; -pub use linux_headers_asm_unistd::__NR_geteuid; -pub use linux_headers_asm_unistd::__NR_getgid; -pub use linux_headers_asm_unistd::__NR_getegid; -pub use linux_headers_asm_unistd::__NR_gettid; -pub use linux_headers_asm_unistd::__NR_sysinfo; -pub use linux_headers_asm_unistd::__NR_mq_open; -pub use linux_headers_asm_unistd::__NR_mq_unlink; -pub use linux_headers_asm_unistd::__NR_mq_notify; -pub use linux_headers_asm_unistd::__NR_mq_getsetattr; -pub use linux_headers_asm_unistd::__NR_msgget; -pub use linux_headers_asm_unistd::__NR_msgctl; -pub use linux_headers_asm_unistd::__NR_msgrcv; -pub use linux_headers_asm_unistd::__NR_msgsnd; -pub use linux_headers_asm_unistd::__NR_semget; -pub use linux_headers_asm_unistd::__NR_semctl; -pub use linux_headers_asm_unistd::__NR_semop; -pub use linux_headers_asm_unistd::__NR_shmget; -pub use linux_headers_asm_unistd::__NR_shmctl; -pub use linux_headers_asm_unistd::__NR_shmat; -pub use linux_headers_asm_unistd::__NR_shmdt; -pub use linux_headers_asm_unistd::__NR_socket; -pub use linux_headers_asm_unistd::__NR_socketpair; -pub use linux_headers_asm_unistd::__NR_bind; -pub use linux_headers_asm_unistd::__NR_listen; -pub use linux_headers_asm_unistd::__NR_accept; -pub use linux_headers_asm_unistd::__NR_connect; -pub use linux_headers_asm_unistd::__NR_getsockname; -pub use linux_headers_asm_unistd::__NR_getpeername; -pub use linux_headers_asm_unistd::__NR_sendto; -pub use linux_headers_asm_unistd::__NR_recvfrom; -pub use linux_headers_asm_unistd::__NR_setsockopt; -pub use linux_headers_asm_unistd::__NR_getsockopt; -pub use linux_headers_asm_unistd::__NR_shutdown; -pub use linux_headers_asm_unistd::__NR_sendmsg; -pub use linux_headers_asm_unistd::__NR_recvmsg; -pub use linux_headers_asm_unistd::__NR_readahead; -pub use linux_headers_asm_unistd::__NR_brk; -pub use linux_headers_asm_unistd::__NR_munmap; -pub use linux_headers_asm_unistd::__NR_mremap; -pub use linux_headers_asm_unistd::__NR_add_key; -pub use linux_headers_asm_unistd::__NR_request_key; -pub use linux_headers_asm_unistd::__NR_keyctl; -pub use linux_headers_asm_unistd::__NR_clone; -pub use linux_headers_asm_unistd::__NR_execve; -pub use linux_headers_asm_unistd::__NR_mmap2; -pub use linux_headers_asm_unistd::__NR_fadvise64_64; -pub use linux_headers_asm_unistd::__NR_swapon; -pub use linux_headers_asm_unistd::__NR_swapoff; -pub use linux_headers_asm_unistd::__NR_mprotect; -pub use linux_headers_asm_unistd::__NR_msync; -pub use linux_headers_asm_unistd::__NR_mlock; -pub use linux_headers_asm_unistd::__NR_munlock; -pub use linux_headers_asm_unistd::__NR_mlockall; -pub use linux_headers_asm_unistd::__NR_munlockall; -pub use linux_headers_asm_unistd::__NR_mincore; -pub use linux_headers_asm_unistd::__NR_madvise; -pub use linux_headers_asm_unistd::__NR_remap_file_pages; -pub use linux_headers_asm_unistd::__NR_mbind; -pub use linux_headers_asm_unistd::__NR_get_mempolicy; -pub use linux_headers_asm_unistd::__NR_set_mempolicy; -pub use linux_headers_asm_unistd::__NR_migrate_pages; -pub use linux_headers_asm_unistd::__NR_move_pages; -pub use linux_headers_asm_unistd::__NR_rt_tgsigqueueinfo; -pub use linux_headers_asm_unistd::__NR_perf_event_open; -pub use linux_headers_asm_unistd::__NR_accept4; -pub use linux_headers_asm_unistd::__NR_riscv_hwprobe; -pub use linux_headers_asm_unistd::__NR_riscv_flush_icache; -pub use linux_headers_asm_unistd::__NR_prlimit64; -pub use linux_headers_asm_unistd::__NR_fanotify_init; -pub use linux_headers_asm_unistd::__NR_fanotify_mark; -pub use linux_headers_asm_unistd::__NR_name_to_handle_at; -pub use linux_headers_asm_unistd::__NR_open_by_handle_at; -pub use linux_headers_asm_unistd::__NR_syncfs; -pub use linux_headers_asm_unistd::__NR_setns; -pub use linux_headers_asm_unistd::__NR_sendmmsg; -pub use linux_headers_asm_unistd::__NR_process_vm_readv; -pub use linux_headers_asm_unistd::__NR_process_vm_writev; -pub use linux_headers_asm_unistd::__NR_kcmp; -pub use linux_headers_asm_unistd::__NR_finit_module; -pub use linux_headers_asm_unistd::__NR_sched_setattr; -pub use linux_headers_asm_unistd::__NR_sched_getattr; -pub use linux_headers_asm_unistd::__NR_renameat2; -pub use linux_headers_asm_unistd::__NR_seccomp; -pub use linux_headers_asm_unistd::__NR_getrandom; -pub use linux_headers_asm_unistd::__NR_memfd_create; -pub use linux_headers_asm_unistd::__NR_bpf; -pub use linux_headers_asm_unistd::__NR_execveat; -pub use linux_headers_asm_unistd::__NR_userfaultfd; -pub use linux_headers_asm_unistd::__NR_membarrier; -pub use linux_headers_asm_unistd::__NR_mlock2; -pub use linux_headers_asm_unistd::__NR_copy_file_range; -pub use linux_headers_asm_unistd::__NR_preadv2; -pub use linux_headers_asm_unistd::__NR_pwritev2; -pub use linux_headers_asm_unistd::__NR_pkey_mprotect; -pub use linux_headers_asm_unistd::__NR_pkey_alloc; -pub use linux_headers_asm_unistd::__NR_pkey_free; -pub use linux_headers_asm_unistd::__NR_statx; -pub use linux_headers_asm_unistd::__NR_rseq; -pub use linux_headers_asm_unistd::__NR_kexec_file_load; -pub use linux_headers_asm_unistd::__NR_clock_gettime64; -pub use linux_headers_asm_unistd::__NR_clock_settime64; -pub use linux_headers_asm_unistd::__NR_clock_adjtime64; -pub use linux_headers_asm_unistd::__NR_clock_getres_time64; -pub use linux_headers_asm_unistd::__NR_clock_nanosleep_time64; -pub use linux_headers_asm_unistd::__NR_timer_gettime64; -pub use linux_headers_asm_unistd::__NR_timer_settime64; -pub use linux_headers_asm_unistd::__NR_timerfd_gettime64; -pub use linux_headers_asm_unistd::__NR_timerfd_settime64; -pub use linux_headers_asm_unistd::__NR_utimensat_time64; -pub use linux_headers_asm_unistd::__NR_pselect6_time64; -pub use linux_headers_asm_unistd::__NR_ppoll_time64; -pub use linux_headers_asm_unistd::__NR_io_pgetevents_time64; -pub use linux_headers_asm_unistd::__NR_recvmmsg_time64; -pub use linux_headers_asm_unistd::__NR_mq_timedsend_time64; -pub use linux_headers_asm_unistd::__NR_mq_timedreceive_time64; -pub use linux_headers_asm_unistd::__NR_semtimedop_time64; -pub use linux_headers_asm_unistd::__NR_rt_sigtimedwait_time64; -pub use linux_headers_asm_unistd::__NR_futex_time64; -pub use linux_headers_asm_unistd::__NR_sched_rr_get_interval_time64; -pub use linux_headers_asm_unistd::__NR_pidfd_send_signal; -pub use linux_headers_asm_unistd::__NR_io_uring_setup; -pub use linux_headers_asm_unistd::__NR_io_uring_enter; -pub use linux_headers_asm_unistd::__NR_io_uring_register; -pub use linux_headers_asm_unistd::__NR_open_tree; -pub use linux_headers_asm_unistd::__NR_move_mount; -pub use linux_headers_asm_unistd::__NR_fsopen; -pub use linux_headers_asm_unistd::__NR_fsconfig; -pub use linux_headers_asm_unistd::__NR_fsmount; -pub use linux_headers_asm_unistd::__NR_fspick; -pub use linux_headers_asm_unistd::__NR_pidfd_open; -pub use linux_headers_asm_unistd::__NR_clone3; -pub use linux_headers_asm_unistd::__NR_close_range; -pub use linux_headers_asm_unistd::__NR_openat2; -pub use linux_headers_asm_unistd::__NR_pidfd_getfd; -pub use linux_headers_asm_unistd::__NR_faccessat2; -pub use linux_headers_asm_unistd::__NR_process_madvise; -pub use linux_headers_asm_unistd::__NR_epoll_pwait2; -pub use linux_headers_asm_unistd::__NR_mount_setattr; -pub use linux_headers_asm_unistd::__NR_quotactl_fd; -pub use linux_headers_asm_unistd::__NR_landlock_create_ruleset; -pub use linux_headers_asm_unistd::__NR_landlock_add_rule; -pub use linux_headers_asm_unistd::__NR_landlock_restrict_self; -pub use linux_headers_asm_unistd::__NR_memfd_secret; -pub use linux_headers_asm_unistd::__NR_process_mrelease; -pub use linux_headers_asm_unistd::__NR_futex_waitv; -pub use linux_headers_asm_unistd::__NR_set_mempolicy_home_node; -pub use linux_headers_asm_unistd::__NR_cachestat; -pub use linux_headers_asm_unistd::__NR_fchmodat2; -pub use linux_headers_asm_unistd::__NR_map_shadow_stack; -pub use linux_headers_asm_unistd::__NR_futex_wake; -pub use linux_headers_asm_unistd::__NR_futex_wait; -pub use linux_headers_asm_unistd::__NR_futex_requeue; -pub use linux_headers_asm_unistd::__NR_statmount; -pub use linux_headers_asm_unistd::__NR_listmount; -pub use linux_headers_asm_unistd::__NR_lsm_get_self_attr; -pub use linux_headers_asm_unistd::__NR_lsm_set_self_attr; -pub use linux_headers_asm_unistd::__NR_lsm_list_modules; -pub use linux_headers_asm_unistd::__NR_mseal; -mod linux_headers_linux_auxvec; -pub use linux_headers_linux_auxvec::AT_SYSINFO_EHDR; -pub use linux_headers_linux_auxvec::AT_L1I_CACHESIZE; -pub use linux_headers_linux_auxvec::AT_L1I_CACHEGEOMETRY; -pub use linux_headers_linux_auxvec::AT_L1D_CACHESIZE; -pub use linux_headers_linux_auxvec::AT_L1D_CACHEGEOMETRY; -pub use linux_headers_linux_auxvec::AT_L2_CACHESIZE; -pub use linux_headers_linux_auxvec::AT_L2_CACHEGEOMETRY; -pub use linux_headers_linux_auxvec::AT_L3_CACHESIZE; -pub use linux_headers_linux_auxvec::AT_L3_CACHEGEOMETRY; -pub use linux_headers_linux_auxvec::AT_VECTOR_SIZE_ARCH; -pub use linux_headers_linux_auxvec::AT_MINSIGSTKSZ; -pub use linux_headers_linux_auxvec::AT_NULL; -pub use linux_headers_linux_auxvec::AT_IGNORE; -pub use linux_headers_linux_auxvec::AT_EXECFD; -pub use linux_headers_linux_auxvec::AT_PHDR; -pub use linux_headers_linux_auxvec::AT_PHENT; -pub use linux_headers_linux_auxvec::AT_PHNUM; -pub use linux_headers_linux_auxvec::AT_PAGESZ; -pub use linux_headers_linux_auxvec::AT_BASE; -pub use linux_headers_linux_auxvec::AT_FLAGS; -pub use linux_headers_linux_auxvec::AT_ENTRY; -pub use linux_headers_linux_auxvec::AT_NOTELF; -pub use linux_headers_linux_auxvec::AT_UID; -pub use linux_headers_linux_auxvec::AT_EUID; -pub use linux_headers_linux_auxvec::AT_GID; -pub use linux_headers_linux_auxvec::AT_EGID; -pub use linux_headers_linux_auxvec::AT_PLATFORM; -pub use linux_headers_linux_auxvec::AT_HWCAP; -pub use linux_headers_linux_auxvec::AT_CLKTCK; -pub use linux_headers_linux_auxvec::AT_SECURE; -pub use linux_headers_linux_auxvec::AT_BASE_PLATFORM; -pub use linux_headers_linux_auxvec::AT_RANDOM; -pub use linux_headers_linux_auxvec::AT_HWCAP2; -pub use linux_headers_linux_auxvec::AT_RSEQ_FEATURE_SIZE; -pub use linux_headers_linux_auxvec::AT_RSEQ_ALIGN; -pub use linux_headers_linux_auxvec::AT_HWCAP3; -pub use linux_headers_linux_auxvec::AT_HWCAP4; -pub use linux_headers_linux_auxvec::AT_EXECFN; -mod linux_headers_linux_prctl; -pub use linux_headers_linux_prctl::PR_SET_PDEATHSIG; -pub use linux_headers_linux_prctl::PR_GET_PDEATHSIG; -pub use linux_headers_linux_prctl::PR_GET_DUMPABLE; -pub use linux_headers_linux_prctl::PR_SET_DUMPABLE; -pub use linux_headers_linux_prctl::PR_GET_UNALIGN; -pub use linux_headers_linux_prctl::PR_SET_UNALIGN; -pub use linux_headers_linux_prctl::PR_UNALIGN_NOPRINT; -pub use linux_headers_linux_prctl::PR_UNALIGN_SIGBUS; -pub use linux_headers_linux_prctl::PR_GET_KEEPCAPS; -pub use linux_headers_linux_prctl::PR_SET_KEEPCAPS; -pub use linux_headers_linux_prctl::PR_GET_FPEMU; -pub use linux_headers_linux_prctl::PR_SET_FPEMU; -pub use linux_headers_linux_prctl::PR_FPEMU_NOPRINT; -pub use linux_headers_linux_prctl::PR_FPEMU_SIGFPE; -pub use linux_headers_linux_prctl::PR_GET_FPEXC; -pub use linux_headers_linux_prctl::PR_SET_FPEXC; -pub use linux_headers_linux_prctl::PR_FP_EXC_SW_ENABLE; -pub use linux_headers_linux_prctl::PR_FP_EXC_DIV; -pub use linux_headers_linux_prctl::PR_FP_EXC_OVF; -pub use linux_headers_linux_prctl::PR_FP_EXC_UND; -pub use linux_headers_linux_prctl::PR_FP_EXC_RES; -pub use linux_headers_linux_prctl::PR_FP_EXC_INV; -pub use linux_headers_linux_prctl::PR_FP_EXC_DISABLED; -pub use linux_headers_linux_prctl::PR_FP_EXC_NONRECOV; -pub use linux_headers_linux_prctl::PR_FP_EXC_ASYNC; -pub use linux_headers_linux_prctl::PR_FP_EXC_PRECISE; -pub use linux_headers_linux_prctl::PR_GET_TIMING; -pub use linux_headers_linux_prctl::PR_SET_TIMING; -pub use linux_headers_linux_prctl::PR_TIMING_STATISTICAL; -pub use linux_headers_linux_prctl::PR_TIMING_TIMESTAMP; -pub use linux_headers_linux_prctl::PR_SET_NAME; -pub use linux_headers_linux_prctl::PR_GET_NAME; -pub use linux_headers_linux_prctl::PR_GET_ENDIAN; -pub use linux_headers_linux_prctl::PR_SET_ENDIAN; -pub use linux_headers_linux_prctl::PR_ENDIAN_BIG; -pub use linux_headers_linux_prctl::PR_ENDIAN_LITTLE; -pub use linux_headers_linux_prctl::PR_ENDIAN_PPC_LITTLE; -pub use linux_headers_linux_prctl::PR_GET_SECCOMP; -pub use linux_headers_linux_prctl::PR_SET_SECCOMP; -pub use linux_headers_linux_prctl::PR_CAPBSET_READ; -pub use linux_headers_linux_prctl::PR_CAPBSET_DROP; -pub use linux_headers_linux_prctl::PR_GET_TSC; -pub use linux_headers_linux_prctl::PR_SET_TSC; -pub use linux_headers_linux_prctl::PR_TSC_ENABLE; -pub use linux_headers_linux_prctl::PR_TSC_SIGSEGV; -pub use linux_headers_linux_prctl::PR_GET_SECUREBITS; -pub use linux_headers_linux_prctl::PR_SET_SECUREBITS; -pub use linux_headers_linux_prctl::PR_SET_TIMERSLACK; -pub use linux_headers_linux_prctl::PR_GET_TIMERSLACK; -pub use linux_headers_linux_prctl::PR_TASK_PERF_EVENTS_DISABLE; -pub use linux_headers_linux_prctl::PR_TASK_PERF_EVENTS_ENABLE; -pub use linux_headers_linux_prctl::PR_MCE_KILL; -pub use linux_headers_linux_prctl::PR_MCE_KILL_CLEAR; -pub use linux_headers_linux_prctl::PR_MCE_KILL_SET; -pub use linux_headers_linux_prctl::PR_MCE_KILL_LATE; -pub use linux_headers_linux_prctl::PR_MCE_KILL_EARLY; -pub use linux_headers_linux_prctl::PR_MCE_KILL_DEFAULT; -pub use linux_headers_linux_prctl::PR_MCE_KILL_GET; -pub use linux_headers_linux_prctl::PR_SET_MM; -pub use linux_headers_linux_prctl::PR_SET_MM_START_CODE; -pub use linux_headers_linux_prctl::PR_SET_MM_END_CODE; -pub use linux_headers_linux_prctl::PR_SET_MM_START_DATA; -pub use linux_headers_linux_prctl::PR_SET_MM_END_DATA; -pub use linux_headers_linux_prctl::PR_SET_MM_START_STACK; -pub use linux_headers_linux_prctl::PR_SET_MM_START_BRK; -pub use linux_headers_linux_prctl::PR_SET_MM_BRK; -pub use linux_headers_linux_prctl::PR_SET_MM_ARG_START; -pub use linux_headers_linux_prctl::PR_SET_MM_ARG_END; -pub use linux_headers_linux_prctl::PR_SET_MM_ENV_START; -pub use linux_headers_linux_prctl::PR_SET_MM_ENV_END; -pub use linux_headers_linux_prctl::PR_SET_MM_AUXV; -pub use linux_headers_linux_prctl::PR_SET_MM_EXE_FILE; -pub use linux_headers_linux_prctl::PR_SET_MM_MAP; -pub use linux_headers_linux_prctl::PR_SET_MM_MAP_SIZE; -pub use linux_headers_linux_prctl::PR_SET_PTRACER; -pub use linux_headers_linux_prctl::PR_SET_PTRACER_ANY; -pub use linux_headers_linux_prctl::PR_SET_CHILD_SUBREAPER; -pub use linux_headers_linux_prctl::PR_GET_CHILD_SUBREAPER; -pub use linux_headers_linux_prctl::PR_SET_NO_NEW_PRIVS; -pub use linux_headers_linux_prctl::PR_GET_NO_NEW_PRIVS; -pub use linux_headers_linux_prctl::PR_GET_TID_ADDRESS; -pub use linux_headers_linux_prctl::PR_SET_THP_DISABLE; -pub use linux_headers_linux_prctl::PR_GET_THP_DISABLE; -pub use linux_headers_linux_prctl::PR_MPX_ENABLE_MANAGEMENT; -pub use linux_headers_linux_prctl::PR_MPX_DISABLE_MANAGEMENT; -pub use linux_headers_linux_prctl::PR_SET_FP_MODE; -pub use linux_headers_linux_prctl::PR_GET_FP_MODE; -pub use linux_headers_linux_prctl::PR_FP_MODE_FR; -pub use linux_headers_linux_prctl::PR_FP_MODE_FRE; -pub use linux_headers_linux_prctl::PR_CAP_AMBIENT; -pub use linux_headers_linux_prctl::PR_CAP_AMBIENT_IS_SET; -pub use linux_headers_linux_prctl::PR_CAP_AMBIENT_RAISE; -pub use linux_headers_linux_prctl::PR_CAP_AMBIENT_LOWER; -pub use linux_headers_linux_prctl::PR_CAP_AMBIENT_CLEAR_ALL; -pub use linux_headers_linux_prctl::PR_SVE_SET_VL; -pub use linux_headers_linux_prctl::PR_SVE_SET_VL_ONEXEC; -pub use linux_headers_linux_prctl::PR_SVE_GET_VL; -pub use linux_headers_linux_prctl::PR_SVE_VL_LEN_MASK; -pub use linux_headers_linux_prctl::PR_SVE_VL_INHERIT; -pub use linux_headers_linux_prctl::PR_GET_SPECULATION_CTRL; -pub use linux_headers_linux_prctl::PR_SET_SPECULATION_CTRL; -pub use linux_headers_linux_prctl::PR_SPEC_STORE_BYPASS; -pub use linux_headers_linux_prctl::PR_SPEC_INDIRECT_BRANCH; -pub use linux_headers_linux_prctl::PR_SPEC_L1D_FLUSH; -pub use linux_headers_linux_prctl::PR_SPEC_NOT_AFFECTED; -pub use linux_headers_linux_prctl::PR_SPEC_PRCTL; -pub use linux_headers_linux_prctl::PR_SPEC_ENABLE; -pub use linux_headers_linux_prctl::PR_SPEC_DISABLE; -pub use linux_headers_linux_prctl::PR_SPEC_FORCE_DISABLE; -pub use linux_headers_linux_prctl::PR_SPEC_DISABLE_NOEXEC; -pub use linux_headers_linux_prctl::PR_PAC_RESET_KEYS; -pub use linux_headers_linux_prctl::PR_PAC_APIAKEY; -pub use linux_headers_linux_prctl::PR_PAC_APIBKEY; -pub use linux_headers_linux_prctl::PR_PAC_APDAKEY; -pub use linux_headers_linux_prctl::PR_PAC_APDBKEY; -pub use linux_headers_linux_prctl::PR_PAC_APGAKEY; -pub use linux_headers_linux_prctl::PR_SET_TAGGED_ADDR_CTRL; -pub use linux_headers_linux_prctl::PR_GET_TAGGED_ADDR_CTRL; -pub use linux_headers_linux_prctl::PR_TAGGED_ADDR_ENABLE; -pub use linux_headers_linux_prctl::PR_MTE_TCF_NONE; -pub use linux_headers_linux_prctl::PR_MTE_TCF_SYNC; -pub use linux_headers_linux_prctl::PR_MTE_TCF_ASYNC; -pub use linux_headers_linux_prctl::PR_MTE_TCF_MASK; -pub use linux_headers_linux_prctl::PR_MTE_TAG_SHIFT; -pub use linux_headers_linux_prctl::PR_MTE_TAG_MASK; -pub use linux_headers_linux_prctl::PR_MTE_TCF_SHIFT; -pub use linux_headers_linux_prctl::PR_SET_IO_FLUSHER; -pub use linux_headers_linux_prctl::PR_GET_IO_FLUSHER; -pub use linux_headers_linux_prctl::PR_SET_SYSCALL_USER_DISPATCH; -pub use linux_headers_linux_prctl::PR_SYS_DISPATCH_OFF; -pub use linux_headers_linux_prctl::PR_SYS_DISPATCH_ON; -pub use linux_headers_linux_prctl::PR_PAC_SET_ENABLED_KEYS; -pub use linux_headers_linux_prctl::PR_PAC_GET_ENABLED_KEYS; -pub use linux_headers_linux_prctl::PR_SCHED_CORE; -pub use linux_headers_linux_prctl::PR_SCHED_CORE_GET; -pub use linux_headers_linux_prctl::PR_SCHED_CORE_CREATE; -pub use linux_headers_linux_prctl::PR_SCHED_CORE_SHARE_TO; -pub use linux_headers_linux_prctl::PR_SCHED_CORE_SHARE_FROM; -pub use linux_headers_linux_prctl::PR_SCHED_CORE_MAX; -pub use linux_headers_linux_prctl::PR_SCHED_CORE_SCOPE_THREAD; -pub use linux_headers_linux_prctl::PR_SCHED_CORE_SCOPE_THREAD_GROUP; -pub use linux_headers_linux_prctl::PR_SCHED_CORE_SCOPE_PROCESS_GROUP; -pub use linux_headers_linux_prctl::PR_SME_SET_VL; -pub use linux_headers_linux_prctl::PR_SME_SET_VL_ONEXEC; -pub use linux_headers_linux_prctl::PR_SME_GET_VL; -pub use linux_headers_linux_prctl::PR_SME_VL_LEN_MASK; -pub use linux_headers_linux_prctl::PR_SME_VL_INHERIT; -pub use linux_headers_linux_prctl::PR_SET_MDWE; -pub use linux_headers_linux_prctl::PR_MDWE_REFUSE_EXEC_GAIN; -pub use linux_headers_linux_prctl::PR_MDWE_NO_INHERIT; -pub use linux_headers_linux_prctl::PR_GET_MDWE; -pub use linux_headers_linux_prctl::PR_SET_VMA; -pub use linux_headers_linux_prctl::PR_SET_VMA_ANON_NAME; -pub use linux_headers_linux_prctl::PR_GET_AUXV; -pub use linux_headers_linux_prctl::PR_SET_MEMORY_MERGE; -pub use linux_headers_linux_prctl::PR_GET_MEMORY_MERGE; -pub use linux_headers_linux_prctl::PR_RISCV_V_SET_CONTROL; -pub use linux_headers_linux_prctl::PR_RISCV_V_GET_CONTROL; -pub use linux_headers_linux_prctl::PR_RISCV_V_VSTATE_CTRL_DEFAULT; -pub use linux_headers_linux_prctl::PR_RISCV_V_VSTATE_CTRL_OFF; -pub use linux_headers_linux_prctl::PR_RISCV_V_VSTATE_CTRL_ON; -pub use linux_headers_linux_prctl::PR_RISCV_V_VSTATE_CTRL_INHERIT; -pub use linux_headers_linux_prctl::PR_RISCV_V_VSTATE_CTRL_CUR_MASK; -pub use linux_headers_linux_prctl::PR_RISCV_V_VSTATE_CTRL_NEXT_MASK; -pub use linux_headers_linux_prctl::PR_RISCV_V_VSTATE_CTRL_MASK; -pub use linux_headers_linux_prctl::PR_RISCV_SET_ICACHE_FLUSH_CTX; -pub use linux_headers_linux_prctl::PR_RISCV_CTX_SW_FENCEI_ON; -pub use linux_headers_linux_prctl::PR_RISCV_CTX_SW_FENCEI_OFF; -pub use linux_headers_linux_prctl::PR_RISCV_SCOPE_PER_PROCESS; -pub use linux_headers_linux_prctl::PR_RISCV_SCOPE_PER_THREAD; -pub use linux_headers_linux_prctl::PR_PPC_GET_DEXCR; -pub use linux_headers_linux_prctl::PR_PPC_SET_DEXCR; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_SBHE; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_IBRTPD; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_SRAPD; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_NPHIE; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_CTRL_EDITABLE; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_CTRL_SET; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_CTRL_CLEAR; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_CTRL_SET_ONEXEC; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_CTRL_CLEAR_ONEXEC; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_CTRL_MASK; -mod dlfcn; -pub use dlfcn::RTLD_DEFAULT; -pub use dlfcn::dlsym; -mod elf; -pub use elf::Elf32_auxv_t; -pub use elf::Elf64_auxv_t; -mod sys_auxv; -pub use sys_auxv::getauxval; -mod unistd; -pub use unistd::syscall; -pub type c_char = u8; diff --git a/tests/helper/src/gen/sys/riscv32gc_linux_musl/sys_auxv.rs b/tests/helper/src/gen/sys/riscv32gc_linux_musl/sys_auxv.rs deleted file mode 100644 index fc602aeb..00000000 --- a/tests/helper/src/gen/sys/riscv32gc_linux_musl/sys_auxv.rs +++ /dev/null @@ -1,10 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -extern "C" { - pub fn getauxval(arg1: ::std::os::raw::c_ulong) -> ::std::os::raw::c_ulong; -} diff --git a/tests/helper/src/gen/sys/riscv32gc_linux_musl/unistd.rs b/tests/helper/src/gen/sys/riscv32gc_linux_musl/unistd.rs deleted file mode 100644 index d16be956..00000000 --- a/tests/helper/src/gen/sys/riscv32gc_linux_musl/unistd.rs +++ /dev/null @@ -1,10 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -extern "C" { - pub fn syscall(arg1: ::std::os::raw::c_long, ...) -> ::std::os::raw::c_long; -} diff --git a/tests/helper/src/gen/sys/riscv64_linux_android/dlfcn.rs b/tests/helper/src/gen/sys/riscv64_linux_android/dlfcn.rs deleted file mode 100644 index 70c321a7..00000000 --- a/tests/helper/src/gen/sys/riscv64_linux_android/dlfcn.rs +++ /dev/null @@ -1,14 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -extern "C" { - pub fn dlsym( - __handle: *mut ::core::ffi::c_void, - __symbol: *const ::std::os::raw::c_char, - ) -> *mut ::core::ffi::c_void; -} -pub const RTLD_DEFAULT: *mut ::std::os::raw::c_void = ::core::ptr::null_mut(); diff --git a/tests/helper/src/gen/sys/riscv64_linux_android/elf.rs b/tests/helper/src/gen/sys/riscv64_linux_android/elf.rs deleted file mode 100644 index 67652ede..00000000 --- a/tests/helper/src/gen/sys/riscv64_linux_android/elf.rs +++ /dev/null @@ -1,31 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -pub type __u32 = ::std::os::raw::c_uint; -pub type __u64 = ::std::os::raw::c_ulonglong; -#[repr(C)] -#[derive(Copy, Clone)] -pub struct Elf32_auxv_t { - pub a_type: __u32, - pub a_un: Elf32_auxv_t__bindgen_ty_1, -} -#[repr(C)] -#[derive(Copy, Clone)] -pub union Elf32_auxv_t__bindgen_ty_1 { - pub a_val: __u32, -} -#[repr(C)] -#[derive(Copy, Clone)] -pub struct Elf64_auxv_t { - pub a_type: __u64, - pub a_un: Elf64_auxv_t__bindgen_ty_1, -} -#[repr(C)] -#[derive(Copy, Clone)] -pub union Elf64_auxv_t__bindgen_ty_1 { - pub a_val: __u64, -} diff --git a/tests/helper/src/gen/sys/riscv64_linux_android/linux_headers_asm_hwcap.rs b/tests/helper/src/gen/sys/riscv64_linux_android/linux_headers_asm_hwcap.rs deleted file mode 100644 index fc615659..00000000 --- a/tests/helper/src/gen/sys/riscv64_linux_android/linux_headers_asm_hwcap.rs +++ /dev/null @@ -1,7 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - diff --git a/tests/helper/src/gen/sys/riscv64_linux_android/linux_headers_asm_hwprobe.rs b/tests/helper/src/gen/sys/riscv64_linux_android/linux_headers_asm_hwprobe.rs deleted file mode 100644 index ae69d15b..00000000 --- a/tests/helper/src/gen/sys/riscv64_linux_android/linux_headers_asm_hwprobe.rs +++ /dev/null @@ -1,87 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -pub type __s64 = ::std::os::raw::c_longlong; -pub type __u64 = ::std::os::raw::c_ulonglong; -#[repr(C)] -#[derive(Copy, Clone)] -pub struct riscv_hwprobe { - pub key: __s64, - pub value: __u64, -} -pub const RISCV_HWPROBE_KEY_MVENDORID: u32 = 0; -pub const RISCV_HWPROBE_KEY_MARCHID: u32 = 1; -pub const RISCV_HWPROBE_KEY_MIMPID: u32 = 2; -pub const RISCV_HWPROBE_KEY_BASE_BEHAVIOR: u32 = 3; -pub const RISCV_HWPROBE_BASE_BEHAVIOR_IMA: u32 = 1; -pub const RISCV_HWPROBE_KEY_IMA_EXT_0: u32 = 4; -pub const RISCV_HWPROBE_IMA_FD: u32 = 1; -pub const RISCV_HWPROBE_IMA_C: u32 = 2; -pub const RISCV_HWPROBE_IMA_V: u32 = 4; -pub const RISCV_HWPROBE_EXT_ZBA: u32 = 8; -pub const RISCV_HWPROBE_EXT_ZBB: u32 = 16; -pub const RISCV_HWPROBE_EXT_ZBS: u32 = 32; -pub const RISCV_HWPROBE_EXT_ZICBOZ: u32 = 64; -pub const RISCV_HWPROBE_EXT_ZBC: u32 = 128; -pub const RISCV_HWPROBE_EXT_ZBKB: u32 = 256; -pub const RISCV_HWPROBE_EXT_ZBKC: u32 = 512; -pub const RISCV_HWPROBE_EXT_ZBKX: u32 = 1024; -pub const RISCV_HWPROBE_EXT_ZKND: u32 = 2048; -pub const RISCV_HWPROBE_EXT_ZKNE: u32 = 4096; -pub const RISCV_HWPROBE_EXT_ZKNH: u32 = 8192; -pub const RISCV_HWPROBE_EXT_ZKSED: u32 = 16384; -pub const RISCV_HWPROBE_EXT_ZKSH: u32 = 32768; -pub const RISCV_HWPROBE_EXT_ZKT: u32 = 65536; -pub const RISCV_HWPROBE_EXT_ZVBB: u32 = 131072; -pub const RISCV_HWPROBE_EXT_ZVBC: u32 = 262144; -pub const RISCV_HWPROBE_EXT_ZVKB: u32 = 524288; -pub const RISCV_HWPROBE_EXT_ZVKG: u32 = 1048576; -pub const RISCV_HWPROBE_EXT_ZVKNED: u32 = 2097152; -pub const RISCV_HWPROBE_EXT_ZVKNHA: u32 = 4194304; -pub const RISCV_HWPROBE_EXT_ZVKNHB: u32 = 8388608; -pub const RISCV_HWPROBE_EXT_ZVKSED: u32 = 16777216; -pub const RISCV_HWPROBE_EXT_ZVKSH: u32 = 33554432; -pub const RISCV_HWPROBE_EXT_ZVKT: u32 = 67108864; -pub const RISCV_HWPROBE_EXT_ZFH: u32 = 134217728; -pub const RISCV_HWPROBE_EXT_ZFHMIN: u32 = 268435456; -pub const RISCV_HWPROBE_EXT_ZIHINTNTL: u32 = 536870912; -pub const RISCV_HWPROBE_EXT_ZVFH: u32 = 1073741824; -pub const RISCV_HWPROBE_EXT_ZVFHMIN: u32 = 2147483648; -pub const RISCV_HWPROBE_EXT_ZFA: u64 = 4294967296; -pub const RISCV_HWPROBE_EXT_ZTSO: u64 = 8589934592; -pub const RISCV_HWPROBE_EXT_ZACAS: u64 = 17179869184; -pub const RISCV_HWPROBE_EXT_ZICOND: u64 = 34359738368; -pub const RISCV_HWPROBE_EXT_ZIHINTPAUSE: u64 = 68719476736; -pub const RISCV_HWPROBE_EXT_ZVE32X: u64 = 137438953472; -pub const RISCV_HWPROBE_EXT_ZVE32F: u64 = 274877906944; -pub const RISCV_HWPROBE_EXT_ZVE64X: u64 = 549755813888; -pub const RISCV_HWPROBE_EXT_ZVE64F: u64 = 1099511627776; -pub const RISCV_HWPROBE_EXT_ZVE64D: u64 = 2199023255552; -pub const RISCV_HWPROBE_EXT_ZIMOP: u64 = 4398046511104; -pub const RISCV_HWPROBE_EXT_ZCA: u64 = 8796093022208; -pub const RISCV_HWPROBE_EXT_ZCB: u64 = 17592186044416; -pub const RISCV_HWPROBE_EXT_ZCD: u64 = 35184372088832; -pub const RISCV_HWPROBE_EXT_ZCF: u64 = 70368744177664; -pub const RISCV_HWPROBE_EXT_ZCMOP: u64 = 140737488355328; -pub const RISCV_HWPROBE_EXT_ZAWRS: u64 = 281474976710656; -pub const RISCV_HWPROBE_KEY_CPUPERF_0: u32 = 5; -pub const RISCV_HWPROBE_MISALIGNED_UNKNOWN: u32 = 0; -pub const RISCV_HWPROBE_MISALIGNED_EMULATED: u32 = 1; -pub const RISCV_HWPROBE_MISALIGNED_SLOW: u32 = 2; -pub const RISCV_HWPROBE_MISALIGNED_FAST: u32 = 3; -pub const RISCV_HWPROBE_MISALIGNED_UNSUPPORTED: u32 = 4; -pub const RISCV_HWPROBE_MISALIGNED_MASK: u32 = 7; -pub const RISCV_HWPROBE_KEY_ZICBOZ_BLOCK_SIZE: u32 = 6; -pub const RISCV_HWPROBE_KEY_HIGHEST_VIRT_ADDRESS: u32 = 7; -pub const RISCV_HWPROBE_KEY_TIME_CSR_FREQ: u32 = 8; -pub const RISCV_HWPROBE_KEY_MISALIGNED_SCALAR_PERF: u32 = 9; -pub const RISCV_HWPROBE_MISALIGNED_SCALAR_UNKNOWN: u32 = 0; -pub const RISCV_HWPROBE_MISALIGNED_SCALAR_EMULATED: u32 = 1; -pub const RISCV_HWPROBE_MISALIGNED_SCALAR_SLOW: u32 = 2; -pub const RISCV_HWPROBE_MISALIGNED_SCALAR_FAST: u32 = 3; -pub const RISCV_HWPROBE_MISALIGNED_SCALAR_UNSUPPORTED: u32 = 4; -pub const RISCV_HWPROBE_WHICH_CPUS: u32 = 1; diff --git a/tests/helper/src/gen/sys/riscv64_linux_android/linux_headers_asm_unistd.rs b/tests/helper/src/gen/sys/riscv64_linux_android/linux_headers_asm_unistd.rs deleted file mode 100644 index 2854c53b..00000000 --- a/tests/helper/src/gen/sys/riscv64_linux_android/linux_headers_asm_unistd.rs +++ /dev/null @@ -1,326 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -pub const __NR_io_setup: u32 = 0; -pub const __NR_io_destroy: u32 = 1; -pub const __NR_io_submit: u32 = 2; -pub const __NR_io_cancel: u32 = 3; -pub const __NR_io_getevents: u32 = 4; -pub const __NR_setxattr: u32 = 5; -pub const __NR_lsetxattr: u32 = 6; -pub const __NR_fsetxattr: u32 = 7; -pub const __NR_getxattr: u32 = 8; -pub const __NR_lgetxattr: u32 = 9; -pub const __NR_fgetxattr: u32 = 10; -pub const __NR_listxattr: u32 = 11; -pub const __NR_llistxattr: u32 = 12; -pub const __NR_flistxattr: u32 = 13; -pub const __NR_removexattr: u32 = 14; -pub const __NR_lremovexattr: u32 = 15; -pub const __NR_fremovexattr: u32 = 16; -pub const __NR_getcwd: u32 = 17; -pub const __NR_lookup_dcookie: u32 = 18; -pub const __NR_eventfd2: u32 = 19; -pub const __NR_epoll_create1: u32 = 20; -pub const __NR_epoll_ctl: u32 = 21; -pub const __NR_epoll_pwait: u32 = 22; -pub const __NR_dup: u32 = 23; -pub const __NR_dup3: u32 = 24; -pub const __NR_fcntl: u32 = 25; -pub const __NR_inotify_init1: u32 = 26; -pub const __NR_inotify_add_watch: u32 = 27; -pub const __NR_inotify_rm_watch: u32 = 28; -pub const __NR_ioctl: u32 = 29; -pub const __NR_ioprio_set: u32 = 30; -pub const __NR_ioprio_get: u32 = 31; -pub const __NR_flock: u32 = 32; -pub const __NR_mknodat: u32 = 33; -pub const __NR_mkdirat: u32 = 34; -pub const __NR_unlinkat: u32 = 35; -pub const __NR_symlinkat: u32 = 36; -pub const __NR_linkat: u32 = 37; -pub const __NR_umount2: u32 = 39; -pub const __NR_mount: u32 = 40; -pub const __NR_pivot_root: u32 = 41; -pub const __NR_nfsservctl: u32 = 42; -pub const __NR_statfs: u32 = 43; -pub const __NR_fstatfs: u32 = 44; -pub const __NR_truncate: u32 = 45; -pub const __NR_ftruncate: u32 = 46; -pub const __NR_fallocate: u32 = 47; -pub const __NR_faccessat: u32 = 48; -pub const __NR_chdir: u32 = 49; -pub const __NR_fchdir: u32 = 50; -pub const __NR_chroot: u32 = 51; -pub const __NR_fchmod: u32 = 52; -pub const __NR_fchmodat: u32 = 53; -pub const __NR_fchownat: u32 = 54; -pub const __NR_fchown: u32 = 55; -pub const __NR_openat: u32 = 56; -pub const __NR_close: u32 = 57; -pub const __NR_vhangup: u32 = 58; -pub const __NR_pipe2: u32 = 59; -pub const __NR_quotactl: u32 = 60; -pub const __NR_getdents64: u32 = 61; -pub const __NR_lseek: u32 = 62; -pub const __NR_read: u32 = 63; -pub const __NR_write: u32 = 64; -pub const __NR_readv: u32 = 65; -pub const __NR_writev: u32 = 66; -pub const __NR_pread64: u32 = 67; -pub const __NR_pwrite64: u32 = 68; -pub const __NR_preadv: u32 = 69; -pub const __NR_pwritev: u32 = 70; -pub const __NR_sendfile: u32 = 71; -pub const __NR_pselect6: u32 = 72; -pub const __NR_ppoll: u32 = 73; -pub const __NR_signalfd4: u32 = 74; -pub const __NR_vmsplice: u32 = 75; -pub const __NR_splice: u32 = 76; -pub const __NR_tee: u32 = 77; -pub const __NR_readlinkat: u32 = 78; -pub const __NR_newfstatat: u32 = 79; -pub const __NR_fstat: u32 = 80; -pub const __NR_sync: u32 = 81; -pub const __NR_fsync: u32 = 82; -pub const __NR_fdatasync: u32 = 83; -pub const __NR_sync_file_range: u32 = 84; -pub const __NR_timerfd_create: u32 = 85; -pub const __NR_timerfd_settime: u32 = 86; -pub const __NR_timerfd_gettime: u32 = 87; -pub const __NR_utimensat: u32 = 88; -pub const __NR_acct: u32 = 89; -pub const __NR_capget: u32 = 90; -pub const __NR_capset: u32 = 91; -pub const __NR_personality: u32 = 92; -pub const __NR_exit: u32 = 93; -pub const __NR_exit_group: u32 = 94; -pub const __NR_waitid: u32 = 95; -pub const __NR_set_tid_address: u32 = 96; -pub const __NR_unshare: u32 = 97; -pub const __NR_futex: u32 = 98; -pub const __NR_set_robust_list: u32 = 99; -pub const __NR_get_robust_list: u32 = 100; -pub const __NR_nanosleep: u32 = 101; -pub const __NR_getitimer: u32 = 102; -pub const __NR_setitimer: u32 = 103; -pub const __NR_kexec_load: u32 = 104; -pub const __NR_init_module: u32 = 105; -pub const __NR_delete_module: u32 = 106; -pub const __NR_timer_create: u32 = 107; -pub const __NR_timer_gettime: u32 = 108; -pub const __NR_timer_getoverrun: u32 = 109; -pub const __NR_timer_settime: u32 = 110; -pub const __NR_timer_delete: u32 = 111; -pub const __NR_clock_settime: u32 = 112; -pub const __NR_clock_gettime: u32 = 113; -pub const __NR_clock_getres: u32 = 114; -pub const __NR_clock_nanosleep: u32 = 115; -pub const __NR_syslog: u32 = 116; -pub const __NR_ptrace: u32 = 117; -pub const __NR_sched_setparam: u32 = 118; -pub const __NR_sched_setscheduler: u32 = 119; -pub const __NR_sched_getscheduler: u32 = 120; -pub const __NR_sched_getparam: u32 = 121; -pub const __NR_sched_setaffinity: u32 = 122; -pub const __NR_sched_getaffinity: u32 = 123; -pub const __NR_sched_yield: u32 = 124; -pub const __NR_sched_get_priority_max: u32 = 125; -pub const __NR_sched_get_priority_min: u32 = 126; -pub const __NR_sched_rr_get_interval: u32 = 127; -pub const __NR_restart_syscall: u32 = 128; -pub const __NR_kill: u32 = 129; -pub const __NR_tkill: u32 = 130; -pub const __NR_tgkill: u32 = 131; -pub const __NR_sigaltstack: u32 = 132; -pub const __NR_rt_sigsuspend: u32 = 133; -pub const __NR_rt_sigaction: u32 = 134; -pub const __NR_rt_sigprocmask: u32 = 135; -pub const __NR_rt_sigpending: u32 = 136; -pub const __NR_rt_sigtimedwait: u32 = 137; -pub const __NR_rt_sigqueueinfo: u32 = 138; -pub const __NR_rt_sigreturn: u32 = 139; -pub const __NR_setpriority: u32 = 140; -pub const __NR_getpriority: u32 = 141; -pub const __NR_reboot: u32 = 142; -pub const __NR_setregid: u32 = 143; -pub const __NR_setgid: u32 = 144; -pub const __NR_setreuid: u32 = 145; -pub const __NR_setuid: u32 = 146; -pub const __NR_setresuid: u32 = 147; -pub const __NR_getresuid: u32 = 148; -pub const __NR_setresgid: u32 = 149; -pub const __NR_getresgid: u32 = 150; -pub const __NR_setfsuid: u32 = 151; -pub const __NR_setfsgid: u32 = 152; -pub const __NR_times: u32 = 153; -pub const __NR_setpgid: u32 = 154; -pub const __NR_getpgid: u32 = 155; -pub const __NR_getsid: u32 = 156; -pub const __NR_setsid: u32 = 157; -pub const __NR_getgroups: u32 = 158; -pub const __NR_setgroups: u32 = 159; -pub const __NR_uname: u32 = 160; -pub const __NR_sethostname: u32 = 161; -pub const __NR_setdomainname: u32 = 162; -pub const __NR_getrlimit: u32 = 163; -pub const __NR_setrlimit: u32 = 164; -pub const __NR_getrusage: u32 = 165; -pub const __NR_umask: u32 = 166; -pub const __NR_prctl: u32 = 167; -pub const __NR_getcpu: u32 = 168; -pub const __NR_gettimeofday: u32 = 169; -pub const __NR_settimeofday: u32 = 170; -pub const __NR_adjtimex: u32 = 171; -pub const __NR_getpid: u32 = 172; -pub const __NR_getppid: u32 = 173; -pub const __NR_getuid: u32 = 174; -pub const __NR_geteuid: u32 = 175; -pub const __NR_getgid: u32 = 176; -pub const __NR_getegid: u32 = 177; -pub const __NR_gettid: u32 = 178; -pub const __NR_sysinfo: u32 = 179; -pub const __NR_mq_open: u32 = 180; -pub const __NR_mq_unlink: u32 = 181; -pub const __NR_mq_timedsend: u32 = 182; -pub const __NR_mq_timedreceive: u32 = 183; -pub const __NR_mq_notify: u32 = 184; -pub const __NR_mq_getsetattr: u32 = 185; -pub const __NR_msgget: u32 = 186; -pub const __NR_msgctl: u32 = 187; -pub const __NR_msgrcv: u32 = 188; -pub const __NR_msgsnd: u32 = 189; -pub const __NR_semget: u32 = 190; -pub const __NR_semctl: u32 = 191; -pub const __NR_semtimedop: u32 = 192; -pub const __NR_semop: u32 = 193; -pub const __NR_shmget: u32 = 194; -pub const __NR_shmctl: u32 = 195; -pub const __NR_shmat: u32 = 196; -pub const __NR_shmdt: u32 = 197; -pub const __NR_socket: u32 = 198; -pub const __NR_socketpair: u32 = 199; -pub const __NR_bind: u32 = 200; -pub const __NR_listen: u32 = 201; -pub const __NR_accept: u32 = 202; -pub const __NR_connect: u32 = 203; -pub const __NR_getsockname: u32 = 204; -pub const __NR_getpeername: u32 = 205; -pub const __NR_sendto: u32 = 206; -pub const __NR_recvfrom: u32 = 207; -pub const __NR_setsockopt: u32 = 208; -pub const __NR_getsockopt: u32 = 209; -pub const __NR_shutdown: u32 = 210; -pub const __NR_sendmsg: u32 = 211; -pub const __NR_recvmsg: u32 = 212; -pub const __NR_readahead: u32 = 213; -pub const __NR_brk: u32 = 214; -pub const __NR_munmap: u32 = 215; -pub const __NR_mremap: u32 = 216; -pub const __NR_add_key: u32 = 217; -pub const __NR_request_key: u32 = 218; -pub const __NR_keyctl: u32 = 219; -pub const __NR_clone: u32 = 220; -pub const __NR_execve: u32 = 221; -pub const __NR_mmap: u32 = 222; -pub const __NR_fadvise64: u32 = 223; -pub const __NR_swapon: u32 = 224; -pub const __NR_swapoff: u32 = 225; -pub const __NR_mprotect: u32 = 226; -pub const __NR_msync: u32 = 227; -pub const __NR_mlock: u32 = 228; -pub const __NR_munlock: u32 = 229; -pub const __NR_mlockall: u32 = 230; -pub const __NR_munlockall: u32 = 231; -pub const __NR_mincore: u32 = 232; -pub const __NR_madvise: u32 = 233; -pub const __NR_remap_file_pages: u32 = 234; -pub const __NR_mbind: u32 = 235; -pub const __NR_get_mempolicy: u32 = 236; -pub const __NR_set_mempolicy: u32 = 237; -pub const __NR_migrate_pages: u32 = 238; -pub const __NR_move_pages: u32 = 239; -pub const __NR_rt_tgsigqueueinfo: u32 = 240; -pub const __NR_perf_event_open: u32 = 241; -pub const __NR_accept4: u32 = 242; -pub const __NR_recvmmsg: u32 = 243; -pub const __NR_riscv_hwprobe: u32 = 258; -pub const __NR_riscv_flush_icache: u32 = 259; -pub const __NR_wait4: u32 = 260; -pub const __NR_prlimit64: u32 = 261; -pub const __NR_fanotify_init: u32 = 262; -pub const __NR_fanotify_mark: u32 = 263; -pub const __NR_name_to_handle_at: u32 = 264; -pub const __NR_open_by_handle_at: u32 = 265; -pub const __NR_clock_adjtime: u32 = 266; -pub const __NR_syncfs: u32 = 267; -pub const __NR_setns: u32 = 268; -pub const __NR_sendmmsg: u32 = 269; -pub const __NR_process_vm_readv: u32 = 270; -pub const __NR_process_vm_writev: u32 = 271; -pub const __NR_kcmp: u32 = 272; -pub const __NR_finit_module: u32 = 273; -pub const __NR_sched_setattr: u32 = 274; -pub const __NR_sched_getattr: u32 = 275; -pub const __NR_renameat2: u32 = 276; -pub const __NR_seccomp: u32 = 277; -pub const __NR_getrandom: u32 = 278; -pub const __NR_memfd_create: u32 = 279; -pub const __NR_bpf: u32 = 280; -pub const __NR_execveat: u32 = 281; -pub const __NR_userfaultfd: u32 = 282; -pub const __NR_membarrier: u32 = 283; -pub const __NR_mlock2: u32 = 284; -pub const __NR_copy_file_range: u32 = 285; -pub const __NR_preadv2: u32 = 286; -pub const __NR_pwritev2: u32 = 287; -pub const __NR_pkey_mprotect: u32 = 288; -pub const __NR_pkey_alloc: u32 = 289; -pub const __NR_pkey_free: u32 = 290; -pub const __NR_statx: u32 = 291; -pub const __NR_io_pgetevents: u32 = 292; -pub const __NR_rseq: u32 = 293; -pub const __NR_kexec_file_load: u32 = 294; -pub const __NR_pidfd_send_signal: u32 = 424; -pub const __NR_io_uring_setup: u32 = 425; -pub const __NR_io_uring_enter: u32 = 426; -pub const __NR_io_uring_register: u32 = 427; -pub const __NR_open_tree: u32 = 428; -pub const __NR_move_mount: u32 = 429; -pub const __NR_fsopen: u32 = 430; -pub const __NR_fsconfig: u32 = 431; -pub const __NR_fsmount: u32 = 432; -pub const __NR_fspick: u32 = 433; -pub const __NR_pidfd_open: u32 = 434; -pub const __NR_clone3: u32 = 435; -pub const __NR_close_range: u32 = 436; -pub const __NR_openat2: u32 = 437; -pub const __NR_pidfd_getfd: u32 = 438; -pub const __NR_faccessat2: u32 = 439; -pub const __NR_process_madvise: u32 = 440; -pub const __NR_epoll_pwait2: u32 = 441; -pub const __NR_mount_setattr: u32 = 442; -pub const __NR_quotactl_fd: u32 = 443; -pub const __NR_landlock_create_ruleset: u32 = 444; -pub const __NR_landlock_add_rule: u32 = 445; -pub const __NR_landlock_restrict_self: u32 = 446; -pub const __NR_memfd_secret: u32 = 447; -pub const __NR_process_mrelease: u32 = 448; -pub const __NR_futex_waitv: u32 = 449; -pub const __NR_set_mempolicy_home_node: u32 = 450; -pub const __NR_cachestat: u32 = 451; -pub const __NR_fchmodat2: u32 = 452; -pub const __NR_map_shadow_stack: u32 = 453; -pub const __NR_futex_wake: u32 = 454; -pub const __NR_futex_wait: u32 = 455; -pub const __NR_futex_requeue: u32 = 456; -pub const __NR_statmount: u32 = 457; -pub const __NR_listmount: u32 = 458; -pub const __NR_lsm_get_self_attr: u32 = 459; -pub const __NR_lsm_set_self_attr: u32 = 460; -pub const __NR_lsm_list_modules: u32 = 461; -pub const __NR_mseal: u32 = 462; diff --git a/tests/helper/src/gen/sys/riscv64_linux_android/linux_headers_linux_auxvec.rs b/tests/helper/src/gen/sys/riscv64_linux_android/linux_headers_linux_auxvec.rs deleted file mode 100644 index dcb2f60d..00000000 --- a/tests/helper/src/gen/sys/riscv64_linux_android/linux_headers_linux_auxvec.rs +++ /dev/null @@ -1,45 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -pub const AT_SYSINFO_EHDR: u32 = 33; -pub const AT_L1I_CACHESIZE: u32 = 40; -pub const AT_L1I_CACHEGEOMETRY: u32 = 41; -pub const AT_L1D_CACHESIZE: u32 = 42; -pub const AT_L1D_CACHEGEOMETRY: u32 = 43; -pub const AT_L2_CACHESIZE: u32 = 44; -pub const AT_L2_CACHEGEOMETRY: u32 = 45; -pub const AT_L3_CACHESIZE: u32 = 46; -pub const AT_L3_CACHEGEOMETRY: u32 = 47; -pub const AT_VECTOR_SIZE_ARCH: u32 = 10; -pub const AT_MINSIGSTKSZ: u32 = 51; -pub const AT_NULL: u32 = 0; -pub const AT_IGNORE: u32 = 1; -pub const AT_EXECFD: u32 = 2; -pub const AT_PHDR: u32 = 3; -pub const AT_PHENT: u32 = 4; -pub const AT_PHNUM: u32 = 5; -pub const AT_PAGESZ: u32 = 6; -pub const AT_BASE: u32 = 7; -pub const AT_FLAGS: u32 = 8; -pub const AT_ENTRY: u32 = 9; -pub const AT_NOTELF: u32 = 10; -pub const AT_UID: u32 = 11; -pub const AT_EUID: u32 = 12; -pub const AT_GID: u32 = 13; -pub const AT_EGID: u32 = 14; -pub const AT_PLATFORM: u32 = 15; -pub const AT_HWCAP: u32 = 16; -pub const AT_CLKTCK: u32 = 17; -pub const AT_SECURE: u32 = 23; -pub const AT_BASE_PLATFORM: u32 = 24; -pub const AT_RANDOM: u32 = 25; -pub const AT_HWCAP2: u32 = 26; -pub const AT_RSEQ_FEATURE_SIZE: u32 = 27; -pub const AT_RSEQ_ALIGN: u32 = 28; -pub const AT_HWCAP3: u32 = 29; -pub const AT_HWCAP4: u32 = 30; -pub const AT_EXECFN: u32 = 31; diff --git a/tests/helper/src/gen/sys/riscv64_linux_android/linux_headers_linux_prctl.rs b/tests/helper/src/gen/sys/riscv64_linux_android/linux_headers_linux_prctl.rs deleted file mode 100644 index 6eeb3021..00000000 --- a/tests/helper/src/gen/sys/riscv64_linux_android/linux_headers_linux_prctl.rs +++ /dev/null @@ -1,189 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -pub const PR_SET_PDEATHSIG: u32 = 1; -pub const PR_GET_PDEATHSIG: u32 = 2; -pub const PR_GET_DUMPABLE: u32 = 3; -pub const PR_SET_DUMPABLE: u32 = 4; -pub const PR_GET_UNALIGN: u32 = 5; -pub const PR_SET_UNALIGN: u32 = 6; -pub const PR_UNALIGN_NOPRINT: u32 = 1; -pub const PR_UNALIGN_SIGBUS: u32 = 2; -pub const PR_GET_KEEPCAPS: u32 = 7; -pub const PR_SET_KEEPCAPS: u32 = 8; -pub const PR_GET_FPEMU: u32 = 9; -pub const PR_SET_FPEMU: u32 = 10; -pub const PR_FPEMU_NOPRINT: u32 = 1; -pub const PR_FPEMU_SIGFPE: u32 = 2; -pub const PR_GET_FPEXC: u32 = 11; -pub const PR_SET_FPEXC: u32 = 12; -pub const PR_FP_EXC_SW_ENABLE: u32 = 128; -pub const PR_FP_EXC_DIV: u32 = 65536; -pub const PR_FP_EXC_OVF: u32 = 131072; -pub const PR_FP_EXC_UND: u32 = 262144; -pub const PR_FP_EXC_RES: u32 = 524288; -pub const PR_FP_EXC_INV: u32 = 1048576; -pub const PR_FP_EXC_DISABLED: u32 = 0; -pub const PR_FP_EXC_NONRECOV: u32 = 1; -pub const PR_FP_EXC_ASYNC: u32 = 2; -pub const PR_FP_EXC_PRECISE: u32 = 3; -pub const PR_GET_TIMING: u32 = 13; -pub const PR_SET_TIMING: u32 = 14; -pub const PR_TIMING_STATISTICAL: u32 = 0; -pub const PR_TIMING_TIMESTAMP: u32 = 1; -pub const PR_SET_NAME: u32 = 15; -pub const PR_GET_NAME: u32 = 16; -pub const PR_GET_ENDIAN: u32 = 19; -pub const PR_SET_ENDIAN: u32 = 20; -pub const PR_ENDIAN_BIG: u32 = 0; -pub const PR_ENDIAN_LITTLE: u32 = 1; -pub const PR_ENDIAN_PPC_LITTLE: u32 = 2; -pub const PR_GET_SECCOMP: u32 = 21; -pub const PR_SET_SECCOMP: u32 = 22; -pub const PR_CAPBSET_READ: u32 = 23; -pub const PR_CAPBSET_DROP: u32 = 24; -pub const PR_GET_TSC: u32 = 25; -pub const PR_SET_TSC: u32 = 26; -pub const PR_TSC_ENABLE: u32 = 1; -pub const PR_TSC_SIGSEGV: u32 = 2; -pub const PR_GET_SECUREBITS: u32 = 27; -pub const PR_SET_SECUREBITS: u32 = 28; -pub const PR_SET_TIMERSLACK: u32 = 29; -pub const PR_GET_TIMERSLACK: u32 = 30; -pub const PR_TASK_PERF_EVENTS_DISABLE: u32 = 31; -pub const PR_TASK_PERF_EVENTS_ENABLE: u32 = 32; -pub const PR_MCE_KILL: u32 = 33; -pub const PR_MCE_KILL_CLEAR: u32 = 0; -pub const PR_MCE_KILL_SET: u32 = 1; -pub const PR_MCE_KILL_LATE: u32 = 0; -pub const PR_MCE_KILL_EARLY: u32 = 1; -pub const PR_MCE_KILL_DEFAULT: u32 = 2; -pub const PR_MCE_KILL_GET: u32 = 34; -pub const PR_SET_MM: u32 = 35; -pub const PR_SET_MM_START_CODE: u32 = 1; -pub const PR_SET_MM_END_CODE: u32 = 2; -pub const PR_SET_MM_START_DATA: u32 = 3; -pub const PR_SET_MM_END_DATA: u32 = 4; -pub const PR_SET_MM_START_STACK: u32 = 5; -pub const PR_SET_MM_START_BRK: u32 = 6; -pub const PR_SET_MM_BRK: u32 = 7; -pub const PR_SET_MM_ARG_START: u32 = 8; -pub const PR_SET_MM_ARG_END: u32 = 9; -pub const PR_SET_MM_ENV_START: u32 = 10; -pub const PR_SET_MM_ENV_END: u32 = 11; -pub const PR_SET_MM_AUXV: u32 = 12; -pub const PR_SET_MM_EXE_FILE: u32 = 13; -pub const PR_SET_MM_MAP: u32 = 14; -pub const PR_SET_MM_MAP_SIZE: u32 = 15; -pub const PR_SET_PTRACER: u32 = 1499557217; -pub const PR_SET_PTRACER_ANY: ::std::os::raw::c_ulong = -1i8 as ::std::os::raw::c_ulong; -pub const PR_SET_CHILD_SUBREAPER: u32 = 36; -pub const PR_GET_CHILD_SUBREAPER: u32 = 37; -pub const PR_SET_NO_NEW_PRIVS: u32 = 38; -pub const PR_GET_NO_NEW_PRIVS: u32 = 39; -pub const PR_GET_TID_ADDRESS: u32 = 40; -pub const PR_SET_THP_DISABLE: u32 = 41; -pub const PR_GET_THP_DISABLE: u32 = 42; -pub const PR_MPX_ENABLE_MANAGEMENT: u32 = 43; -pub const PR_MPX_DISABLE_MANAGEMENT: u32 = 44; -pub const PR_SET_FP_MODE: u32 = 45; -pub const PR_GET_FP_MODE: u32 = 46; -pub const PR_FP_MODE_FR: u32 = 1; -pub const PR_FP_MODE_FRE: u32 = 2; -pub const PR_CAP_AMBIENT: u32 = 47; -pub const PR_CAP_AMBIENT_IS_SET: u32 = 1; -pub const PR_CAP_AMBIENT_RAISE: u32 = 2; -pub const PR_CAP_AMBIENT_LOWER: u32 = 3; -pub const PR_CAP_AMBIENT_CLEAR_ALL: u32 = 4; -pub const PR_SVE_SET_VL: u32 = 50; -pub const PR_SVE_SET_VL_ONEXEC: u32 = 262144; -pub const PR_SVE_GET_VL: u32 = 51; -pub const PR_SVE_VL_LEN_MASK: u32 = 65535; -pub const PR_SVE_VL_INHERIT: u32 = 131072; -pub const PR_GET_SPECULATION_CTRL: u32 = 52; -pub const PR_SET_SPECULATION_CTRL: u32 = 53; -pub const PR_SPEC_STORE_BYPASS: u32 = 0; -pub const PR_SPEC_INDIRECT_BRANCH: u32 = 1; -pub const PR_SPEC_L1D_FLUSH: u32 = 2; -pub const PR_SPEC_NOT_AFFECTED: u32 = 0; -pub const PR_SPEC_PRCTL: u32 = 1; -pub const PR_SPEC_ENABLE: u32 = 2; -pub const PR_SPEC_DISABLE: u32 = 4; -pub const PR_SPEC_FORCE_DISABLE: u32 = 8; -pub const PR_SPEC_DISABLE_NOEXEC: u32 = 16; -pub const PR_PAC_RESET_KEYS: u32 = 54; -pub const PR_PAC_APIAKEY: u32 = 1; -pub const PR_PAC_APIBKEY: u32 = 2; -pub const PR_PAC_APDAKEY: u32 = 4; -pub const PR_PAC_APDBKEY: u32 = 8; -pub const PR_PAC_APGAKEY: u32 = 16; -pub const PR_SET_TAGGED_ADDR_CTRL: u32 = 55; -pub const PR_GET_TAGGED_ADDR_CTRL: u32 = 56; -pub const PR_TAGGED_ADDR_ENABLE: u32 = 1; -pub const PR_MTE_TCF_NONE: u32 = 0; -pub const PR_MTE_TCF_SYNC: u32 = 2; -pub const PR_MTE_TCF_ASYNC: u32 = 4; -pub const PR_MTE_TCF_MASK: u32 = 6; -pub const PR_MTE_TAG_SHIFT: u32 = 3; -pub const PR_MTE_TAG_MASK: u32 = 524280; -pub const PR_MTE_TCF_SHIFT: u32 = 1; -pub const PR_SET_IO_FLUSHER: u32 = 57; -pub const PR_GET_IO_FLUSHER: u32 = 58; -pub const PR_SET_SYSCALL_USER_DISPATCH: u32 = 59; -pub const PR_SYS_DISPATCH_OFF: u32 = 0; -pub const PR_SYS_DISPATCH_ON: u32 = 1; -pub const PR_PAC_SET_ENABLED_KEYS: u32 = 60; -pub const PR_PAC_GET_ENABLED_KEYS: u32 = 61; -pub const PR_SCHED_CORE: u32 = 62; -pub const PR_SCHED_CORE_GET: u32 = 0; -pub const PR_SCHED_CORE_CREATE: u32 = 1; -pub const PR_SCHED_CORE_SHARE_TO: u32 = 2; -pub const PR_SCHED_CORE_SHARE_FROM: u32 = 3; -pub const PR_SCHED_CORE_MAX: u32 = 4; -pub const PR_SCHED_CORE_SCOPE_THREAD: u32 = 0; -pub const PR_SCHED_CORE_SCOPE_THREAD_GROUP: u32 = 1; -pub const PR_SCHED_CORE_SCOPE_PROCESS_GROUP: u32 = 2; -pub const PR_SME_SET_VL: u32 = 63; -pub const PR_SME_SET_VL_ONEXEC: u32 = 262144; -pub const PR_SME_GET_VL: u32 = 64; -pub const PR_SME_VL_LEN_MASK: u32 = 65535; -pub const PR_SME_VL_INHERIT: u32 = 131072; -pub const PR_SET_MDWE: u32 = 65; -pub const PR_MDWE_REFUSE_EXEC_GAIN: u32 = 1; -pub const PR_MDWE_NO_INHERIT: u32 = 2; -pub const PR_GET_MDWE: u32 = 66; -pub const PR_SET_VMA: u32 = 1398164801; -pub const PR_SET_VMA_ANON_NAME: u32 = 0; -pub const PR_GET_AUXV: u32 = 1096112214; -pub const PR_SET_MEMORY_MERGE: u32 = 67; -pub const PR_GET_MEMORY_MERGE: u32 = 68; -pub const PR_RISCV_V_SET_CONTROL: u32 = 69; -pub const PR_RISCV_V_GET_CONTROL: u32 = 70; -pub const PR_RISCV_V_VSTATE_CTRL_DEFAULT: u32 = 0; -pub const PR_RISCV_V_VSTATE_CTRL_OFF: u32 = 1; -pub const PR_RISCV_V_VSTATE_CTRL_ON: u32 = 2; -pub const PR_RISCV_V_VSTATE_CTRL_INHERIT: u32 = 16; -pub const PR_RISCV_V_VSTATE_CTRL_CUR_MASK: u32 = 3; -pub const PR_RISCV_V_VSTATE_CTRL_NEXT_MASK: u32 = 12; -pub const PR_RISCV_V_VSTATE_CTRL_MASK: u32 = 31; -pub const PR_RISCV_SET_ICACHE_FLUSH_CTX: u32 = 71; -pub const PR_RISCV_CTX_SW_FENCEI_ON: u32 = 0; -pub const PR_RISCV_CTX_SW_FENCEI_OFF: u32 = 1; -pub const PR_RISCV_SCOPE_PER_PROCESS: u32 = 0; -pub const PR_RISCV_SCOPE_PER_THREAD: u32 = 1; -pub const PR_PPC_GET_DEXCR: u32 = 72; -pub const PR_PPC_SET_DEXCR: u32 = 73; -pub const PR_PPC_DEXCR_SBHE: u32 = 0; -pub const PR_PPC_DEXCR_IBRTPD: u32 = 1; -pub const PR_PPC_DEXCR_SRAPD: u32 = 2; -pub const PR_PPC_DEXCR_NPHIE: u32 = 3; -pub const PR_PPC_DEXCR_CTRL_EDITABLE: u32 = 1; -pub const PR_PPC_DEXCR_CTRL_SET: u32 = 2; -pub const PR_PPC_DEXCR_CTRL_CLEAR: u32 = 4; -pub const PR_PPC_DEXCR_CTRL_SET_ONEXEC: u32 = 8; -pub const PR_PPC_DEXCR_CTRL_CLEAR_ONEXEC: u32 = 16; -pub const PR_PPC_DEXCR_CTRL_MASK: u32 = 31; diff --git a/tests/helper/src/gen/sys/riscv64_linux_android/mod.rs b/tests/helper/src/gen/sys/riscv64_linux_android/mod.rs deleted file mode 100644 index c0f0d9f2..00000000 --- a/tests/helper/src/gen/sys/riscv64_linux_android/mod.rs +++ /dev/null @@ -1,634 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] -mod linux_headers_asm_hwcap; -mod linux_headers_asm_hwprobe; -pub use linux_headers_asm_hwprobe::riscv_hwprobe; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_KEY_MVENDORID; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_KEY_MARCHID; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_KEY_MIMPID; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_KEY_BASE_BEHAVIOR; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_BASE_BEHAVIOR_IMA; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_KEY_IMA_EXT_0; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_IMA_FD; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_IMA_C; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_IMA_V; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZBA; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZBB; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZBS; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZICBOZ; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZBC; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZBKB; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZBKC; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZBKX; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZKND; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZKNE; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZKNH; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZKSED; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZKSH; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZKT; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZVBB; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZVBC; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZVKB; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZVKG; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZVKNED; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZVKNHA; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZVKNHB; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZVKSED; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZVKSH; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZVKT; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZFH; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZFHMIN; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZIHINTNTL; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZVFH; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZVFHMIN; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZFA; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZTSO; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZACAS; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZICOND; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZIHINTPAUSE; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZVE32X; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZVE32F; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZVE64X; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZVE64F; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZVE64D; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZIMOP; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZCA; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZCB; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZCD; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZCF; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZCMOP; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZAWRS; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_KEY_CPUPERF_0; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_MISALIGNED_UNKNOWN; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_MISALIGNED_EMULATED; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_MISALIGNED_SLOW; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_MISALIGNED_FAST; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_MISALIGNED_UNSUPPORTED; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_MISALIGNED_MASK; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_KEY_ZICBOZ_BLOCK_SIZE; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_KEY_HIGHEST_VIRT_ADDRESS; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_KEY_TIME_CSR_FREQ; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_KEY_MISALIGNED_SCALAR_PERF; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_MISALIGNED_SCALAR_UNKNOWN; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_MISALIGNED_SCALAR_EMULATED; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_MISALIGNED_SCALAR_SLOW; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_MISALIGNED_SCALAR_FAST; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_MISALIGNED_SCALAR_UNSUPPORTED; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_WHICH_CPUS; -mod linux_headers_asm_unistd; -pub use linux_headers_asm_unistd::__NR_io_setup; -pub use linux_headers_asm_unistd::__NR_io_destroy; -pub use linux_headers_asm_unistd::__NR_io_submit; -pub use linux_headers_asm_unistd::__NR_io_cancel; -pub use linux_headers_asm_unistd::__NR_io_getevents; -pub use linux_headers_asm_unistd::__NR_setxattr; -pub use linux_headers_asm_unistd::__NR_lsetxattr; -pub use linux_headers_asm_unistd::__NR_fsetxattr; -pub use linux_headers_asm_unistd::__NR_getxattr; -pub use linux_headers_asm_unistd::__NR_lgetxattr; -pub use linux_headers_asm_unistd::__NR_fgetxattr; -pub use linux_headers_asm_unistd::__NR_listxattr; -pub use linux_headers_asm_unistd::__NR_llistxattr; -pub use linux_headers_asm_unistd::__NR_flistxattr; -pub use linux_headers_asm_unistd::__NR_removexattr; -pub use linux_headers_asm_unistd::__NR_lremovexattr; -pub use linux_headers_asm_unistd::__NR_fremovexattr; -pub use linux_headers_asm_unistd::__NR_getcwd; -pub use linux_headers_asm_unistd::__NR_lookup_dcookie; -pub use linux_headers_asm_unistd::__NR_eventfd2; -pub use linux_headers_asm_unistd::__NR_epoll_create1; -pub use linux_headers_asm_unistd::__NR_epoll_ctl; -pub use linux_headers_asm_unistd::__NR_epoll_pwait; -pub use linux_headers_asm_unistd::__NR_dup; -pub use linux_headers_asm_unistd::__NR_dup3; -pub use linux_headers_asm_unistd::__NR_fcntl; -pub use linux_headers_asm_unistd::__NR_inotify_init1; -pub use linux_headers_asm_unistd::__NR_inotify_add_watch; -pub use linux_headers_asm_unistd::__NR_inotify_rm_watch; -pub use linux_headers_asm_unistd::__NR_ioctl; -pub use linux_headers_asm_unistd::__NR_ioprio_set; -pub use linux_headers_asm_unistd::__NR_ioprio_get; -pub use linux_headers_asm_unistd::__NR_flock; -pub use linux_headers_asm_unistd::__NR_mknodat; -pub use linux_headers_asm_unistd::__NR_mkdirat; -pub use linux_headers_asm_unistd::__NR_unlinkat; -pub use linux_headers_asm_unistd::__NR_symlinkat; -pub use linux_headers_asm_unistd::__NR_linkat; -pub use linux_headers_asm_unistd::__NR_umount2; -pub use linux_headers_asm_unistd::__NR_mount; -pub use linux_headers_asm_unistd::__NR_pivot_root; -pub use linux_headers_asm_unistd::__NR_nfsservctl; -pub use linux_headers_asm_unistd::__NR_statfs; -pub use linux_headers_asm_unistd::__NR_fstatfs; -pub use linux_headers_asm_unistd::__NR_truncate; -pub use linux_headers_asm_unistd::__NR_ftruncate; -pub use linux_headers_asm_unistd::__NR_fallocate; -pub use linux_headers_asm_unistd::__NR_faccessat; -pub use linux_headers_asm_unistd::__NR_chdir; -pub use linux_headers_asm_unistd::__NR_fchdir; -pub use linux_headers_asm_unistd::__NR_chroot; -pub use linux_headers_asm_unistd::__NR_fchmod; -pub use linux_headers_asm_unistd::__NR_fchmodat; -pub use linux_headers_asm_unistd::__NR_fchownat; -pub use linux_headers_asm_unistd::__NR_fchown; -pub use linux_headers_asm_unistd::__NR_openat; -pub use linux_headers_asm_unistd::__NR_close; -pub use linux_headers_asm_unistd::__NR_vhangup; -pub use linux_headers_asm_unistd::__NR_pipe2; -pub use linux_headers_asm_unistd::__NR_quotactl; -pub use linux_headers_asm_unistd::__NR_getdents64; -pub use linux_headers_asm_unistd::__NR_lseek; -pub use linux_headers_asm_unistd::__NR_read; -pub use linux_headers_asm_unistd::__NR_write; -pub use linux_headers_asm_unistd::__NR_readv; -pub use linux_headers_asm_unistd::__NR_writev; -pub use linux_headers_asm_unistd::__NR_pread64; -pub use linux_headers_asm_unistd::__NR_pwrite64; -pub use linux_headers_asm_unistd::__NR_preadv; -pub use linux_headers_asm_unistd::__NR_pwritev; -pub use linux_headers_asm_unistd::__NR_sendfile; -pub use linux_headers_asm_unistd::__NR_pselect6; -pub use linux_headers_asm_unistd::__NR_ppoll; -pub use linux_headers_asm_unistd::__NR_signalfd4; -pub use linux_headers_asm_unistd::__NR_vmsplice; -pub use linux_headers_asm_unistd::__NR_splice; -pub use linux_headers_asm_unistd::__NR_tee; -pub use linux_headers_asm_unistd::__NR_readlinkat; -pub use linux_headers_asm_unistd::__NR_newfstatat; -pub use linux_headers_asm_unistd::__NR_fstat; -pub use linux_headers_asm_unistd::__NR_sync; -pub use linux_headers_asm_unistd::__NR_fsync; -pub use linux_headers_asm_unistd::__NR_fdatasync; -pub use linux_headers_asm_unistd::__NR_sync_file_range; -pub use linux_headers_asm_unistd::__NR_timerfd_create; -pub use linux_headers_asm_unistd::__NR_timerfd_settime; -pub use linux_headers_asm_unistd::__NR_timerfd_gettime; -pub use linux_headers_asm_unistd::__NR_utimensat; -pub use linux_headers_asm_unistd::__NR_acct; -pub use linux_headers_asm_unistd::__NR_capget; -pub use linux_headers_asm_unistd::__NR_capset; -pub use linux_headers_asm_unistd::__NR_personality; -pub use linux_headers_asm_unistd::__NR_exit; -pub use linux_headers_asm_unistd::__NR_exit_group; -pub use linux_headers_asm_unistd::__NR_waitid; -pub use linux_headers_asm_unistd::__NR_set_tid_address; -pub use linux_headers_asm_unistd::__NR_unshare; -pub use linux_headers_asm_unistd::__NR_futex; -pub use linux_headers_asm_unistd::__NR_set_robust_list; -pub use linux_headers_asm_unistd::__NR_get_robust_list; -pub use linux_headers_asm_unistd::__NR_nanosleep; -pub use linux_headers_asm_unistd::__NR_getitimer; -pub use linux_headers_asm_unistd::__NR_setitimer; -pub use linux_headers_asm_unistd::__NR_kexec_load; -pub use linux_headers_asm_unistd::__NR_init_module; -pub use linux_headers_asm_unistd::__NR_delete_module; -pub use linux_headers_asm_unistd::__NR_timer_create; -pub use linux_headers_asm_unistd::__NR_timer_gettime; -pub use linux_headers_asm_unistd::__NR_timer_getoverrun; -pub use linux_headers_asm_unistd::__NR_timer_settime; -pub use linux_headers_asm_unistd::__NR_timer_delete; -pub use linux_headers_asm_unistd::__NR_clock_settime; -pub use linux_headers_asm_unistd::__NR_clock_gettime; -pub use linux_headers_asm_unistd::__NR_clock_getres; -pub use linux_headers_asm_unistd::__NR_clock_nanosleep; -pub use linux_headers_asm_unistd::__NR_syslog; -pub use linux_headers_asm_unistd::__NR_ptrace; -pub use linux_headers_asm_unistd::__NR_sched_setparam; -pub use linux_headers_asm_unistd::__NR_sched_setscheduler; -pub use linux_headers_asm_unistd::__NR_sched_getscheduler; -pub use linux_headers_asm_unistd::__NR_sched_getparam; -pub use linux_headers_asm_unistd::__NR_sched_setaffinity; -pub use linux_headers_asm_unistd::__NR_sched_getaffinity; -pub use linux_headers_asm_unistd::__NR_sched_yield; -pub use linux_headers_asm_unistd::__NR_sched_get_priority_max; -pub use linux_headers_asm_unistd::__NR_sched_get_priority_min; -pub use linux_headers_asm_unistd::__NR_sched_rr_get_interval; -pub use linux_headers_asm_unistd::__NR_restart_syscall; -pub use linux_headers_asm_unistd::__NR_kill; -pub use linux_headers_asm_unistd::__NR_tkill; -pub use linux_headers_asm_unistd::__NR_tgkill; -pub use linux_headers_asm_unistd::__NR_sigaltstack; -pub use linux_headers_asm_unistd::__NR_rt_sigsuspend; -pub use linux_headers_asm_unistd::__NR_rt_sigaction; -pub use linux_headers_asm_unistd::__NR_rt_sigprocmask; -pub use linux_headers_asm_unistd::__NR_rt_sigpending; -pub use linux_headers_asm_unistd::__NR_rt_sigtimedwait; -pub use linux_headers_asm_unistd::__NR_rt_sigqueueinfo; -pub use linux_headers_asm_unistd::__NR_rt_sigreturn; -pub use linux_headers_asm_unistd::__NR_setpriority; -pub use linux_headers_asm_unistd::__NR_getpriority; -pub use linux_headers_asm_unistd::__NR_reboot; -pub use linux_headers_asm_unistd::__NR_setregid; -pub use linux_headers_asm_unistd::__NR_setgid; -pub use linux_headers_asm_unistd::__NR_setreuid; -pub use linux_headers_asm_unistd::__NR_setuid; -pub use linux_headers_asm_unistd::__NR_setresuid; -pub use linux_headers_asm_unistd::__NR_getresuid; -pub use linux_headers_asm_unistd::__NR_setresgid; -pub use linux_headers_asm_unistd::__NR_getresgid; -pub use linux_headers_asm_unistd::__NR_setfsuid; -pub use linux_headers_asm_unistd::__NR_setfsgid; -pub use linux_headers_asm_unistd::__NR_times; -pub use linux_headers_asm_unistd::__NR_setpgid; -pub use linux_headers_asm_unistd::__NR_getpgid; -pub use linux_headers_asm_unistd::__NR_getsid; -pub use linux_headers_asm_unistd::__NR_setsid; -pub use linux_headers_asm_unistd::__NR_getgroups; -pub use linux_headers_asm_unistd::__NR_setgroups; -pub use linux_headers_asm_unistd::__NR_uname; -pub use linux_headers_asm_unistd::__NR_sethostname; -pub use linux_headers_asm_unistd::__NR_setdomainname; -pub use linux_headers_asm_unistd::__NR_getrlimit; -pub use linux_headers_asm_unistd::__NR_setrlimit; -pub use linux_headers_asm_unistd::__NR_getrusage; -pub use linux_headers_asm_unistd::__NR_umask; -pub use linux_headers_asm_unistd::__NR_prctl; -pub use linux_headers_asm_unistd::__NR_getcpu; -pub use linux_headers_asm_unistd::__NR_gettimeofday; -pub use linux_headers_asm_unistd::__NR_settimeofday; -pub use linux_headers_asm_unistd::__NR_adjtimex; -pub use linux_headers_asm_unistd::__NR_getpid; -pub use linux_headers_asm_unistd::__NR_getppid; -pub use linux_headers_asm_unistd::__NR_getuid; -pub use linux_headers_asm_unistd::__NR_geteuid; -pub use linux_headers_asm_unistd::__NR_getgid; -pub use linux_headers_asm_unistd::__NR_getegid; -pub use linux_headers_asm_unistd::__NR_gettid; -pub use linux_headers_asm_unistd::__NR_sysinfo; -pub use linux_headers_asm_unistd::__NR_mq_open; -pub use linux_headers_asm_unistd::__NR_mq_unlink; -pub use linux_headers_asm_unistd::__NR_mq_timedsend; -pub use linux_headers_asm_unistd::__NR_mq_timedreceive; -pub use linux_headers_asm_unistd::__NR_mq_notify; -pub use linux_headers_asm_unistd::__NR_mq_getsetattr; -pub use linux_headers_asm_unistd::__NR_msgget; -pub use linux_headers_asm_unistd::__NR_msgctl; -pub use linux_headers_asm_unistd::__NR_msgrcv; -pub use linux_headers_asm_unistd::__NR_msgsnd; -pub use linux_headers_asm_unistd::__NR_semget; -pub use linux_headers_asm_unistd::__NR_semctl; -pub use linux_headers_asm_unistd::__NR_semtimedop; -pub use linux_headers_asm_unistd::__NR_semop; -pub use linux_headers_asm_unistd::__NR_shmget; -pub use linux_headers_asm_unistd::__NR_shmctl; -pub use linux_headers_asm_unistd::__NR_shmat; -pub use linux_headers_asm_unistd::__NR_shmdt; -pub use linux_headers_asm_unistd::__NR_socket; -pub use linux_headers_asm_unistd::__NR_socketpair; -pub use linux_headers_asm_unistd::__NR_bind; -pub use linux_headers_asm_unistd::__NR_listen; -pub use linux_headers_asm_unistd::__NR_accept; -pub use linux_headers_asm_unistd::__NR_connect; -pub use linux_headers_asm_unistd::__NR_getsockname; -pub use linux_headers_asm_unistd::__NR_getpeername; -pub use linux_headers_asm_unistd::__NR_sendto; -pub use linux_headers_asm_unistd::__NR_recvfrom; -pub use linux_headers_asm_unistd::__NR_setsockopt; -pub use linux_headers_asm_unistd::__NR_getsockopt; -pub use linux_headers_asm_unistd::__NR_shutdown; -pub use linux_headers_asm_unistd::__NR_sendmsg; -pub use linux_headers_asm_unistd::__NR_recvmsg; -pub use linux_headers_asm_unistd::__NR_readahead; -pub use linux_headers_asm_unistd::__NR_brk; -pub use linux_headers_asm_unistd::__NR_munmap; -pub use linux_headers_asm_unistd::__NR_mremap; -pub use linux_headers_asm_unistd::__NR_add_key; -pub use linux_headers_asm_unistd::__NR_request_key; -pub use linux_headers_asm_unistd::__NR_keyctl; -pub use linux_headers_asm_unistd::__NR_clone; -pub use linux_headers_asm_unistd::__NR_execve; -pub use linux_headers_asm_unistd::__NR_mmap; -pub use linux_headers_asm_unistd::__NR_fadvise64; -pub use linux_headers_asm_unistd::__NR_swapon; -pub use linux_headers_asm_unistd::__NR_swapoff; -pub use linux_headers_asm_unistd::__NR_mprotect; -pub use linux_headers_asm_unistd::__NR_msync; -pub use linux_headers_asm_unistd::__NR_mlock; -pub use linux_headers_asm_unistd::__NR_munlock; -pub use linux_headers_asm_unistd::__NR_mlockall; -pub use linux_headers_asm_unistd::__NR_munlockall; -pub use linux_headers_asm_unistd::__NR_mincore; -pub use linux_headers_asm_unistd::__NR_madvise; -pub use linux_headers_asm_unistd::__NR_remap_file_pages; -pub use linux_headers_asm_unistd::__NR_mbind; -pub use linux_headers_asm_unistd::__NR_get_mempolicy; -pub use linux_headers_asm_unistd::__NR_set_mempolicy; -pub use linux_headers_asm_unistd::__NR_migrate_pages; -pub use linux_headers_asm_unistd::__NR_move_pages; -pub use linux_headers_asm_unistd::__NR_rt_tgsigqueueinfo; -pub use linux_headers_asm_unistd::__NR_perf_event_open; -pub use linux_headers_asm_unistd::__NR_accept4; -pub use linux_headers_asm_unistd::__NR_recvmmsg; -pub use linux_headers_asm_unistd::__NR_riscv_hwprobe; -pub use linux_headers_asm_unistd::__NR_riscv_flush_icache; -pub use linux_headers_asm_unistd::__NR_wait4; -pub use linux_headers_asm_unistd::__NR_prlimit64; -pub use linux_headers_asm_unistd::__NR_fanotify_init; -pub use linux_headers_asm_unistd::__NR_fanotify_mark; -pub use linux_headers_asm_unistd::__NR_name_to_handle_at; -pub use linux_headers_asm_unistd::__NR_open_by_handle_at; -pub use linux_headers_asm_unistd::__NR_clock_adjtime; -pub use linux_headers_asm_unistd::__NR_syncfs; -pub use linux_headers_asm_unistd::__NR_setns; -pub use linux_headers_asm_unistd::__NR_sendmmsg; -pub use linux_headers_asm_unistd::__NR_process_vm_readv; -pub use linux_headers_asm_unistd::__NR_process_vm_writev; -pub use linux_headers_asm_unistd::__NR_kcmp; -pub use linux_headers_asm_unistd::__NR_finit_module; -pub use linux_headers_asm_unistd::__NR_sched_setattr; -pub use linux_headers_asm_unistd::__NR_sched_getattr; -pub use linux_headers_asm_unistd::__NR_renameat2; -pub use linux_headers_asm_unistd::__NR_seccomp; -pub use linux_headers_asm_unistd::__NR_getrandom; -pub use linux_headers_asm_unistd::__NR_memfd_create; -pub use linux_headers_asm_unistd::__NR_bpf; -pub use linux_headers_asm_unistd::__NR_execveat; -pub use linux_headers_asm_unistd::__NR_userfaultfd; -pub use linux_headers_asm_unistd::__NR_membarrier; -pub use linux_headers_asm_unistd::__NR_mlock2; -pub use linux_headers_asm_unistd::__NR_copy_file_range; -pub use linux_headers_asm_unistd::__NR_preadv2; -pub use linux_headers_asm_unistd::__NR_pwritev2; -pub use linux_headers_asm_unistd::__NR_pkey_mprotect; -pub use linux_headers_asm_unistd::__NR_pkey_alloc; -pub use linux_headers_asm_unistd::__NR_pkey_free; -pub use linux_headers_asm_unistd::__NR_statx; -pub use linux_headers_asm_unistd::__NR_io_pgetevents; -pub use linux_headers_asm_unistd::__NR_rseq; -pub use linux_headers_asm_unistd::__NR_kexec_file_load; -pub use linux_headers_asm_unistd::__NR_pidfd_send_signal; -pub use linux_headers_asm_unistd::__NR_io_uring_setup; -pub use linux_headers_asm_unistd::__NR_io_uring_enter; -pub use linux_headers_asm_unistd::__NR_io_uring_register; -pub use linux_headers_asm_unistd::__NR_open_tree; -pub use linux_headers_asm_unistd::__NR_move_mount; -pub use linux_headers_asm_unistd::__NR_fsopen; -pub use linux_headers_asm_unistd::__NR_fsconfig; -pub use linux_headers_asm_unistd::__NR_fsmount; -pub use linux_headers_asm_unistd::__NR_fspick; -pub use linux_headers_asm_unistd::__NR_pidfd_open; -pub use linux_headers_asm_unistd::__NR_clone3; -pub use linux_headers_asm_unistd::__NR_close_range; -pub use linux_headers_asm_unistd::__NR_openat2; -pub use linux_headers_asm_unistd::__NR_pidfd_getfd; -pub use linux_headers_asm_unistd::__NR_faccessat2; -pub use linux_headers_asm_unistd::__NR_process_madvise; -pub use linux_headers_asm_unistd::__NR_epoll_pwait2; -pub use linux_headers_asm_unistd::__NR_mount_setattr; -pub use linux_headers_asm_unistd::__NR_quotactl_fd; -pub use linux_headers_asm_unistd::__NR_landlock_create_ruleset; -pub use linux_headers_asm_unistd::__NR_landlock_add_rule; -pub use linux_headers_asm_unistd::__NR_landlock_restrict_self; -pub use linux_headers_asm_unistd::__NR_memfd_secret; -pub use linux_headers_asm_unistd::__NR_process_mrelease; -pub use linux_headers_asm_unistd::__NR_futex_waitv; -pub use linux_headers_asm_unistd::__NR_set_mempolicy_home_node; -pub use linux_headers_asm_unistd::__NR_cachestat; -pub use linux_headers_asm_unistd::__NR_fchmodat2; -pub use linux_headers_asm_unistd::__NR_map_shadow_stack; -pub use linux_headers_asm_unistd::__NR_futex_wake; -pub use linux_headers_asm_unistd::__NR_futex_wait; -pub use linux_headers_asm_unistd::__NR_futex_requeue; -pub use linux_headers_asm_unistd::__NR_statmount; -pub use linux_headers_asm_unistd::__NR_listmount; -pub use linux_headers_asm_unistd::__NR_lsm_get_self_attr; -pub use linux_headers_asm_unistd::__NR_lsm_set_self_attr; -pub use linux_headers_asm_unistd::__NR_lsm_list_modules; -pub use linux_headers_asm_unistd::__NR_mseal; -mod linux_headers_linux_auxvec; -pub use linux_headers_linux_auxvec::AT_SYSINFO_EHDR; -pub use linux_headers_linux_auxvec::AT_L1I_CACHESIZE; -pub use linux_headers_linux_auxvec::AT_L1I_CACHEGEOMETRY; -pub use linux_headers_linux_auxvec::AT_L1D_CACHESIZE; -pub use linux_headers_linux_auxvec::AT_L1D_CACHEGEOMETRY; -pub use linux_headers_linux_auxvec::AT_L2_CACHESIZE; -pub use linux_headers_linux_auxvec::AT_L2_CACHEGEOMETRY; -pub use linux_headers_linux_auxvec::AT_L3_CACHESIZE; -pub use linux_headers_linux_auxvec::AT_L3_CACHEGEOMETRY; -pub use linux_headers_linux_auxvec::AT_VECTOR_SIZE_ARCH; -pub use linux_headers_linux_auxvec::AT_MINSIGSTKSZ; -pub use linux_headers_linux_auxvec::AT_NULL; -pub use linux_headers_linux_auxvec::AT_IGNORE; -pub use linux_headers_linux_auxvec::AT_EXECFD; -pub use linux_headers_linux_auxvec::AT_PHDR; -pub use linux_headers_linux_auxvec::AT_PHENT; -pub use linux_headers_linux_auxvec::AT_PHNUM; -pub use linux_headers_linux_auxvec::AT_PAGESZ; -pub use linux_headers_linux_auxvec::AT_BASE; -pub use linux_headers_linux_auxvec::AT_FLAGS; -pub use linux_headers_linux_auxvec::AT_ENTRY; -pub use linux_headers_linux_auxvec::AT_NOTELF; -pub use linux_headers_linux_auxvec::AT_UID; -pub use linux_headers_linux_auxvec::AT_EUID; -pub use linux_headers_linux_auxvec::AT_GID; -pub use linux_headers_linux_auxvec::AT_EGID; -pub use linux_headers_linux_auxvec::AT_PLATFORM; -pub use linux_headers_linux_auxvec::AT_HWCAP; -pub use linux_headers_linux_auxvec::AT_CLKTCK; -pub use linux_headers_linux_auxvec::AT_SECURE; -pub use linux_headers_linux_auxvec::AT_BASE_PLATFORM; -pub use linux_headers_linux_auxvec::AT_RANDOM; -pub use linux_headers_linux_auxvec::AT_HWCAP2; -pub use linux_headers_linux_auxvec::AT_RSEQ_FEATURE_SIZE; -pub use linux_headers_linux_auxvec::AT_RSEQ_ALIGN; -pub use linux_headers_linux_auxvec::AT_HWCAP3; -pub use linux_headers_linux_auxvec::AT_HWCAP4; -pub use linux_headers_linux_auxvec::AT_EXECFN; -mod linux_headers_linux_prctl; -pub use linux_headers_linux_prctl::PR_SET_PDEATHSIG; -pub use linux_headers_linux_prctl::PR_GET_PDEATHSIG; -pub use linux_headers_linux_prctl::PR_GET_DUMPABLE; -pub use linux_headers_linux_prctl::PR_SET_DUMPABLE; -pub use linux_headers_linux_prctl::PR_GET_UNALIGN; -pub use linux_headers_linux_prctl::PR_SET_UNALIGN; -pub use linux_headers_linux_prctl::PR_UNALIGN_NOPRINT; -pub use linux_headers_linux_prctl::PR_UNALIGN_SIGBUS; -pub use linux_headers_linux_prctl::PR_GET_KEEPCAPS; -pub use linux_headers_linux_prctl::PR_SET_KEEPCAPS; -pub use linux_headers_linux_prctl::PR_GET_FPEMU; -pub use linux_headers_linux_prctl::PR_SET_FPEMU; -pub use linux_headers_linux_prctl::PR_FPEMU_NOPRINT; -pub use linux_headers_linux_prctl::PR_FPEMU_SIGFPE; -pub use linux_headers_linux_prctl::PR_GET_FPEXC; -pub use linux_headers_linux_prctl::PR_SET_FPEXC; -pub use linux_headers_linux_prctl::PR_FP_EXC_SW_ENABLE; -pub use linux_headers_linux_prctl::PR_FP_EXC_DIV; -pub use linux_headers_linux_prctl::PR_FP_EXC_OVF; -pub use linux_headers_linux_prctl::PR_FP_EXC_UND; -pub use linux_headers_linux_prctl::PR_FP_EXC_RES; -pub use linux_headers_linux_prctl::PR_FP_EXC_INV; -pub use linux_headers_linux_prctl::PR_FP_EXC_DISABLED; -pub use linux_headers_linux_prctl::PR_FP_EXC_NONRECOV; -pub use linux_headers_linux_prctl::PR_FP_EXC_ASYNC; -pub use linux_headers_linux_prctl::PR_FP_EXC_PRECISE; -pub use linux_headers_linux_prctl::PR_GET_TIMING; -pub use linux_headers_linux_prctl::PR_SET_TIMING; -pub use linux_headers_linux_prctl::PR_TIMING_STATISTICAL; -pub use linux_headers_linux_prctl::PR_TIMING_TIMESTAMP; -pub use linux_headers_linux_prctl::PR_SET_NAME; -pub use linux_headers_linux_prctl::PR_GET_NAME; -pub use linux_headers_linux_prctl::PR_GET_ENDIAN; -pub use linux_headers_linux_prctl::PR_SET_ENDIAN; -pub use linux_headers_linux_prctl::PR_ENDIAN_BIG; -pub use linux_headers_linux_prctl::PR_ENDIAN_LITTLE; -pub use linux_headers_linux_prctl::PR_ENDIAN_PPC_LITTLE; -pub use linux_headers_linux_prctl::PR_GET_SECCOMP; -pub use linux_headers_linux_prctl::PR_SET_SECCOMP; -pub use linux_headers_linux_prctl::PR_CAPBSET_READ; -pub use linux_headers_linux_prctl::PR_CAPBSET_DROP; -pub use linux_headers_linux_prctl::PR_GET_TSC; -pub use linux_headers_linux_prctl::PR_SET_TSC; -pub use linux_headers_linux_prctl::PR_TSC_ENABLE; -pub use linux_headers_linux_prctl::PR_TSC_SIGSEGV; -pub use linux_headers_linux_prctl::PR_GET_SECUREBITS; -pub use linux_headers_linux_prctl::PR_SET_SECUREBITS; -pub use linux_headers_linux_prctl::PR_SET_TIMERSLACK; -pub use linux_headers_linux_prctl::PR_GET_TIMERSLACK; -pub use linux_headers_linux_prctl::PR_TASK_PERF_EVENTS_DISABLE; -pub use linux_headers_linux_prctl::PR_TASK_PERF_EVENTS_ENABLE; -pub use linux_headers_linux_prctl::PR_MCE_KILL; -pub use linux_headers_linux_prctl::PR_MCE_KILL_CLEAR; -pub use linux_headers_linux_prctl::PR_MCE_KILL_SET; -pub use linux_headers_linux_prctl::PR_MCE_KILL_LATE; -pub use linux_headers_linux_prctl::PR_MCE_KILL_EARLY; -pub use linux_headers_linux_prctl::PR_MCE_KILL_DEFAULT; -pub use linux_headers_linux_prctl::PR_MCE_KILL_GET; -pub use linux_headers_linux_prctl::PR_SET_MM; -pub use linux_headers_linux_prctl::PR_SET_MM_START_CODE; -pub use linux_headers_linux_prctl::PR_SET_MM_END_CODE; -pub use linux_headers_linux_prctl::PR_SET_MM_START_DATA; -pub use linux_headers_linux_prctl::PR_SET_MM_END_DATA; -pub use linux_headers_linux_prctl::PR_SET_MM_START_STACK; -pub use linux_headers_linux_prctl::PR_SET_MM_START_BRK; -pub use linux_headers_linux_prctl::PR_SET_MM_BRK; -pub use linux_headers_linux_prctl::PR_SET_MM_ARG_START; -pub use linux_headers_linux_prctl::PR_SET_MM_ARG_END; -pub use linux_headers_linux_prctl::PR_SET_MM_ENV_START; -pub use linux_headers_linux_prctl::PR_SET_MM_ENV_END; -pub use linux_headers_linux_prctl::PR_SET_MM_AUXV; -pub use linux_headers_linux_prctl::PR_SET_MM_EXE_FILE; -pub use linux_headers_linux_prctl::PR_SET_MM_MAP; -pub use linux_headers_linux_prctl::PR_SET_MM_MAP_SIZE; -pub use linux_headers_linux_prctl::PR_SET_PTRACER; -pub use linux_headers_linux_prctl::PR_SET_PTRACER_ANY; -pub use linux_headers_linux_prctl::PR_SET_CHILD_SUBREAPER; -pub use linux_headers_linux_prctl::PR_GET_CHILD_SUBREAPER; -pub use linux_headers_linux_prctl::PR_SET_NO_NEW_PRIVS; -pub use linux_headers_linux_prctl::PR_GET_NO_NEW_PRIVS; -pub use linux_headers_linux_prctl::PR_GET_TID_ADDRESS; -pub use linux_headers_linux_prctl::PR_SET_THP_DISABLE; -pub use linux_headers_linux_prctl::PR_GET_THP_DISABLE; -pub use linux_headers_linux_prctl::PR_MPX_ENABLE_MANAGEMENT; -pub use linux_headers_linux_prctl::PR_MPX_DISABLE_MANAGEMENT; -pub use linux_headers_linux_prctl::PR_SET_FP_MODE; -pub use linux_headers_linux_prctl::PR_GET_FP_MODE; -pub use linux_headers_linux_prctl::PR_FP_MODE_FR; -pub use linux_headers_linux_prctl::PR_FP_MODE_FRE; -pub use linux_headers_linux_prctl::PR_CAP_AMBIENT; -pub use linux_headers_linux_prctl::PR_CAP_AMBIENT_IS_SET; -pub use linux_headers_linux_prctl::PR_CAP_AMBIENT_RAISE; -pub use linux_headers_linux_prctl::PR_CAP_AMBIENT_LOWER; -pub use linux_headers_linux_prctl::PR_CAP_AMBIENT_CLEAR_ALL; -pub use linux_headers_linux_prctl::PR_SVE_SET_VL; -pub use linux_headers_linux_prctl::PR_SVE_SET_VL_ONEXEC; -pub use linux_headers_linux_prctl::PR_SVE_GET_VL; -pub use linux_headers_linux_prctl::PR_SVE_VL_LEN_MASK; -pub use linux_headers_linux_prctl::PR_SVE_VL_INHERIT; -pub use linux_headers_linux_prctl::PR_GET_SPECULATION_CTRL; -pub use linux_headers_linux_prctl::PR_SET_SPECULATION_CTRL; -pub use linux_headers_linux_prctl::PR_SPEC_STORE_BYPASS; -pub use linux_headers_linux_prctl::PR_SPEC_INDIRECT_BRANCH; -pub use linux_headers_linux_prctl::PR_SPEC_L1D_FLUSH; -pub use linux_headers_linux_prctl::PR_SPEC_NOT_AFFECTED; -pub use linux_headers_linux_prctl::PR_SPEC_PRCTL; -pub use linux_headers_linux_prctl::PR_SPEC_ENABLE; -pub use linux_headers_linux_prctl::PR_SPEC_DISABLE; -pub use linux_headers_linux_prctl::PR_SPEC_FORCE_DISABLE; -pub use linux_headers_linux_prctl::PR_SPEC_DISABLE_NOEXEC; -pub use linux_headers_linux_prctl::PR_PAC_RESET_KEYS; -pub use linux_headers_linux_prctl::PR_PAC_APIAKEY; -pub use linux_headers_linux_prctl::PR_PAC_APIBKEY; -pub use linux_headers_linux_prctl::PR_PAC_APDAKEY; -pub use linux_headers_linux_prctl::PR_PAC_APDBKEY; -pub use linux_headers_linux_prctl::PR_PAC_APGAKEY; -pub use linux_headers_linux_prctl::PR_SET_TAGGED_ADDR_CTRL; -pub use linux_headers_linux_prctl::PR_GET_TAGGED_ADDR_CTRL; -pub use linux_headers_linux_prctl::PR_TAGGED_ADDR_ENABLE; -pub use linux_headers_linux_prctl::PR_MTE_TCF_NONE; -pub use linux_headers_linux_prctl::PR_MTE_TCF_SYNC; -pub use linux_headers_linux_prctl::PR_MTE_TCF_ASYNC; -pub use linux_headers_linux_prctl::PR_MTE_TCF_MASK; -pub use linux_headers_linux_prctl::PR_MTE_TAG_SHIFT; -pub use linux_headers_linux_prctl::PR_MTE_TAG_MASK; -pub use linux_headers_linux_prctl::PR_MTE_TCF_SHIFT; -pub use linux_headers_linux_prctl::PR_SET_IO_FLUSHER; -pub use linux_headers_linux_prctl::PR_GET_IO_FLUSHER; -pub use linux_headers_linux_prctl::PR_SET_SYSCALL_USER_DISPATCH; -pub use linux_headers_linux_prctl::PR_SYS_DISPATCH_OFF; -pub use linux_headers_linux_prctl::PR_SYS_DISPATCH_ON; -pub use linux_headers_linux_prctl::PR_PAC_SET_ENABLED_KEYS; -pub use linux_headers_linux_prctl::PR_PAC_GET_ENABLED_KEYS; -pub use linux_headers_linux_prctl::PR_SCHED_CORE; -pub use linux_headers_linux_prctl::PR_SCHED_CORE_GET; -pub use linux_headers_linux_prctl::PR_SCHED_CORE_CREATE; -pub use linux_headers_linux_prctl::PR_SCHED_CORE_SHARE_TO; -pub use linux_headers_linux_prctl::PR_SCHED_CORE_SHARE_FROM; -pub use linux_headers_linux_prctl::PR_SCHED_CORE_MAX; -pub use linux_headers_linux_prctl::PR_SCHED_CORE_SCOPE_THREAD; -pub use linux_headers_linux_prctl::PR_SCHED_CORE_SCOPE_THREAD_GROUP; -pub use linux_headers_linux_prctl::PR_SCHED_CORE_SCOPE_PROCESS_GROUP; -pub use linux_headers_linux_prctl::PR_SME_SET_VL; -pub use linux_headers_linux_prctl::PR_SME_SET_VL_ONEXEC; -pub use linux_headers_linux_prctl::PR_SME_GET_VL; -pub use linux_headers_linux_prctl::PR_SME_VL_LEN_MASK; -pub use linux_headers_linux_prctl::PR_SME_VL_INHERIT; -pub use linux_headers_linux_prctl::PR_SET_MDWE; -pub use linux_headers_linux_prctl::PR_MDWE_REFUSE_EXEC_GAIN; -pub use linux_headers_linux_prctl::PR_MDWE_NO_INHERIT; -pub use linux_headers_linux_prctl::PR_GET_MDWE; -pub use linux_headers_linux_prctl::PR_SET_VMA; -pub use linux_headers_linux_prctl::PR_SET_VMA_ANON_NAME; -pub use linux_headers_linux_prctl::PR_GET_AUXV; -pub use linux_headers_linux_prctl::PR_SET_MEMORY_MERGE; -pub use linux_headers_linux_prctl::PR_GET_MEMORY_MERGE; -pub use linux_headers_linux_prctl::PR_RISCV_V_SET_CONTROL; -pub use linux_headers_linux_prctl::PR_RISCV_V_GET_CONTROL; -pub use linux_headers_linux_prctl::PR_RISCV_V_VSTATE_CTRL_DEFAULT; -pub use linux_headers_linux_prctl::PR_RISCV_V_VSTATE_CTRL_OFF; -pub use linux_headers_linux_prctl::PR_RISCV_V_VSTATE_CTRL_ON; -pub use linux_headers_linux_prctl::PR_RISCV_V_VSTATE_CTRL_INHERIT; -pub use linux_headers_linux_prctl::PR_RISCV_V_VSTATE_CTRL_CUR_MASK; -pub use linux_headers_linux_prctl::PR_RISCV_V_VSTATE_CTRL_NEXT_MASK; -pub use linux_headers_linux_prctl::PR_RISCV_V_VSTATE_CTRL_MASK; -pub use linux_headers_linux_prctl::PR_RISCV_SET_ICACHE_FLUSH_CTX; -pub use linux_headers_linux_prctl::PR_RISCV_CTX_SW_FENCEI_ON; -pub use linux_headers_linux_prctl::PR_RISCV_CTX_SW_FENCEI_OFF; -pub use linux_headers_linux_prctl::PR_RISCV_SCOPE_PER_PROCESS; -pub use linux_headers_linux_prctl::PR_RISCV_SCOPE_PER_THREAD; -pub use linux_headers_linux_prctl::PR_PPC_GET_DEXCR; -pub use linux_headers_linux_prctl::PR_PPC_SET_DEXCR; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_SBHE; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_IBRTPD; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_SRAPD; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_NPHIE; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_CTRL_EDITABLE; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_CTRL_SET; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_CTRL_CLEAR; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_CTRL_SET_ONEXEC; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_CTRL_CLEAR_ONEXEC; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_CTRL_MASK; -mod dlfcn; -pub use dlfcn::dlsym; -pub use dlfcn::RTLD_DEFAULT; -mod elf; -pub use elf::Elf32_auxv_t; -pub use elf::Elf64_auxv_t; -mod sys_auxv; -pub use sys_auxv::getauxval; -mod unistd; -pub use unistd::syscall; -pub type c_char = u8; diff --git a/tests/helper/src/gen/sys/riscv64_linux_android/sys_auxv.rs b/tests/helper/src/gen/sys/riscv64_linux_android/sys_auxv.rs deleted file mode 100644 index 1fe1c678..00000000 --- a/tests/helper/src/gen/sys/riscv64_linux_android/sys_auxv.rs +++ /dev/null @@ -1,10 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -extern "C" { - pub fn getauxval(__type: ::std::os::raw::c_ulong) -> ::std::os::raw::c_ulong; -} diff --git a/tests/helper/src/gen/sys/riscv64_linux_android/unistd.rs b/tests/helper/src/gen/sys/riscv64_linux_android/unistd.rs deleted file mode 100644 index 3d81fa05..00000000 --- a/tests/helper/src/gen/sys/riscv64_linux_android/unistd.rs +++ /dev/null @@ -1,10 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -extern "C" { - pub fn syscall(__number: ::std::os::raw::c_long, ...) -> ::std::os::raw::c_long; -} diff --git a/tests/helper/src/gen/sys/riscv64gc_freebsd/dlfcn.rs b/tests/helper/src/gen/sys/riscv64gc_freebsd/dlfcn.rs deleted file mode 100644 index e7bac10c..00000000 --- a/tests/helper/src/gen/sys/riscv64gc_freebsd/dlfcn.rs +++ /dev/null @@ -1,15 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -pub const RTLD_DEFAULT: *mut ::std::os::raw::c_void = -2i8 - as *mut ::std::os::raw::c_void; -extern "C" { - pub fn dlsym( - arg1: *mut ::core::ffi::c_void, - arg2: *const ::std::os::raw::c_char, - ) -> *mut ::core::ffi::c_void; -} diff --git a/tests/helper/src/gen/sys/riscv64gc_freebsd/mod.rs b/tests/helper/src/gen/sys/riscv64gc_freebsd/mod.rs deleted file mode 100644 index c55f0343..00000000 --- a/tests/helper/src/gen/sys/riscv64gc_freebsd/mod.rs +++ /dev/null @@ -1,487 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] -mod dlfcn; -pub use dlfcn::RTLD_DEFAULT; -pub use dlfcn::dlsym; -mod sys_auxv; -pub use sys_auxv::elf_aux_info; -mod sys_syscall; -pub use sys_syscall::SYS_syscall; -pub use sys_syscall::SYS_exit; -pub use sys_syscall::SYS_fork; -pub use sys_syscall::SYS_read; -pub use sys_syscall::SYS_write; -pub use sys_syscall::SYS_open; -pub use sys_syscall::SYS_close; -pub use sys_syscall::SYS_wait4; -pub use sys_syscall::SYS_link; -pub use sys_syscall::SYS_unlink; -pub use sys_syscall::SYS_chdir; -pub use sys_syscall::SYS_fchdir; -pub use sys_syscall::SYS_freebsd11_mknod; -pub use sys_syscall::SYS_chmod; -pub use sys_syscall::SYS_chown; -pub use sys_syscall::SYS_break; -pub use sys_syscall::SYS_getpid; -pub use sys_syscall::SYS_mount; -pub use sys_syscall::SYS_unmount; -pub use sys_syscall::SYS_setuid; -pub use sys_syscall::SYS_getuid; -pub use sys_syscall::SYS_geteuid; -pub use sys_syscall::SYS_ptrace; -pub use sys_syscall::SYS_recvmsg; -pub use sys_syscall::SYS_sendmsg; -pub use sys_syscall::SYS_recvfrom; -pub use sys_syscall::SYS_accept; -pub use sys_syscall::SYS_getpeername; -pub use sys_syscall::SYS_getsockname; -pub use sys_syscall::SYS_access; -pub use sys_syscall::SYS_chflags; -pub use sys_syscall::SYS_fchflags; -pub use sys_syscall::SYS_sync; -pub use sys_syscall::SYS_kill; -pub use sys_syscall::SYS_getppid; -pub use sys_syscall::SYS_dup; -pub use sys_syscall::SYS_freebsd10_pipe; -pub use sys_syscall::SYS_getegid; -pub use sys_syscall::SYS_profil; -pub use sys_syscall::SYS_ktrace; -pub use sys_syscall::SYS_getgid; -pub use sys_syscall::SYS_getlogin; -pub use sys_syscall::SYS_setlogin; -pub use sys_syscall::SYS_acct; -pub use sys_syscall::SYS_sigaltstack; -pub use sys_syscall::SYS_ioctl; -pub use sys_syscall::SYS_reboot; -pub use sys_syscall::SYS_revoke; -pub use sys_syscall::SYS_symlink; -pub use sys_syscall::SYS_readlink; -pub use sys_syscall::SYS_execve; -pub use sys_syscall::SYS_umask; -pub use sys_syscall::SYS_chroot; -pub use sys_syscall::SYS_msync; -pub use sys_syscall::SYS_vfork; -pub use sys_syscall::SYS_freebsd11_vadvise; -pub use sys_syscall::SYS_munmap; -pub use sys_syscall::SYS_mprotect; -pub use sys_syscall::SYS_madvise; -pub use sys_syscall::SYS_mincore; -pub use sys_syscall::SYS_getgroups; -pub use sys_syscall::SYS_setgroups; -pub use sys_syscall::SYS_getpgrp; -pub use sys_syscall::SYS_setpgid; -pub use sys_syscall::SYS_setitimer; -pub use sys_syscall::SYS_swapon; -pub use sys_syscall::SYS_getitimer; -pub use sys_syscall::SYS_getdtablesize; -pub use sys_syscall::SYS_dup2; -pub use sys_syscall::SYS_fcntl; -pub use sys_syscall::SYS_select; -pub use sys_syscall::SYS_fsync; -pub use sys_syscall::SYS_setpriority; -pub use sys_syscall::SYS_socket; -pub use sys_syscall::SYS_connect; -pub use sys_syscall::SYS_getpriority; -pub use sys_syscall::SYS_bind; -pub use sys_syscall::SYS_setsockopt; -pub use sys_syscall::SYS_listen; -pub use sys_syscall::SYS_gettimeofday; -pub use sys_syscall::SYS_getrusage; -pub use sys_syscall::SYS_getsockopt; -pub use sys_syscall::SYS_readv; -pub use sys_syscall::SYS_writev; -pub use sys_syscall::SYS_settimeofday; -pub use sys_syscall::SYS_fchown; -pub use sys_syscall::SYS_fchmod; -pub use sys_syscall::SYS_setreuid; -pub use sys_syscall::SYS_setregid; -pub use sys_syscall::SYS_rename; -pub use sys_syscall::SYS_flock; -pub use sys_syscall::SYS_mkfifo; -pub use sys_syscall::SYS_sendto; -pub use sys_syscall::SYS_shutdown; -pub use sys_syscall::SYS_socketpair; -pub use sys_syscall::SYS_mkdir; -pub use sys_syscall::SYS_rmdir; -pub use sys_syscall::SYS_utimes; -pub use sys_syscall::SYS_adjtime; -pub use sys_syscall::SYS_setsid; -pub use sys_syscall::SYS_quotactl; -pub use sys_syscall::SYS_nlm_syscall; -pub use sys_syscall::SYS_nfssvc; -pub use sys_syscall::SYS_lgetfh; -pub use sys_syscall::SYS_getfh; -pub use sys_syscall::SYS_sysarch; -pub use sys_syscall::SYS_rtprio; -pub use sys_syscall::SYS_semsys; -pub use sys_syscall::SYS_msgsys; -pub use sys_syscall::SYS_shmsys; -pub use sys_syscall::SYS_setfib; -pub use sys_syscall::SYS_ntp_adjtime; -pub use sys_syscall::SYS_setgid; -pub use sys_syscall::SYS_setegid; -pub use sys_syscall::SYS_seteuid; -pub use sys_syscall::SYS_freebsd11_stat; -pub use sys_syscall::SYS_freebsd11_fstat; -pub use sys_syscall::SYS_freebsd11_lstat; -pub use sys_syscall::SYS_pathconf; -pub use sys_syscall::SYS_fpathconf; -pub use sys_syscall::SYS_getrlimit; -pub use sys_syscall::SYS_setrlimit; -pub use sys_syscall::SYS_freebsd11_getdirentries; -pub use sys_syscall::SYS___syscall; -pub use sys_syscall::SYS___sysctl; -pub use sys_syscall::SYS_mlock; -pub use sys_syscall::SYS_munlock; -pub use sys_syscall::SYS_undelete; -pub use sys_syscall::SYS_futimes; -pub use sys_syscall::SYS_getpgid; -pub use sys_syscall::SYS_poll; -pub use sys_syscall::SYS_freebsd7___semctl; -pub use sys_syscall::SYS_semget; -pub use sys_syscall::SYS_semop; -pub use sys_syscall::SYS_freebsd7_msgctl; -pub use sys_syscall::SYS_msgget; -pub use sys_syscall::SYS_msgsnd; -pub use sys_syscall::SYS_msgrcv; -pub use sys_syscall::SYS_shmat; -pub use sys_syscall::SYS_freebsd7_shmctl; -pub use sys_syscall::SYS_shmdt; -pub use sys_syscall::SYS_shmget; -pub use sys_syscall::SYS_clock_gettime; -pub use sys_syscall::SYS_clock_settime; -pub use sys_syscall::SYS_clock_getres; -pub use sys_syscall::SYS_ktimer_create; -pub use sys_syscall::SYS_ktimer_delete; -pub use sys_syscall::SYS_ktimer_settime; -pub use sys_syscall::SYS_ktimer_gettime; -pub use sys_syscall::SYS_ktimer_getoverrun; -pub use sys_syscall::SYS_nanosleep; -pub use sys_syscall::SYS_ffclock_getcounter; -pub use sys_syscall::SYS_ffclock_setestimate; -pub use sys_syscall::SYS_ffclock_getestimate; -pub use sys_syscall::SYS_clock_nanosleep; -pub use sys_syscall::SYS_clock_getcpuclockid2; -pub use sys_syscall::SYS_ntp_gettime; -pub use sys_syscall::SYS_minherit; -pub use sys_syscall::SYS_rfork; -pub use sys_syscall::SYS_issetugid; -pub use sys_syscall::SYS_lchown; -pub use sys_syscall::SYS_aio_read; -pub use sys_syscall::SYS_aio_write; -pub use sys_syscall::SYS_lio_listio; -pub use sys_syscall::SYS_freebsd11_getdents; -pub use sys_syscall::SYS_lchmod; -pub use sys_syscall::SYS_lutimes; -pub use sys_syscall::SYS_freebsd11_nstat; -pub use sys_syscall::SYS_freebsd11_nfstat; -pub use sys_syscall::SYS_freebsd11_nlstat; -pub use sys_syscall::SYS_preadv; -pub use sys_syscall::SYS_pwritev; -pub use sys_syscall::SYS_fhopen; -pub use sys_syscall::SYS_freebsd11_fhstat; -pub use sys_syscall::SYS_modnext; -pub use sys_syscall::SYS_modstat; -pub use sys_syscall::SYS_modfnext; -pub use sys_syscall::SYS_modfind; -pub use sys_syscall::SYS_kldload; -pub use sys_syscall::SYS_kldunload; -pub use sys_syscall::SYS_kldfind; -pub use sys_syscall::SYS_kldnext; -pub use sys_syscall::SYS_kldstat; -pub use sys_syscall::SYS_kldfirstmod; -pub use sys_syscall::SYS_getsid; -pub use sys_syscall::SYS_setresuid; -pub use sys_syscall::SYS_setresgid; -pub use sys_syscall::SYS_aio_return; -pub use sys_syscall::SYS_aio_suspend; -pub use sys_syscall::SYS_aio_cancel; -pub use sys_syscall::SYS_aio_error; -pub use sys_syscall::SYS_yield; -pub use sys_syscall::SYS_mlockall; -pub use sys_syscall::SYS_munlockall; -pub use sys_syscall::SYS___getcwd; -pub use sys_syscall::SYS_sched_setparam; -pub use sys_syscall::SYS_sched_getparam; -pub use sys_syscall::SYS_sched_setscheduler; -pub use sys_syscall::SYS_sched_getscheduler; -pub use sys_syscall::SYS_sched_yield; -pub use sys_syscall::SYS_sched_get_priority_max; -pub use sys_syscall::SYS_sched_get_priority_min; -pub use sys_syscall::SYS_sched_rr_get_interval; -pub use sys_syscall::SYS_utrace; -pub use sys_syscall::SYS_kldsym; -pub use sys_syscall::SYS_jail; -pub use sys_syscall::SYS_nnpfs_syscall; -pub use sys_syscall::SYS_sigprocmask; -pub use sys_syscall::SYS_sigsuspend; -pub use sys_syscall::SYS_sigpending; -pub use sys_syscall::SYS_sigtimedwait; -pub use sys_syscall::SYS_sigwaitinfo; -pub use sys_syscall::SYS___acl_get_file; -pub use sys_syscall::SYS___acl_set_file; -pub use sys_syscall::SYS___acl_get_fd; -pub use sys_syscall::SYS___acl_set_fd; -pub use sys_syscall::SYS___acl_delete_file; -pub use sys_syscall::SYS___acl_delete_fd; -pub use sys_syscall::SYS___acl_aclcheck_file; -pub use sys_syscall::SYS___acl_aclcheck_fd; -pub use sys_syscall::SYS_extattrctl; -pub use sys_syscall::SYS_extattr_set_file; -pub use sys_syscall::SYS_extattr_get_file; -pub use sys_syscall::SYS_extattr_delete_file; -pub use sys_syscall::SYS_aio_waitcomplete; -pub use sys_syscall::SYS_getresuid; -pub use sys_syscall::SYS_getresgid; -pub use sys_syscall::SYS_kqueue; -pub use sys_syscall::SYS_freebsd11_kevent; -pub use sys_syscall::SYS_extattr_set_fd; -pub use sys_syscall::SYS_extattr_get_fd; -pub use sys_syscall::SYS_extattr_delete_fd; -pub use sys_syscall::SYS___setugid; -pub use sys_syscall::SYS_eaccess; -pub use sys_syscall::SYS_afs3_syscall; -pub use sys_syscall::SYS_nmount; -pub use sys_syscall::SYS___mac_get_proc; -pub use sys_syscall::SYS___mac_set_proc; -pub use sys_syscall::SYS___mac_get_fd; -pub use sys_syscall::SYS___mac_get_file; -pub use sys_syscall::SYS___mac_set_fd; -pub use sys_syscall::SYS___mac_set_file; -pub use sys_syscall::SYS_kenv; -pub use sys_syscall::SYS_lchflags; -pub use sys_syscall::SYS_uuidgen; -pub use sys_syscall::SYS_sendfile; -pub use sys_syscall::SYS_mac_syscall; -pub use sys_syscall::SYS_freebsd11_getfsstat; -pub use sys_syscall::SYS_freebsd11_statfs; -pub use sys_syscall::SYS_freebsd11_fstatfs; -pub use sys_syscall::SYS_freebsd11_fhstatfs; -pub use sys_syscall::SYS_ksem_close; -pub use sys_syscall::SYS_ksem_post; -pub use sys_syscall::SYS_ksem_wait; -pub use sys_syscall::SYS_ksem_trywait; -pub use sys_syscall::SYS_ksem_init; -pub use sys_syscall::SYS_ksem_open; -pub use sys_syscall::SYS_ksem_unlink; -pub use sys_syscall::SYS_ksem_getvalue; -pub use sys_syscall::SYS_ksem_destroy; -pub use sys_syscall::SYS___mac_get_pid; -pub use sys_syscall::SYS___mac_get_link; -pub use sys_syscall::SYS___mac_set_link; -pub use sys_syscall::SYS_extattr_set_link; -pub use sys_syscall::SYS_extattr_get_link; -pub use sys_syscall::SYS_extattr_delete_link; -pub use sys_syscall::SYS___mac_execve; -pub use sys_syscall::SYS_sigaction; -pub use sys_syscall::SYS_sigreturn; -pub use sys_syscall::SYS_getcontext; -pub use sys_syscall::SYS_setcontext; -pub use sys_syscall::SYS_swapcontext; -pub use sys_syscall::SYS_freebsd13_swapoff; -pub use sys_syscall::SYS___acl_get_link; -pub use sys_syscall::SYS___acl_set_link; -pub use sys_syscall::SYS___acl_delete_link; -pub use sys_syscall::SYS___acl_aclcheck_link; -pub use sys_syscall::SYS_sigwait; -pub use sys_syscall::SYS_thr_create; -pub use sys_syscall::SYS_thr_exit; -pub use sys_syscall::SYS_thr_self; -pub use sys_syscall::SYS_thr_kill; -pub use sys_syscall::SYS_freebsd10__umtx_lock; -pub use sys_syscall::SYS_freebsd10__umtx_unlock; -pub use sys_syscall::SYS_jail_attach; -pub use sys_syscall::SYS_extattr_list_fd; -pub use sys_syscall::SYS_extattr_list_file; -pub use sys_syscall::SYS_extattr_list_link; -pub use sys_syscall::SYS_ksem_timedwait; -pub use sys_syscall::SYS_thr_suspend; -pub use sys_syscall::SYS_thr_wake; -pub use sys_syscall::SYS_kldunloadf; -pub use sys_syscall::SYS_audit; -pub use sys_syscall::SYS_auditon; -pub use sys_syscall::SYS_getauid; -pub use sys_syscall::SYS_setauid; -pub use sys_syscall::SYS_getaudit; -pub use sys_syscall::SYS_setaudit; -pub use sys_syscall::SYS_getaudit_addr; -pub use sys_syscall::SYS_setaudit_addr; -pub use sys_syscall::SYS_auditctl; -pub use sys_syscall::SYS__umtx_op; -pub use sys_syscall::SYS_thr_new; -pub use sys_syscall::SYS_sigqueue; -pub use sys_syscall::SYS_kmq_open; -pub use sys_syscall::SYS_kmq_setattr; -pub use sys_syscall::SYS_kmq_timedreceive; -pub use sys_syscall::SYS_kmq_timedsend; -pub use sys_syscall::SYS_kmq_notify; -pub use sys_syscall::SYS_kmq_unlink; -pub use sys_syscall::SYS_abort2; -pub use sys_syscall::SYS_thr_set_name; -pub use sys_syscall::SYS_aio_fsync; -pub use sys_syscall::SYS_rtprio_thread; -pub use sys_syscall::SYS_sctp_peeloff; -pub use sys_syscall::SYS_sctp_generic_sendmsg; -pub use sys_syscall::SYS_sctp_generic_sendmsg_iov; -pub use sys_syscall::SYS_sctp_generic_recvmsg; -pub use sys_syscall::SYS_pread; -pub use sys_syscall::SYS_pwrite; -pub use sys_syscall::SYS_mmap; -pub use sys_syscall::SYS_lseek; -pub use sys_syscall::SYS_truncate; -pub use sys_syscall::SYS_ftruncate; -pub use sys_syscall::SYS_thr_kill2; -pub use sys_syscall::SYS_freebsd12_shm_open; -pub use sys_syscall::SYS_shm_unlink; -pub use sys_syscall::SYS_cpuset; -pub use sys_syscall::SYS_cpuset_setid; -pub use sys_syscall::SYS_cpuset_getid; -pub use sys_syscall::SYS_cpuset_getaffinity; -pub use sys_syscall::SYS_cpuset_setaffinity; -pub use sys_syscall::SYS_faccessat; -pub use sys_syscall::SYS_fchmodat; -pub use sys_syscall::SYS_fchownat; -pub use sys_syscall::SYS_fexecve; -pub use sys_syscall::SYS_freebsd11_fstatat; -pub use sys_syscall::SYS_futimesat; -pub use sys_syscall::SYS_linkat; -pub use sys_syscall::SYS_mkdirat; -pub use sys_syscall::SYS_mkfifoat; -pub use sys_syscall::SYS_freebsd11_mknodat; -pub use sys_syscall::SYS_openat; -pub use sys_syscall::SYS_readlinkat; -pub use sys_syscall::SYS_renameat; -pub use sys_syscall::SYS_symlinkat; -pub use sys_syscall::SYS_unlinkat; -pub use sys_syscall::SYS_posix_openpt; -pub use sys_syscall::SYS_gssd_syscall; -pub use sys_syscall::SYS_jail_get; -pub use sys_syscall::SYS_jail_set; -pub use sys_syscall::SYS_jail_remove; -pub use sys_syscall::SYS_freebsd12_closefrom; -pub use sys_syscall::SYS___semctl; -pub use sys_syscall::SYS_msgctl; -pub use sys_syscall::SYS_shmctl; -pub use sys_syscall::SYS_lpathconf; -pub use sys_syscall::SYS___cap_rights_get; -pub use sys_syscall::SYS_cap_enter; -pub use sys_syscall::SYS_cap_getmode; -pub use sys_syscall::SYS_pdfork; -pub use sys_syscall::SYS_pdkill; -pub use sys_syscall::SYS_pdgetpid; -pub use sys_syscall::SYS_pselect; -pub use sys_syscall::SYS_getloginclass; -pub use sys_syscall::SYS_setloginclass; -pub use sys_syscall::SYS_rctl_get_racct; -pub use sys_syscall::SYS_rctl_get_rules; -pub use sys_syscall::SYS_rctl_get_limits; -pub use sys_syscall::SYS_rctl_add_rule; -pub use sys_syscall::SYS_rctl_remove_rule; -pub use sys_syscall::SYS_posix_fallocate; -pub use sys_syscall::SYS_posix_fadvise; -pub use sys_syscall::SYS_wait6; -pub use sys_syscall::SYS_cap_rights_limit; -pub use sys_syscall::SYS_cap_ioctls_limit; -pub use sys_syscall::SYS_cap_ioctls_get; -pub use sys_syscall::SYS_cap_fcntls_limit; -pub use sys_syscall::SYS_cap_fcntls_get; -pub use sys_syscall::SYS_bindat; -pub use sys_syscall::SYS_connectat; -pub use sys_syscall::SYS_chflagsat; -pub use sys_syscall::SYS_accept4; -pub use sys_syscall::SYS_pipe2; -pub use sys_syscall::SYS_aio_mlock; -pub use sys_syscall::SYS_procctl; -pub use sys_syscall::SYS_ppoll; -pub use sys_syscall::SYS_futimens; -pub use sys_syscall::SYS_utimensat; -pub use sys_syscall::SYS_fdatasync; -pub use sys_syscall::SYS_fstat; -pub use sys_syscall::SYS_fstatat; -pub use sys_syscall::SYS_fhstat; -pub use sys_syscall::SYS_getdirentries; -pub use sys_syscall::SYS_statfs; -pub use sys_syscall::SYS_fstatfs; -pub use sys_syscall::SYS_getfsstat; -pub use sys_syscall::SYS_fhstatfs; -pub use sys_syscall::SYS_mknodat; -pub use sys_syscall::SYS_kevent; -pub use sys_syscall::SYS_cpuset_getdomain; -pub use sys_syscall::SYS_cpuset_setdomain; -pub use sys_syscall::SYS_getrandom; -pub use sys_syscall::SYS_getfhat; -pub use sys_syscall::SYS_fhlink; -pub use sys_syscall::SYS_fhlinkat; -pub use sys_syscall::SYS_fhreadlink; -pub use sys_syscall::SYS_funlinkat; -pub use sys_syscall::SYS_copy_file_range; -pub use sys_syscall::SYS___sysctlbyname; -pub use sys_syscall::SYS_shm_open2; -pub use sys_syscall::SYS_shm_rename; -pub use sys_syscall::SYS_sigfastblock; -pub use sys_syscall::SYS___realpathat; -pub use sys_syscall::SYS_close_range; -pub use sys_syscall::SYS_rpctls_syscall; -pub use sys_syscall::SYS___specialfd; -pub use sys_syscall::SYS_aio_writev; -pub use sys_syscall::SYS_aio_readv; -pub use sys_syscall::SYS_fspacectl; -pub use sys_syscall::SYS_sched_getcpu; -pub use sys_syscall::SYS_swapoff; -pub use sys_syscall::SYS_kqueuex; -pub use sys_syscall::SYS_membarrier; -pub use sys_syscall::SYS_timerfd_create; -pub use sys_syscall::SYS_timerfd_gettime; -pub use sys_syscall::SYS_timerfd_settime; -pub use sys_syscall::SYS_kcmp; -pub use sys_syscall::SYS_getrlimitusage; -pub use sys_syscall::SYS_MAXSYSCALL; -mod sys_sysctl; -pub use sys_sysctl::CTL_KERN; -pub use sys_sysctl::KERN_PROC; -pub use sys_sysctl::KERN_PROC_AUXV; -mod sys_elf_common; -pub use sys_elf_common::AT_NULL; -pub use sys_elf_common::AT_IGNORE; -pub use sys_elf_common::AT_EXECFD; -pub use sys_elf_common::AT_PHDR; -pub use sys_elf_common::AT_PHENT; -pub use sys_elf_common::AT_PHNUM; -pub use sys_elf_common::AT_PAGESZ; -pub use sys_elf_common::AT_BASE; -pub use sys_elf_common::AT_FLAGS; -pub use sys_elf_common::AT_ENTRY; -pub use sys_elf_common::AT_NOTELF; -pub use sys_elf_common::AT_UID; -pub use sys_elf_common::AT_EUID; -pub use sys_elf_common::AT_GID; -pub use sys_elf_common::AT_EGID; -pub use sys_elf_common::AT_EXECPATH; -pub use sys_elf_common::AT_CANARY; -pub use sys_elf_common::AT_CANARYLEN; -pub use sys_elf_common::AT_OSRELDATE; -pub use sys_elf_common::AT_NCPUS; -pub use sys_elf_common::AT_PAGESIZES; -pub use sys_elf_common::AT_PAGESIZESLEN; -pub use sys_elf_common::AT_TIMEKEEP; -pub use sys_elf_common::AT_STACKPROT; -pub use sys_elf_common::AT_EHDRFLAGS; -pub use sys_elf_common::AT_HWCAP; -pub use sys_elf_common::AT_HWCAP2; -pub use sys_elf_common::AT_BSDFLAGS; -pub use sys_elf_common::AT_ARGC; -pub use sys_elf_common::AT_ARGV; -pub use sys_elf_common::AT_ENVC; -pub use sys_elf_common::AT_ENVV; -pub use sys_elf_common::AT_PS_STRINGS; -pub use sys_elf_common::AT_FXRNG; -pub use sys_elf_common::AT_KPRELOAD; -pub use sys_elf_common::AT_USRSTACKBASE; -pub use sys_elf_common::AT_USRSTACKLIM; -pub use sys_elf_common::AT_CHERI_STATS; -pub use sys_elf_common::AT_COUNT; -pub type c_char = u8; diff --git a/tests/helper/src/gen/sys/riscv64gc_freebsd/sys_auxv.rs b/tests/helper/src/gen/sys/riscv64gc_freebsd/sys_auxv.rs deleted file mode 100644 index 7b6c1be2..00000000 --- a/tests/helper/src/gen/sys/riscv64gc_freebsd/sys_auxv.rs +++ /dev/null @@ -1,14 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -extern "C" { - pub fn elf_aux_info( - aux: ::std::os::raw::c_int, - buf: *mut ::core::ffi::c_void, - buflen: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; -} diff --git a/tests/helper/src/gen/sys/riscv64gc_freebsd/sys_elf_common.rs b/tests/helper/src/gen/sys/riscv64gc_freebsd/sys_elf_common.rs deleted file mode 100644 index 85bae3b6..00000000 --- a/tests/helper/src/gen/sys/riscv64gc_freebsd/sys_elf_common.rs +++ /dev/null @@ -1,46 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -pub const AT_NULL: u32 = 0; -pub const AT_IGNORE: u32 = 1; -pub const AT_EXECFD: u32 = 2; -pub const AT_PHDR: u32 = 3; -pub const AT_PHENT: u32 = 4; -pub const AT_PHNUM: u32 = 5; -pub const AT_PAGESZ: u32 = 6; -pub const AT_BASE: u32 = 7; -pub const AT_FLAGS: u32 = 8; -pub const AT_ENTRY: u32 = 9; -pub const AT_NOTELF: u32 = 10; -pub const AT_UID: u32 = 11; -pub const AT_EUID: u32 = 12; -pub const AT_GID: u32 = 13; -pub const AT_EGID: u32 = 14; -pub const AT_EXECPATH: u32 = 15; -pub const AT_CANARY: u32 = 16; -pub const AT_CANARYLEN: u32 = 17; -pub const AT_OSRELDATE: u32 = 18; -pub const AT_NCPUS: u32 = 19; -pub const AT_PAGESIZES: u32 = 20; -pub const AT_PAGESIZESLEN: u32 = 21; -pub const AT_TIMEKEEP: u32 = 22; -pub const AT_STACKPROT: u32 = 23; -pub const AT_EHDRFLAGS: u32 = 24; -pub const AT_HWCAP: u32 = 25; -pub const AT_HWCAP2: u32 = 26; -pub const AT_BSDFLAGS: u32 = 27; -pub const AT_ARGC: u32 = 28; -pub const AT_ARGV: u32 = 29; -pub const AT_ENVC: u32 = 30; -pub const AT_ENVV: u32 = 31; -pub const AT_PS_STRINGS: u32 = 32; -pub const AT_FXRNG: u32 = 33; -pub const AT_KPRELOAD: u32 = 34; -pub const AT_USRSTACKBASE: u32 = 35; -pub const AT_USRSTACKLIM: u32 = 36; -pub const AT_CHERI_STATS: u32 = 37; -pub const AT_COUNT: u32 = 38; diff --git a/tests/helper/src/gen/sys/riscv64gc_freebsd/sys_syscall.rs b/tests/helper/src/gen/sys/riscv64gc_freebsd/sys_syscall.rs deleted file mode 100644 index 9437b0b4..00000000 --- a/tests/helper/src/gen/sys/riscv64gc_freebsd/sys_syscall.rs +++ /dev/null @@ -1,437 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -pub const SYS_syscall: u32 = 0; -pub const SYS_exit: u32 = 1; -pub const SYS_fork: u32 = 2; -pub const SYS_read: u32 = 3; -pub const SYS_write: u32 = 4; -pub const SYS_open: u32 = 5; -pub const SYS_close: u32 = 6; -pub const SYS_wait4: u32 = 7; -pub const SYS_link: u32 = 9; -pub const SYS_unlink: u32 = 10; -pub const SYS_chdir: u32 = 12; -pub const SYS_fchdir: u32 = 13; -pub const SYS_freebsd11_mknod: u32 = 14; -pub const SYS_chmod: u32 = 15; -pub const SYS_chown: u32 = 16; -pub const SYS_break: u32 = 17; -pub const SYS_getpid: u32 = 20; -pub const SYS_mount: u32 = 21; -pub const SYS_unmount: u32 = 22; -pub const SYS_setuid: u32 = 23; -pub const SYS_getuid: u32 = 24; -pub const SYS_geteuid: u32 = 25; -pub const SYS_ptrace: u32 = 26; -pub const SYS_recvmsg: u32 = 27; -pub const SYS_sendmsg: u32 = 28; -pub const SYS_recvfrom: u32 = 29; -pub const SYS_accept: u32 = 30; -pub const SYS_getpeername: u32 = 31; -pub const SYS_getsockname: u32 = 32; -pub const SYS_access: u32 = 33; -pub const SYS_chflags: u32 = 34; -pub const SYS_fchflags: u32 = 35; -pub const SYS_sync: u32 = 36; -pub const SYS_kill: u32 = 37; -pub const SYS_getppid: u32 = 39; -pub const SYS_dup: u32 = 41; -pub const SYS_freebsd10_pipe: u32 = 42; -pub const SYS_getegid: u32 = 43; -pub const SYS_profil: u32 = 44; -pub const SYS_ktrace: u32 = 45; -pub const SYS_getgid: u32 = 47; -pub const SYS_getlogin: u32 = 49; -pub const SYS_setlogin: u32 = 50; -pub const SYS_acct: u32 = 51; -pub const SYS_sigaltstack: u32 = 53; -pub const SYS_ioctl: u32 = 54; -pub const SYS_reboot: u32 = 55; -pub const SYS_revoke: u32 = 56; -pub const SYS_symlink: u32 = 57; -pub const SYS_readlink: u32 = 58; -pub const SYS_execve: u32 = 59; -pub const SYS_umask: u32 = 60; -pub const SYS_chroot: u32 = 61; -pub const SYS_msync: u32 = 65; -pub const SYS_vfork: u32 = 66; -pub const SYS_freebsd11_vadvise: u32 = 72; -pub const SYS_munmap: u32 = 73; -pub const SYS_mprotect: u32 = 74; -pub const SYS_madvise: u32 = 75; -pub const SYS_mincore: u32 = 78; -pub const SYS_getgroups: u32 = 79; -pub const SYS_setgroups: u32 = 80; -pub const SYS_getpgrp: u32 = 81; -pub const SYS_setpgid: u32 = 82; -pub const SYS_setitimer: u32 = 83; -pub const SYS_swapon: u32 = 85; -pub const SYS_getitimer: u32 = 86; -pub const SYS_getdtablesize: u32 = 89; -pub const SYS_dup2: u32 = 90; -pub const SYS_fcntl: u32 = 92; -pub const SYS_select: u32 = 93; -pub const SYS_fsync: u32 = 95; -pub const SYS_setpriority: u32 = 96; -pub const SYS_socket: u32 = 97; -pub const SYS_connect: u32 = 98; -pub const SYS_getpriority: u32 = 100; -pub const SYS_bind: u32 = 104; -pub const SYS_setsockopt: u32 = 105; -pub const SYS_listen: u32 = 106; -pub const SYS_gettimeofday: u32 = 116; -pub const SYS_getrusage: u32 = 117; -pub const SYS_getsockopt: u32 = 118; -pub const SYS_readv: u32 = 120; -pub const SYS_writev: u32 = 121; -pub const SYS_settimeofday: u32 = 122; -pub const SYS_fchown: u32 = 123; -pub const SYS_fchmod: u32 = 124; -pub const SYS_setreuid: u32 = 126; -pub const SYS_setregid: u32 = 127; -pub const SYS_rename: u32 = 128; -pub const SYS_flock: u32 = 131; -pub const SYS_mkfifo: u32 = 132; -pub const SYS_sendto: u32 = 133; -pub const SYS_shutdown: u32 = 134; -pub const SYS_socketpair: u32 = 135; -pub const SYS_mkdir: u32 = 136; -pub const SYS_rmdir: u32 = 137; -pub const SYS_utimes: u32 = 138; -pub const SYS_adjtime: u32 = 140; -pub const SYS_setsid: u32 = 147; -pub const SYS_quotactl: u32 = 148; -pub const SYS_nlm_syscall: u32 = 154; -pub const SYS_nfssvc: u32 = 155; -pub const SYS_lgetfh: u32 = 160; -pub const SYS_getfh: u32 = 161; -pub const SYS_sysarch: u32 = 165; -pub const SYS_rtprio: u32 = 166; -pub const SYS_semsys: u32 = 169; -pub const SYS_msgsys: u32 = 170; -pub const SYS_shmsys: u32 = 171; -pub const SYS_setfib: u32 = 175; -pub const SYS_ntp_adjtime: u32 = 176; -pub const SYS_setgid: u32 = 181; -pub const SYS_setegid: u32 = 182; -pub const SYS_seteuid: u32 = 183; -pub const SYS_freebsd11_stat: u32 = 188; -pub const SYS_freebsd11_fstat: u32 = 189; -pub const SYS_freebsd11_lstat: u32 = 190; -pub const SYS_pathconf: u32 = 191; -pub const SYS_fpathconf: u32 = 192; -pub const SYS_getrlimit: u32 = 194; -pub const SYS_setrlimit: u32 = 195; -pub const SYS_freebsd11_getdirentries: u32 = 196; -pub const SYS___syscall: u32 = 198; -pub const SYS___sysctl: u32 = 202; -pub const SYS_mlock: u32 = 203; -pub const SYS_munlock: u32 = 204; -pub const SYS_undelete: u32 = 205; -pub const SYS_futimes: u32 = 206; -pub const SYS_getpgid: u32 = 207; -pub const SYS_poll: u32 = 209; -pub const SYS_freebsd7___semctl: u32 = 220; -pub const SYS_semget: u32 = 221; -pub const SYS_semop: u32 = 222; -pub const SYS_freebsd7_msgctl: u32 = 224; -pub const SYS_msgget: u32 = 225; -pub const SYS_msgsnd: u32 = 226; -pub const SYS_msgrcv: u32 = 227; -pub const SYS_shmat: u32 = 228; -pub const SYS_freebsd7_shmctl: u32 = 229; -pub const SYS_shmdt: u32 = 230; -pub const SYS_shmget: u32 = 231; -pub const SYS_clock_gettime: u32 = 232; -pub const SYS_clock_settime: u32 = 233; -pub const SYS_clock_getres: u32 = 234; -pub const SYS_ktimer_create: u32 = 235; -pub const SYS_ktimer_delete: u32 = 236; -pub const SYS_ktimer_settime: u32 = 237; -pub const SYS_ktimer_gettime: u32 = 238; -pub const SYS_ktimer_getoverrun: u32 = 239; -pub const SYS_nanosleep: u32 = 240; -pub const SYS_ffclock_getcounter: u32 = 241; -pub const SYS_ffclock_setestimate: u32 = 242; -pub const SYS_ffclock_getestimate: u32 = 243; -pub const SYS_clock_nanosleep: u32 = 244; -pub const SYS_clock_getcpuclockid2: u32 = 247; -pub const SYS_ntp_gettime: u32 = 248; -pub const SYS_minherit: u32 = 250; -pub const SYS_rfork: u32 = 251; -pub const SYS_issetugid: u32 = 253; -pub const SYS_lchown: u32 = 254; -pub const SYS_aio_read: u32 = 255; -pub const SYS_aio_write: u32 = 256; -pub const SYS_lio_listio: u32 = 257; -pub const SYS_freebsd11_getdents: u32 = 272; -pub const SYS_lchmod: u32 = 274; -pub const SYS_lutimes: u32 = 276; -pub const SYS_freebsd11_nstat: u32 = 278; -pub const SYS_freebsd11_nfstat: u32 = 279; -pub const SYS_freebsd11_nlstat: u32 = 280; -pub const SYS_preadv: u32 = 289; -pub const SYS_pwritev: u32 = 290; -pub const SYS_fhopen: u32 = 298; -pub const SYS_freebsd11_fhstat: u32 = 299; -pub const SYS_modnext: u32 = 300; -pub const SYS_modstat: u32 = 301; -pub const SYS_modfnext: u32 = 302; -pub const SYS_modfind: u32 = 303; -pub const SYS_kldload: u32 = 304; -pub const SYS_kldunload: u32 = 305; -pub const SYS_kldfind: u32 = 306; -pub const SYS_kldnext: u32 = 307; -pub const SYS_kldstat: u32 = 308; -pub const SYS_kldfirstmod: u32 = 309; -pub const SYS_getsid: u32 = 310; -pub const SYS_setresuid: u32 = 311; -pub const SYS_setresgid: u32 = 312; -pub const SYS_aio_return: u32 = 314; -pub const SYS_aio_suspend: u32 = 315; -pub const SYS_aio_cancel: u32 = 316; -pub const SYS_aio_error: u32 = 317; -pub const SYS_yield: u32 = 321; -pub const SYS_mlockall: u32 = 324; -pub const SYS_munlockall: u32 = 325; -pub const SYS___getcwd: u32 = 326; -pub const SYS_sched_setparam: u32 = 327; -pub const SYS_sched_getparam: u32 = 328; -pub const SYS_sched_setscheduler: u32 = 329; -pub const SYS_sched_getscheduler: u32 = 330; -pub const SYS_sched_yield: u32 = 331; -pub const SYS_sched_get_priority_max: u32 = 332; -pub const SYS_sched_get_priority_min: u32 = 333; -pub const SYS_sched_rr_get_interval: u32 = 334; -pub const SYS_utrace: u32 = 335; -pub const SYS_kldsym: u32 = 337; -pub const SYS_jail: u32 = 338; -pub const SYS_nnpfs_syscall: u32 = 339; -pub const SYS_sigprocmask: u32 = 340; -pub const SYS_sigsuspend: u32 = 341; -pub const SYS_sigpending: u32 = 343; -pub const SYS_sigtimedwait: u32 = 345; -pub const SYS_sigwaitinfo: u32 = 346; -pub const SYS___acl_get_file: u32 = 347; -pub const SYS___acl_set_file: u32 = 348; -pub const SYS___acl_get_fd: u32 = 349; -pub const SYS___acl_set_fd: u32 = 350; -pub const SYS___acl_delete_file: u32 = 351; -pub const SYS___acl_delete_fd: u32 = 352; -pub const SYS___acl_aclcheck_file: u32 = 353; -pub const SYS___acl_aclcheck_fd: u32 = 354; -pub const SYS_extattrctl: u32 = 355; -pub const SYS_extattr_set_file: u32 = 356; -pub const SYS_extattr_get_file: u32 = 357; -pub const SYS_extattr_delete_file: u32 = 358; -pub const SYS_aio_waitcomplete: u32 = 359; -pub const SYS_getresuid: u32 = 360; -pub const SYS_getresgid: u32 = 361; -pub const SYS_kqueue: u32 = 362; -pub const SYS_freebsd11_kevent: u32 = 363; -pub const SYS_extattr_set_fd: u32 = 371; -pub const SYS_extattr_get_fd: u32 = 372; -pub const SYS_extattr_delete_fd: u32 = 373; -pub const SYS___setugid: u32 = 374; -pub const SYS_eaccess: u32 = 376; -pub const SYS_afs3_syscall: u32 = 377; -pub const SYS_nmount: u32 = 378; -pub const SYS___mac_get_proc: u32 = 384; -pub const SYS___mac_set_proc: u32 = 385; -pub const SYS___mac_get_fd: u32 = 386; -pub const SYS___mac_get_file: u32 = 387; -pub const SYS___mac_set_fd: u32 = 388; -pub const SYS___mac_set_file: u32 = 389; -pub const SYS_kenv: u32 = 390; -pub const SYS_lchflags: u32 = 391; -pub const SYS_uuidgen: u32 = 392; -pub const SYS_sendfile: u32 = 393; -pub const SYS_mac_syscall: u32 = 394; -pub const SYS_freebsd11_getfsstat: u32 = 395; -pub const SYS_freebsd11_statfs: u32 = 396; -pub const SYS_freebsd11_fstatfs: u32 = 397; -pub const SYS_freebsd11_fhstatfs: u32 = 398; -pub const SYS_ksem_close: u32 = 400; -pub const SYS_ksem_post: u32 = 401; -pub const SYS_ksem_wait: u32 = 402; -pub const SYS_ksem_trywait: u32 = 403; -pub const SYS_ksem_init: u32 = 404; -pub const SYS_ksem_open: u32 = 405; -pub const SYS_ksem_unlink: u32 = 406; -pub const SYS_ksem_getvalue: u32 = 407; -pub const SYS_ksem_destroy: u32 = 408; -pub const SYS___mac_get_pid: u32 = 409; -pub const SYS___mac_get_link: u32 = 410; -pub const SYS___mac_set_link: u32 = 411; -pub const SYS_extattr_set_link: u32 = 412; -pub const SYS_extattr_get_link: u32 = 413; -pub const SYS_extattr_delete_link: u32 = 414; -pub const SYS___mac_execve: u32 = 415; -pub const SYS_sigaction: u32 = 416; -pub const SYS_sigreturn: u32 = 417; -pub const SYS_getcontext: u32 = 421; -pub const SYS_setcontext: u32 = 422; -pub const SYS_swapcontext: u32 = 423; -pub const SYS_freebsd13_swapoff: u32 = 424; -pub const SYS___acl_get_link: u32 = 425; -pub const SYS___acl_set_link: u32 = 426; -pub const SYS___acl_delete_link: u32 = 427; -pub const SYS___acl_aclcheck_link: u32 = 428; -pub const SYS_sigwait: u32 = 429; -pub const SYS_thr_create: u32 = 430; -pub const SYS_thr_exit: u32 = 431; -pub const SYS_thr_self: u32 = 432; -pub const SYS_thr_kill: u32 = 433; -pub const SYS_freebsd10__umtx_lock: u32 = 434; -pub const SYS_freebsd10__umtx_unlock: u32 = 435; -pub const SYS_jail_attach: u32 = 436; -pub const SYS_extattr_list_fd: u32 = 437; -pub const SYS_extattr_list_file: u32 = 438; -pub const SYS_extattr_list_link: u32 = 439; -pub const SYS_ksem_timedwait: u32 = 441; -pub const SYS_thr_suspend: u32 = 442; -pub const SYS_thr_wake: u32 = 443; -pub const SYS_kldunloadf: u32 = 444; -pub const SYS_audit: u32 = 445; -pub const SYS_auditon: u32 = 446; -pub const SYS_getauid: u32 = 447; -pub const SYS_setauid: u32 = 448; -pub const SYS_getaudit: u32 = 449; -pub const SYS_setaudit: u32 = 450; -pub const SYS_getaudit_addr: u32 = 451; -pub const SYS_setaudit_addr: u32 = 452; -pub const SYS_auditctl: u32 = 453; -pub const SYS__umtx_op: u32 = 454; -pub const SYS_thr_new: u32 = 455; -pub const SYS_sigqueue: u32 = 456; -pub const SYS_kmq_open: u32 = 457; -pub const SYS_kmq_setattr: u32 = 458; -pub const SYS_kmq_timedreceive: u32 = 459; -pub const SYS_kmq_timedsend: u32 = 460; -pub const SYS_kmq_notify: u32 = 461; -pub const SYS_kmq_unlink: u32 = 462; -pub const SYS_abort2: u32 = 463; -pub const SYS_thr_set_name: u32 = 464; -pub const SYS_aio_fsync: u32 = 465; -pub const SYS_rtprio_thread: u32 = 466; -pub const SYS_sctp_peeloff: u32 = 471; -pub const SYS_sctp_generic_sendmsg: u32 = 472; -pub const SYS_sctp_generic_sendmsg_iov: u32 = 473; -pub const SYS_sctp_generic_recvmsg: u32 = 474; -pub const SYS_pread: u32 = 475; -pub const SYS_pwrite: u32 = 476; -pub const SYS_mmap: u32 = 477; -pub const SYS_lseek: u32 = 478; -pub const SYS_truncate: u32 = 479; -pub const SYS_ftruncate: u32 = 480; -pub const SYS_thr_kill2: u32 = 481; -pub const SYS_freebsd12_shm_open: u32 = 482; -pub const SYS_shm_unlink: u32 = 483; -pub const SYS_cpuset: u32 = 484; -pub const SYS_cpuset_setid: u32 = 485; -pub const SYS_cpuset_getid: u32 = 486; -pub const SYS_cpuset_getaffinity: u32 = 487; -pub const SYS_cpuset_setaffinity: u32 = 488; -pub const SYS_faccessat: u32 = 489; -pub const SYS_fchmodat: u32 = 490; -pub const SYS_fchownat: u32 = 491; -pub const SYS_fexecve: u32 = 492; -pub const SYS_freebsd11_fstatat: u32 = 493; -pub const SYS_futimesat: u32 = 494; -pub const SYS_linkat: u32 = 495; -pub const SYS_mkdirat: u32 = 496; -pub const SYS_mkfifoat: u32 = 497; -pub const SYS_freebsd11_mknodat: u32 = 498; -pub const SYS_openat: u32 = 499; -pub const SYS_readlinkat: u32 = 500; -pub const SYS_renameat: u32 = 501; -pub const SYS_symlinkat: u32 = 502; -pub const SYS_unlinkat: u32 = 503; -pub const SYS_posix_openpt: u32 = 504; -pub const SYS_gssd_syscall: u32 = 505; -pub const SYS_jail_get: u32 = 506; -pub const SYS_jail_set: u32 = 507; -pub const SYS_jail_remove: u32 = 508; -pub const SYS_freebsd12_closefrom: u32 = 509; -pub const SYS___semctl: u32 = 510; -pub const SYS_msgctl: u32 = 511; -pub const SYS_shmctl: u32 = 512; -pub const SYS_lpathconf: u32 = 513; -pub const SYS___cap_rights_get: u32 = 515; -pub const SYS_cap_enter: u32 = 516; -pub const SYS_cap_getmode: u32 = 517; -pub const SYS_pdfork: u32 = 518; -pub const SYS_pdkill: u32 = 519; -pub const SYS_pdgetpid: u32 = 520; -pub const SYS_pselect: u32 = 522; -pub const SYS_getloginclass: u32 = 523; -pub const SYS_setloginclass: u32 = 524; -pub const SYS_rctl_get_racct: u32 = 525; -pub const SYS_rctl_get_rules: u32 = 526; -pub const SYS_rctl_get_limits: u32 = 527; -pub const SYS_rctl_add_rule: u32 = 528; -pub const SYS_rctl_remove_rule: u32 = 529; -pub const SYS_posix_fallocate: u32 = 530; -pub const SYS_posix_fadvise: u32 = 531; -pub const SYS_wait6: u32 = 532; -pub const SYS_cap_rights_limit: u32 = 533; -pub const SYS_cap_ioctls_limit: u32 = 534; -pub const SYS_cap_ioctls_get: u32 = 535; -pub const SYS_cap_fcntls_limit: u32 = 536; -pub const SYS_cap_fcntls_get: u32 = 537; -pub const SYS_bindat: u32 = 538; -pub const SYS_connectat: u32 = 539; -pub const SYS_chflagsat: u32 = 540; -pub const SYS_accept4: u32 = 541; -pub const SYS_pipe2: u32 = 542; -pub const SYS_aio_mlock: u32 = 543; -pub const SYS_procctl: u32 = 544; -pub const SYS_ppoll: u32 = 545; -pub const SYS_futimens: u32 = 546; -pub const SYS_utimensat: u32 = 547; -pub const SYS_fdatasync: u32 = 550; -pub const SYS_fstat: u32 = 551; -pub const SYS_fstatat: u32 = 552; -pub const SYS_fhstat: u32 = 553; -pub const SYS_getdirentries: u32 = 554; -pub const SYS_statfs: u32 = 555; -pub const SYS_fstatfs: u32 = 556; -pub const SYS_getfsstat: u32 = 557; -pub const SYS_fhstatfs: u32 = 558; -pub const SYS_mknodat: u32 = 559; -pub const SYS_kevent: u32 = 560; -pub const SYS_cpuset_getdomain: u32 = 561; -pub const SYS_cpuset_setdomain: u32 = 562; -pub const SYS_getrandom: u32 = 563; -pub const SYS_getfhat: u32 = 564; -pub const SYS_fhlink: u32 = 565; -pub const SYS_fhlinkat: u32 = 566; -pub const SYS_fhreadlink: u32 = 567; -pub const SYS_funlinkat: u32 = 568; -pub const SYS_copy_file_range: u32 = 569; -pub const SYS___sysctlbyname: u32 = 570; -pub const SYS_shm_open2: u32 = 571; -pub const SYS_shm_rename: u32 = 572; -pub const SYS_sigfastblock: u32 = 573; -pub const SYS___realpathat: u32 = 574; -pub const SYS_close_range: u32 = 575; -pub const SYS_rpctls_syscall: u32 = 576; -pub const SYS___specialfd: u32 = 577; -pub const SYS_aio_writev: u32 = 578; -pub const SYS_aio_readv: u32 = 579; -pub const SYS_fspacectl: u32 = 580; -pub const SYS_sched_getcpu: u32 = 581; -pub const SYS_swapoff: u32 = 582; -pub const SYS_kqueuex: u32 = 583; -pub const SYS_membarrier: u32 = 584; -pub const SYS_timerfd_create: u32 = 585; -pub const SYS_timerfd_gettime: u32 = 586; -pub const SYS_timerfd_settime: u32 = 587; -pub const SYS_kcmp: u32 = 588; -pub const SYS_getrlimitusage: u32 = 589; -pub const SYS_MAXSYSCALL: u32 = 590; diff --git a/tests/helper/src/gen/sys/riscv64gc_freebsd/sys_sysctl.rs b/tests/helper/src/gen/sys/riscv64gc_freebsd/sys_sysctl.rs deleted file mode 100644 index c84111ec..00000000 --- a/tests/helper/src/gen/sys/riscv64gc_freebsd/sys_sysctl.rs +++ /dev/null @@ -1,10 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -pub const CTL_KERN: u32 = 1; -pub const KERN_PROC: u32 = 14; -pub const KERN_PROC_AUXV: u32 = 36; diff --git a/tests/helper/src/gen/sys/riscv64gc_fuchsia/mod.rs b/tests/helper/src/gen/sys/riscv64gc_fuchsia/mod.rs deleted file mode 100644 index ff4f4e16..00000000 --- a/tests/helper/src/gen/sys/riscv64gc_fuchsia/mod.rs +++ /dev/null @@ -1,19 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] -mod zircon_system_public_zircon_types; -pub use zircon_system_public_zircon_types::zx_status_t; -mod zircon_system_public_zircon_errors; -pub use zircon_system_public_zircon_errors::ZX_OK; -mod zircon_system_public_zircon_features; -pub use zircon_system_public_zircon_features::ZX_FEATURE_KIND_CPU; -pub use zircon_system_public_zircon_features::ZX_FEATURE_KIND_HW_BREAKPOINT_COUNT; -pub use zircon_system_public_zircon_features::ZX_FEATURE_KIND_HW_WATCHPOINT_COUNT; -pub use zircon_system_public_zircon_features::ZX_FEATURE_KIND_ADDRESS_TAGGING; -pub use zircon_system_public_zircon_features::ZX_FEATURE_KIND_VM; -pub use zircon_system_public_zircon_features::ZX_HAS_CPU_FEATURES; -pub use zircon_system_public_zircon_features::ZX_VM_FEATURE_CAN_MAP_XOM; -pub type c_char = u8; diff --git a/tests/helper/src/gen/sys/riscv64gc_fuchsia/zircon_system_public_zircon_errors.rs b/tests/helper/src/gen/sys/riscv64gc_fuchsia/zircon_system_public_zircon_errors.rs deleted file mode 100644 index b077ae8e..00000000 --- a/tests/helper/src/gen/sys/riscv64gc_fuchsia/zircon_system_public_zircon_errors.rs +++ /dev/null @@ -1,8 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -pub const ZX_OK: u32 = 0; diff --git a/tests/helper/src/gen/sys/riscv64gc_fuchsia/zircon_system_public_zircon_features.rs b/tests/helper/src/gen/sys/riscv64gc_fuchsia/zircon_system_public_zircon_features.rs deleted file mode 100644 index a06b9459..00000000 --- a/tests/helper/src/gen/sys/riscv64gc_fuchsia/zircon_system_public_zircon_features.rs +++ /dev/null @@ -1,14 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -pub const ZX_FEATURE_KIND_CPU: u32 = 0u8 as u32; -pub const ZX_FEATURE_KIND_HW_BREAKPOINT_COUNT: u32 = 1u8 as u32; -pub const ZX_FEATURE_KIND_HW_WATCHPOINT_COUNT: u32 = 2u8 as u32; -pub const ZX_FEATURE_KIND_ADDRESS_TAGGING: u32 = 3u8 as u32; -pub const ZX_FEATURE_KIND_VM: u32 = 4u8 as u32; -pub const ZX_HAS_CPU_FEATURES: u32 = 1u8 as u32; -pub const ZX_VM_FEATURE_CAN_MAP_XOM: u32 = 1u8 as u32; diff --git a/tests/helper/src/gen/sys/riscv64gc_fuchsia/zircon_system_public_zircon_types.rs b/tests/helper/src/gen/sys/riscv64gc_fuchsia/zircon_system_public_zircon_types.rs deleted file mode 100644 index 2821fdd6..00000000 --- a/tests/helper/src/gen/sys/riscv64gc_fuchsia/zircon_system_public_zircon_types.rs +++ /dev/null @@ -1,8 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -pub type zx_status_t = i32; diff --git a/tests/helper/src/gen/sys/riscv64gc_linux_gnu/dlfcn.rs b/tests/helper/src/gen/sys/riscv64gc_linux_gnu/dlfcn.rs deleted file mode 100644 index 0c516f36..00000000 --- a/tests/helper/src/gen/sys/riscv64gc_linux_gnu/dlfcn.rs +++ /dev/null @@ -1,14 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -pub const RTLD_DEFAULT: *mut ::std::os::raw::c_void = ::core::ptr::null_mut(); -extern "C" { - pub fn dlsym( - __handle: *mut ::core::ffi::c_void, - __name: *const ::std::os::raw::c_char, - ) -> *mut ::core::ffi::c_void; -} diff --git a/tests/helper/src/gen/sys/riscv64gc_linux_gnu/elf.rs b/tests/helper/src/gen/sys/riscv64gc_linux_gnu/elf.rs deleted file mode 100644 index a3c1790d..00000000 --- a/tests/helper/src/gen/sys/riscv64gc_linux_gnu/elf.rs +++ /dev/null @@ -1,29 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -#[repr(C)] -#[derive(Copy, Clone)] -pub struct Elf32_auxv_t { - pub a_type: u32, - pub a_un: Elf32_auxv_t__bindgen_ty_1, -} -#[repr(C)] -#[derive(Copy, Clone)] -pub union Elf32_auxv_t__bindgen_ty_1 { - pub a_val: u32, -} -#[repr(C)] -#[derive(Copy, Clone)] -pub struct Elf64_auxv_t { - pub a_type: u64, - pub a_un: Elf64_auxv_t__bindgen_ty_1, -} -#[repr(C)] -#[derive(Copy, Clone)] -pub union Elf64_auxv_t__bindgen_ty_1 { - pub a_val: u64, -} diff --git a/tests/helper/src/gen/sys/riscv64gc_linux_gnu/linux_headers_asm_hwcap.rs b/tests/helper/src/gen/sys/riscv64gc_linux_gnu/linux_headers_asm_hwcap.rs deleted file mode 100644 index fc615659..00000000 --- a/tests/helper/src/gen/sys/riscv64gc_linux_gnu/linux_headers_asm_hwcap.rs +++ /dev/null @@ -1,7 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - diff --git a/tests/helper/src/gen/sys/riscv64gc_linux_gnu/linux_headers_asm_hwprobe.rs b/tests/helper/src/gen/sys/riscv64gc_linux_gnu/linux_headers_asm_hwprobe.rs deleted file mode 100644 index ae69d15b..00000000 --- a/tests/helper/src/gen/sys/riscv64gc_linux_gnu/linux_headers_asm_hwprobe.rs +++ /dev/null @@ -1,87 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -pub type __s64 = ::std::os::raw::c_longlong; -pub type __u64 = ::std::os::raw::c_ulonglong; -#[repr(C)] -#[derive(Copy, Clone)] -pub struct riscv_hwprobe { - pub key: __s64, - pub value: __u64, -} -pub const RISCV_HWPROBE_KEY_MVENDORID: u32 = 0; -pub const RISCV_HWPROBE_KEY_MARCHID: u32 = 1; -pub const RISCV_HWPROBE_KEY_MIMPID: u32 = 2; -pub const RISCV_HWPROBE_KEY_BASE_BEHAVIOR: u32 = 3; -pub const RISCV_HWPROBE_BASE_BEHAVIOR_IMA: u32 = 1; -pub const RISCV_HWPROBE_KEY_IMA_EXT_0: u32 = 4; -pub const RISCV_HWPROBE_IMA_FD: u32 = 1; -pub const RISCV_HWPROBE_IMA_C: u32 = 2; -pub const RISCV_HWPROBE_IMA_V: u32 = 4; -pub const RISCV_HWPROBE_EXT_ZBA: u32 = 8; -pub const RISCV_HWPROBE_EXT_ZBB: u32 = 16; -pub const RISCV_HWPROBE_EXT_ZBS: u32 = 32; -pub const RISCV_HWPROBE_EXT_ZICBOZ: u32 = 64; -pub const RISCV_HWPROBE_EXT_ZBC: u32 = 128; -pub const RISCV_HWPROBE_EXT_ZBKB: u32 = 256; -pub const RISCV_HWPROBE_EXT_ZBKC: u32 = 512; -pub const RISCV_HWPROBE_EXT_ZBKX: u32 = 1024; -pub const RISCV_HWPROBE_EXT_ZKND: u32 = 2048; -pub const RISCV_HWPROBE_EXT_ZKNE: u32 = 4096; -pub const RISCV_HWPROBE_EXT_ZKNH: u32 = 8192; -pub const RISCV_HWPROBE_EXT_ZKSED: u32 = 16384; -pub const RISCV_HWPROBE_EXT_ZKSH: u32 = 32768; -pub const RISCV_HWPROBE_EXT_ZKT: u32 = 65536; -pub const RISCV_HWPROBE_EXT_ZVBB: u32 = 131072; -pub const RISCV_HWPROBE_EXT_ZVBC: u32 = 262144; -pub const RISCV_HWPROBE_EXT_ZVKB: u32 = 524288; -pub const RISCV_HWPROBE_EXT_ZVKG: u32 = 1048576; -pub const RISCV_HWPROBE_EXT_ZVKNED: u32 = 2097152; -pub const RISCV_HWPROBE_EXT_ZVKNHA: u32 = 4194304; -pub const RISCV_HWPROBE_EXT_ZVKNHB: u32 = 8388608; -pub const RISCV_HWPROBE_EXT_ZVKSED: u32 = 16777216; -pub const RISCV_HWPROBE_EXT_ZVKSH: u32 = 33554432; -pub const RISCV_HWPROBE_EXT_ZVKT: u32 = 67108864; -pub const RISCV_HWPROBE_EXT_ZFH: u32 = 134217728; -pub const RISCV_HWPROBE_EXT_ZFHMIN: u32 = 268435456; -pub const RISCV_HWPROBE_EXT_ZIHINTNTL: u32 = 536870912; -pub const RISCV_HWPROBE_EXT_ZVFH: u32 = 1073741824; -pub const RISCV_HWPROBE_EXT_ZVFHMIN: u32 = 2147483648; -pub const RISCV_HWPROBE_EXT_ZFA: u64 = 4294967296; -pub const RISCV_HWPROBE_EXT_ZTSO: u64 = 8589934592; -pub const RISCV_HWPROBE_EXT_ZACAS: u64 = 17179869184; -pub const RISCV_HWPROBE_EXT_ZICOND: u64 = 34359738368; -pub const RISCV_HWPROBE_EXT_ZIHINTPAUSE: u64 = 68719476736; -pub const RISCV_HWPROBE_EXT_ZVE32X: u64 = 137438953472; -pub const RISCV_HWPROBE_EXT_ZVE32F: u64 = 274877906944; -pub const RISCV_HWPROBE_EXT_ZVE64X: u64 = 549755813888; -pub const RISCV_HWPROBE_EXT_ZVE64F: u64 = 1099511627776; -pub const RISCV_HWPROBE_EXT_ZVE64D: u64 = 2199023255552; -pub const RISCV_HWPROBE_EXT_ZIMOP: u64 = 4398046511104; -pub const RISCV_HWPROBE_EXT_ZCA: u64 = 8796093022208; -pub const RISCV_HWPROBE_EXT_ZCB: u64 = 17592186044416; -pub const RISCV_HWPROBE_EXT_ZCD: u64 = 35184372088832; -pub const RISCV_HWPROBE_EXT_ZCF: u64 = 70368744177664; -pub const RISCV_HWPROBE_EXT_ZCMOP: u64 = 140737488355328; -pub const RISCV_HWPROBE_EXT_ZAWRS: u64 = 281474976710656; -pub const RISCV_HWPROBE_KEY_CPUPERF_0: u32 = 5; -pub const RISCV_HWPROBE_MISALIGNED_UNKNOWN: u32 = 0; -pub const RISCV_HWPROBE_MISALIGNED_EMULATED: u32 = 1; -pub const RISCV_HWPROBE_MISALIGNED_SLOW: u32 = 2; -pub const RISCV_HWPROBE_MISALIGNED_FAST: u32 = 3; -pub const RISCV_HWPROBE_MISALIGNED_UNSUPPORTED: u32 = 4; -pub const RISCV_HWPROBE_MISALIGNED_MASK: u32 = 7; -pub const RISCV_HWPROBE_KEY_ZICBOZ_BLOCK_SIZE: u32 = 6; -pub const RISCV_HWPROBE_KEY_HIGHEST_VIRT_ADDRESS: u32 = 7; -pub const RISCV_HWPROBE_KEY_TIME_CSR_FREQ: u32 = 8; -pub const RISCV_HWPROBE_KEY_MISALIGNED_SCALAR_PERF: u32 = 9; -pub const RISCV_HWPROBE_MISALIGNED_SCALAR_UNKNOWN: u32 = 0; -pub const RISCV_HWPROBE_MISALIGNED_SCALAR_EMULATED: u32 = 1; -pub const RISCV_HWPROBE_MISALIGNED_SCALAR_SLOW: u32 = 2; -pub const RISCV_HWPROBE_MISALIGNED_SCALAR_FAST: u32 = 3; -pub const RISCV_HWPROBE_MISALIGNED_SCALAR_UNSUPPORTED: u32 = 4; -pub const RISCV_HWPROBE_WHICH_CPUS: u32 = 1; diff --git a/tests/helper/src/gen/sys/riscv64gc_linux_gnu/linux_headers_asm_unistd.rs b/tests/helper/src/gen/sys/riscv64gc_linux_gnu/linux_headers_asm_unistd.rs deleted file mode 100644 index 2854c53b..00000000 --- a/tests/helper/src/gen/sys/riscv64gc_linux_gnu/linux_headers_asm_unistd.rs +++ /dev/null @@ -1,326 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -pub const __NR_io_setup: u32 = 0; -pub const __NR_io_destroy: u32 = 1; -pub const __NR_io_submit: u32 = 2; -pub const __NR_io_cancel: u32 = 3; -pub const __NR_io_getevents: u32 = 4; -pub const __NR_setxattr: u32 = 5; -pub const __NR_lsetxattr: u32 = 6; -pub const __NR_fsetxattr: u32 = 7; -pub const __NR_getxattr: u32 = 8; -pub const __NR_lgetxattr: u32 = 9; -pub const __NR_fgetxattr: u32 = 10; -pub const __NR_listxattr: u32 = 11; -pub const __NR_llistxattr: u32 = 12; -pub const __NR_flistxattr: u32 = 13; -pub const __NR_removexattr: u32 = 14; -pub const __NR_lremovexattr: u32 = 15; -pub const __NR_fremovexattr: u32 = 16; -pub const __NR_getcwd: u32 = 17; -pub const __NR_lookup_dcookie: u32 = 18; -pub const __NR_eventfd2: u32 = 19; -pub const __NR_epoll_create1: u32 = 20; -pub const __NR_epoll_ctl: u32 = 21; -pub const __NR_epoll_pwait: u32 = 22; -pub const __NR_dup: u32 = 23; -pub const __NR_dup3: u32 = 24; -pub const __NR_fcntl: u32 = 25; -pub const __NR_inotify_init1: u32 = 26; -pub const __NR_inotify_add_watch: u32 = 27; -pub const __NR_inotify_rm_watch: u32 = 28; -pub const __NR_ioctl: u32 = 29; -pub const __NR_ioprio_set: u32 = 30; -pub const __NR_ioprio_get: u32 = 31; -pub const __NR_flock: u32 = 32; -pub const __NR_mknodat: u32 = 33; -pub const __NR_mkdirat: u32 = 34; -pub const __NR_unlinkat: u32 = 35; -pub const __NR_symlinkat: u32 = 36; -pub const __NR_linkat: u32 = 37; -pub const __NR_umount2: u32 = 39; -pub const __NR_mount: u32 = 40; -pub const __NR_pivot_root: u32 = 41; -pub const __NR_nfsservctl: u32 = 42; -pub const __NR_statfs: u32 = 43; -pub const __NR_fstatfs: u32 = 44; -pub const __NR_truncate: u32 = 45; -pub const __NR_ftruncate: u32 = 46; -pub const __NR_fallocate: u32 = 47; -pub const __NR_faccessat: u32 = 48; -pub const __NR_chdir: u32 = 49; -pub const __NR_fchdir: u32 = 50; -pub const __NR_chroot: u32 = 51; -pub const __NR_fchmod: u32 = 52; -pub const __NR_fchmodat: u32 = 53; -pub const __NR_fchownat: u32 = 54; -pub const __NR_fchown: u32 = 55; -pub const __NR_openat: u32 = 56; -pub const __NR_close: u32 = 57; -pub const __NR_vhangup: u32 = 58; -pub const __NR_pipe2: u32 = 59; -pub const __NR_quotactl: u32 = 60; -pub const __NR_getdents64: u32 = 61; -pub const __NR_lseek: u32 = 62; -pub const __NR_read: u32 = 63; -pub const __NR_write: u32 = 64; -pub const __NR_readv: u32 = 65; -pub const __NR_writev: u32 = 66; -pub const __NR_pread64: u32 = 67; -pub const __NR_pwrite64: u32 = 68; -pub const __NR_preadv: u32 = 69; -pub const __NR_pwritev: u32 = 70; -pub const __NR_sendfile: u32 = 71; -pub const __NR_pselect6: u32 = 72; -pub const __NR_ppoll: u32 = 73; -pub const __NR_signalfd4: u32 = 74; -pub const __NR_vmsplice: u32 = 75; -pub const __NR_splice: u32 = 76; -pub const __NR_tee: u32 = 77; -pub const __NR_readlinkat: u32 = 78; -pub const __NR_newfstatat: u32 = 79; -pub const __NR_fstat: u32 = 80; -pub const __NR_sync: u32 = 81; -pub const __NR_fsync: u32 = 82; -pub const __NR_fdatasync: u32 = 83; -pub const __NR_sync_file_range: u32 = 84; -pub const __NR_timerfd_create: u32 = 85; -pub const __NR_timerfd_settime: u32 = 86; -pub const __NR_timerfd_gettime: u32 = 87; -pub const __NR_utimensat: u32 = 88; -pub const __NR_acct: u32 = 89; -pub const __NR_capget: u32 = 90; -pub const __NR_capset: u32 = 91; -pub const __NR_personality: u32 = 92; -pub const __NR_exit: u32 = 93; -pub const __NR_exit_group: u32 = 94; -pub const __NR_waitid: u32 = 95; -pub const __NR_set_tid_address: u32 = 96; -pub const __NR_unshare: u32 = 97; -pub const __NR_futex: u32 = 98; -pub const __NR_set_robust_list: u32 = 99; -pub const __NR_get_robust_list: u32 = 100; -pub const __NR_nanosleep: u32 = 101; -pub const __NR_getitimer: u32 = 102; -pub const __NR_setitimer: u32 = 103; -pub const __NR_kexec_load: u32 = 104; -pub const __NR_init_module: u32 = 105; -pub const __NR_delete_module: u32 = 106; -pub const __NR_timer_create: u32 = 107; -pub const __NR_timer_gettime: u32 = 108; -pub const __NR_timer_getoverrun: u32 = 109; -pub const __NR_timer_settime: u32 = 110; -pub const __NR_timer_delete: u32 = 111; -pub const __NR_clock_settime: u32 = 112; -pub const __NR_clock_gettime: u32 = 113; -pub const __NR_clock_getres: u32 = 114; -pub const __NR_clock_nanosleep: u32 = 115; -pub const __NR_syslog: u32 = 116; -pub const __NR_ptrace: u32 = 117; -pub const __NR_sched_setparam: u32 = 118; -pub const __NR_sched_setscheduler: u32 = 119; -pub const __NR_sched_getscheduler: u32 = 120; -pub const __NR_sched_getparam: u32 = 121; -pub const __NR_sched_setaffinity: u32 = 122; -pub const __NR_sched_getaffinity: u32 = 123; -pub const __NR_sched_yield: u32 = 124; -pub const __NR_sched_get_priority_max: u32 = 125; -pub const __NR_sched_get_priority_min: u32 = 126; -pub const __NR_sched_rr_get_interval: u32 = 127; -pub const __NR_restart_syscall: u32 = 128; -pub const __NR_kill: u32 = 129; -pub const __NR_tkill: u32 = 130; -pub const __NR_tgkill: u32 = 131; -pub const __NR_sigaltstack: u32 = 132; -pub const __NR_rt_sigsuspend: u32 = 133; -pub const __NR_rt_sigaction: u32 = 134; -pub const __NR_rt_sigprocmask: u32 = 135; -pub const __NR_rt_sigpending: u32 = 136; -pub const __NR_rt_sigtimedwait: u32 = 137; -pub const __NR_rt_sigqueueinfo: u32 = 138; -pub const __NR_rt_sigreturn: u32 = 139; -pub const __NR_setpriority: u32 = 140; -pub const __NR_getpriority: u32 = 141; -pub const __NR_reboot: u32 = 142; -pub const __NR_setregid: u32 = 143; -pub const __NR_setgid: u32 = 144; -pub const __NR_setreuid: u32 = 145; -pub const __NR_setuid: u32 = 146; -pub const __NR_setresuid: u32 = 147; -pub const __NR_getresuid: u32 = 148; -pub const __NR_setresgid: u32 = 149; -pub const __NR_getresgid: u32 = 150; -pub const __NR_setfsuid: u32 = 151; -pub const __NR_setfsgid: u32 = 152; -pub const __NR_times: u32 = 153; -pub const __NR_setpgid: u32 = 154; -pub const __NR_getpgid: u32 = 155; -pub const __NR_getsid: u32 = 156; -pub const __NR_setsid: u32 = 157; -pub const __NR_getgroups: u32 = 158; -pub const __NR_setgroups: u32 = 159; -pub const __NR_uname: u32 = 160; -pub const __NR_sethostname: u32 = 161; -pub const __NR_setdomainname: u32 = 162; -pub const __NR_getrlimit: u32 = 163; -pub const __NR_setrlimit: u32 = 164; -pub const __NR_getrusage: u32 = 165; -pub const __NR_umask: u32 = 166; -pub const __NR_prctl: u32 = 167; -pub const __NR_getcpu: u32 = 168; -pub const __NR_gettimeofday: u32 = 169; -pub const __NR_settimeofday: u32 = 170; -pub const __NR_adjtimex: u32 = 171; -pub const __NR_getpid: u32 = 172; -pub const __NR_getppid: u32 = 173; -pub const __NR_getuid: u32 = 174; -pub const __NR_geteuid: u32 = 175; -pub const __NR_getgid: u32 = 176; -pub const __NR_getegid: u32 = 177; -pub const __NR_gettid: u32 = 178; -pub const __NR_sysinfo: u32 = 179; -pub const __NR_mq_open: u32 = 180; -pub const __NR_mq_unlink: u32 = 181; -pub const __NR_mq_timedsend: u32 = 182; -pub const __NR_mq_timedreceive: u32 = 183; -pub const __NR_mq_notify: u32 = 184; -pub const __NR_mq_getsetattr: u32 = 185; -pub const __NR_msgget: u32 = 186; -pub const __NR_msgctl: u32 = 187; -pub const __NR_msgrcv: u32 = 188; -pub const __NR_msgsnd: u32 = 189; -pub const __NR_semget: u32 = 190; -pub const __NR_semctl: u32 = 191; -pub const __NR_semtimedop: u32 = 192; -pub const __NR_semop: u32 = 193; -pub const __NR_shmget: u32 = 194; -pub const __NR_shmctl: u32 = 195; -pub const __NR_shmat: u32 = 196; -pub const __NR_shmdt: u32 = 197; -pub const __NR_socket: u32 = 198; -pub const __NR_socketpair: u32 = 199; -pub const __NR_bind: u32 = 200; -pub const __NR_listen: u32 = 201; -pub const __NR_accept: u32 = 202; -pub const __NR_connect: u32 = 203; -pub const __NR_getsockname: u32 = 204; -pub const __NR_getpeername: u32 = 205; -pub const __NR_sendto: u32 = 206; -pub const __NR_recvfrom: u32 = 207; -pub const __NR_setsockopt: u32 = 208; -pub const __NR_getsockopt: u32 = 209; -pub const __NR_shutdown: u32 = 210; -pub const __NR_sendmsg: u32 = 211; -pub const __NR_recvmsg: u32 = 212; -pub const __NR_readahead: u32 = 213; -pub const __NR_brk: u32 = 214; -pub const __NR_munmap: u32 = 215; -pub const __NR_mremap: u32 = 216; -pub const __NR_add_key: u32 = 217; -pub const __NR_request_key: u32 = 218; -pub const __NR_keyctl: u32 = 219; -pub const __NR_clone: u32 = 220; -pub const __NR_execve: u32 = 221; -pub const __NR_mmap: u32 = 222; -pub const __NR_fadvise64: u32 = 223; -pub const __NR_swapon: u32 = 224; -pub const __NR_swapoff: u32 = 225; -pub const __NR_mprotect: u32 = 226; -pub const __NR_msync: u32 = 227; -pub const __NR_mlock: u32 = 228; -pub const __NR_munlock: u32 = 229; -pub const __NR_mlockall: u32 = 230; -pub const __NR_munlockall: u32 = 231; -pub const __NR_mincore: u32 = 232; -pub const __NR_madvise: u32 = 233; -pub const __NR_remap_file_pages: u32 = 234; -pub const __NR_mbind: u32 = 235; -pub const __NR_get_mempolicy: u32 = 236; -pub const __NR_set_mempolicy: u32 = 237; -pub const __NR_migrate_pages: u32 = 238; -pub const __NR_move_pages: u32 = 239; -pub const __NR_rt_tgsigqueueinfo: u32 = 240; -pub const __NR_perf_event_open: u32 = 241; -pub const __NR_accept4: u32 = 242; -pub const __NR_recvmmsg: u32 = 243; -pub const __NR_riscv_hwprobe: u32 = 258; -pub const __NR_riscv_flush_icache: u32 = 259; -pub const __NR_wait4: u32 = 260; -pub const __NR_prlimit64: u32 = 261; -pub const __NR_fanotify_init: u32 = 262; -pub const __NR_fanotify_mark: u32 = 263; -pub const __NR_name_to_handle_at: u32 = 264; -pub const __NR_open_by_handle_at: u32 = 265; -pub const __NR_clock_adjtime: u32 = 266; -pub const __NR_syncfs: u32 = 267; -pub const __NR_setns: u32 = 268; -pub const __NR_sendmmsg: u32 = 269; -pub const __NR_process_vm_readv: u32 = 270; -pub const __NR_process_vm_writev: u32 = 271; -pub const __NR_kcmp: u32 = 272; -pub const __NR_finit_module: u32 = 273; -pub const __NR_sched_setattr: u32 = 274; -pub const __NR_sched_getattr: u32 = 275; -pub const __NR_renameat2: u32 = 276; -pub const __NR_seccomp: u32 = 277; -pub const __NR_getrandom: u32 = 278; -pub const __NR_memfd_create: u32 = 279; -pub const __NR_bpf: u32 = 280; -pub const __NR_execveat: u32 = 281; -pub const __NR_userfaultfd: u32 = 282; -pub const __NR_membarrier: u32 = 283; -pub const __NR_mlock2: u32 = 284; -pub const __NR_copy_file_range: u32 = 285; -pub const __NR_preadv2: u32 = 286; -pub const __NR_pwritev2: u32 = 287; -pub const __NR_pkey_mprotect: u32 = 288; -pub const __NR_pkey_alloc: u32 = 289; -pub const __NR_pkey_free: u32 = 290; -pub const __NR_statx: u32 = 291; -pub const __NR_io_pgetevents: u32 = 292; -pub const __NR_rseq: u32 = 293; -pub const __NR_kexec_file_load: u32 = 294; -pub const __NR_pidfd_send_signal: u32 = 424; -pub const __NR_io_uring_setup: u32 = 425; -pub const __NR_io_uring_enter: u32 = 426; -pub const __NR_io_uring_register: u32 = 427; -pub const __NR_open_tree: u32 = 428; -pub const __NR_move_mount: u32 = 429; -pub const __NR_fsopen: u32 = 430; -pub const __NR_fsconfig: u32 = 431; -pub const __NR_fsmount: u32 = 432; -pub const __NR_fspick: u32 = 433; -pub const __NR_pidfd_open: u32 = 434; -pub const __NR_clone3: u32 = 435; -pub const __NR_close_range: u32 = 436; -pub const __NR_openat2: u32 = 437; -pub const __NR_pidfd_getfd: u32 = 438; -pub const __NR_faccessat2: u32 = 439; -pub const __NR_process_madvise: u32 = 440; -pub const __NR_epoll_pwait2: u32 = 441; -pub const __NR_mount_setattr: u32 = 442; -pub const __NR_quotactl_fd: u32 = 443; -pub const __NR_landlock_create_ruleset: u32 = 444; -pub const __NR_landlock_add_rule: u32 = 445; -pub const __NR_landlock_restrict_self: u32 = 446; -pub const __NR_memfd_secret: u32 = 447; -pub const __NR_process_mrelease: u32 = 448; -pub const __NR_futex_waitv: u32 = 449; -pub const __NR_set_mempolicy_home_node: u32 = 450; -pub const __NR_cachestat: u32 = 451; -pub const __NR_fchmodat2: u32 = 452; -pub const __NR_map_shadow_stack: u32 = 453; -pub const __NR_futex_wake: u32 = 454; -pub const __NR_futex_wait: u32 = 455; -pub const __NR_futex_requeue: u32 = 456; -pub const __NR_statmount: u32 = 457; -pub const __NR_listmount: u32 = 458; -pub const __NR_lsm_get_self_attr: u32 = 459; -pub const __NR_lsm_set_self_attr: u32 = 460; -pub const __NR_lsm_list_modules: u32 = 461; -pub const __NR_mseal: u32 = 462; diff --git a/tests/helper/src/gen/sys/riscv64gc_linux_gnu/linux_headers_linux_auxvec.rs b/tests/helper/src/gen/sys/riscv64gc_linux_gnu/linux_headers_linux_auxvec.rs deleted file mode 100644 index dcb2f60d..00000000 --- a/tests/helper/src/gen/sys/riscv64gc_linux_gnu/linux_headers_linux_auxvec.rs +++ /dev/null @@ -1,45 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -pub const AT_SYSINFO_EHDR: u32 = 33; -pub const AT_L1I_CACHESIZE: u32 = 40; -pub const AT_L1I_CACHEGEOMETRY: u32 = 41; -pub const AT_L1D_CACHESIZE: u32 = 42; -pub const AT_L1D_CACHEGEOMETRY: u32 = 43; -pub const AT_L2_CACHESIZE: u32 = 44; -pub const AT_L2_CACHEGEOMETRY: u32 = 45; -pub const AT_L3_CACHESIZE: u32 = 46; -pub const AT_L3_CACHEGEOMETRY: u32 = 47; -pub const AT_VECTOR_SIZE_ARCH: u32 = 10; -pub const AT_MINSIGSTKSZ: u32 = 51; -pub const AT_NULL: u32 = 0; -pub const AT_IGNORE: u32 = 1; -pub const AT_EXECFD: u32 = 2; -pub const AT_PHDR: u32 = 3; -pub const AT_PHENT: u32 = 4; -pub const AT_PHNUM: u32 = 5; -pub const AT_PAGESZ: u32 = 6; -pub const AT_BASE: u32 = 7; -pub const AT_FLAGS: u32 = 8; -pub const AT_ENTRY: u32 = 9; -pub const AT_NOTELF: u32 = 10; -pub const AT_UID: u32 = 11; -pub const AT_EUID: u32 = 12; -pub const AT_GID: u32 = 13; -pub const AT_EGID: u32 = 14; -pub const AT_PLATFORM: u32 = 15; -pub const AT_HWCAP: u32 = 16; -pub const AT_CLKTCK: u32 = 17; -pub const AT_SECURE: u32 = 23; -pub const AT_BASE_PLATFORM: u32 = 24; -pub const AT_RANDOM: u32 = 25; -pub const AT_HWCAP2: u32 = 26; -pub const AT_RSEQ_FEATURE_SIZE: u32 = 27; -pub const AT_RSEQ_ALIGN: u32 = 28; -pub const AT_HWCAP3: u32 = 29; -pub const AT_HWCAP4: u32 = 30; -pub const AT_EXECFN: u32 = 31; diff --git a/tests/helper/src/gen/sys/riscv64gc_linux_gnu/linux_headers_linux_prctl.rs b/tests/helper/src/gen/sys/riscv64gc_linux_gnu/linux_headers_linux_prctl.rs deleted file mode 100644 index 6eeb3021..00000000 --- a/tests/helper/src/gen/sys/riscv64gc_linux_gnu/linux_headers_linux_prctl.rs +++ /dev/null @@ -1,189 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -pub const PR_SET_PDEATHSIG: u32 = 1; -pub const PR_GET_PDEATHSIG: u32 = 2; -pub const PR_GET_DUMPABLE: u32 = 3; -pub const PR_SET_DUMPABLE: u32 = 4; -pub const PR_GET_UNALIGN: u32 = 5; -pub const PR_SET_UNALIGN: u32 = 6; -pub const PR_UNALIGN_NOPRINT: u32 = 1; -pub const PR_UNALIGN_SIGBUS: u32 = 2; -pub const PR_GET_KEEPCAPS: u32 = 7; -pub const PR_SET_KEEPCAPS: u32 = 8; -pub const PR_GET_FPEMU: u32 = 9; -pub const PR_SET_FPEMU: u32 = 10; -pub const PR_FPEMU_NOPRINT: u32 = 1; -pub const PR_FPEMU_SIGFPE: u32 = 2; -pub const PR_GET_FPEXC: u32 = 11; -pub const PR_SET_FPEXC: u32 = 12; -pub const PR_FP_EXC_SW_ENABLE: u32 = 128; -pub const PR_FP_EXC_DIV: u32 = 65536; -pub const PR_FP_EXC_OVF: u32 = 131072; -pub const PR_FP_EXC_UND: u32 = 262144; -pub const PR_FP_EXC_RES: u32 = 524288; -pub const PR_FP_EXC_INV: u32 = 1048576; -pub const PR_FP_EXC_DISABLED: u32 = 0; -pub const PR_FP_EXC_NONRECOV: u32 = 1; -pub const PR_FP_EXC_ASYNC: u32 = 2; -pub const PR_FP_EXC_PRECISE: u32 = 3; -pub const PR_GET_TIMING: u32 = 13; -pub const PR_SET_TIMING: u32 = 14; -pub const PR_TIMING_STATISTICAL: u32 = 0; -pub const PR_TIMING_TIMESTAMP: u32 = 1; -pub const PR_SET_NAME: u32 = 15; -pub const PR_GET_NAME: u32 = 16; -pub const PR_GET_ENDIAN: u32 = 19; -pub const PR_SET_ENDIAN: u32 = 20; -pub const PR_ENDIAN_BIG: u32 = 0; -pub const PR_ENDIAN_LITTLE: u32 = 1; -pub const PR_ENDIAN_PPC_LITTLE: u32 = 2; -pub const PR_GET_SECCOMP: u32 = 21; -pub const PR_SET_SECCOMP: u32 = 22; -pub const PR_CAPBSET_READ: u32 = 23; -pub const PR_CAPBSET_DROP: u32 = 24; -pub const PR_GET_TSC: u32 = 25; -pub const PR_SET_TSC: u32 = 26; -pub const PR_TSC_ENABLE: u32 = 1; -pub const PR_TSC_SIGSEGV: u32 = 2; -pub const PR_GET_SECUREBITS: u32 = 27; -pub const PR_SET_SECUREBITS: u32 = 28; -pub const PR_SET_TIMERSLACK: u32 = 29; -pub const PR_GET_TIMERSLACK: u32 = 30; -pub const PR_TASK_PERF_EVENTS_DISABLE: u32 = 31; -pub const PR_TASK_PERF_EVENTS_ENABLE: u32 = 32; -pub const PR_MCE_KILL: u32 = 33; -pub const PR_MCE_KILL_CLEAR: u32 = 0; -pub const PR_MCE_KILL_SET: u32 = 1; -pub const PR_MCE_KILL_LATE: u32 = 0; -pub const PR_MCE_KILL_EARLY: u32 = 1; -pub const PR_MCE_KILL_DEFAULT: u32 = 2; -pub const PR_MCE_KILL_GET: u32 = 34; -pub const PR_SET_MM: u32 = 35; -pub const PR_SET_MM_START_CODE: u32 = 1; -pub const PR_SET_MM_END_CODE: u32 = 2; -pub const PR_SET_MM_START_DATA: u32 = 3; -pub const PR_SET_MM_END_DATA: u32 = 4; -pub const PR_SET_MM_START_STACK: u32 = 5; -pub const PR_SET_MM_START_BRK: u32 = 6; -pub const PR_SET_MM_BRK: u32 = 7; -pub const PR_SET_MM_ARG_START: u32 = 8; -pub const PR_SET_MM_ARG_END: u32 = 9; -pub const PR_SET_MM_ENV_START: u32 = 10; -pub const PR_SET_MM_ENV_END: u32 = 11; -pub const PR_SET_MM_AUXV: u32 = 12; -pub const PR_SET_MM_EXE_FILE: u32 = 13; -pub const PR_SET_MM_MAP: u32 = 14; -pub const PR_SET_MM_MAP_SIZE: u32 = 15; -pub const PR_SET_PTRACER: u32 = 1499557217; -pub const PR_SET_PTRACER_ANY: ::std::os::raw::c_ulong = -1i8 as ::std::os::raw::c_ulong; -pub const PR_SET_CHILD_SUBREAPER: u32 = 36; -pub const PR_GET_CHILD_SUBREAPER: u32 = 37; -pub const PR_SET_NO_NEW_PRIVS: u32 = 38; -pub const PR_GET_NO_NEW_PRIVS: u32 = 39; -pub const PR_GET_TID_ADDRESS: u32 = 40; -pub const PR_SET_THP_DISABLE: u32 = 41; -pub const PR_GET_THP_DISABLE: u32 = 42; -pub const PR_MPX_ENABLE_MANAGEMENT: u32 = 43; -pub const PR_MPX_DISABLE_MANAGEMENT: u32 = 44; -pub const PR_SET_FP_MODE: u32 = 45; -pub const PR_GET_FP_MODE: u32 = 46; -pub const PR_FP_MODE_FR: u32 = 1; -pub const PR_FP_MODE_FRE: u32 = 2; -pub const PR_CAP_AMBIENT: u32 = 47; -pub const PR_CAP_AMBIENT_IS_SET: u32 = 1; -pub const PR_CAP_AMBIENT_RAISE: u32 = 2; -pub const PR_CAP_AMBIENT_LOWER: u32 = 3; -pub const PR_CAP_AMBIENT_CLEAR_ALL: u32 = 4; -pub const PR_SVE_SET_VL: u32 = 50; -pub const PR_SVE_SET_VL_ONEXEC: u32 = 262144; -pub const PR_SVE_GET_VL: u32 = 51; -pub const PR_SVE_VL_LEN_MASK: u32 = 65535; -pub const PR_SVE_VL_INHERIT: u32 = 131072; -pub const PR_GET_SPECULATION_CTRL: u32 = 52; -pub const PR_SET_SPECULATION_CTRL: u32 = 53; -pub const PR_SPEC_STORE_BYPASS: u32 = 0; -pub const PR_SPEC_INDIRECT_BRANCH: u32 = 1; -pub const PR_SPEC_L1D_FLUSH: u32 = 2; -pub const PR_SPEC_NOT_AFFECTED: u32 = 0; -pub const PR_SPEC_PRCTL: u32 = 1; -pub const PR_SPEC_ENABLE: u32 = 2; -pub const PR_SPEC_DISABLE: u32 = 4; -pub const PR_SPEC_FORCE_DISABLE: u32 = 8; -pub const PR_SPEC_DISABLE_NOEXEC: u32 = 16; -pub const PR_PAC_RESET_KEYS: u32 = 54; -pub const PR_PAC_APIAKEY: u32 = 1; -pub const PR_PAC_APIBKEY: u32 = 2; -pub const PR_PAC_APDAKEY: u32 = 4; -pub const PR_PAC_APDBKEY: u32 = 8; -pub const PR_PAC_APGAKEY: u32 = 16; -pub const PR_SET_TAGGED_ADDR_CTRL: u32 = 55; -pub const PR_GET_TAGGED_ADDR_CTRL: u32 = 56; -pub const PR_TAGGED_ADDR_ENABLE: u32 = 1; -pub const PR_MTE_TCF_NONE: u32 = 0; -pub const PR_MTE_TCF_SYNC: u32 = 2; -pub const PR_MTE_TCF_ASYNC: u32 = 4; -pub const PR_MTE_TCF_MASK: u32 = 6; -pub const PR_MTE_TAG_SHIFT: u32 = 3; -pub const PR_MTE_TAG_MASK: u32 = 524280; -pub const PR_MTE_TCF_SHIFT: u32 = 1; -pub const PR_SET_IO_FLUSHER: u32 = 57; -pub const PR_GET_IO_FLUSHER: u32 = 58; -pub const PR_SET_SYSCALL_USER_DISPATCH: u32 = 59; -pub const PR_SYS_DISPATCH_OFF: u32 = 0; -pub const PR_SYS_DISPATCH_ON: u32 = 1; -pub const PR_PAC_SET_ENABLED_KEYS: u32 = 60; -pub const PR_PAC_GET_ENABLED_KEYS: u32 = 61; -pub const PR_SCHED_CORE: u32 = 62; -pub const PR_SCHED_CORE_GET: u32 = 0; -pub const PR_SCHED_CORE_CREATE: u32 = 1; -pub const PR_SCHED_CORE_SHARE_TO: u32 = 2; -pub const PR_SCHED_CORE_SHARE_FROM: u32 = 3; -pub const PR_SCHED_CORE_MAX: u32 = 4; -pub const PR_SCHED_CORE_SCOPE_THREAD: u32 = 0; -pub const PR_SCHED_CORE_SCOPE_THREAD_GROUP: u32 = 1; -pub const PR_SCHED_CORE_SCOPE_PROCESS_GROUP: u32 = 2; -pub const PR_SME_SET_VL: u32 = 63; -pub const PR_SME_SET_VL_ONEXEC: u32 = 262144; -pub const PR_SME_GET_VL: u32 = 64; -pub const PR_SME_VL_LEN_MASK: u32 = 65535; -pub const PR_SME_VL_INHERIT: u32 = 131072; -pub const PR_SET_MDWE: u32 = 65; -pub const PR_MDWE_REFUSE_EXEC_GAIN: u32 = 1; -pub const PR_MDWE_NO_INHERIT: u32 = 2; -pub const PR_GET_MDWE: u32 = 66; -pub const PR_SET_VMA: u32 = 1398164801; -pub const PR_SET_VMA_ANON_NAME: u32 = 0; -pub const PR_GET_AUXV: u32 = 1096112214; -pub const PR_SET_MEMORY_MERGE: u32 = 67; -pub const PR_GET_MEMORY_MERGE: u32 = 68; -pub const PR_RISCV_V_SET_CONTROL: u32 = 69; -pub const PR_RISCV_V_GET_CONTROL: u32 = 70; -pub const PR_RISCV_V_VSTATE_CTRL_DEFAULT: u32 = 0; -pub const PR_RISCV_V_VSTATE_CTRL_OFF: u32 = 1; -pub const PR_RISCV_V_VSTATE_CTRL_ON: u32 = 2; -pub const PR_RISCV_V_VSTATE_CTRL_INHERIT: u32 = 16; -pub const PR_RISCV_V_VSTATE_CTRL_CUR_MASK: u32 = 3; -pub const PR_RISCV_V_VSTATE_CTRL_NEXT_MASK: u32 = 12; -pub const PR_RISCV_V_VSTATE_CTRL_MASK: u32 = 31; -pub const PR_RISCV_SET_ICACHE_FLUSH_CTX: u32 = 71; -pub const PR_RISCV_CTX_SW_FENCEI_ON: u32 = 0; -pub const PR_RISCV_CTX_SW_FENCEI_OFF: u32 = 1; -pub const PR_RISCV_SCOPE_PER_PROCESS: u32 = 0; -pub const PR_RISCV_SCOPE_PER_THREAD: u32 = 1; -pub const PR_PPC_GET_DEXCR: u32 = 72; -pub const PR_PPC_SET_DEXCR: u32 = 73; -pub const PR_PPC_DEXCR_SBHE: u32 = 0; -pub const PR_PPC_DEXCR_IBRTPD: u32 = 1; -pub const PR_PPC_DEXCR_SRAPD: u32 = 2; -pub const PR_PPC_DEXCR_NPHIE: u32 = 3; -pub const PR_PPC_DEXCR_CTRL_EDITABLE: u32 = 1; -pub const PR_PPC_DEXCR_CTRL_SET: u32 = 2; -pub const PR_PPC_DEXCR_CTRL_CLEAR: u32 = 4; -pub const PR_PPC_DEXCR_CTRL_SET_ONEXEC: u32 = 8; -pub const PR_PPC_DEXCR_CTRL_CLEAR_ONEXEC: u32 = 16; -pub const PR_PPC_DEXCR_CTRL_MASK: u32 = 31; diff --git a/tests/helper/src/gen/sys/riscv64gc_linux_gnu/mod.rs b/tests/helper/src/gen/sys/riscv64gc_linux_gnu/mod.rs deleted file mode 100644 index 22cb17fa..00000000 --- a/tests/helper/src/gen/sys/riscv64gc_linux_gnu/mod.rs +++ /dev/null @@ -1,634 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] -mod linux_headers_asm_hwcap; -mod linux_headers_asm_hwprobe; -pub use linux_headers_asm_hwprobe::riscv_hwprobe; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_KEY_MVENDORID; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_KEY_MARCHID; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_KEY_MIMPID; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_KEY_BASE_BEHAVIOR; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_BASE_BEHAVIOR_IMA; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_KEY_IMA_EXT_0; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_IMA_FD; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_IMA_C; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_IMA_V; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZBA; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZBB; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZBS; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZICBOZ; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZBC; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZBKB; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZBKC; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZBKX; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZKND; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZKNE; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZKNH; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZKSED; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZKSH; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZKT; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZVBB; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZVBC; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZVKB; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZVKG; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZVKNED; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZVKNHA; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZVKNHB; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZVKSED; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZVKSH; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZVKT; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZFH; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZFHMIN; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZIHINTNTL; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZVFH; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZVFHMIN; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZFA; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZTSO; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZACAS; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZICOND; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZIHINTPAUSE; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZVE32X; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZVE32F; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZVE64X; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZVE64F; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZVE64D; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZIMOP; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZCA; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZCB; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZCD; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZCF; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZCMOP; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZAWRS; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_KEY_CPUPERF_0; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_MISALIGNED_UNKNOWN; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_MISALIGNED_EMULATED; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_MISALIGNED_SLOW; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_MISALIGNED_FAST; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_MISALIGNED_UNSUPPORTED; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_MISALIGNED_MASK; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_KEY_ZICBOZ_BLOCK_SIZE; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_KEY_HIGHEST_VIRT_ADDRESS; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_KEY_TIME_CSR_FREQ; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_KEY_MISALIGNED_SCALAR_PERF; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_MISALIGNED_SCALAR_UNKNOWN; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_MISALIGNED_SCALAR_EMULATED; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_MISALIGNED_SCALAR_SLOW; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_MISALIGNED_SCALAR_FAST; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_MISALIGNED_SCALAR_UNSUPPORTED; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_WHICH_CPUS; -mod linux_headers_asm_unistd; -pub use linux_headers_asm_unistd::__NR_io_setup; -pub use linux_headers_asm_unistd::__NR_io_destroy; -pub use linux_headers_asm_unistd::__NR_io_submit; -pub use linux_headers_asm_unistd::__NR_io_cancel; -pub use linux_headers_asm_unistd::__NR_io_getevents; -pub use linux_headers_asm_unistd::__NR_setxattr; -pub use linux_headers_asm_unistd::__NR_lsetxattr; -pub use linux_headers_asm_unistd::__NR_fsetxattr; -pub use linux_headers_asm_unistd::__NR_getxattr; -pub use linux_headers_asm_unistd::__NR_lgetxattr; -pub use linux_headers_asm_unistd::__NR_fgetxattr; -pub use linux_headers_asm_unistd::__NR_listxattr; -pub use linux_headers_asm_unistd::__NR_llistxattr; -pub use linux_headers_asm_unistd::__NR_flistxattr; -pub use linux_headers_asm_unistd::__NR_removexattr; -pub use linux_headers_asm_unistd::__NR_lremovexattr; -pub use linux_headers_asm_unistd::__NR_fremovexattr; -pub use linux_headers_asm_unistd::__NR_getcwd; -pub use linux_headers_asm_unistd::__NR_lookup_dcookie; -pub use linux_headers_asm_unistd::__NR_eventfd2; -pub use linux_headers_asm_unistd::__NR_epoll_create1; -pub use linux_headers_asm_unistd::__NR_epoll_ctl; -pub use linux_headers_asm_unistd::__NR_epoll_pwait; -pub use linux_headers_asm_unistd::__NR_dup; -pub use linux_headers_asm_unistd::__NR_dup3; -pub use linux_headers_asm_unistd::__NR_fcntl; -pub use linux_headers_asm_unistd::__NR_inotify_init1; -pub use linux_headers_asm_unistd::__NR_inotify_add_watch; -pub use linux_headers_asm_unistd::__NR_inotify_rm_watch; -pub use linux_headers_asm_unistd::__NR_ioctl; -pub use linux_headers_asm_unistd::__NR_ioprio_set; -pub use linux_headers_asm_unistd::__NR_ioprio_get; -pub use linux_headers_asm_unistd::__NR_flock; -pub use linux_headers_asm_unistd::__NR_mknodat; -pub use linux_headers_asm_unistd::__NR_mkdirat; -pub use linux_headers_asm_unistd::__NR_unlinkat; -pub use linux_headers_asm_unistd::__NR_symlinkat; -pub use linux_headers_asm_unistd::__NR_linkat; -pub use linux_headers_asm_unistd::__NR_umount2; -pub use linux_headers_asm_unistd::__NR_mount; -pub use linux_headers_asm_unistd::__NR_pivot_root; -pub use linux_headers_asm_unistd::__NR_nfsservctl; -pub use linux_headers_asm_unistd::__NR_statfs; -pub use linux_headers_asm_unistd::__NR_fstatfs; -pub use linux_headers_asm_unistd::__NR_truncate; -pub use linux_headers_asm_unistd::__NR_ftruncate; -pub use linux_headers_asm_unistd::__NR_fallocate; -pub use linux_headers_asm_unistd::__NR_faccessat; -pub use linux_headers_asm_unistd::__NR_chdir; -pub use linux_headers_asm_unistd::__NR_fchdir; -pub use linux_headers_asm_unistd::__NR_chroot; -pub use linux_headers_asm_unistd::__NR_fchmod; -pub use linux_headers_asm_unistd::__NR_fchmodat; -pub use linux_headers_asm_unistd::__NR_fchownat; -pub use linux_headers_asm_unistd::__NR_fchown; -pub use linux_headers_asm_unistd::__NR_openat; -pub use linux_headers_asm_unistd::__NR_close; -pub use linux_headers_asm_unistd::__NR_vhangup; -pub use linux_headers_asm_unistd::__NR_pipe2; -pub use linux_headers_asm_unistd::__NR_quotactl; -pub use linux_headers_asm_unistd::__NR_getdents64; -pub use linux_headers_asm_unistd::__NR_lseek; -pub use linux_headers_asm_unistd::__NR_read; -pub use linux_headers_asm_unistd::__NR_write; -pub use linux_headers_asm_unistd::__NR_readv; -pub use linux_headers_asm_unistd::__NR_writev; -pub use linux_headers_asm_unistd::__NR_pread64; -pub use linux_headers_asm_unistd::__NR_pwrite64; -pub use linux_headers_asm_unistd::__NR_preadv; -pub use linux_headers_asm_unistd::__NR_pwritev; -pub use linux_headers_asm_unistd::__NR_sendfile; -pub use linux_headers_asm_unistd::__NR_pselect6; -pub use linux_headers_asm_unistd::__NR_ppoll; -pub use linux_headers_asm_unistd::__NR_signalfd4; -pub use linux_headers_asm_unistd::__NR_vmsplice; -pub use linux_headers_asm_unistd::__NR_splice; -pub use linux_headers_asm_unistd::__NR_tee; -pub use linux_headers_asm_unistd::__NR_readlinkat; -pub use linux_headers_asm_unistd::__NR_newfstatat; -pub use linux_headers_asm_unistd::__NR_fstat; -pub use linux_headers_asm_unistd::__NR_sync; -pub use linux_headers_asm_unistd::__NR_fsync; -pub use linux_headers_asm_unistd::__NR_fdatasync; -pub use linux_headers_asm_unistd::__NR_sync_file_range; -pub use linux_headers_asm_unistd::__NR_timerfd_create; -pub use linux_headers_asm_unistd::__NR_timerfd_settime; -pub use linux_headers_asm_unistd::__NR_timerfd_gettime; -pub use linux_headers_asm_unistd::__NR_utimensat; -pub use linux_headers_asm_unistd::__NR_acct; -pub use linux_headers_asm_unistd::__NR_capget; -pub use linux_headers_asm_unistd::__NR_capset; -pub use linux_headers_asm_unistd::__NR_personality; -pub use linux_headers_asm_unistd::__NR_exit; -pub use linux_headers_asm_unistd::__NR_exit_group; -pub use linux_headers_asm_unistd::__NR_waitid; -pub use linux_headers_asm_unistd::__NR_set_tid_address; -pub use linux_headers_asm_unistd::__NR_unshare; -pub use linux_headers_asm_unistd::__NR_futex; -pub use linux_headers_asm_unistd::__NR_set_robust_list; -pub use linux_headers_asm_unistd::__NR_get_robust_list; -pub use linux_headers_asm_unistd::__NR_nanosleep; -pub use linux_headers_asm_unistd::__NR_getitimer; -pub use linux_headers_asm_unistd::__NR_setitimer; -pub use linux_headers_asm_unistd::__NR_kexec_load; -pub use linux_headers_asm_unistd::__NR_init_module; -pub use linux_headers_asm_unistd::__NR_delete_module; -pub use linux_headers_asm_unistd::__NR_timer_create; -pub use linux_headers_asm_unistd::__NR_timer_gettime; -pub use linux_headers_asm_unistd::__NR_timer_getoverrun; -pub use linux_headers_asm_unistd::__NR_timer_settime; -pub use linux_headers_asm_unistd::__NR_timer_delete; -pub use linux_headers_asm_unistd::__NR_clock_settime; -pub use linux_headers_asm_unistd::__NR_clock_gettime; -pub use linux_headers_asm_unistd::__NR_clock_getres; -pub use linux_headers_asm_unistd::__NR_clock_nanosleep; -pub use linux_headers_asm_unistd::__NR_syslog; -pub use linux_headers_asm_unistd::__NR_ptrace; -pub use linux_headers_asm_unistd::__NR_sched_setparam; -pub use linux_headers_asm_unistd::__NR_sched_setscheduler; -pub use linux_headers_asm_unistd::__NR_sched_getscheduler; -pub use linux_headers_asm_unistd::__NR_sched_getparam; -pub use linux_headers_asm_unistd::__NR_sched_setaffinity; -pub use linux_headers_asm_unistd::__NR_sched_getaffinity; -pub use linux_headers_asm_unistd::__NR_sched_yield; -pub use linux_headers_asm_unistd::__NR_sched_get_priority_max; -pub use linux_headers_asm_unistd::__NR_sched_get_priority_min; -pub use linux_headers_asm_unistd::__NR_sched_rr_get_interval; -pub use linux_headers_asm_unistd::__NR_restart_syscall; -pub use linux_headers_asm_unistd::__NR_kill; -pub use linux_headers_asm_unistd::__NR_tkill; -pub use linux_headers_asm_unistd::__NR_tgkill; -pub use linux_headers_asm_unistd::__NR_sigaltstack; -pub use linux_headers_asm_unistd::__NR_rt_sigsuspend; -pub use linux_headers_asm_unistd::__NR_rt_sigaction; -pub use linux_headers_asm_unistd::__NR_rt_sigprocmask; -pub use linux_headers_asm_unistd::__NR_rt_sigpending; -pub use linux_headers_asm_unistd::__NR_rt_sigtimedwait; -pub use linux_headers_asm_unistd::__NR_rt_sigqueueinfo; -pub use linux_headers_asm_unistd::__NR_rt_sigreturn; -pub use linux_headers_asm_unistd::__NR_setpriority; -pub use linux_headers_asm_unistd::__NR_getpriority; -pub use linux_headers_asm_unistd::__NR_reboot; -pub use linux_headers_asm_unistd::__NR_setregid; -pub use linux_headers_asm_unistd::__NR_setgid; -pub use linux_headers_asm_unistd::__NR_setreuid; -pub use linux_headers_asm_unistd::__NR_setuid; -pub use linux_headers_asm_unistd::__NR_setresuid; -pub use linux_headers_asm_unistd::__NR_getresuid; -pub use linux_headers_asm_unistd::__NR_setresgid; -pub use linux_headers_asm_unistd::__NR_getresgid; -pub use linux_headers_asm_unistd::__NR_setfsuid; -pub use linux_headers_asm_unistd::__NR_setfsgid; -pub use linux_headers_asm_unistd::__NR_times; -pub use linux_headers_asm_unistd::__NR_setpgid; -pub use linux_headers_asm_unistd::__NR_getpgid; -pub use linux_headers_asm_unistd::__NR_getsid; -pub use linux_headers_asm_unistd::__NR_setsid; -pub use linux_headers_asm_unistd::__NR_getgroups; -pub use linux_headers_asm_unistd::__NR_setgroups; -pub use linux_headers_asm_unistd::__NR_uname; -pub use linux_headers_asm_unistd::__NR_sethostname; -pub use linux_headers_asm_unistd::__NR_setdomainname; -pub use linux_headers_asm_unistd::__NR_getrlimit; -pub use linux_headers_asm_unistd::__NR_setrlimit; -pub use linux_headers_asm_unistd::__NR_getrusage; -pub use linux_headers_asm_unistd::__NR_umask; -pub use linux_headers_asm_unistd::__NR_prctl; -pub use linux_headers_asm_unistd::__NR_getcpu; -pub use linux_headers_asm_unistd::__NR_gettimeofday; -pub use linux_headers_asm_unistd::__NR_settimeofday; -pub use linux_headers_asm_unistd::__NR_adjtimex; -pub use linux_headers_asm_unistd::__NR_getpid; -pub use linux_headers_asm_unistd::__NR_getppid; -pub use linux_headers_asm_unistd::__NR_getuid; -pub use linux_headers_asm_unistd::__NR_geteuid; -pub use linux_headers_asm_unistd::__NR_getgid; -pub use linux_headers_asm_unistd::__NR_getegid; -pub use linux_headers_asm_unistd::__NR_gettid; -pub use linux_headers_asm_unistd::__NR_sysinfo; -pub use linux_headers_asm_unistd::__NR_mq_open; -pub use linux_headers_asm_unistd::__NR_mq_unlink; -pub use linux_headers_asm_unistd::__NR_mq_timedsend; -pub use linux_headers_asm_unistd::__NR_mq_timedreceive; -pub use linux_headers_asm_unistd::__NR_mq_notify; -pub use linux_headers_asm_unistd::__NR_mq_getsetattr; -pub use linux_headers_asm_unistd::__NR_msgget; -pub use linux_headers_asm_unistd::__NR_msgctl; -pub use linux_headers_asm_unistd::__NR_msgrcv; -pub use linux_headers_asm_unistd::__NR_msgsnd; -pub use linux_headers_asm_unistd::__NR_semget; -pub use linux_headers_asm_unistd::__NR_semctl; -pub use linux_headers_asm_unistd::__NR_semtimedop; -pub use linux_headers_asm_unistd::__NR_semop; -pub use linux_headers_asm_unistd::__NR_shmget; -pub use linux_headers_asm_unistd::__NR_shmctl; -pub use linux_headers_asm_unistd::__NR_shmat; -pub use linux_headers_asm_unistd::__NR_shmdt; -pub use linux_headers_asm_unistd::__NR_socket; -pub use linux_headers_asm_unistd::__NR_socketpair; -pub use linux_headers_asm_unistd::__NR_bind; -pub use linux_headers_asm_unistd::__NR_listen; -pub use linux_headers_asm_unistd::__NR_accept; -pub use linux_headers_asm_unistd::__NR_connect; -pub use linux_headers_asm_unistd::__NR_getsockname; -pub use linux_headers_asm_unistd::__NR_getpeername; -pub use linux_headers_asm_unistd::__NR_sendto; -pub use linux_headers_asm_unistd::__NR_recvfrom; -pub use linux_headers_asm_unistd::__NR_setsockopt; -pub use linux_headers_asm_unistd::__NR_getsockopt; -pub use linux_headers_asm_unistd::__NR_shutdown; -pub use linux_headers_asm_unistd::__NR_sendmsg; -pub use linux_headers_asm_unistd::__NR_recvmsg; -pub use linux_headers_asm_unistd::__NR_readahead; -pub use linux_headers_asm_unistd::__NR_brk; -pub use linux_headers_asm_unistd::__NR_munmap; -pub use linux_headers_asm_unistd::__NR_mremap; -pub use linux_headers_asm_unistd::__NR_add_key; -pub use linux_headers_asm_unistd::__NR_request_key; -pub use linux_headers_asm_unistd::__NR_keyctl; -pub use linux_headers_asm_unistd::__NR_clone; -pub use linux_headers_asm_unistd::__NR_execve; -pub use linux_headers_asm_unistd::__NR_mmap; -pub use linux_headers_asm_unistd::__NR_fadvise64; -pub use linux_headers_asm_unistd::__NR_swapon; -pub use linux_headers_asm_unistd::__NR_swapoff; -pub use linux_headers_asm_unistd::__NR_mprotect; -pub use linux_headers_asm_unistd::__NR_msync; -pub use linux_headers_asm_unistd::__NR_mlock; -pub use linux_headers_asm_unistd::__NR_munlock; -pub use linux_headers_asm_unistd::__NR_mlockall; -pub use linux_headers_asm_unistd::__NR_munlockall; -pub use linux_headers_asm_unistd::__NR_mincore; -pub use linux_headers_asm_unistd::__NR_madvise; -pub use linux_headers_asm_unistd::__NR_remap_file_pages; -pub use linux_headers_asm_unistd::__NR_mbind; -pub use linux_headers_asm_unistd::__NR_get_mempolicy; -pub use linux_headers_asm_unistd::__NR_set_mempolicy; -pub use linux_headers_asm_unistd::__NR_migrate_pages; -pub use linux_headers_asm_unistd::__NR_move_pages; -pub use linux_headers_asm_unistd::__NR_rt_tgsigqueueinfo; -pub use linux_headers_asm_unistd::__NR_perf_event_open; -pub use linux_headers_asm_unistd::__NR_accept4; -pub use linux_headers_asm_unistd::__NR_recvmmsg; -pub use linux_headers_asm_unistd::__NR_riscv_hwprobe; -pub use linux_headers_asm_unistd::__NR_riscv_flush_icache; -pub use linux_headers_asm_unistd::__NR_wait4; -pub use linux_headers_asm_unistd::__NR_prlimit64; -pub use linux_headers_asm_unistd::__NR_fanotify_init; -pub use linux_headers_asm_unistd::__NR_fanotify_mark; -pub use linux_headers_asm_unistd::__NR_name_to_handle_at; -pub use linux_headers_asm_unistd::__NR_open_by_handle_at; -pub use linux_headers_asm_unistd::__NR_clock_adjtime; -pub use linux_headers_asm_unistd::__NR_syncfs; -pub use linux_headers_asm_unistd::__NR_setns; -pub use linux_headers_asm_unistd::__NR_sendmmsg; -pub use linux_headers_asm_unistd::__NR_process_vm_readv; -pub use linux_headers_asm_unistd::__NR_process_vm_writev; -pub use linux_headers_asm_unistd::__NR_kcmp; -pub use linux_headers_asm_unistd::__NR_finit_module; -pub use linux_headers_asm_unistd::__NR_sched_setattr; -pub use linux_headers_asm_unistd::__NR_sched_getattr; -pub use linux_headers_asm_unistd::__NR_renameat2; -pub use linux_headers_asm_unistd::__NR_seccomp; -pub use linux_headers_asm_unistd::__NR_getrandom; -pub use linux_headers_asm_unistd::__NR_memfd_create; -pub use linux_headers_asm_unistd::__NR_bpf; -pub use linux_headers_asm_unistd::__NR_execveat; -pub use linux_headers_asm_unistd::__NR_userfaultfd; -pub use linux_headers_asm_unistd::__NR_membarrier; -pub use linux_headers_asm_unistd::__NR_mlock2; -pub use linux_headers_asm_unistd::__NR_copy_file_range; -pub use linux_headers_asm_unistd::__NR_preadv2; -pub use linux_headers_asm_unistd::__NR_pwritev2; -pub use linux_headers_asm_unistd::__NR_pkey_mprotect; -pub use linux_headers_asm_unistd::__NR_pkey_alloc; -pub use linux_headers_asm_unistd::__NR_pkey_free; -pub use linux_headers_asm_unistd::__NR_statx; -pub use linux_headers_asm_unistd::__NR_io_pgetevents; -pub use linux_headers_asm_unistd::__NR_rseq; -pub use linux_headers_asm_unistd::__NR_kexec_file_load; -pub use linux_headers_asm_unistd::__NR_pidfd_send_signal; -pub use linux_headers_asm_unistd::__NR_io_uring_setup; -pub use linux_headers_asm_unistd::__NR_io_uring_enter; -pub use linux_headers_asm_unistd::__NR_io_uring_register; -pub use linux_headers_asm_unistd::__NR_open_tree; -pub use linux_headers_asm_unistd::__NR_move_mount; -pub use linux_headers_asm_unistd::__NR_fsopen; -pub use linux_headers_asm_unistd::__NR_fsconfig; -pub use linux_headers_asm_unistd::__NR_fsmount; -pub use linux_headers_asm_unistd::__NR_fspick; -pub use linux_headers_asm_unistd::__NR_pidfd_open; -pub use linux_headers_asm_unistd::__NR_clone3; -pub use linux_headers_asm_unistd::__NR_close_range; -pub use linux_headers_asm_unistd::__NR_openat2; -pub use linux_headers_asm_unistd::__NR_pidfd_getfd; -pub use linux_headers_asm_unistd::__NR_faccessat2; -pub use linux_headers_asm_unistd::__NR_process_madvise; -pub use linux_headers_asm_unistd::__NR_epoll_pwait2; -pub use linux_headers_asm_unistd::__NR_mount_setattr; -pub use linux_headers_asm_unistd::__NR_quotactl_fd; -pub use linux_headers_asm_unistd::__NR_landlock_create_ruleset; -pub use linux_headers_asm_unistd::__NR_landlock_add_rule; -pub use linux_headers_asm_unistd::__NR_landlock_restrict_self; -pub use linux_headers_asm_unistd::__NR_memfd_secret; -pub use linux_headers_asm_unistd::__NR_process_mrelease; -pub use linux_headers_asm_unistd::__NR_futex_waitv; -pub use linux_headers_asm_unistd::__NR_set_mempolicy_home_node; -pub use linux_headers_asm_unistd::__NR_cachestat; -pub use linux_headers_asm_unistd::__NR_fchmodat2; -pub use linux_headers_asm_unistd::__NR_map_shadow_stack; -pub use linux_headers_asm_unistd::__NR_futex_wake; -pub use linux_headers_asm_unistd::__NR_futex_wait; -pub use linux_headers_asm_unistd::__NR_futex_requeue; -pub use linux_headers_asm_unistd::__NR_statmount; -pub use linux_headers_asm_unistd::__NR_listmount; -pub use linux_headers_asm_unistd::__NR_lsm_get_self_attr; -pub use linux_headers_asm_unistd::__NR_lsm_set_self_attr; -pub use linux_headers_asm_unistd::__NR_lsm_list_modules; -pub use linux_headers_asm_unistd::__NR_mseal; -mod linux_headers_linux_auxvec; -pub use linux_headers_linux_auxvec::AT_SYSINFO_EHDR; -pub use linux_headers_linux_auxvec::AT_L1I_CACHESIZE; -pub use linux_headers_linux_auxvec::AT_L1I_CACHEGEOMETRY; -pub use linux_headers_linux_auxvec::AT_L1D_CACHESIZE; -pub use linux_headers_linux_auxvec::AT_L1D_CACHEGEOMETRY; -pub use linux_headers_linux_auxvec::AT_L2_CACHESIZE; -pub use linux_headers_linux_auxvec::AT_L2_CACHEGEOMETRY; -pub use linux_headers_linux_auxvec::AT_L3_CACHESIZE; -pub use linux_headers_linux_auxvec::AT_L3_CACHEGEOMETRY; -pub use linux_headers_linux_auxvec::AT_VECTOR_SIZE_ARCH; -pub use linux_headers_linux_auxvec::AT_MINSIGSTKSZ; -pub use linux_headers_linux_auxvec::AT_NULL; -pub use linux_headers_linux_auxvec::AT_IGNORE; -pub use linux_headers_linux_auxvec::AT_EXECFD; -pub use linux_headers_linux_auxvec::AT_PHDR; -pub use linux_headers_linux_auxvec::AT_PHENT; -pub use linux_headers_linux_auxvec::AT_PHNUM; -pub use linux_headers_linux_auxvec::AT_PAGESZ; -pub use linux_headers_linux_auxvec::AT_BASE; -pub use linux_headers_linux_auxvec::AT_FLAGS; -pub use linux_headers_linux_auxvec::AT_ENTRY; -pub use linux_headers_linux_auxvec::AT_NOTELF; -pub use linux_headers_linux_auxvec::AT_UID; -pub use linux_headers_linux_auxvec::AT_EUID; -pub use linux_headers_linux_auxvec::AT_GID; -pub use linux_headers_linux_auxvec::AT_EGID; -pub use linux_headers_linux_auxvec::AT_PLATFORM; -pub use linux_headers_linux_auxvec::AT_HWCAP; -pub use linux_headers_linux_auxvec::AT_CLKTCK; -pub use linux_headers_linux_auxvec::AT_SECURE; -pub use linux_headers_linux_auxvec::AT_BASE_PLATFORM; -pub use linux_headers_linux_auxvec::AT_RANDOM; -pub use linux_headers_linux_auxvec::AT_HWCAP2; -pub use linux_headers_linux_auxvec::AT_RSEQ_FEATURE_SIZE; -pub use linux_headers_linux_auxvec::AT_RSEQ_ALIGN; -pub use linux_headers_linux_auxvec::AT_HWCAP3; -pub use linux_headers_linux_auxvec::AT_HWCAP4; -pub use linux_headers_linux_auxvec::AT_EXECFN; -mod linux_headers_linux_prctl; -pub use linux_headers_linux_prctl::PR_SET_PDEATHSIG; -pub use linux_headers_linux_prctl::PR_GET_PDEATHSIG; -pub use linux_headers_linux_prctl::PR_GET_DUMPABLE; -pub use linux_headers_linux_prctl::PR_SET_DUMPABLE; -pub use linux_headers_linux_prctl::PR_GET_UNALIGN; -pub use linux_headers_linux_prctl::PR_SET_UNALIGN; -pub use linux_headers_linux_prctl::PR_UNALIGN_NOPRINT; -pub use linux_headers_linux_prctl::PR_UNALIGN_SIGBUS; -pub use linux_headers_linux_prctl::PR_GET_KEEPCAPS; -pub use linux_headers_linux_prctl::PR_SET_KEEPCAPS; -pub use linux_headers_linux_prctl::PR_GET_FPEMU; -pub use linux_headers_linux_prctl::PR_SET_FPEMU; -pub use linux_headers_linux_prctl::PR_FPEMU_NOPRINT; -pub use linux_headers_linux_prctl::PR_FPEMU_SIGFPE; -pub use linux_headers_linux_prctl::PR_GET_FPEXC; -pub use linux_headers_linux_prctl::PR_SET_FPEXC; -pub use linux_headers_linux_prctl::PR_FP_EXC_SW_ENABLE; -pub use linux_headers_linux_prctl::PR_FP_EXC_DIV; -pub use linux_headers_linux_prctl::PR_FP_EXC_OVF; -pub use linux_headers_linux_prctl::PR_FP_EXC_UND; -pub use linux_headers_linux_prctl::PR_FP_EXC_RES; -pub use linux_headers_linux_prctl::PR_FP_EXC_INV; -pub use linux_headers_linux_prctl::PR_FP_EXC_DISABLED; -pub use linux_headers_linux_prctl::PR_FP_EXC_NONRECOV; -pub use linux_headers_linux_prctl::PR_FP_EXC_ASYNC; -pub use linux_headers_linux_prctl::PR_FP_EXC_PRECISE; -pub use linux_headers_linux_prctl::PR_GET_TIMING; -pub use linux_headers_linux_prctl::PR_SET_TIMING; -pub use linux_headers_linux_prctl::PR_TIMING_STATISTICAL; -pub use linux_headers_linux_prctl::PR_TIMING_TIMESTAMP; -pub use linux_headers_linux_prctl::PR_SET_NAME; -pub use linux_headers_linux_prctl::PR_GET_NAME; -pub use linux_headers_linux_prctl::PR_GET_ENDIAN; -pub use linux_headers_linux_prctl::PR_SET_ENDIAN; -pub use linux_headers_linux_prctl::PR_ENDIAN_BIG; -pub use linux_headers_linux_prctl::PR_ENDIAN_LITTLE; -pub use linux_headers_linux_prctl::PR_ENDIAN_PPC_LITTLE; -pub use linux_headers_linux_prctl::PR_GET_SECCOMP; -pub use linux_headers_linux_prctl::PR_SET_SECCOMP; -pub use linux_headers_linux_prctl::PR_CAPBSET_READ; -pub use linux_headers_linux_prctl::PR_CAPBSET_DROP; -pub use linux_headers_linux_prctl::PR_GET_TSC; -pub use linux_headers_linux_prctl::PR_SET_TSC; -pub use linux_headers_linux_prctl::PR_TSC_ENABLE; -pub use linux_headers_linux_prctl::PR_TSC_SIGSEGV; -pub use linux_headers_linux_prctl::PR_GET_SECUREBITS; -pub use linux_headers_linux_prctl::PR_SET_SECUREBITS; -pub use linux_headers_linux_prctl::PR_SET_TIMERSLACK; -pub use linux_headers_linux_prctl::PR_GET_TIMERSLACK; -pub use linux_headers_linux_prctl::PR_TASK_PERF_EVENTS_DISABLE; -pub use linux_headers_linux_prctl::PR_TASK_PERF_EVENTS_ENABLE; -pub use linux_headers_linux_prctl::PR_MCE_KILL; -pub use linux_headers_linux_prctl::PR_MCE_KILL_CLEAR; -pub use linux_headers_linux_prctl::PR_MCE_KILL_SET; -pub use linux_headers_linux_prctl::PR_MCE_KILL_LATE; -pub use linux_headers_linux_prctl::PR_MCE_KILL_EARLY; -pub use linux_headers_linux_prctl::PR_MCE_KILL_DEFAULT; -pub use linux_headers_linux_prctl::PR_MCE_KILL_GET; -pub use linux_headers_linux_prctl::PR_SET_MM; -pub use linux_headers_linux_prctl::PR_SET_MM_START_CODE; -pub use linux_headers_linux_prctl::PR_SET_MM_END_CODE; -pub use linux_headers_linux_prctl::PR_SET_MM_START_DATA; -pub use linux_headers_linux_prctl::PR_SET_MM_END_DATA; -pub use linux_headers_linux_prctl::PR_SET_MM_START_STACK; -pub use linux_headers_linux_prctl::PR_SET_MM_START_BRK; -pub use linux_headers_linux_prctl::PR_SET_MM_BRK; -pub use linux_headers_linux_prctl::PR_SET_MM_ARG_START; -pub use linux_headers_linux_prctl::PR_SET_MM_ARG_END; -pub use linux_headers_linux_prctl::PR_SET_MM_ENV_START; -pub use linux_headers_linux_prctl::PR_SET_MM_ENV_END; -pub use linux_headers_linux_prctl::PR_SET_MM_AUXV; -pub use linux_headers_linux_prctl::PR_SET_MM_EXE_FILE; -pub use linux_headers_linux_prctl::PR_SET_MM_MAP; -pub use linux_headers_linux_prctl::PR_SET_MM_MAP_SIZE; -pub use linux_headers_linux_prctl::PR_SET_PTRACER; -pub use linux_headers_linux_prctl::PR_SET_PTRACER_ANY; -pub use linux_headers_linux_prctl::PR_SET_CHILD_SUBREAPER; -pub use linux_headers_linux_prctl::PR_GET_CHILD_SUBREAPER; -pub use linux_headers_linux_prctl::PR_SET_NO_NEW_PRIVS; -pub use linux_headers_linux_prctl::PR_GET_NO_NEW_PRIVS; -pub use linux_headers_linux_prctl::PR_GET_TID_ADDRESS; -pub use linux_headers_linux_prctl::PR_SET_THP_DISABLE; -pub use linux_headers_linux_prctl::PR_GET_THP_DISABLE; -pub use linux_headers_linux_prctl::PR_MPX_ENABLE_MANAGEMENT; -pub use linux_headers_linux_prctl::PR_MPX_DISABLE_MANAGEMENT; -pub use linux_headers_linux_prctl::PR_SET_FP_MODE; -pub use linux_headers_linux_prctl::PR_GET_FP_MODE; -pub use linux_headers_linux_prctl::PR_FP_MODE_FR; -pub use linux_headers_linux_prctl::PR_FP_MODE_FRE; -pub use linux_headers_linux_prctl::PR_CAP_AMBIENT; -pub use linux_headers_linux_prctl::PR_CAP_AMBIENT_IS_SET; -pub use linux_headers_linux_prctl::PR_CAP_AMBIENT_RAISE; -pub use linux_headers_linux_prctl::PR_CAP_AMBIENT_LOWER; -pub use linux_headers_linux_prctl::PR_CAP_AMBIENT_CLEAR_ALL; -pub use linux_headers_linux_prctl::PR_SVE_SET_VL; -pub use linux_headers_linux_prctl::PR_SVE_SET_VL_ONEXEC; -pub use linux_headers_linux_prctl::PR_SVE_GET_VL; -pub use linux_headers_linux_prctl::PR_SVE_VL_LEN_MASK; -pub use linux_headers_linux_prctl::PR_SVE_VL_INHERIT; -pub use linux_headers_linux_prctl::PR_GET_SPECULATION_CTRL; -pub use linux_headers_linux_prctl::PR_SET_SPECULATION_CTRL; -pub use linux_headers_linux_prctl::PR_SPEC_STORE_BYPASS; -pub use linux_headers_linux_prctl::PR_SPEC_INDIRECT_BRANCH; -pub use linux_headers_linux_prctl::PR_SPEC_L1D_FLUSH; -pub use linux_headers_linux_prctl::PR_SPEC_NOT_AFFECTED; -pub use linux_headers_linux_prctl::PR_SPEC_PRCTL; -pub use linux_headers_linux_prctl::PR_SPEC_ENABLE; -pub use linux_headers_linux_prctl::PR_SPEC_DISABLE; -pub use linux_headers_linux_prctl::PR_SPEC_FORCE_DISABLE; -pub use linux_headers_linux_prctl::PR_SPEC_DISABLE_NOEXEC; -pub use linux_headers_linux_prctl::PR_PAC_RESET_KEYS; -pub use linux_headers_linux_prctl::PR_PAC_APIAKEY; -pub use linux_headers_linux_prctl::PR_PAC_APIBKEY; -pub use linux_headers_linux_prctl::PR_PAC_APDAKEY; -pub use linux_headers_linux_prctl::PR_PAC_APDBKEY; -pub use linux_headers_linux_prctl::PR_PAC_APGAKEY; -pub use linux_headers_linux_prctl::PR_SET_TAGGED_ADDR_CTRL; -pub use linux_headers_linux_prctl::PR_GET_TAGGED_ADDR_CTRL; -pub use linux_headers_linux_prctl::PR_TAGGED_ADDR_ENABLE; -pub use linux_headers_linux_prctl::PR_MTE_TCF_NONE; -pub use linux_headers_linux_prctl::PR_MTE_TCF_SYNC; -pub use linux_headers_linux_prctl::PR_MTE_TCF_ASYNC; -pub use linux_headers_linux_prctl::PR_MTE_TCF_MASK; -pub use linux_headers_linux_prctl::PR_MTE_TAG_SHIFT; -pub use linux_headers_linux_prctl::PR_MTE_TAG_MASK; -pub use linux_headers_linux_prctl::PR_MTE_TCF_SHIFT; -pub use linux_headers_linux_prctl::PR_SET_IO_FLUSHER; -pub use linux_headers_linux_prctl::PR_GET_IO_FLUSHER; -pub use linux_headers_linux_prctl::PR_SET_SYSCALL_USER_DISPATCH; -pub use linux_headers_linux_prctl::PR_SYS_DISPATCH_OFF; -pub use linux_headers_linux_prctl::PR_SYS_DISPATCH_ON; -pub use linux_headers_linux_prctl::PR_PAC_SET_ENABLED_KEYS; -pub use linux_headers_linux_prctl::PR_PAC_GET_ENABLED_KEYS; -pub use linux_headers_linux_prctl::PR_SCHED_CORE; -pub use linux_headers_linux_prctl::PR_SCHED_CORE_GET; -pub use linux_headers_linux_prctl::PR_SCHED_CORE_CREATE; -pub use linux_headers_linux_prctl::PR_SCHED_CORE_SHARE_TO; -pub use linux_headers_linux_prctl::PR_SCHED_CORE_SHARE_FROM; -pub use linux_headers_linux_prctl::PR_SCHED_CORE_MAX; -pub use linux_headers_linux_prctl::PR_SCHED_CORE_SCOPE_THREAD; -pub use linux_headers_linux_prctl::PR_SCHED_CORE_SCOPE_THREAD_GROUP; -pub use linux_headers_linux_prctl::PR_SCHED_CORE_SCOPE_PROCESS_GROUP; -pub use linux_headers_linux_prctl::PR_SME_SET_VL; -pub use linux_headers_linux_prctl::PR_SME_SET_VL_ONEXEC; -pub use linux_headers_linux_prctl::PR_SME_GET_VL; -pub use linux_headers_linux_prctl::PR_SME_VL_LEN_MASK; -pub use linux_headers_linux_prctl::PR_SME_VL_INHERIT; -pub use linux_headers_linux_prctl::PR_SET_MDWE; -pub use linux_headers_linux_prctl::PR_MDWE_REFUSE_EXEC_GAIN; -pub use linux_headers_linux_prctl::PR_MDWE_NO_INHERIT; -pub use linux_headers_linux_prctl::PR_GET_MDWE; -pub use linux_headers_linux_prctl::PR_SET_VMA; -pub use linux_headers_linux_prctl::PR_SET_VMA_ANON_NAME; -pub use linux_headers_linux_prctl::PR_GET_AUXV; -pub use linux_headers_linux_prctl::PR_SET_MEMORY_MERGE; -pub use linux_headers_linux_prctl::PR_GET_MEMORY_MERGE; -pub use linux_headers_linux_prctl::PR_RISCV_V_SET_CONTROL; -pub use linux_headers_linux_prctl::PR_RISCV_V_GET_CONTROL; -pub use linux_headers_linux_prctl::PR_RISCV_V_VSTATE_CTRL_DEFAULT; -pub use linux_headers_linux_prctl::PR_RISCV_V_VSTATE_CTRL_OFF; -pub use linux_headers_linux_prctl::PR_RISCV_V_VSTATE_CTRL_ON; -pub use linux_headers_linux_prctl::PR_RISCV_V_VSTATE_CTRL_INHERIT; -pub use linux_headers_linux_prctl::PR_RISCV_V_VSTATE_CTRL_CUR_MASK; -pub use linux_headers_linux_prctl::PR_RISCV_V_VSTATE_CTRL_NEXT_MASK; -pub use linux_headers_linux_prctl::PR_RISCV_V_VSTATE_CTRL_MASK; -pub use linux_headers_linux_prctl::PR_RISCV_SET_ICACHE_FLUSH_CTX; -pub use linux_headers_linux_prctl::PR_RISCV_CTX_SW_FENCEI_ON; -pub use linux_headers_linux_prctl::PR_RISCV_CTX_SW_FENCEI_OFF; -pub use linux_headers_linux_prctl::PR_RISCV_SCOPE_PER_PROCESS; -pub use linux_headers_linux_prctl::PR_RISCV_SCOPE_PER_THREAD; -pub use linux_headers_linux_prctl::PR_PPC_GET_DEXCR; -pub use linux_headers_linux_prctl::PR_PPC_SET_DEXCR; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_SBHE; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_IBRTPD; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_SRAPD; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_NPHIE; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_CTRL_EDITABLE; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_CTRL_SET; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_CTRL_CLEAR; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_CTRL_SET_ONEXEC; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_CTRL_CLEAR_ONEXEC; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_CTRL_MASK; -mod dlfcn; -pub use dlfcn::RTLD_DEFAULT; -pub use dlfcn::dlsym; -mod elf; -pub use elf::Elf32_auxv_t; -pub use elf::Elf64_auxv_t; -mod sys_auxv; -pub use sys_auxv::getauxval; -mod unistd; -pub use unistd::syscall; -pub type c_char = u8; diff --git a/tests/helper/src/gen/sys/riscv64gc_linux_gnu/sys_auxv.rs b/tests/helper/src/gen/sys/riscv64gc_linux_gnu/sys_auxv.rs deleted file mode 100644 index 1fe1c678..00000000 --- a/tests/helper/src/gen/sys/riscv64gc_linux_gnu/sys_auxv.rs +++ /dev/null @@ -1,10 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -extern "C" { - pub fn getauxval(__type: ::std::os::raw::c_ulong) -> ::std::os::raw::c_ulong; -} diff --git a/tests/helper/src/gen/sys/riscv64gc_linux_gnu/unistd.rs b/tests/helper/src/gen/sys/riscv64gc_linux_gnu/unistd.rs deleted file mode 100644 index eab78d00..00000000 --- a/tests/helper/src/gen/sys/riscv64gc_linux_gnu/unistd.rs +++ /dev/null @@ -1,10 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -extern "C" { - pub fn syscall(__sysno: ::std::os::raw::c_long, ...) -> ::std::os::raw::c_long; -} diff --git a/tests/helper/src/gen/sys/riscv64gc_linux_musl/dlfcn.rs b/tests/helper/src/gen/sys/riscv64gc_linux_musl/dlfcn.rs deleted file mode 100644 index 87cb3e98..00000000 --- a/tests/helper/src/gen/sys/riscv64gc_linux_musl/dlfcn.rs +++ /dev/null @@ -1,14 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -pub const RTLD_DEFAULT: *mut ::std::os::raw::c_void = ::core::ptr::null_mut(); -extern "C" { - pub fn dlsym( - arg1: *mut ::core::ffi::c_void, - arg2: *const ::std::os::raw::c_char, - ) -> *mut ::core::ffi::c_void; -} diff --git a/tests/helper/src/gen/sys/riscv64gc_linux_musl/elf.rs b/tests/helper/src/gen/sys/riscv64gc_linux_musl/elf.rs deleted file mode 100644 index a3c1790d..00000000 --- a/tests/helper/src/gen/sys/riscv64gc_linux_musl/elf.rs +++ /dev/null @@ -1,29 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -#[repr(C)] -#[derive(Copy, Clone)] -pub struct Elf32_auxv_t { - pub a_type: u32, - pub a_un: Elf32_auxv_t__bindgen_ty_1, -} -#[repr(C)] -#[derive(Copy, Clone)] -pub union Elf32_auxv_t__bindgen_ty_1 { - pub a_val: u32, -} -#[repr(C)] -#[derive(Copy, Clone)] -pub struct Elf64_auxv_t { - pub a_type: u64, - pub a_un: Elf64_auxv_t__bindgen_ty_1, -} -#[repr(C)] -#[derive(Copy, Clone)] -pub union Elf64_auxv_t__bindgen_ty_1 { - pub a_val: u64, -} diff --git a/tests/helper/src/gen/sys/riscv64gc_linux_musl/linux_headers_asm_hwcap.rs b/tests/helper/src/gen/sys/riscv64gc_linux_musl/linux_headers_asm_hwcap.rs deleted file mode 100644 index fc615659..00000000 --- a/tests/helper/src/gen/sys/riscv64gc_linux_musl/linux_headers_asm_hwcap.rs +++ /dev/null @@ -1,7 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - diff --git a/tests/helper/src/gen/sys/riscv64gc_linux_musl/linux_headers_asm_hwprobe.rs b/tests/helper/src/gen/sys/riscv64gc_linux_musl/linux_headers_asm_hwprobe.rs deleted file mode 100644 index ae69d15b..00000000 --- a/tests/helper/src/gen/sys/riscv64gc_linux_musl/linux_headers_asm_hwprobe.rs +++ /dev/null @@ -1,87 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -pub type __s64 = ::std::os::raw::c_longlong; -pub type __u64 = ::std::os::raw::c_ulonglong; -#[repr(C)] -#[derive(Copy, Clone)] -pub struct riscv_hwprobe { - pub key: __s64, - pub value: __u64, -} -pub const RISCV_HWPROBE_KEY_MVENDORID: u32 = 0; -pub const RISCV_HWPROBE_KEY_MARCHID: u32 = 1; -pub const RISCV_HWPROBE_KEY_MIMPID: u32 = 2; -pub const RISCV_HWPROBE_KEY_BASE_BEHAVIOR: u32 = 3; -pub const RISCV_HWPROBE_BASE_BEHAVIOR_IMA: u32 = 1; -pub const RISCV_HWPROBE_KEY_IMA_EXT_0: u32 = 4; -pub const RISCV_HWPROBE_IMA_FD: u32 = 1; -pub const RISCV_HWPROBE_IMA_C: u32 = 2; -pub const RISCV_HWPROBE_IMA_V: u32 = 4; -pub const RISCV_HWPROBE_EXT_ZBA: u32 = 8; -pub const RISCV_HWPROBE_EXT_ZBB: u32 = 16; -pub const RISCV_HWPROBE_EXT_ZBS: u32 = 32; -pub const RISCV_HWPROBE_EXT_ZICBOZ: u32 = 64; -pub const RISCV_HWPROBE_EXT_ZBC: u32 = 128; -pub const RISCV_HWPROBE_EXT_ZBKB: u32 = 256; -pub const RISCV_HWPROBE_EXT_ZBKC: u32 = 512; -pub const RISCV_HWPROBE_EXT_ZBKX: u32 = 1024; -pub const RISCV_HWPROBE_EXT_ZKND: u32 = 2048; -pub const RISCV_HWPROBE_EXT_ZKNE: u32 = 4096; -pub const RISCV_HWPROBE_EXT_ZKNH: u32 = 8192; -pub const RISCV_HWPROBE_EXT_ZKSED: u32 = 16384; -pub const RISCV_HWPROBE_EXT_ZKSH: u32 = 32768; -pub const RISCV_HWPROBE_EXT_ZKT: u32 = 65536; -pub const RISCV_HWPROBE_EXT_ZVBB: u32 = 131072; -pub const RISCV_HWPROBE_EXT_ZVBC: u32 = 262144; -pub const RISCV_HWPROBE_EXT_ZVKB: u32 = 524288; -pub const RISCV_HWPROBE_EXT_ZVKG: u32 = 1048576; -pub const RISCV_HWPROBE_EXT_ZVKNED: u32 = 2097152; -pub const RISCV_HWPROBE_EXT_ZVKNHA: u32 = 4194304; -pub const RISCV_HWPROBE_EXT_ZVKNHB: u32 = 8388608; -pub const RISCV_HWPROBE_EXT_ZVKSED: u32 = 16777216; -pub const RISCV_HWPROBE_EXT_ZVKSH: u32 = 33554432; -pub const RISCV_HWPROBE_EXT_ZVKT: u32 = 67108864; -pub const RISCV_HWPROBE_EXT_ZFH: u32 = 134217728; -pub const RISCV_HWPROBE_EXT_ZFHMIN: u32 = 268435456; -pub const RISCV_HWPROBE_EXT_ZIHINTNTL: u32 = 536870912; -pub const RISCV_HWPROBE_EXT_ZVFH: u32 = 1073741824; -pub const RISCV_HWPROBE_EXT_ZVFHMIN: u32 = 2147483648; -pub const RISCV_HWPROBE_EXT_ZFA: u64 = 4294967296; -pub const RISCV_HWPROBE_EXT_ZTSO: u64 = 8589934592; -pub const RISCV_HWPROBE_EXT_ZACAS: u64 = 17179869184; -pub const RISCV_HWPROBE_EXT_ZICOND: u64 = 34359738368; -pub const RISCV_HWPROBE_EXT_ZIHINTPAUSE: u64 = 68719476736; -pub const RISCV_HWPROBE_EXT_ZVE32X: u64 = 137438953472; -pub const RISCV_HWPROBE_EXT_ZVE32F: u64 = 274877906944; -pub const RISCV_HWPROBE_EXT_ZVE64X: u64 = 549755813888; -pub const RISCV_HWPROBE_EXT_ZVE64F: u64 = 1099511627776; -pub const RISCV_HWPROBE_EXT_ZVE64D: u64 = 2199023255552; -pub const RISCV_HWPROBE_EXT_ZIMOP: u64 = 4398046511104; -pub const RISCV_HWPROBE_EXT_ZCA: u64 = 8796093022208; -pub const RISCV_HWPROBE_EXT_ZCB: u64 = 17592186044416; -pub const RISCV_HWPROBE_EXT_ZCD: u64 = 35184372088832; -pub const RISCV_HWPROBE_EXT_ZCF: u64 = 70368744177664; -pub const RISCV_HWPROBE_EXT_ZCMOP: u64 = 140737488355328; -pub const RISCV_HWPROBE_EXT_ZAWRS: u64 = 281474976710656; -pub const RISCV_HWPROBE_KEY_CPUPERF_0: u32 = 5; -pub const RISCV_HWPROBE_MISALIGNED_UNKNOWN: u32 = 0; -pub const RISCV_HWPROBE_MISALIGNED_EMULATED: u32 = 1; -pub const RISCV_HWPROBE_MISALIGNED_SLOW: u32 = 2; -pub const RISCV_HWPROBE_MISALIGNED_FAST: u32 = 3; -pub const RISCV_HWPROBE_MISALIGNED_UNSUPPORTED: u32 = 4; -pub const RISCV_HWPROBE_MISALIGNED_MASK: u32 = 7; -pub const RISCV_HWPROBE_KEY_ZICBOZ_BLOCK_SIZE: u32 = 6; -pub const RISCV_HWPROBE_KEY_HIGHEST_VIRT_ADDRESS: u32 = 7; -pub const RISCV_HWPROBE_KEY_TIME_CSR_FREQ: u32 = 8; -pub const RISCV_HWPROBE_KEY_MISALIGNED_SCALAR_PERF: u32 = 9; -pub const RISCV_HWPROBE_MISALIGNED_SCALAR_UNKNOWN: u32 = 0; -pub const RISCV_HWPROBE_MISALIGNED_SCALAR_EMULATED: u32 = 1; -pub const RISCV_HWPROBE_MISALIGNED_SCALAR_SLOW: u32 = 2; -pub const RISCV_HWPROBE_MISALIGNED_SCALAR_FAST: u32 = 3; -pub const RISCV_HWPROBE_MISALIGNED_SCALAR_UNSUPPORTED: u32 = 4; -pub const RISCV_HWPROBE_WHICH_CPUS: u32 = 1; diff --git a/tests/helper/src/gen/sys/riscv64gc_linux_musl/linux_headers_asm_unistd.rs b/tests/helper/src/gen/sys/riscv64gc_linux_musl/linux_headers_asm_unistd.rs deleted file mode 100644 index 2854c53b..00000000 --- a/tests/helper/src/gen/sys/riscv64gc_linux_musl/linux_headers_asm_unistd.rs +++ /dev/null @@ -1,326 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -pub const __NR_io_setup: u32 = 0; -pub const __NR_io_destroy: u32 = 1; -pub const __NR_io_submit: u32 = 2; -pub const __NR_io_cancel: u32 = 3; -pub const __NR_io_getevents: u32 = 4; -pub const __NR_setxattr: u32 = 5; -pub const __NR_lsetxattr: u32 = 6; -pub const __NR_fsetxattr: u32 = 7; -pub const __NR_getxattr: u32 = 8; -pub const __NR_lgetxattr: u32 = 9; -pub const __NR_fgetxattr: u32 = 10; -pub const __NR_listxattr: u32 = 11; -pub const __NR_llistxattr: u32 = 12; -pub const __NR_flistxattr: u32 = 13; -pub const __NR_removexattr: u32 = 14; -pub const __NR_lremovexattr: u32 = 15; -pub const __NR_fremovexattr: u32 = 16; -pub const __NR_getcwd: u32 = 17; -pub const __NR_lookup_dcookie: u32 = 18; -pub const __NR_eventfd2: u32 = 19; -pub const __NR_epoll_create1: u32 = 20; -pub const __NR_epoll_ctl: u32 = 21; -pub const __NR_epoll_pwait: u32 = 22; -pub const __NR_dup: u32 = 23; -pub const __NR_dup3: u32 = 24; -pub const __NR_fcntl: u32 = 25; -pub const __NR_inotify_init1: u32 = 26; -pub const __NR_inotify_add_watch: u32 = 27; -pub const __NR_inotify_rm_watch: u32 = 28; -pub const __NR_ioctl: u32 = 29; -pub const __NR_ioprio_set: u32 = 30; -pub const __NR_ioprio_get: u32 = 31; -pub const __NR_flock: u32 = 32; -pub const __NR_mknodat: u32 = 33; -pub const __NR_mkdirat: u32 = 34; -pub const __NR_unlinkat: u32 = 35; -pub const __NR_symlinkat: u32 = 36; -pub const __NR_linkat: u32 = 37; -pub const __NR_umount2: u32 = 39; -pub const __NR_mount: u32 = 40; -pub const __NR_pivot_root: u32 = 41; -pub const __NR_nfsservctl: u32 = 42; -pub const __NR_statfs: u32 = 43; -pub const __NR_fstatfs: u32 = 44; -pub const __NR_truncate: u32 = 45; -pub const __NR_ftruncate: u32 = 46; -pub const __NR_fallocate: u32 = 47; -pub const __NR_faccessat: u32 = 48; -pub const __NR_chdir: u32 = 49; -pub const __NR_fchdir: u32 = 50; -pub const __NR_chroot: u32 = 51; -pub const __NR_fchmod: u32 = 52; -pub const __NR_fchmodat: u32 = 53; -pub const __NR_fchownat: u32 = 54; -pub const __NR_fchown: u32 = 55; -pub const __NR_openat: u32 = 56; -pub const __NR_close: u32 = 57; -pub const __NR_vhangup: u32 = 58; -pub const __NR_pipe2: u32 = 59; -pub const __NR_quotactl: u32 = 60; -pub const __NR_getdents64: u32 = 61; -pub const __NR_lseek: u32 = 62; -pub const __NR_read: u32 = 63; -pub const __NR_write: u32 = 64; -pub const __NR_readv: u32 = 65; -pub const __NR_writev: u32 = 66; -pub const __NR_pread64: u32 = 67; -pub const __NR_pwrite64: u32 = 68; -pub const __NR_preadv: u32 = 69; -pub const __NR_pwritev: u32 = 70; -pub const __NR_sendfile: u32 = 71; -pub const __NR_pselect6: u32 = 72; -pub const __NR_ppoll: u32 = 73; -pub const __NR_signalfd4: u32 = 74; -pub const __NR_vmsplice: u32 = 75; -pub const __NR_splice: u32 = 76; -pub const __NR_tee: u32 = 77; -pub const __NR_readlinkat: u32 = 78; -pub const __NR_newfstatat: u32 = 79; -pub const __NR_fstat: u32 = 80; -pub const __NR_sync: u32 = 81; -pub const __NR_fsync: u32 = 82; -pub const __NR_fdatasync: u32 = 83; -pub const __NR_sync_file_range: u32 = 84; -pub const __NR_timerfd_create: u32 = 85; -pub const __NR_timerfd_settime: u32 = 86; -pub const __NR_timerfd_gettime: u32 = 87; -pub const __NR_utimensat: u32 = 88; -pub const __NR_acct: u32 = 89; -pub const __NR_capget: u32 = 90; -pub const __NR_capset: u32 = 91; -pub const __NR_personality: u32 = 92; -pub const __NR_exit: u32 = 93; -pub const __NR_exit_group: u32 = 94; -pub const __NR_waitid: u32 = 95; -pub const __NR_set_tid_address: u32 = 96; -pub const __NR_unshare: u32 = 97; -pub const __NR_futex: u32 = 98; -pub const __NR_set_robust_list: u32 = 99; -pub const __NR_get_robust_list: u32 = 100; -pub const __NR_nanosleep: u32 = 101; -pub const __NR_getitimer: u32 = 102; -pub const __NR_setitimer: u32 = 103; -pub const __NR_kexec_load: u32 = 104; -pub const __NR_init_module: u32 = 105; -pub const __NR_delete_module: u32 = 106; -pub const __NR_timer_create: u32 = 107; -pub const __NR_timer_gettime: u32 = 108; -pub const __NR_timer_getoverrun: u32 = 109; -pub const __NR_timer_settime: u32 = 110; -pub const __NR_timer_delete: u32 = 111; -pub const __NR_clock_settime: u32 = 112; -pub const __NR_clock_gettime: u32 = 113; -pub const __NR_clock_getres: u32 = 114; -pub const __NR_clock_nanosleep: u32 = 115; -pub const __NR_syslog: u32 = 116; -pub const __NR_ptrace: u32 = 117; -pub const __NR_sched_setparam: u32 = 118; -pub const __NR_sched_setscheduler: u32 = 119; -pub const __NR_sched_getscheduler: u32 = 120; -pub const __NR_sched_getparam: u32 = 121; -pub const __NR_sched_setaffinity: u32 = 122; -pub const __NR_sched_getaffinity: u32 = 123; -pub const __NR_sched_yield: u32 = 124; -pub const __NR_sched_get_priority_max: u32 = 125; -pub const __NR_sched_get_priority_min: u32 = 126; -pub const __NR_sched_rr_get_interval: u32 = 127; -pub const __NR_restart_syscall: u32 = 128; -pub const __NR_kill: u32 = 129; -pub const __NR_tkill: u32 = 130; -pub const __NR_tgkill: u32 = 131; -pub const __NR_sigaltstack: u32 = 132; -pub const __NR_rt_sigsuspend: u32 = 133; -pub const __NR_rt_sigaction: u32 = 134; -pub const __NR_rt_sigprocmask: u32 = 135; -pub const __NR_rt_sigpending: u32 = 136; -pub const __NR_rt_sigtimedwait: u32 = 137; -pub const __NR_rt_sigqueueinfo: u32 = 138; -pub const __NR_rt_sigreturn: u32 = 139; -pub const __NR_setpriority: u32 = 140; -pub const __NR_getpriority: u32 = 141; -pub const __NR_reboot: u32 = 142; -pub const __NR_setregid: u32 = 143; -pub const __NR_setgid: u32 = 144; -pub const __NR_setreuid: u32 = 145; -pub const __NR_setuid: u32 = 146; -pub const __NR_setresuid: u32 = 147; -pub const __NR_getresuid: u32 = 148; -pub const __NR_setresgid: u32 = 149; -pub const __NR_getresgid: u32 = 150; -pub const __NR_setfsuid: u32 = 151; -pub const __NR_setfsgid: u32 = 152; -pub const __NR_times: u32 = 153; -pub const __NR_setpgid: u32 = 154; -pub const __NR_getpgid: u32 = 155; -pub const __NR_getsid: u32 = 156; -pub const __NR_setsid: u32 = 157; -pub const __NR_getgroups: u32 = 158; -pub const __NR_setgroups: u32 = 159; -pub const __NR_uname: u32 = 160; -pub const __NR_sethostname: u32 = 161; -pub const __NR_setdomainname: u32 = 162; -pub const __NR_getrlimit: u32 = 163; -pub const __NR_setrlimit: u32 = 164; -pub const __NR_getrusage: u32 = 165; -pub const __NR_umask: u32 = 166; -pub const __NR_prctl: u32 = 167; -pub const __NR_getcpu: u32 = 168; -pub const __NR_gettimeofday: u32 = 169; -pub const __NR_settimeofday: u32 = 170; -pub const __NR_adjtimex: u32 = 171; -pub const __NR_getpid: u32 = 172; -pub const __NR_getppid: u32 = 173; -pub const __NR_getuid: u32 = 174; -pub const __NR_geteuid: u32 = 175; -pub const __NR_getgid: u32 = 176; -pub const __NR_getegid: u32 = 177; -pub const __NR_gettid: u32 = 178; -pub const __NR_sysinfo: u32 = 179; -pub const __NR_mq_open: u32 = 180; -pub const __NR_mq_unlink: u32 = 181; -pub const __NR_mq_timedsend: u32 = 182; -pub const __NR_mq_timedreceive: u32 = 183; -pub const __NR_mq_notify: u32 = 184; -pub const __NR_mq_getsetattr: u32 = 185; -pub const __NR_msgget: u32 = 186; -pub const __NR_msgctl: u32 = 187; -pub const __NR_msgrcv: u32 = 188; -pub const __NR_msgsnd: u32 = 189; -pub const __NR_semget: u32 = 190; -pub const __NR_semctl: u32 = 191; -pub const __NR_semtimedop: u32 = 192; -pub const __NR_semop: u32 = 193; -pub const __NR_shmget: u32 = 194; -pub const __NR_shmctl: u32 = 195; -pub const __NR_shmat: u32 = 196; -pub const __NR_shmdt: u32 = 197; -pub const __NR_socket: u32 = 198; -pub const __NR_socketpair: u32 = 199; -pub const __NR_bind: u32 = 200; -pub const __NR_listen: u32 = 201; -pub const __NR_accept: u32 = 202; -pub const __NR_connect: u32 = 203; -pub const __NR_getsockname: u32 = 204; -pub const __NR_getpeername: u32 = 205; -pub const __NR_sendto: u32 = 206; -pub const __NR_recvfrom: u32 = 207; -pub const __NR_setsockopt: u32 = 208; -pub const __NR_getsockopt: u32 = 209; -pub const __NR_shutdown: u32 = 210; -pub const __NR_sendmsg: u32 = 211; -pub const __NR_recvmsg: u32 = 212; -pub const __NR_readahead: u32 = 213; -pub const __NR_brk: u32 = 214; -pub const __NR_munmap: u32 = 215; -pub const __NR_mremap: u32 = 216; -pub const __NR_add_key: u32 = 217; -pub const __NR_request_key: u32 = 218; -pub const __NR_keyctl: u32 = 219; -pub const __NR_clone: u32 = 220; -pub const __NR_execve: u32 = 221; -pub const __NR_mmap: u32 = 222; -pub const __NR_fadvise64: u32 = 223; -pub const __NR_swapon: u32 = 224; -pub const __NR_swapoff: u32 = 225; -pub const __NR_mprotect: u32 = 226; -pub const __NR_msync: u32 = 227; -pub const __NR_mlock: u32 = 228; -pub const __NR_munlock: u32 = 229; -pub const __NR_mlockall: u32 = 230; -pub const __NR_munlockall: u32 = 231; -pub const __NR_mincore: u32 = 232; -pub const __NR_madvise: u32 = 233; -pub const __NR_remap_file_pages: u32 = 234; -pub const __NR_mbind: u32 = 235; -pub const __NR_get_mempolicy: u32 = 236; -pub const __NR_set_mempolicy: u32 = 237; -pub const __NR_migrate_pages: u32 = 238; -pub const __NR_move_pages: u32 = 239; -pub const __NR_rt_tgsigqueueinfo: u32 = 240; -pub const __NR_perf_event_open: u32 = 241; -pub const __NR_accept4: u32 = 242; -pub const __NR_recvmmsg: u32 = 243; -pub const __NR_riscv_hwprobe: u32 = 258; -pub const __NR_riscv_flush_icache: u32 = 259; -pub const __NR_wait4: u32 = 260; -pub const __NR_prlimit64: u32 = 261; -pub const __NR_fanotify_init: u32 = 262; -pub const __NR_fanotify_mark: u32 = 263; -pub const __NR_name_to_handle_at: u32 = 264; -pub const __NR_open_by_handle_at: u32 = 265; -pub const __NR_clock_adjtime: u32 = 266; -pub const __NR_syncfs: u32 = 267; -pub const __NR_setns: u32 = 268; -pub const __NR_sendmmsg: u32 = 269; -pub const __NR_process_vm_readv: u32 = 270; -pub const __NR_process_vm_writev: u32 = 271; -pub const __NR_kcmp: u32 = 272; -pub const __NR_finit_module: u32 = 273; -pub const __NR_sched_setattr: u32 = 274; -pub const __NR_sched_getattr: u32 = 275; -pub const __NR_renameat2: u32 = 276; -pub const __NR_seccomp: u32 = 277; -pub const __NR_getrandom: u32 = 278; -pub const __NR_memfd_create: u32 = 279; -pub const __NR_bpf: u32 = 280; -pub const __NR_execveat: u32 = 281; -pub const __NR_userfaultfd: u32 = 282; -pub const __NR_membarrier: u32 = 283; -pub const __NR_mlock2: u32 = 284; -pub const __NR_copy_file_range: u32 = 285; -pub const __NR_preadv2: u32 = 286; -pub const __NR_pwritev2: u32 = 287; -pub const __NR_pkey_mprotect: u32 = 288; -pub const __NR_pkey_alloc: u32 = 289; -pub const __NR_pkey_free: u32 = 290; -pub const __NR_statx: u32 = 291; -pub const __NR_io_pgetevents: u32 = 292; -pub const __NR_rseq: u32 = 293; -pub const __NR_kexec_file_load: u32 = 294; -pub const __NR_pidfd_send_signal: u32 = 424; -pub const __NR_io_uring_setup: u32 = 425; -pub const __NR_io_uring_enter: u32 = 426; -pub const __NR_io_uring_register: u32 = 427; -pub const __NR_open_tree: u32 = 428; -pub const __NR_move_mount: u32 = 429; -pub const __NR_fsopen: u32 = 430; -pub const __NR_fsconfig: u32 = 431; -pub const __NR_fsmount: u32 = 432; -pub const __NR_fspick: u32 = 433; -pub const __NR_pidfd_open: u32 = 434; -pub const __NR_clone3: u32 = 435; -pub const __NR_close_range: u32 = 436; -pub const __NR_openat2: u32 = 437; -pub const __NR_pidfd_getfd: u32 = 438; -pub const __NR_faccessat2: u32 = 439; -pub const __NR_process_madvise: u32 = 440; -pub const __NR_epoll_pwait2: u32 = 441; -pub const __NR_mount_setattr: u32 = 442; -pub const __NR_quotactl_fd: u32 = 443; -pub const __NR_landlock_create_ruleset: u32 = 444; -pub const __NR_landlock_add_rule: u32 = 445; -pub const __NR_landlock_restrict_self: u32 = 446; -pub const __NR_memfd_secret: u32 = 447; -pub const __NR_process_mrelease: u32 = 448; -pub const __NR_futex_waitv: u32 = 449; -pub const __NR_set_mempolicy_home_node: u32 = 450; -pub const __NR_cachestat: u32 = 451; -pub const __NR_fchmodat2: u32 = 452; -pub const __NR_map_shadow_stack: u32 = 453; -pub const __NR_futex_wake: u32 = 454; -pub const __NR_futex_wait: u32 = 455; -pub const __NR_futex_requeue: u32 = 456; -pub const __NR_statmount: u32 = 457; -pub const __NR_listmount: u32 = 458; -pub const __NR_lsm_get_self_attr: u32 = 459; -pub const __NR_lsm_set_self_attr: u32 = 460; -pub const __NR_lsm_list_modules: u32 = 461; -pub const __NR_mseal: u32 = 462; diff --git a/tests/helper/src/gen/sys/riscv64gc_linux_musl/linux_headers_linux_auxvec.rs b/tests/helper/src/gen/sys/riscv64gc_linux_musl/linux_headers_linux_auxvec.rs deleted file mode 100644 index dcb2f60d..00000000 --- a/tests/helper/src/gen/sys/riscv64gc_linux_musl/linux_headers_linux_auxvec.rs +++ /dev/null @@ -1,45 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -pub const AT_SYSINFO_EHDR: u32 = 33; -pub const AT_L1I_CACHESIZE: u32 = 40; -pub const AT_L1I_CACHEGEOMETRY: u32 = 41; -pub const AT_L1D_CACHESIZE: u32 = 42; -pub const AT_L1D_CACHEGEOMETRY: u32 = 43; -pub const AT_L2_CACHESIZE: u32 = 44; -pub const AT_L2_CACHEGEOMETRY: u32 = 45; -pub const AT_L3_CACHESIZE: u32 = 46; -pub const AT_L3_CACHEGEOMETRY: u32 = 47; -pub const AT_VECTOR_SIZE_ARCH: u32 = 10; -pub const AT_MINSIGSTKSZ: u32 = 51; -pub const AT_NULL: u32 = 0; -pub const AT_IGNORE: u32 = 1; -pub const AT_EXECFD: u32 = 2; -pub const AT_PHDR: u32 = 3; -pub const AT_PHENT: u32 = 4; -pub const AT_PHNUM: u32 = 5; -pub const AT_PAGESZ: u32 = 6; -pub const AT_BASE: u32 = 7; -pub const AT_FLAGS: u32 = 8; -pub const AT_ENTRY: u32 = 9; -pub const AT_NOTELF: u32 = 10; -pub const AT_UID: u32 = 11; -pub const AT_EUID: u32 = 12; -pub const AT_GID: u32 = 13; -pub const AT_EGID: u32 = 14; -pub const AT_PLATFORM: u32 = 15; -pub const AT_HWCAP: u32 = 16; -pub const AT_CLKTCK: u32 = 17; -pub const AT_SECURE: u32 = 23; -pub const AT_BASE_PLATFORM: u32 = 24; -pub const AT_RANDOM: u32 = 25; -pub const AT_HWCAP2: u32 = 26; -pub const AT_RSEQ_FEATURE_SIZE: u32 = 27; -pub const AT_RSEQ_ALIGN: u32 = 28; -pub const AT_HWCAP3: u32 = 29; -pub const AT_HWCAP4: u32 = 30; -pub const AT_EXECFN: u32 = 31; diff --git a/tests/helper/src/gen/sys/riscv64gc_linux_musl/linux_headers_linux_prctl.rs b/tests/helper/src/gen/sys/riscv64gc_linux_musl/linux_headers_linux_prctl.rs deleted file mode 100644 index 6eeb3021..00000000 --- a/tests/helper/src/gen/sys/riscv64gc_linux_musl/linux_headers_linux_prctl.rs +++ /dev/null @@ -1,189 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -pub const PR_SET_PDEATHSIG: u32 = 1; -pub const PR_GET_PDEATHSIG: u32 = 2; -pub const PR_GET_DUMPABLE: u32 = 3; -pub const PR_SET_DUMPABLE: u32 = 4; -pub const PR_GET_UNALIGN: u32 = 5; -pub const PR_SET_UNALIGN: u32 = 6; -pub const PR_UNALIGN_NOPRINT: u32 = 1; -pub const PR_UNALIGN_SIGBUS: u32 = 2; -pub const PR_GET_KEEPCAPS: u32 = 7; -pub const PR_SET_KEEPCAPS: u32 = 8; -pub const PR_GET_FPEMU: u32 = 9; -pub const PR_SET_FPEMU: u32 = 10; -pub const PR_FPEMU_NOPRINT: u32 = 1; -pub const PR_FPEMU_SIGFPE: u32 = 2; -pub const PR_GET_FPEXC: u32 = 11; -pub const PR_SET_FPEXC: u32 = 12; -pub const PR_FP_EXC_SW_ENABLE: u32 = 128; -pub const PR_FP_EXC_DIV: u32 = 65536; -pub const PR_FP_EXC_OVF: u32 = 131072; -pub const PR_FP_EXC_UND: u32 = 262144; -pub const PR_FP_EXC_RES: u32 = 524288; -pub const PR_FP_EXC_INV: u32 = 1048576; -pub const PR_FP_EXC_DISABLED: u32 = 0; -pub const PR_FP_EXC_NONRECOV: u32 = 1; -pub const PR_FP_EXC_ASYNC: u32 = 2; -pub const PR_FP_EXC_PRECISE: u32 = 3; -pub const PR_GET_TIMING: u32 = 13; -pub const PR_SET_TIMING: u32 = 14; -pub const PR_TIMING_STATISTICAL: u32 = 0; -pub const PR_TIMING_TIMESTAMP: u32 = 1; -pub const PR_SET_NAME: u32 = 15; -pub const PR_GET_NAME: u32 = 16; -pub const PR_GET_ENDIAN: u32 = 19; -pub const PR_SET_ENDIAN: u32 = 20; -pub const PR_ENDIAN_BIG: u32 = 0; -pub const PR_ENDIAN_LITTLE: u32 = 1; -pub const PR_ENDIAN_PPC_LITTLE: u32 = 2; -pub const PR_GET_SECCOMP: u32 = 21; -pub const PR_SET_SECCOMP: u32 = 22; -pub const PR_CAPBSET_READ: u32 = 23; -pub const PR_CAPBSET_DROP: u32 = 24; -pub const PR_GET_TSC: u32 = 25; -pub const PR_SET_TSC: u32 = 26; -pub const PR_TSC_ENABLE: u32 = 1; -pub const PR_TSC_SIGSEGV: u32 = 2; -pub const PR_GET_SECUREBITS: u32 = 27; -pub const PR_SET_SECUREBITS: u32 = 28; -pub const PR_SET_TIMERSLACK: u32 = 29; -pub const PR_GET_TIMERSLACK: u32 = 30; -pub const PR_TASK_PERF_EVENTS_DISABLE: u32 = 31; -pub const PR_TASK_PERF_EVENTS_ENABLE: u32 = 32; -pub const PR_MCE_KILL: u32 = 33; -pub const PR_MCE_KILL_CLEAR: u32 = 0; -pub const PR_MCE_KILL_SET: u32 = 1; -pub const PR_MCE_KILL_LATE: u32 = 0; -pub const PR_MCE_KILL_EARLY: u32 = 1; -pub const PR_MCE_KILL_DEFAULT: u32 = 2; -pub const PR_MCE_KILL_GET: u32 = 34; -pub const PR_SET_MM: u32 = 35; -pub const PR_SET_MM_START_CODE: u32 = 1; -pub const PR_SET_MM_END_CODE: u32 = 2; -pub const PR_SET_MM_START_DATA: u32 = 3; -pub const PR_SET_MM_END_DATA: u32 = 4; -pub const PR_SET_MM_START_STACK: u32 = 5; -pub const PR_SET_MM_START_BRK: u32 = 6; -pub const PR_SET_MM_BRK: u32 = 7; -pub const PR_SET_MM_ARG_START: u32 = 8; -pub const PR_SET_MM_ARG_END: u32 = 9; -pub const PR_SET_MM_ENV_START: u32 = 10; -pub const PR_SET_MM_ENV_END: u32 = 11; -pub const PR_SET_MM_AUXV: u32 = 12; -pub const PR_SET_MM_EXE_FILE: u32 = 13; -pub const PR_SET_MM_MAP: u32 = 14; -pub const PR_SET_MM_MAP_SIZE: u32 = 15; -pub const PR_SET_PTRACER: u32 = 1499557217; -pub const PR_SET_PTRACER_ANY: ::std::os::raw::c_ulong = -1i8 as ::std::os::raw::c_ulong; -pub const PR_SET_CHILD_SUBREAPER: u32 = 36; -pub const PR_GET_CHILD_SUBREAPER: u32 = 37; -pub const PR_SET_NO_NEW_PRIVS: u32 = 38; -pub const PR_GET_NO_NEW_PRIVS: u32 = 39; -pub const PR_GET_TID_ADDRESS: u32 = 40; -pub const PR_SET_THP_DISABLE: u32 = 41; -pub const PR_GET_THP_DISABLE: u32 = 42; -pub const PR_MPX_ENABLE_MANAGEMENT: u32 = 43; -pub const PR_MPX_DISABLE_MANAGEMENT: u32 = 44; -pub const PR_SET_FP_MODE: u32 = 45; -pub const PR_GET_FP_MODE: u32 = 46; -pub const PR_FP_MODE_FR: u32 = 1; -pub const PR_FP_MODE_FRE: u32 = 2; -pub const PR_CAP_AMBIENT: u32 = 47; -pub const PR_CAP_AMBIENT_IS_SET: u32 = 1; -pub const PR_CAP_AMBIENT_RAISE: u32 = 2; -pub const PR_CAP_AMBIENT_LOWER: u32 = 3; -pub const PR_CAP_AMBIENT_CLEAR_ALL: u32 = 4; -pub const PR_SVE_SET_VL: u32 = 50; -pub const PR_SVE_SET_VL_ONEXEC: u32 = 262144; -pub const PR_SVE_GET_VL: u32 = 51; -pub const PR_SVE_VL_LEN_MASK: u32 = 65535; -pub const PR_SVE_VL_INHERIT: u32 = 131072; -pub const PR_GET_SPECULATION_CTRL: u32 = 52; -pub const PR_SET_SPECULATION_CTRL: u32 = 53; -pub const PR_SPEC_STORE_BYPASS: u32 = 0; -pub const PR_SPEC_INDIRECT_BRANCH: u32 = 1; -pub const PR_SPEC_L1D_FLUSH: u32 = 2; -pub const PR_SPEC_NOT_AFFECTED: u32 = 0; -pub const PR_SPEC_PRCTL: u32 = 1; -pub const PR_SPEC_ENABLE: u32 = 2; -pub const PR_SPEC_DISABLE: u32 = 4; -pub const PR_SPEC_FORCE_DISABLE: u32 = 8; -pub const PR_SPEC_DISABLE_NOEXEC: u32 = 16; -pub const PR_PAC_RESET_KEYS: u32 = 54; -pub const PR_PAC_APIAKEY: u32 = 1; -pub const PR_PAC_APIBKEY: u32 = 2; -pub const PR_PAC_APDAKEY: u32 = 4; -pub const PR_PAC_APDBKEY: u32 = 8; -pub const PR_PAC_APGAKEY: u32 = 16; -pub const PR_SET_TAGGED_ADDR_CTRL: u32 = 55; -pub const PR_GET_TAGGED_ADDR_CTRL: u32 = 56; -pub const PR_TAGGED_ADDR_ENABLE: u32 = 1; -pub const PR_MTE_TCF_NONE: u32 = 0; -pub const PR_MTE_TCF_SYNC: u32 = 2; -pub const PR_MTE_TCF_ASYNC: u32 = 4; -pub const PR_MTE_TCF_MASK: u32 = 6; -pub const PR_MTE_TAG_SHIFT: u32 = 3; -pub const PR_MTE_TAG_MASK: u32 = 524280; -pub const PR_MTE_TCF_SHIFT: u32 = 1; -pub const PR_SET_IO_FLUSHER: u32 = 57; -pub const PR_GET_IO_FLUSHER: u32 = 58; -pub const PR_SET_SYSCALL_USER_DISPATCH: u32 = 59; -pub const PR_SYS_DISPATCH_OFF: u32 = 0; -pub const PR_SYS_DISPATCH_ON: u32 = 1; -pub const PR_PAC_SET_ENABLED_KEYS: u32 = 60; -pub const PR_PAC_GET_ENABLED_KEYS: u32 = 61; -pub const PR_SCHED_CORE: u32 = 62; -pub const PR_SCHED_CORE_GET: u32 = 0; -pub const PR_SCHED_CORE_CREATE: u32 = 1; -pub const PR_SCHED_CORE_SHARE_TO: u32 = 2; -pub const PR_SCHED_CORE_SHARE_FROM: u32 = 3; -pub const PR_SCHED_CORE_MAX: u32 = 4; -pub const PR_SCHED_CORE_SCOPE_THREAD: u32 = 0; -pub const PR_SCHED_CORE_SCOPE_THREAD_GROUP: u32 = 1; -pub const PR_SCHED_CORE_SCOPE_PROCESS_GROUP: u32 = 2; -pub const PR_SME_SET_VL: u32 = 63; -pub const PR_SME_SET_VL_ONEXEC: u32 = 262144; -pub const PR_SME_GET_VL: u32 = 64; -pub const PR_SME_VL_LEN_MASK: u32 = 65535; -pub const PR_SME_VL_INHERIT: u32 = 131072; -pub const PR_SET_MDWE: u32 = 65; -pub const PR_MDWE_REFUSE_EXEC_GAIN: u32 = 1; -pub const PR_MDWE_NO_INHERIT: u32 = 2; -pub const PR_GET_MDWE: u32 = 66; -pub const PR_SET_VMA: u32 = 1398164801; -pub const PR_SET_VMA_ANON_NAME: u32 = 0; -pub const PR_GET_AUXV: u32 = 1096112214; -pub const PR_SET_MEMORY_MERGE: u32 = 67; -pub const PR_GET_MEMORY_MERGE: u32 = 68; -pub const PR_RISCV_V_SET_CONTROL: u32 = 69; -pub const PR_RISCV_V_GET_CONTROL: u32 = 70; -pub const PR_RISCV_V_VSTATE_CTRL_DEFAULT: u32 = 0; -pub const PR_RISCV_V_VSTATE_CTRL_OFF: u32 = 1; -pub const PR_RISCV_V_VSTATE_CTRL_ON: u32 = 2; -pub const PR_RISCV_V_VSTATE_CTRL_INHERIT: u32 = 16; -pub const PR_RISCV_V_VSTATE_CTRL_CUR_MASK: u32 = 3; -pub const PR_RISCV_V_VSTATE_CTRL_NEXT_MASK: u32 = 12; -pub const PR_RISCV_V_VSTATE_CTRL_MASK: u32 = 31; -pub const PR_RISCV_SET_ICACHE_FLUSH_CTX: u32 = 71; -pub const PR_RISCV_CTX_SW_FENCEI_ON: u32 = 0; -pub const PR_RISCV_CTX_SW_FENCEI_OFF: u32 = 1; -pub const PR_RISCV_SCOPE_PER_PROCESS: u32 = 0; -pub const PR_RISCV_SCOPE_PER_THREAD: u32 = 1; -pub const PR_PPC_GET_DEXCR: u32 = 72; -pub const PR_PPC_SET_DEXCR: u32 = 73; -pub const PR_PPC_DEXCR_SBHE: u32 = 0; -pub const PR_PPC_DEXCR_IBRTPD: u32 = 1; -pub const PR_PPC_DEXCR_SRAPD: u32 = 2; -pub const PR_PPC_DEXCR_NPHIE: u32 = 3; -pub const PR_PPC_DEXCR_CTRL_EDITABLE: u32 = 1; -pub const PR_PPC_DEXCR_CTRL_SET: u32 = 2; -pub const PR_PPC_DEXCR_CTRL_CLEAR: u32 = 4; -pub const PR_PPC_DEXCR_CTRL_SET_ONEXEC: u32 = 8; -pub const PR_PPC_DEXCR_CTRL_CLEAR_ONEXEC: u32 = 16; -pub const PR_PPC_DEXCR_CTRL_MASK: u32 = 31; diff --git a/tests/helper/src/gen/sys/riscv64gc_linux_musl/mod.rs b/tests/helper/src/gen/sys/riscv64gc_linux_musl/mod.rs deleted file mode 100644 index 22cb17fa..00000000 --- a/tests/helper/src/gen/sys/riscv64gc_linux_musl/mod.rs +++ /dev/null @@ -1,634 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] -mod linux_headers_asm_hwcap; -mod linux_headers_asm_hwprobe; -pub use linux_headers_asm_hwprobe::riscv_hwprobe; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_KEY_MVENDORID; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_KEY_MARCHID; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_KEY_MIMPID; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_KEY_BASE_BEHAVIOR; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_BASE_BEHAVIOR_IMA; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_KEY_IMA_EXT_0; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_IMA_FD; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_IMA_C; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_IMA_V; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZBA; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZBB; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZBS; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZICBOZ; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZBC; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZBKB; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZBKC; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZBKX; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZKND; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZKNE; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZKNH; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZKSED; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZKSH; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZKT; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZVBB; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZVBC; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZVKB; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZVKG; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZVKNED; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZVKNHA; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZVKNHB; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZVKSED; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZVKSH; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZVKT; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZFH; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZFHMIN; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZIHINTNTL; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZVFH; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZVFHMIN; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZFA; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZTSO; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZACAS; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZICOND; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZIHINTPAUSE; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZVE32X; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZVE32F; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZVE64X; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZVE64F; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZVE64D; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZIMOP; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZCA; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZCB; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZCD; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZCF; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZCMOP; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_EXT_ZAWRS; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_KEY_CPUPERF_0; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_MISALIGNED_UNKNOWN; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_MISALIGNED_EMULATED; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_MISALIGNED_SLOW; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_MISALIGNED_FAST; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_MISALIGNED_UNSUPPORTED; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_MISALIGNED_MASK; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_KEY_ZICBOZ_BLOCK_SIZE; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_KEY_HIGHEST_VIRT_ADDRESS; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_KEY_TIME_CSR_FREQ; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_KEY_MISALIGNED_SCALAR_PERF; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_MISALIGNED_SCALAR_UNKNOWN; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_MISALIGNED_SCALAR_EMULATED; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_MISALIGNED_SCALAR_SLOW; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_MISALIGNED_SCALAR_FAST; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_MISALIGNED_SCALAR_UNSUPPORTED; -pub use linux_headers_asm_hwprobe::RISCV_HWPROBE_WHICH_CPUS; -mod linux_headers_asm_unistd; -pub use linux_headers_asm_unistd::__NR_io_setup; -pub use linux_headers_asm_unistd::__NR_io_destroy; -pub use linux_headers_asm_unistd::__NR_io_submit; -pub use linux_headers_asm_unistd::__NR_io_cancel; -pub use linux_headers_asm_unistd::__NR_io_getevents; -pub use linux_headers_asm_unistd::__NR_setxattr; -pub use linux_headers_asm_unistd::__NR_lsetxattr; -pub use linux_headers_asm_unistd::__NR_fsetxattr; -pub use linux_headers_asm_unistd::__NR_getxattr; -pub use linux_headers_asm_unistd::__NR_lgetxattr; -pub use linux_headers_asm_unistd::__NR_fgetxattr; -pub use linux_headers_asm_unistd::__NR_listxattr; -pub use linux_headers_asm_unistd::__NR_llistxattr; -pub use linux_headers_asm_unistd::__NR_flistxattr; -pub use linux_headers_asm_unistd::__NR_removexattr; -pub use linux_headers_asm_unistd::__NR_lremovexattr; -pub use linux_headers_asm_unistd::__NR_fremovexattr; -pub use linux_headers_asm_unistd::__NR_getcwd; -pub use linux_headers_asm_unistd::__NR_lookup_dcookie; -pub use linux_headers_asm_unistd::__NR_eventfd2; -pub use linux_headers_asm_unistd::__NR_epoll_create1; -pub use linux_headers_asm_unistd::__NR_epoll_ctl; -pub use linux_headers_asm_unistd::__NR_epoll_pwait; -pub use linux_headers_asm_unistd::__NR_dup; -pub use linux_headers_asm_unistd::__NR_dup3; -pub use linux_headers_asm_unistd::__NR_fcntl; -pub use linux_headers_asm_unistd::__NR_inotify_init1; -pub use linux_headers_asm_unistd::__NR_inotify_add_watch; -pub use linux_headers_asm_unistd::__NR_inotify_rm_watch; -pub use linux_headers_asm_unistd::__NR_ioctl; -pub use linux_headers_asm_unistd::__NR_ioprio_set; -pub use linux_headers_asm_unistd::__NR_ioprio_get; -pub use linux_headers_asm_unistd::__NR_flock; -pub use linux_headers_asm_unistd::__NR_mknodat; -pub use linux_headers_asm_unistd::__NR_mkdirat; -pub use linux_headers_asm_unistd::__NR_unlinkat; -pub use linux_headers_asm_unistd::__NR_symlinkat; -pub use linux_headers_asm_unistd::__NR_linkat; -pub use linux_headers_asm_unistd::__NR_umount2; -pub use linux_headers_asm_unistd::__NR_mount; -pub use linux_headers_asm_unistd::__NR_pivot_root; -pub use linux_headers_asm_unistd::__NR_nfsservctl; -pub use linux_headers_asm_unistd::__NR_statfs; -pub use linux_headers_asm_unistd::__NR_fstatfs; -pub use linux_headers_asm_unistd::__NR_truncate; -pub use linux_headers_asm_unistd::__NR_ftruncate; -pub use linux_headers_asm_unistd::__NR_fallocate; -pub use linux_headers_asm_unistd::__NR_faccessat; -pub use linux_headers_asm_unistd::__NR_chdir; -pub use linux_headers_asm_unistd::__NR_fchdir; -pub use linux_headers_asm_unistd::__NR_chroot; -pub use linux_headers_asm_unistd::__NR_fchmod; -pub use linux_headers_asm_unistd::__NR_fchmodat; -pub use linux_headers_asm_unistd::__NR_fchownat; -pub use linux_headers_asm_unistd::__NR_fchown; -pub use linux_headers_asm_unistd::__NR_openat; -pub use linux_headers_asm_unistd::__NR_close; -pub use linux_headers_asm_unistd::__NR_vhangup; -pub use linux_headers_asm_unistd::__NR_pipe2; -pub use linux_headers_asm_unistd::__NR_quotactl; -pub use linux_headers_asm_unistd::__NR_getdents64; -pub use linux_headers_asm_unistd::__NR_lseek; -pub use linux_headers_asm_unistd::__NR_read; -pub use linux_headers_asm_unistd::__NR_write; -pub use linux_headers_asm_unistd::__NR_readv; -pub use linux_headers_asm_unistd::__NR_writev; -pub use linux_headers_asm_unistd::__NR_pread64; -pub use linux_headers_asm_unistd::__NR_pwrite64; -pub use linux_headers_asm_unistd::__NR_preadv; -pub use linux_headers_asm_unistd::__NR_pwritev; -pub use linux_headers_asm_unistd::__NR_sendfile; -pub use linux_headers_asm_unistd::__NR_pselect6; -pub use linux_headers_asm_unistd::__NR_ppoll; -pub use linux_headers_asm_unistd::__NR_signalfd4; -pub use linux_headers_asm_unistd::__NR_vmsplice; -pub use linux_headers_asm_unistd::__NR_splice; -pub use linux_headers_asm_unistd::__NR_tee; -pub use linux_headers_asm_unistd::__NR_readlinkat; -pub use linux_headers_asm_unistd::__NR_newfstatat; -pub use linux_headers_asm_unistd::__NR_fstat; -pub use linux_headers_asm_unistd::__NR_sync; -pub use linux_headers_asm_unistd::__NR_fsync; -pub use linux_headers_asm_unistd::__NR_fdatasync; -pub use linux_headers_asm_unistd::__NR_sync_file_range; -pub use linux_headers_asm_unistd::__NR_timerfd_create; -pub use linux_headers_asm_unistd::__NR_timerfd_settime; -pub use linux_headers_asm_unistd::__NR_timerfd_gettime; -pub use linux_headers_asm_unistd::__NR_utimensat; -pub use linux_headers_asm_unistd::__NR_acct; -pub use linux_headers_asm_unistd::__NR_capget; -pub use linux_headers_asm_unistd::__NR_capset; -pub use linux_headers_asm_unistd::__NR_personality; -pub use linux_headers_asm_unistd::__NR_exit; -pub use linux_headers_asm_unistd::__NR_exit_group; -pub use linux_headers_asm_unistd::__NR_waitid; -pub use linux_headers_asm_unistd::__NR_set_tid_address; -pub use linux_headers_asm_unistd::__NR_unshare; -pub use linux_headers_asm_unistd::__NR_futex; -pub use linux_headers_asm_unistd::__NR_set_robust_list; -pub use linux_headers_asm_unistd::__NR_get_robust_list; -pub use linux_headers_asm_unistd::__NR_nanosleep; -pub use linux_headers_asm_unistd::__NR_getitimer; -pub use linux_headers_asm_unistd::__NR_setitimer; -pub use linux_headers_asm_unistd::__NR_kexec_load; -pub use linux_headers_asm_unistd::__NR_init_module; -pub use linux_headers_asm_unistd::__NR_delete_module; -pub use linux_headers_asm_unistd::__NR_timer_create; -pub use linux_headers_asm_unistd::__NR_timer_gettime; -pub use linux_headers_asm_unistd::__NR_timer_getoverrun; -pub use linux_headers_asm_unistd::__NR_timer_settime; -pub use linux_headers_asm_unistd::__NR_timer_delete; -pub use linux_headers_asm_unistd::__NR_clock_settime; -pub use linux_headers_asm_unistd::__NR_clock_gettime; -pub use linux_headers_asm_unistd::__NR_clock_getres; -pub use linux_headers_asm_unistd::__NR_clock_nanosleep; -pub use linux_headers_asm_unistd::__NR_syslog; -pub use linux_headers_asm_unistd::__NR_ptrace; -pub use linux_headers_asm_unistd::__NR_sched_setparam; -pub use linux_headers_asm_unistd::__NR_sched_setscheduler; -pub use linux_headers_asm_unistd::__NR_sched_getscheduler; -pub use linux_headers_asm_unistd::__NR_sched_getparam; -pub use linux_headers_asm_unistd::__NR_sched_setaffinity; -pub use linux_headers_asm_unistd::__NR_sched_getaffinity; -pub use linux_headers_asm_unistd::__NR_sched_yield; -pub use linux_headers_asm_unistd::__NR_sched_get_priority_max; -pub use linux_headers_asm_unistd::__NR_sched_get_priority_min; -pub use linux_headers_asm_unistd::__NR_sched_rr_get_interval; -pub use linux_headers_asm_unistd::__NR_restart_syscall; -pub use linux_headers_asm_unistd::__NR_kill; -pub use linux_headers_asm_unistd::__NR_tkill; -pub use linux_headers_asm_unistd::__NR_tgkill; -pub use linux_headers_asm_unistd::__NR_sigaltstack; -pub use linux_headers_asm_unistd::__NR_rt_sigsuspend; -pub use linux_headers_asm_unistd::__NR_rt_sigaction; -pub use linux_headers_asm_unistd::__NR_rt_sigprocmask; -pub use linux_headers_asm_unistd::__NR_rt_sigpending; -pub use linux_headers_asm_unistd::__NR_rt_sigtimedwait; -pub use linux_headers_asm_unistd::__NR_rt_sigqueueinfo; -pub use linux_headers_asm_unistd::__NR_rt_sigreturn; -pub use linux_headers_asm_unistd::__NR_setpriority; -pub use linux_headers_asm_unistd::__NR_getpriority; -pub use linux_headers_asm_unistd::__NR_reboot; -pub use linux_headers_asm_unistd::__NR_setregid; -pub use linux_headers_asm_unistd::__NR_setgid; -pub use linux_headers_asm_unistd::__NR_setreuid; -pub use linux_headers_asm_unistd::__NR_setuid; -pub use linux_headers_asm_unistd::__NR_setresuid; -pub use linux_headers_asm_unistd::__NR_getresuid; -pub use linux_headers_asm_unistd::__NR_setresgid; -pub use linux_headers_asm_unistd::__NR_getresgid; -pub use linux_headers_asm_unistd::__NR_setfsuid; -pub use linux_headers_asm_unistd::__NR_setfsgid; -pub use linux_headers_asm_unistd::__NR_times; -pub use linux_headers_asm_unistd::__NR_setpgid; -pub use linux_headers_asm_unistd::__NR_getpgid; -pub use linux_headers_asm_unistd::__NR_getsid; -pub use linux_headers_asm_unistd::__NR_setsid; -pub use linux_headers_asm_unistd::__NR_getgroups; -pub use linux_headers_asm_unistd::__NR_setgroups; -pub use linux_headers_asm_unistd::__NR_uname; -pub use linux_headers_asm_unistd::__NR_sethostname; -pub use linux_headers_asm_unistd::__NR_setdomainname; -pub use linux_headers_asm_unistd::__NR_getrlimit; -pub use linux_headers_asm_unistd::__NR_setrlimit; -pub use linux_headers_asm_unistd::__NR_getrusage; -pub use linux_headers_asm_unistd::__NR_umask; -pub use linux_headers_asm_unistd::__NR_prctl; -pub use linux_headers_asm_unistd::__NR_getcpu; -pub use linux_headers_asm_unistd::__NR_gettimeofday; -pub use linux_headers_asm_unistd::__NR_settimeofday; -pub use linux_headers_asm_unistd::__NR_adjtimex; -pub use linux_headers_asm_unistd::__NR_getpid; -pub use linux_headers_asm_unistd::__NR_getppid; -pub use linux_headers_asm_unistd::__NR_getuid; -pub use linux_headers_asm_unistd::__NR_geteuid; -pub use linux_headers_asm_unistd::__NR_getgid; -pub use linux_headers_asm_unistd::__NR_getegid; -pub use linux_headers_asm_unistd::__NR_gettid; -pub use linux_headers_asm_unistd::__NR_sysinfo; -pub use linux_headers_asm_unistd::__NR_mq_open; -pub use linux_headers_asm_unistd::__NR_mq_unlink; -pub use linux_headers_asm_unistd::__NR_mq_timedsend; -pub use linux_headers_asm_unistd::__NR_mq_timedreceive; -pub use linux_headers_asm_unistd::__NR_mq_notify; -pub use linux_headers_asm_unistd::__NR_mq_getsetattr; -pub use linux_headers_asm_unistd::__NR_msgget; -pub use linux_headers_asm_unistd::__NR_msgctl; -pub use linux_headers_asm_unistd::__NR_msgrcv; -pub use linux_headers_asm_unistd::__NR_msgsnd; -pub use linux_headers_asm_unistd::__NR_semget; -pub use linux_headers_asm_unistd::__NR_semctl; -pub use linux_headers_asm_unistd::__NR_semtimedop; -pub use linux_headers_asm_unistd::__NR_semop; -pub use linux_headers_asm_unistd::__NR_shmget; -pub use linux_headers_asm_unistd::__NR_shmctl; -pub use linux_headers_asm_unistd::__NR_shmat; -pub use linux_headers_asm_unistd::__NR_shmdt; -pub use linux_headers_asm_unistd::__NR_socket; -pub use linux_headers_asm_unistd::__NR_socketpair; -pub use linux_headers_asm_unistd::__NR_bind; -pub use linux_headers_asm_unistd::__NR_listen; -pub use linux_headers_asm_unistd::__NR_accept; -pub use linux_headers_asm_unistd::__NR_connect; -pub use linux_headers_asm_unistd::__NR_getsockname; -pub use linux_headers_asm_unistd::__NR_getpeername; -pub use linux_headers_asm_unistd::__NR_sendto; -pub use linux_headers_asm_unistd::__NR_recvfrom; -pub use linux_headers_asm_unistd::__NR_setsockopt; -pub use linux_headers_asm_unistd::__NR_getsockopt; -pub use linux_headers_asm_unistd::__NR_shutdown; -pub use linux_headers_asm_unistd::__NR_sendmsg; -pub use linux_headers_asm_unistd::__NR_recvmsg; -pub use linux_headers_asm_unistd::__NR_readahead; -pub use linux_headers_asm_unistd::__NR_brk; -pub use linux_headers_asm_unistd::__NR_munmap; -pub use linux_headers_asm_unistd::__NR_mremap; -pub use linux_headers_asm_unistd::__NR_add_key; -pub use linux_headers_asm_unistd::__NR_request_key; -pub use linux_headers_asm_unistd::__NR_keyctl; -pub use linux_headers_asm_unistd::__NR_clone; -pub use linux_headers_asm_unistd::__NR_execve; -pub use linux_headers_asm_unistd::__NR_mmap; -pub use linux_headers_asm_unistd::__NR_fadvise64; -pub use linux_headers_asm_unistd::__NR_swapon; -pub use linux_headers_asm_unistd::__NR_swapoff; -pub use linux_headers_asm_unistd::__NR_mprotect; -pub use linux_headers_asm_unistd::__NR_msync; -pub use linux_headers_asm_unistd::__NR_mlock; -pub use linux_headers_asm_unistd::__NR_munlock; -pub use linux_headers_asm_unistd::__NR_mlockall; -pub use linux_headers_asm_unistd::__NR_munlockall; -pub use linux_headers_asm_unistd::__NR_mincore; -pub use linux_headers_asm_unistd::__NR_madvise; -pub use linux_headers_asm_unistd::__NR_remap_file_pages; -pub use linux_headers_asm_unistd::__NR_mbind; -pub use linux_headers_asm_unistd::__NR_get_mempolicy; -pub use linux_headers_asm_unistd::__NR_set_mempolicy; -pub use linux_headers_asm_unistd::__NR_migrate_pages; -pub use linux_headers_asm_unistd::__NR_move_pages; -pub use linux_headers_asm_unistd::__NR_rt_tgsigqueueinfo; -pub use linux_headers_asm_unistd::__NR_perf_event_open; -pub use linux_headers_asm_unistd::__NR_accept4; -pub use linux_headers_asm_unistd::__NR_recvmmsg; -pub use linux_headers_asm_unistd::__NR_riscv_hwprobe; -pub use linux_headers_asm_unistd::__NR_riscv_flush_icache; -pub use linux_headers_asm_unistd::__NR_wait4; -pub use linux_headers_asm_unistd::__NR_prlimit64; -pub use linux_headers_asm_unistd::__NR_fanotify_init; -pub use linux_headers_asm_unistd::__NR_fanotify_mark; -pub use linux_headers_asm_unistd::__NR_name_to_handle_at; -pub use linux_headers_asm_unistd::__NR_open_by_handle_at; -pub use linux_headers_asm_unistd::__NR_clock_adjtime; -pub use linux_headers_asm_unistd::__NR_syncfs; -pub use linux_headers_asm_unistd::__NR_setns; -pub use linux_headers_asm_unistd::__NR_sendmmsg; -pub use linux_headers_asm_unistd::__NR_process_vm_readv; -pub use linux_headers_asm_unistd::__NR_process_vm_writev; -pub use linux_headers_asm_unistd::__NR_kcmp; -pub use linux_headers_asm_unistd::__NR_finit_module; -pub use linux_headers_asm_unistd::__NR_sched_setattr; -pub use linux_headers_asm_unistd::__NR_sched_getattr; -pub use linux_headers_asm_unistd::__NR_renameat2; -pub use linux_headers_asm_unistd::__NR_seccomp; -pub use linux_headers_asm_unistd::__NR_getrandom; -pub use linux_headers_asm_unistd::__NR_memfd_create; -pub use linux_headers_asm_unistd::__NR_bpf; -pub use linux_headers_asm_unistd::__NR_execveat; -pub use linux_headers_asm_unistd::__NR_userfaultfd; -pub use linux_headers_asm_unistd::__NR_membarrier; -pub use linux_headers_asm_unistd::__NR_mlock2; -pub use linux_headers_asm_unistd::__NR_copy_file_range; -pub use linux_headers_asm_unistd::__NR_preadv2; -pub use linux_headers_asm_unistd::__NR_pwritev2; -pub use linux_headers_asm_unistd::__NR_pkey_mprotect; -pub use linux_headers_asm_unistd::__NR_pkey_alloc; -pub use linux_headers_asm_unistd::__NR_pkey_free; -pub use linux_headers_asm_unistd::__NR_statx; -pub use linux_headers_asm_unistd::__NR_io_pgetevents; -pub use linux_headers_asm_unistd::__NR_rseq; -pub use linux_headers_asm_unistd::__NR_kexec_file_load; -pub use linux_headers_asm_unistd::__NR_pidfd_send_signal; -pub use linux_headers_asm_unistd::__NR_io_uring_setup; -pub use linux_headers_asm_unistd::__NR_io_uring_enter; -pub use linux_headers_asm_unistd::__NR_io_uring_register; -pub use linux_headers_asm_unistd::__NR_open_tree; -pub use linux_headers_asm_unistd::__NR_move_mount; -pub use linux_headers_asm_unistd::__NR_fsopen; -pub use linux_headers_asm_unistd::__NR_fsconfig; -pub use linux_headers_asm_unistd::__NR_fsmount; -pub use linux_headers_asm_unistd::__NR_fspick; -pub use linux_headers_asm_unistd::__NR_pidfd_open; -pub use linux_headers_asm_unistd::__NR_clone3; -pub use linux_headers_asm_unistd::__NR_close_range; -pub use linux_headers_asm_unistd::__NR_openat2; -pub use linux_headers_asm_unistd::__NR_pidfd_getfd; -pub use linux_headers_asm_unistd::__NR_faccessat2; -pub use linux_headers_asm_unistd::__NR_process_madvise; -pub use linux_headers_asm_unistd::__NR_epoll_pwait2; -pub use linux_headers_asm_unistd::__NR_mount_setattr; -pub use linux_headers_asm_unistd::__NR_quotactl_fd; -pub use linux_headers_asm_unistd::__NR_landlock_create_ruleset; -pub use linux_headers_asm_unistd::__NR_landlock_add_rule; -pub use linux_headers_asm_unistd::__NR_landlock_restrict_self; -pub use linux_headers_asm_unistd::__NR_memfd_secret; -pub use linux_headers_asm_unistd::__NR_process_mrelease; -pub use linux_headers_asm_unistd::__NR_futex_waitv; -pub use linux_headers_asm_unistd::__NR_set_mempolicy_home_node; -pub use linux_headers_asm_unistd::__NR_cachestat; -pub use linux_headers_asm_unistd::__NR_fchmodat2; -pub use linux_headers_asm_unistd::__NR_map_shadow_stack; -pub use linux_headers_asm_unistd::__NR_futex_wake; -pub use linux_headers_asm_unistd::__NR_futex_wait; -pub use linux_headers_asm_unistd::__NR_futex_requeue; -pub use linux_headers_asm_unistd::__NR_statmount; -pub use linux_headers_asm_unistd::__NR_listmount; -pub use linux_headers_asm_unistd::__NR_lsm_get_self_attr; -pub use linux_headers_asm_unistd::__NR_lsm_set_self_attr; -pub use linux_headers_asm_unistd::__NR_lsm_list_modules; -pub use linux_headers_asm_unistd::__NR_mseal; -mod linux_headers_linux_auxvec; -pub use linux_headers_linux_auxvec::AT_SYSINFO_EHDR; -pub use linux_headers_linux_auxvec::AT_L1I_CACHESIZE; -pub use linux_headers_linux_auxvec::AT_L1I_CACHEGEOMETRY; -pub use linux_headers_linux_auxvec::AT_L1D_CACHESIZE; -pub use linux_headers_linux_auxvec::AT_L1D_CACHEGEOMETRY; -pub use linux_headers_linux_auxvec::AT_L2_CACHESIZE; -pub use linux_headers_linux_auxvec::AT_L2_CACHEGEOMETRY; -pub use linux_headers_linux_auxvec::AT_L3_CACHESIZE; -pub use linux_headers_linux_auxvec::AT_L3_CACHEGEOMETRY; -pub use linux_headers_linux_auxvec::AT_VECTOR_SIZE_ARCH; -pub use linux_headers_linux_auxvec::AT_MINSIGSTKSZ; -pub use linux_headers_linux_auxvec::AT_NULL; -pub use linux_headers_linux_auxvec::AT_IGNORE; -pub use linux_headers_linux_auxvec::AT_EXECFD; -pub use linux_headers_linux_auxvec::AT_PHDR; -pub use linux_headers_linux_auxvec::AT_PHENT; -pub use linux_headers_linux_auxvec::AT_PHNUM; -pub use linux_headers_linux_auxvec::AT_PAGESZ; -pub use linux_headers_linux_auxvec::AT_BASE; -pub use linux_headers_linux_auxvec::AT_FLAGS; -pub use linux_headers_linux_auxvec::AT_ENTRY; -pub use linux_headers_linux_auxvec::AT_NOTELF; -pub use linux_headers_linux_auxvec::AT_UID; -pub use linux_headers_linux_auxvec::AT_EUID; -pub use linux_headers_linux_auxvec::AT_GID; -pub use linux_headers_linux_auxvec::AT_EGID; -pub use linux_headers_linux_auxvec::AT_PLATFORM; -pub use linux_headers_linux_auxvec::AT_HWCAP; -pub use linux_headers_linux_auxvec::AT_CLKTCK; -pub use linux_headers_linux_auxvec::AT_SECURE; -pub use linux_headers_linux_auxvec::AT_BASE_PLATFORM; -pub use linux_headers_linux_auxvec::AT_RANDOM; -pub use linux_headers_linux_auxvec::AT_HWCAP2; -pub use linux_headers_linux_auxvec::AT_RSEQ_FEATURE_SIZE; -pub use linux_headers_linux_auxvec::AT_RSEQ_ALIGN; -pub use linux_headers_linux_auxvec::AT_HWCAP3; -pub use linux_headers_linux_auxvec::AT_HWCAP4; -pub use linux_headers_linux_auxvec::AT_EXECFN; -mod linux_headers_linux_prctl; -pub use linux_headers_linux_prctl::PR_SET_PDEATHSIG; -pub use linux_headers_linux_prctl::PR_GET_PDEATHSIG; -pub use linux_headers_linux_prctl::PR_GET_DUMPABLE; -pub use linux_headers_linux_prctl::PR_SET_DUMPABLE; -pub use linux_headers_linux_prctl::PR_GET_UNALIGN; -pub use linux_headers_linux_prctl::PR_SET_UNALIGN; -pub use linux_headers_linux_prctl::PR_UNALIGN_NOPRINT; -pub use linux_headers_linux_prctl::PR_UNALIGN_SIGBUS; -pub use linux_headers_linux_prctl::PR_GET_KEEPCAPS; -pub use linux_headers_linux_prctl::PR_SET_KEEPCAPS; -pub use linux_headers_linux_prctl::PR_GET_FPEMU; -pub use linux_headers_linux_prctl::PR_SET_FPEMU; -pub use linux_headers_linux_prctl::PR_FPEMU_NOPRINT; -pub use linux_headers_linux_prctl::PR_FPEMU_SIGFPE; -pub use linux_headers_linux_prctl::PR_GET_FPEXC; -pub use linux_headers_linux_prctl::PR_SET_FPEXC; -pub use linux_headers_linux_prctl::PR_FP_EXC_SW_ENABLE; -pub use linux_headers_linux_prctl::PR_FP_EXC_DIV; -pub use linux_headers_linux_prctl::PR_FP_EXC_OVF; -pub use linux_headers_linux_prctl::PR_FP_EXC_UND; -pub use linux_headers_linux_prctl::PR_FP_EXC_RES; -pub use linux_headers_linux_prctl::PR_FP_EXC_INV; -pub use linux_headers_linux_prctl::PR_FP_EXC_DISABLED; -pub use linux_headers_linux_prctl::PR_FP_EXC_NONRECOV; -pub use linux_headers_linux_prctl::PR_FP_EXC_ASYNC; -pub use linux_headers_linux_prctl::PR_FP_EXC_PRECISE; -pub use linux_headers_linux_prctl::PR_GET_TIMING; -pub use linux_headers_linux_prctl::PR_SET_TIMING; -pub use linux_headers_linux_prctl::PR_TIMING_STATISTICAL; -pub use linux_headers_linux_prctl::PR_TIMING_TIMESTAMP; -pub use linux_headers_linux_prctl::PR_SET_NAME; -pub use linux_headers_linux_prctl::PR_GET_NAME; -pub use linux_headers_linux_prctl::PR_GET_ENDIAN; -pub use linux_headers_linux_prctl::PR_SET_ENDIAN; -pub use linux_headers_linux_prctl::PR_ENDIAN_BIG; -pub use linux_headers_linux_prctl::PR_ENDIAN_LITTLE; -pub use linux_headers_linux_prctl::PR_ENDIAN_PPC_LITTLE; -pub use linux_headers_linux_prctl::PR_GET_SECCOMP; -pub use linux_headers_linux_prctl::PR_SET_SECCOMP; -pub use linux_headers_linux_prctl::PR_CAPBSET_READ; -pub use linux_headers_linux_prctl::PR_CAPBSET_DROP; -pub use linux_headers_linux_prctl::PR_GET_TSC; -pub use linux_headers_linux_prctl::PR_SET_TSC; -pub use linux_headers_linux_prctl::PR_TSC_ENABLE; -pub use linux_headers_linux_prctl::PR_TSC_SIGSEGV; -pub use linux_headers_linux_prctl::PR_GET_SECUREBITS; -pub use linux_headers_linux_prctl::PR_SET_SECUREBITS; -pub use linux_headers_linux_prctl::PR_SET_TIMERSLACK; -pub use linux_headers_linux_prctl::PR_GET_TIMERSLACK; -pub use linux_headers_linux_prctl::PR_TASK_PERF_EVENTS_DISABLE; -pub use linux_headers_linux_prctl::PR_TASK_PERF_EVENTS_ENABLE; -pub use linux_headers_linux_prctl::PR_MCE_KILL; -pub use linux_headers_linux_prctl::PR_MCE_KILL_CLEAR; -pub use linux_headers_linux_prctl::PR_MCE_KILL_SET; -pub use linux_headers_linux_prctl::PR_MCE_KILL_LATE; -pub use linux_headers_linux_prctl::PR_MCE_KILL_EARLY; -pub use linux_headers_linux_prctl::PR_MCE_KILL_DEFAULT; -pub use linux_headers_linux_prctl::PR_MCE_KILL_GET; -pub use linux_headers_linux_prctl::PR_SET_MM; -pub use linux_headers_linux_prctl::PR_SET_MM_START_CODE; -pub use linux_headers_linux_prctl::PR_SET_MM_END_CODE; -pub use linux_headers_linux_prctl::PR_SET_MM_START_DATA; -pub use linux_headers_linux_prctl::PR_SET_MM_END_DATA; -pub use linux_headers_linux_prctl::PR_SET_MM_START_STACK; -pub use linux_headers_linux_prctl::PR_SET_MM_START_BRK; -pub use linux_headers_linux_prctl::PR_SET_MM_BRK; -pub use linux_headers_linux_prctl::PR_SET_MM_ARG_START; -pub use linux_headers_linux_prctl::PR_SET_MM_ARG_END; -pub use linux_headers_linux_prctl::PR_SET_MM_ENV_START; -pub use linux_headers_linux_prctl::PR_SET_MM_ENV_END; -pub use linux_headers_linux_prctl::PR_SET_MM_AUXV; -pub use linux_headers_linux_prctl::PR_SET_MM_EXE_FILE; -pub use linux_headers_linux_prctl::PR_SET_MM_MAP; -pub use linux_headers_linux_prctl::PR_SET_MM_MAP_SIZE; -pub use linux_headers_linux_prctl::PR_SET_PTRACER; -pub use linux_headers_linux_prctl::PR_SET_PTRACER_ANY; -pub use linux_headers_linux_prctl::PR_SET_CHILD_SUBREAPER; -pub use linux_headers_linux_prctl::PR_GET_CHILD_SUBREAPER; -pub use linux_headers_linux_prctl::PR_SET_NO_NEW_PRIVS; -pub use linux_headers_linux_prctl::PR_GET_NO_NEW_PRIVS; -pub use linux_headers_linux_prctl::PR_GET_TID_ADDRESS; -pub use linux_headers_linux_prctl::PR_SET_THP_DISABLE; -pub use linux_headers_linux_prctl::PR_GET_THP_DISABLE; -pub use linux_headers_linux_prctl::PR_MPX_ENABLE_MANAGEMENT; -pub use linux_headers_linux_prctl::PR_MPX_DISABLE_MANAGEMENT; -pub use linux_headers_linux_prctl::PR_SET_FP_MODE; -pub use linux_headers_linux_prctl::PR_GET_FP_MODE; -pub use linux_headers_linux_prctl::PR_FP_MODE_FR; -pub use linux_headers_linux_prctl::PR_FP_MODE_FRE; -pub use linux_headers_linux_prctl::PR_CAP_AMBIENT; -pub use linux_headers_linux_prctl::PR_CAP_AMBIENT_IS_SET; -pub use linux_headers_linux_prctl::PR_CAP_AMBIENT_RAISE; -pub use linux_headers_linux_prctl::PR_CAP_AMBIENT_LOWER; -pub use linux_headers_linux_prctl::PR_CAP_AMBIENT_CLEAR_ALL; -pub use linux_headers_linux_prctl::PR_SVE_SET_VL; -pub use linux_headers_linux_prctl::PR_SVE_SET_VL_ONEXEC; -pub use linux_headers_linux_prctl::PR_SVE_GET_VL; -pub use linux_headers_linux_prctl::PR_SVE_VL_LEN_MASK; -pub use linux_headers_linux_prctl::PR_SVE_VL_INHERIT; -pub use linux_headers_linux_prctl::PR_GET_SPECULATION_CTRL; -pub use linux_headers_linux_prctl::PR_SET_SPECULATION_CTRL; -pub use linux_headers_linux_prctl::PR_SPEC_STORE_BYPASS; -pub use linux_headers_linux_prctl::PR_SPEC_INDIRECT_BRANCH; -pub use linux_headers_linux_prctl::PR_SPEC_L1D_FLUSH; -pub use linux_headers_linux_prctl::PR_SPEC_NOT_AFFECTED; -pub use linux_headers_linux_prctl::PR_SPEC_PRCTL; -pub use linux_headers_linux_prctl::PR_SPEC_ENABLE; -pub use linux_headers_linux_prctl::PR_SPEC_DISABLE; -pub use linux_headers_linux_prctl::PR_SPEC_FORCE_DISABLE; -pub use linux_headers_linux_prctl::PR_SPEC_DISABLE_NOEXEC; -pub use linux_headers_linux_prctl::PR_PAC_RESET_KEYS; -pub use linux_headers_linux_prctl::PR_PAC_APIAKEY; -pub use linux_headers_linux_prctl::PR_PAC_APIBKEY; -pub use linux_headers_linux_prctl::PR_PAC_APDAKEY; -pub use linux_headers_linux_prctl::PR_PAC_APDBKEY; -pub use linux_headers_linux_prctl::PR_PAC_APGAKEY; -pub use linux_headers_linux_prctl::PR_SET_TAGGED_ADDR_CTRL; -pub use linux_headers_linux_prctl::PR_GET_TAGGED_ADDR_CTRL; -pub use linux_headers_linux_prctl::PR_TAGGED_ADDR_ENABLE; -pub use linux_headers_linux_prctl::PR_MTE_TCF_NONE; -pub use linux_headers_linux_prctl::PR_MTE_TCF_SYNC; -pub use linux_headers_linux_prctl::PR_MTE_TCF_ASYNC; -pub use linux_headers_linux_prctl::PR_MTE_TCF_MASK; -pub use linux_headers_linux_prctl::PR_MTE_TAG_SHIFT; -pub use linux_headers_linux_prctl::PR_MTE_TAG_MASK; -pub use linux_headers_linux_prctl::PR_MTE_TCF_SHIFT; -pub use linux_headers_linux_prctl::PR_SET_IO_FLUSHER; -pub use linux_headers_linux_prctl::PR_GET_IO_FLUSHER; -pub use linux_headers_linux_prctl::PR_SET_SYSCALL_USER_DISPATCH; -pub use linux_headers_linux_prctl::PR_SYS_DISPATCH_OFF; -pub use linux_headers_linux_prctl::PR_SYS_DISPATCH_ON; -pub use linux_headers_linux_prctl::PR_PAC_SET_ENABLED_KEYS; -pub use linux_headers_linux_prctl::PR_PAC_GET_ENABLED_KEYS; -pub use linux_headers_linux_prctl::PR_SCHED_CORE; -pub use linux_headers_linux_prctl::PR_SCHED_CORE_GET; -pub use linux_headers_linux_prctl::PR_SCHED_CORE_CREATE; -pub use linux_headers_linux_prctl::PR_SCHED_CORE_SHARE_TO; -pub use linux_headers_linux_prctl::PR_SCHED_CORE_SHARE_FROM; -pub use linux_headers_linux_prctl::PR_SCHED_CORE_MAX; -pub use linux_headers_linux_prctl::PR_SCHED_CORE_SCOPE_THREAD; -pub use linux_headers_linux_prctl::PR_SCHED_CORE_SCOPE_THREAD_GROUP; -pub use linux_headers_linux_prctl::PR_SCHED_CORE_SCOPE_PROCESS_GROUP; -pub use linux_headers_linux_prctl::PR_SME_SET_VL; -pub use linux_headers_linux_prctl::PR_SME_SET_VL_ONEXEC; -pub use linux_headers_linux_prctl::PR_SME_GET_VL; -pub use linux_headers_linux_prctl::PR_SME_VL_LEN_MASK; -pub use linux_headers_linux_prctl::PR_SME_VL_INHERIT; -pub use linux_headers_linux_prctl::PR_SET_MDWE; -pub use linux_headers_linux_prctl::PR_MDWE_REFUSE_EXEC_GAIN; -pub use linux_headers_linux_prctl::PR_MDWE_NO_INHERIT; -pub use linux_headers_linux_prctl::PR_GET_MDWE; -pub use linux_headers_linux_prctl::PR_SET_VMA; -pub use linux_headers_linux_prctl::PR_SET_VMA_ANON_NAME; -pub use linux_headers_linux_prctl::PR_GET_AUXV; -pub use linux_headers_linux_prctl::PR_SET_MEMORY_MERGE; -pub use linux_headers_linux_prctl::PR_GET_MEMORY_MERGE; -pub use linux_headers_linux_prctl::PR_RISCV_V_SET_CONTROL; -pub use linux_headers_linux_prctl::PR_RISCV_V_GET_CONTROL; -pub use linux_headers_linux_prctl::PR_RISCV_V_VSTATE_CTRL_DEFAULT; -pub use linux_headers_linux_prctl::PR_RISCV_V_VSTATE_CTRL_OFF; -pub use linux_headers_linux_prctl::PR_RISCV_V_VSTATE_CTRL_ON; -pub use linux_headers_linux_prctl::PR_RISCV_V_VSTATE_CTRL_INHERIT; -pub use linux_headers_linux_prctl::PR_RISCV_V_VSTATE_CTRL_CUR_MASK; -pub use linux_headers_linux_prctl::PR_RISCV_V_VSTATE_CTRL_NEXT_MASK; -pub use linux_headers_linux_prctl::PR_RISCV_V_VSTATE_CTRL_MASK; -pub use linux_headers_linux_prctl::PR_RISCV_SET_ICACHE_FLUSH_CTX; -pub use linux_headers_linux_prctl::PR_RISCV_CTX_SW_FENCEI_ON; -pub use linux_headers_linux_prctl::PR_RISCV_CTX_SW_FENCEI_OFF; -pub use linux_headers_linux_prctl::PR_RISCV_SCOPE_PER_PROCESS; -pub use linux_headers_linux_prctl::PR_RISCV_SCOPE_PER_THREAD; -pub use linux_headers_linux_prctl::PR_PPC_GET_DEXCR; -pub use linux_headers_linux_prctl::PR_PPC_SET_DEXCR; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_SBHE; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_IBRTPD; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_SRAPD; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_NPHIE; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_CTRL_EDITABLE; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_CTRL_SET; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_CTRL_CLEAR; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_CTRL_SET_ONEXEC; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_CTRL_CLEAR_ONEXEC; -pub use linux_headers_linux_prctl::PR_PPC_DEXCR_CTRL_MASK; -mod dlfcn; -pub use dlfcn::RTLD_DEFAULT; -pub use dlfcn::dlsym; -mod elf; -pub use elf::Elf32_auxv_t; -pub use elf::Elf64_auxv_t; -mod sys_auxv; -pub use sys_auxv::getauxval; -mod unistd; -pub use unistd::syscall; -pub type c_char = u8; diff --git a/tests/helper/src/gen/sys/riscv64gc_linux_musl/sys_auxv.rs b/tests/helper/src/gen/sys/riscv64gc_linux_musl/sys_auxv.rs deleted file mode 100644 index fc602aeb..00000000 --- a/tests/helper/src/gen/sys/riscv64gc_linux_musl/sys_auxv.rs +++ /dev/null @@ -1,10 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -extern "C" { - pub fn getauxval(arg1: ::std::os::raw::c_ulong) -> ::std::os::raw::c_ulong; -} diff --git a/tests/helper/src/gen/sys/riscv64gc_linux_musl/unistd.rs b/tests/helper/src/gen/sys/riscv64gc_linux_musl/unistd.rs deleted file mode 100644 index d16be956..00000000 --- a/tests/helper/src/gen/sys/riscv64gc_linux_musl/unistd.rs +++ /dev/null @@ -1,10 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -extern "C" { - pub fn syscall(arg1: ::std::os::raw::c_long, ...) -> ::std::os::raw::c_long; -} diff --git a/tests/helper/src/gen/sys/riscv64gc_openbsd/dlfcn.rs b/tests/helper/src/gen/sys/riscv64gc_openbsd/dlfcn.rs deleted file mode 100644 index e7bac10c..00000000 --- a/tests/helper/src/gen/sys/riscv64gc_openbsd/dlfcn.rs +++ /dev/null @@ -1,15 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -pub const RTLD_DEFAULT: *mut ::std::os::raw::c_void = -2i8 - as *mut ::std::os::raw::c_void; -extern "C" { - pub fn dlsym( - arg1: *mut ::core::ffi::c_void, - arg2: *const ::std::os::raw::c_char, - ) -> *mut ::core::ffi::c_void; -} diff --git a/tests/helper/src/gen/sys/riscv64gc_openbsd/machine_cpu.rs b/tests/helper/src/gen/sys/riscv64gc_openbsd/machine_cpu.rs deleted file mode 100644 index 8e49ea1f..00000000 --- a/tests/helper/src/gen/sys/riscv64gc_openbsd/machine_cpu.rs +++ /dev/null @@ -1,9 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -pub const CPU_COMPATIBLE: u32 = 1; -pub const CPU_MAXID: u32 = 2; diff --git a/tests/helper/src/gen/sys/riscv64gc_openbsd/mod.rs b/tests/helper/src/gen/sys/riscv64gc_openbsd/mod.rs deleted file mode 100644 index 5b54970a..00000000 --- a/tests/helper/src/gen/sys/riscv64gc_openbsd/mod.rs +++ /dev/null @@ -1,24 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] -mod dlfcn; -pub use dlfcn::RTLD_DEFAULT; -pub use dlfcn::dlsym; -mod sys_auxv; -pub use sys_auxv::AT_NULL; -pub use sys_auxv::AT_IGNORE; -pub use sys_auxv::AT_PAGESZ; -pub use sys_auxv::AT_HWCAP; -pub use sys_auxv::AT_HWCAP2; -pub use sys_auxv::AT_COUNT; -pub use sys_auxv::elf_aux_info; -mod sys_sysctl; -pub use sys_sysctl::CTL_MACHDEP; -pub use sys_sysctl::sysctl; -mod machine_cpu; -pub use machine_cpu::CPU_COMPATIBLE; -pub use machine_cpu::CPU_MAXID; -pub type c_char = u8; diff --git a/tests/helper/src/gen/sys/riscv64gc_openbsd/sys_auxv.rs b/tests/helper/src/gen/sys/riscv64gc_openbsd/sys_auxv.rs deleted file mode 100644 index b2dc7e1e..00000000 --- a/tests/helper/src/gen/sys/riscv64gc_openbsd/sys_auxv.rs +++ /dev/null @@ -1,20 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -pub const AT_NULL: u32 = 0; -pub const AT_IGNORE: u32 = 1; -pub const AT_PAGESZ: u32 = 6; -pub const AT_HWCAP: u32 = 25; -pub const AT_HWCAP2: u32 = 26; -pub const AT_COUNT: u32 = 27; -extern "C" { - pub fn elf_aux_info( - aux: ::std::os::raw::c_int, - buf: *mut ::core::ffi::c_void, - buflen: ::std::os::raw::c_int, - ) -> ::std::os::raw::c_int; -} diff --git a/tests/helper/src/gen/sys/riscv64gc_openbsd/sys_sysctl.rs b/tests/helper/src/gen/sys/riscv64gc_openbsd/sys_sysctl.rs deleted file mode 100644 index 23078453..00000000 --- a/tests/helper/src/gen/sys/riscv64gc_openbsd/sys_sysctl.rs +++ /dev/null @@ -1,19 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by portable-atomic-internal-codegen -// (gen function at tools/codegen/src/ffi.rs). -// It is not intended for manual editing. - -#![cfg_attr(rustfmt, rustfmt::skip)] - -pub type u_int = ::std::os::raw::c_uint; -pub const CTL_MACHDEP: u32 = 7; -extern "C" { - pub fn sysctl( - arg1: *const ::std::os::raw::c_int, - arg2: u_int, - arg3: *mut ::core::ffi::c_void, - arg4: *mut usize, - arg5: *mut ::core::ffi::c_void, - arg6: usize, - ) -> ::std::os::raw::c_int; -} diff --git a/tests/helper/src/lib.rs b/tests/helper/src/lib.rs deleted file mode 100644 index e9640e03..00000000 --- a/tests/helper/src/lib.rs +++ /dev/null @@ -1,56 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT - -#![no_std] -#![allow( - clippy::missing_panics_doc, - clippy::new_without_default, - clippy::undocumented_unsafe_blocks -)] - -#[cfg(feature = "std")] -extern crate std; - -#[cfg(feature = "std")] -#[cfg(unix)] -pub use libc; -#[cfg(feature = "std")] -#[cfg(windows)] -pub use windows_sys; - -#[cfg(feature = "std")] -#[path = "gen/sys/mod.rs"] -pub mod sys; - -#[cfg(feature = "std")] -pub mod cpuinfo; -#[cfg(feature = "std")] -#[cfg(feature = "critical-section")] -mod critical_section_std; -#[cfg(feature = "std")] -pub mod once_lock; - -use core::sync::atomic::Ordering; - -pub const LOAD_ORDERINGS: [Ordering; 3] = [Ordering::Relaxed, Ordering::Acquire, Ordering::SeqCst]; -pub const STORE_ORDERINGS: [Ordering; 3] = [Ordering::Relaxed, Ordering::Release, Ordering::SeqCst]; -pub const SWAP_ORDERINGS: [Ordering; 5] = - [Ordering::Relaxed, Ordering::Release, Ordering::Acquire, Ordering::AcqRel, Ordering::SeqCst]; -pub const COMPARE_EXCHANGE_ORDERINGS: [(Ordering, Ordering); 15] = [ - (Ordering::Relaxed, Ordering::Relaxed), - (Ordering::Relaxed, Ordering::Acquire), - (Ordering::Relaxed, Ordering::SeqCst), - (Ordering::Acquire, Ordering::Relaxed), - (Ordering::Acquire, Ordering::Acquire), - (Ordering::Acquire, Ordering::SeqCst), - (Ordering::Release, Ordering::Relaxed), - (Ordering::Release, Ordering::Acquire), - (Ordering::Release, Ordering::SeqCst), - (Ordering::AcqRel, Ordering::Relaxed), - (Ordering::AcqRel, Ordering::Acquire), - (Ordering::AcqRel, Ordering::SeqCst), - (Ordering::SeqCst, Ordering::Relaxed), - (Ordering::SeqCst, Ordering::Acquire), - (Ordering::SeqCst, Ordering::SeqCst), -]; -pub const FENCE_ORDERINGS: [Ordering; 4] = - [Ordering::Release, Ordering::Acquire, Ordering::AcqRel, Ordering::SeqCst]; diff --git a/tests/helper/src/once_lock.rs b/tests/helper/src/once_lock.rs deleted file mode 100644 index a6af3a50..00000000 --- a/tests/helper/src/once_lock.rs +++ /dev/null @@ -1,47 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT - -// Based on std::sync::OnceLock. -// Note that we cannot use once_cell crate due to its MSRV (we run tests on Rust 1.56). - -use std::{cell::UnsafeCell, mem::MaybeUninit, sync::Once}; - -pub struct OnceLock { - once: Once, - value: UnsafeCell>, - // Unlike std::sync::OnceLock, we don't need PhantomData here because - // we don't use #[may_dangle]. -} - -unsafe impl Sync for OnceLock {} - -impl OnceLock { - #[must_use] - pub const fn new() -> Self { - Self { once: Once::new(), value: UnsafeCell::new(MaybeUninit::uninit()) } - } - - pub fn get_or_init(&self, f: F) -> &T - where - F: FnOnce() -> T, - { - if !self.once.is_completed() { - self.once.call_once(|| { - let value = f(); - unsafe { - self.value.get().cast::().write(value); - } - }); - } - // SAFETY: The inner value has been initialized - unsafe { &*self.value.get().cast::() } - } -} - -impl Drop for OnceLock { - fn drop(&mut self) { - if self.once.is_completed() { - // SAFETY: The inner value has been initialized - unsafe { self.value.get().cast::().drop_in_place() }; - } - } -} diff --git a/tests/no-std-qemu/Cargo.toml b/tests/no-std-qemu/Cargo.toml index 1124dd65..92cc504f 100644 --- a/tests/no-std-qemu/Cargo.toml +++ b/tests/no-std-qemu/Cargo.toml @@ -6,7 +6,6 @@ publish = false [dependencies] portable-atomic = { path = "../..", features = ["float"] } -test-helper = { path = "../helper" } paste = "1" semihosting = { version = "0.1", features = ["stdio", "panic-handler"] } diff --git a/tests/no-std-qemu/src/main.rs b/tests/no-std-qemu/src/main.rs index 8b639773..a6a49cef 100644 --- a/tests/no-std-qemu/src/main.rs +++ b/tests/no-std-qemu/src/main.rs @@ -61,7 +61,7 @@ fn run() { // TODO: undefined reference to `__sync_synchronize' #[cfg(not(armv5te))] - for &order in &test_helper::FENCE_ORDERINGS { + for &order in &helper::FENCE_ORDERINGS { fence(order); compiler_fence(order); } diff --git a/tests/xtensa/Cargo.toml b/tests/xtensa/Cargo.toml index 930f70b9..b17ee322 100644 --- a/tests/xtensa/Cargo.toml +++ b/tests/xtensa/Cargo.toml @@ -6,7 +6,6 @@ publish = false [dependencies] portable-atomic = { path = "../..", features = ["float"] } -test-helper = { path = "../helper" } paste = "1" diff --git a/tests/xtensa/src/main.rs b/tests/xtensa/src/main.rs index 0ae79845..a403971d 100644 --- a/tests/xtensa/src/main.rs +++ b/tests/xtensa/src/main.rs @@ -60,7 +60,7 @@ fn main() -> ! { }; } - for &order in &test_helper::FENCE_ORDERINGS { + for &order in &helper::FENCE_ORDERINGS { fence(order); compiler_fence(order); } diff --git a/tools/ci/gen.sh b/tools/ci/gen.sh index 30e2ac9c..77a37305 100755 --- a/tools/ci/gen.sh +++ b/tools/ci/gen.sh @@ -18,7 +18,7 @@ git config user.name "Taiki Endo" git config user.email "te316e89@gmail.com" has_update='' -for path in no_atomic.rs src/gen/* tests/helper/src/gen/sys; do +for path in no_atomic.rs src/gen/*; do git add -N "${path}" if ! git diff --exit-code -- "${path}"; then git add "${path}" diff --git a/tools/codegen/Cargo.toml b/tools/codegen/Cargo.toml deleted file mode 100644 index 563f2f6a..00000000 --- a/tools/codegen/Cargo.toml +++ /dev/null @@ -1,21 +0,0 @@ -[package] -name = "portable-atomic-internal-codegen" -version = "0.0.0" -edition = "2018" -publish = false - -[dependencies] -bindgen = { default-features = false, features = ["prettyplease", "runtime"], git = "https://github.com/taiki-e/rust-bindgen.git", branch = "dev" } # https://github.com/rust-lang/rust-bindgen/pull/2369 + avoid https://github.com/rust-lang/cargo/issues/10623 + avoid bug on generate c str option -camino = "1" -duct = "0.13" -fs-err = "2" -globset = { version = "0.4", default-features = false } -prettyplease = "0.2" -proc-macro2 = { version = "1", default-features = false } -quote = { version = "1", default-features = false } -regex = { version = "1", default-features = false, features = ["std"] } -syn = { version = "2", default-features = false, features = ["parsing", "printing", "full"] } -target-spec-json = "0.1" - -[lints] -workspace = true diff --git a/tools/codegen/patches/.gitkeep b/tools/codegen/patches/.gitkeep deleted file mode 100644 index e69de29b..00000000 diff --git a/tools/codegen/src/ffi.rs b/tools/codegen/src/ffi.rs deleted file mode 100644 index c627d820..00000000 --- a/tools/codegen/src/ffi.rs +++ /dev/null @@ -1,1378 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT - -// Run-time CPU feature detection on non-x86 systems usually requires the use of -// platform APIs, and we define our own FFI bindings to those APIs. -// -// We use only one or two function(s) and a few types/constants per platform, -// but technically OS can change these APIs (unfortunately, some OSes don't care -// about breaking API/ABI between releases), so it is preferable to be able -// to detect them. -// -// See also https://github.com/rust-lang/libc/issues/570. - -use std::process::Command; - -use camino::{Utf8Path, Utf8PathBuf}; -use duct::cmd; -use fs::os::unix::fs::symlink; -use fs_err as fs; -use quote::{format_ident, quote}; -use regex::Regex; -use target_spec_json::{ - Arch::{self, *}, - Env::{self, *}, - Os::{self, *}, - TargetEndian::*, - TargetSpec, -}; - -use crate::file::{self, workspace_root}; - -#[rustfmt::skip] -static TARGETS: &[Target] = &[ - Target { - triples: &[ - // Linux (glibc) - "aarch64-unknown-linux-gnu", - "aarch64_be-unknown-linux-gnu", - "aarch64-unknown-linux-gnu_ilp32", - "aarch64_be-unknown-linux-gnu_ilp32", - "powerpc64-unknown-linux-gnu", - "powerpc64le-unknown-linux-gnu", - "riscv32gc-unknown-linux-gnu", - "riscv64gc-unknown-linux-gnu", - // Linux (musl) - "aarch64-unknown-linux-musl", - "powerpc64-unknown-linux-musl", - "powerpc64le-unknown-linux-musl", - "riscv32gc-unknown-linux-musl", - "riscv64gc-unknown-linux-musl", - // Linux (uClibc-ng) - "aarch64-unknown-linux-uclibc", - // Android - "aarch64-linux-android", - "riscv64-linux-android", - ], - headers: &[ - Header { - // https://github.com/torvalds/linux/blob/HEAD/arch/powerpc/include/uapi/asm/cputable.h - path: "linux-headers:asm/cputable.h", - types: &[], - vars: &["PPC_FEATURE.*"], - functions: &[], - arch: &[powerpc64], - os: &[], - env: &[], - }, - Header { - // https://github.com/torvalds/linux/blob/HEAD/arch/arm64/include/uapi/asm/hwcap.h - // https://github.com/torvalds/linux/blob/HEAD/arch/riscv/include/uapi/asm/hwcap.h - path: "linux-headers:asm/hwcap.h", - types: &[], - // TODO: COMPAT_HWCAP.* for riscv - vars: &["HWCAP.*"], - functions: &[], - arch: &[aarch64, riscv32, riscv64], - os: &[], - env: &[], - }, - Header { - // https://github.com/torvalds/linux/blob/HEAD/arch/riscv/include/uapi/asm/hwprobe.h - path: "linux-headers:asm/hwprobe.h", - types: &["riscv_hwprobe"], - vars: &["RISCV_HWPROBE_.*"], - functions: &[], - arch: &[riscv32, riscv64], - os: &[], - env: &[], - }, - Header { - path: "linux-headers:asm/unistd.h", - types: &[], - vars: &["__NR_.*"], - functions: &[], - arch: &[], - os: &[], - env: &[], - }, - Header { - // https://github.com/torvalds/linux/blob/HEAD/include/uapi/linux/auxvec.h - path: "linux-headers:linux/auxvec.h", - types: &[], - vars: &["AT_.*"], - functions: &[], - arch: &[], - os: &[], - env: &[], - }, - Header { - // https://github.com/torvalds/linux/blob/HEAD/include/uapi/linux/prctl.h - path: "linux-headers:linux/prctl.h", - types: &[], - vars: &["PR_.*"], - functions: &[], - arch: &[], - os: &[], - env: &[], - }, - Header { - // https://github.com/bminor/glibc/blob/HEAD/dlfcn/dlfcn.h - // https://github.com/bminor/musl/blob/HEAD/include/dlfcn.h - // https://github.com/wbx-github/uclibc-ng/blob/HEAD/include/dlfcn.h - // https://github.com/aosp-mirror/platform_bionic/blob/HEAD/libc/include/dlfcn.h - path: "dlfcn.h", - types: &[], - vars: &["RTLD_DEFAULT"], - functions: &["dlsym"], - arch: &[], - os: &[], - env: &[], - }, - Header { - // https://github.com/bminor/glibc/blob/HEAD/elf/elf.h - // https://github.com/bminor/musl/blob/HEAD/include/elf.h - // https://github.com/wbx-github/uclibc-ng/blob/HEAD/include/elf.h - // https://github.com/aosp-mirror/platform_bionic/blob/HEAD/libc/include/elf.h - path: "elf.h", - types: &["Elf.*_auxv_t"], - vars: &[], - functions: &[], - arch: &[], - os: &[], - env: &[], - }, - Header { - // https://github.com/bminor/glibc/blob/HEAD/misc/sys/auxv.h - // https://github.com/bminor/musl/blob/HEAD/include/sys/auxv.h - // https://github.com/wbx-github/uclibc-ng/blob/HEAD/include/sys/auxv.h - // https://github.com/aosp-mirror/platform_bionic/blob/HEAD/libc/include/sys/auxv.h - path: "sys/auxv.h", - types: &[], - vars: &[], - functions: &["getauxval"], - arch: &[], - os: &[], - env: &[], - }, - Header { - // https://github.com/aosp-mirror/platform_bionic/blob/HEAD/libc/include/sys/system_properties.h - path: "sys/system_properties.h", - types: &[], - vars: &["PROP_VALUE_MAX"], - functions: &["__system_property_get"], - arch: &[aarch64], - os: &[android], - env: &[], - }, - Header { - path: "unistd.h", - types: &[], - vars: &[], - functions: &["syscall"], - arch: &[], - os: &[], - env: &[], - }, - ], - }, - Target { - triples: &[ - "aarch64-apple-darwin", - "aarch64-apple-ios", - "aarch64-apple-tvos", - "aarch64-apple-visionos", - "aarch64-apple-watchos", - "arm64_32-apple-watchos", - ], - headers: &[ - Header { - // https://github.com/apple-oss-distributions/xnu/blob/HEAD/bsd/sys/sysctl.h - path: "sys/sysctl.h", - types: &[], - vars: &["CTL_MAXNAME"], - functions: &["sysctlbyname"], - arch: &[], - os: &[], - env: &[], - }, - ], - }, - Target { - triples: &[ - "aarch64-unknown-freebsd", - "powerpc64-unknown-freebsd", - "powerpc64le-unknown-freebsd", - "riscv64gc-unknown-freebsd", - ], - headers: &[ - Header { - // https://github.com/freebsd/freebsd-src/blob/HEAD/include/dlfcn.h - path: "dlfcn.h", - types: &[], - vars: &["RTLD_DEFAULT"], - functions: &["dlsym"], - arch: &[], - os: &[], - env: &[], - }, - Header { - // https://github.com/freebsd/freebsd-src/blob/HEAD/sys/sys/auxv.h - path: "sys/auxv.h", - types: &[], - vars: &[], - functions: &["elf_aux_info"], - arch: &[], - os: &[], - env: &[], - }, - Header { - // https://github.com/freebsd/freebsd-src/blob/HEAD/sys/sys/syscall.h - path: "sys/syscall.h", - types: &[], - vars: &["SYS_.*"], - functions: &[], - arch: &[], - os: &[], - env: &[], - }, - Header { - // https://github.com/freebsd/freebsd-src/blob/HEAD/sys/sys/sysctl.h - path: "sys/sysctl.h", - types: &[], - vars: &["CTL_KERN", "KERN_PROC", "KERN_PROC_AUXV"], - functions: &[], - arch: &[], - os: &[], - env: &[], - }, - Header { - // https://github.com/freebsd/freebsd-src/blob/HEAD/sys/sys/elf_common.h - path: "sys/elf_common.h", - types: &[], - vars: &["AT_.*"], - functions: &[], - arch: &[], - os: &[], - env: &[], - }, - Header { - // https://github.com/freebsd/freebsd-src/blob/HEAD/sys/powerpc/include/cpu.h - path: "machine/cpu.h", - types: &[], - vars: &["PPC_FEATURE.*"], - functions: &[], - arch: &[powerpc64], - os: &[], - env: &[], - }, - Header { - // https://github.com/freebsd/freebsd-src/blob/HEAD/sys/arm64/include/elf.h - // https://github.com/freebsd/freebsd-src/blob/HEAD/sys/powerpc/include/elf.h - // https://github.com/freebsd/freebsd-src/blob/HEAD/sys/riscv/include/elf.h - path: "machine/elf.h", - types: &["Elf.*_Auxinfo"], - vars: &["HWCAP.*"], - functions: &[], - // TODO: riscv - arch: &[aarch64, powerpc64], - os: &[], - env: &[], - }, - ], - }, - Target { - triples: &[ - "aarch64-unknown-netbsd", - "aarch64_be-unknown-netbsd", - // "riscv64gc-unknown-netbsd", - ], - headers: &[ - Header { - // https://github.com/NetBSD/src/blob/HEAD/sys/sys/syscall.h - path: "sys/syscall.h", - types: &[], - vars: &["SYS_.*"], - functions: &[], - arch: &[], - os: &[], - env: &[], - }, - Header { - // https://github.com/NetBSD/src/blob/HEAD/sys/sys/sysctl.h - path: "sys/sysctl.h", - types: &["sysctlnode"], - vars: &["CTL_QUERY", "SYSCTL_VERS_1", "SYSCTL_VERSION"], - functions: &["sysctlbyname"], - arch: &[], - os: &[], - env: &[], - }, - Header { - // https://github.com/NetBSD/src/blob/HEAD/sys/arch/aarch64/include/armreg.h - path: "machine/armreg.h", - types: &["aarch64_sysctl_cpu_id"], - vars: &[], - functions: &[], - arch: &[aarch64], - os: &[], - env: &[], - }, - ], - }, - Target { - triples: &[ - "aarch64-unknown-openbsd", - "powerpc64-unknown-openbsd", - "riscv64gc-unknown-openbsd", - ], - headers: &[ - Header { - // https://github.com/openbsd/src/blob/HEAD/include/dlfcn.h - path: "dlfcn.h", - types: &[], - vars: &["RTLD_DEFAULT"], - functions: &["dlsym"], - arch: &[], - os: &[], - env: &[], - }, - Header { - // https://github.com/openbsd/src/blob/HEAD/sys/sys/auxv.h - path: "sys/auxv.h", - types: &[], - vars: &["AT_.*"], - functions: &["elf_aux_info"], - arch: &[], - os: &[], - env: &[], - }, - Header { - // https://github.com/openbsd/src/blob/HEAD/sys/sys/sysctl.h - path: "sys/sysctl.h", - types: &[], - vars: &["CTL_MACHDEP"], - functions: &["sysctl"], - arch: &[], - os: &[], - env: &[], - }, - Header { - // https://github.com/openbsd/src/blob/HEAD/sys/arch/arm64/include/cpu.h - // https://github.com/openbsd/src/blob/HEAD/sys/arch/powerpc64/include/cpu.h - // https://github.com/openbsd/src/blob/HEAD/sys/arch/riscv64/include/cpu.h - path: "machine/cpu.h", - types: &[], - vars: &["CPU_.*"], - functions: &[], - arch: &[], - os: &[], - env: &[], - }, - Header { - // https://github.com/openbsd/src/blob/HEAD/sys/arch/arm64/include/elf.h - // https://github.com/openbsd/src/blob/HEAD/sys/arch/powerpc64/include/elf.h - // https://github.com/openbsd/src/blob/HEAD/sys/arch/riscv64/include/elf.h - path: "machine/elf.h", - types: &[], - vars: &["HWCAP.*", "PPC_FEATURE.*"], - functions: &[], - // TODO: riscv - arch: &[aarch64, powerpc64], - os: &[], - env: &[], - }, - ], - }, - Target { - triples: &[ - "aarch64-unknown-illumos", - ], - headers: &[ - Header { - // https://github.com/illumos/illumos-gate/blob/HEAD/usr/src/uts/common/sys/auxv.h - // https://github.com/richlowe/illumos-gate/blob/arm64-gate/usr/src/uts/common/sys/auxv.h - path: "sys/auxv.h", - types: &[], - vars: &[], - functions: &["getisax"], - arch: &[], - os: &[], - env: &[], - }, - Header { - // https://github.com/richlowe/illumos-gate/blob/arm64-gate/usr/src/uts/common/sys/auxv_aarch64.h - path: "sys/auxv_aarch64.h", - types: &[], - vars: &["AV_AARCH64.*"], - functions: &[], - arch: &[aarch64], - os: &[], - env: &[], - }, - ], - }, - Target { - triples: &["powerpc64-ibm-aix"], - // TODO: There is no way to access to AIX headers. - headers: &[], - }, - Target { - triples: &[ - "aarch64-unknown-fuchsia", - "riscv64gc-unknown-fuchsia", - ], - headers: &[ - // TODO: zx_system_get_features - Header { - // https://fuchsia.googlesource.com/fuchsia/+/refs/heads/main/zircon/system/public/zircon/types.h - path: "zircon/system/public/zircon/types.h", - types: &["zx_status_t"], - vars: &[], - functions: &[], - arch: &[], - os: &[], - env: &[], - }, - Header { - // https://fuchsia.googlesource.com/fuchsia/+/refs/heads/main/zircon/system/public/zircon/errors.h - path: "zircon/system/public/zircon/errors.h", - types: &[], - vars: &["ZX_OK"], - functions: &[], - arch: &[], - os: &[], - env: &[], - }, - Header { - // https://fuchsia.googlesource.com/fuchsia/+/refs/heads/main/zircon/system/public/zircon/features.h - path: "zircon/system/public/zircon/features.h", - types: &[], - vars: &["ZX_.*"], - functions: &[], - arch: &[], - os: &[], - env: &[], - }, - ], - }, -]; - -#[derive(Clone, Copy)] -struct Target { - triples: &'static [&'static str], - headers: &'static [Header], -} - -#[derive(Clone, Copy)] -struct Header { - path: &'static str, - types: &'static [&'static str], - vars: &'static [&'static str], - functions: &'static [&'static str], - - // If not empty, code is generated only for the specified targets. - arch: &'static [Arch], - os: &'static [Os], - env: &'static [Env], -} - -pub(crate) fn gen() { - if !cfg!(all(target_os = "linux", target_arch = "x86_64")) { - eprintln!("warning: codegen is only fully supported on x86_64 Linux"); - // TODO - return; - } - let workspace_root = &workspace_root(); - let download_dir = &workspace_root.join("tools/codegen/tmp/cache"); - fs::create_dir_all(download_dir).unwrap(); - let out_dir = &workspace_root.join("tests/helper/src/gen/sys"); - if out_dir.exists() { - fs::remove_dir_all(out_dir).unwrap(); - } - let raw_line = file::header(function_name!()); - let raw_line = raw_line.trim_end(); - - let mut target_modules = vec![]; - for &Target { triples, headers } in TARGETS { - for &triple in triples { - eprintln!("\ninfo: generating bindings for {triple}"); - let target = &target_spec_json(triple); - let module_name = triple.replace("-unknown", "").replace(['-', '.'], "_"); - let out_dir = &out_dir.join(&module_name); - { - let module_name = format_ident!("{}", module_name); - let mut cfg = quote!(); - let arch = target.arch.as_str(); - cfg.extend(quote! { target_arch = #arch }); - let os = target.os.as_str(); - cfg.extend(quote! { , target_os = #os }); - if target.env != Env::none { - let env = target.env.as_str(); - cfg.extend(quote! { , target_env = #env }); - } - let endian = target.target_endian.as_str(); - cfg.extend(quote! { , target_endian = #endian }); - let width = &target.target_pointer_width; - cfg.extend(quote! { , target_pointer_width = #width }); - target_modules.push(quote! { - #[cfg(all(#cfg))] - mod #module_name; - #[cfg(all(#cfg))] - pub use #module_name::*; - }); - } - fs::create_dir_all(out_dir).unwrap(); - - let mut modules = vec![]; - let mut first = true; - let mut src_dir = Utf8PathBuf::new(); - let mut files = vec![]; - for &header in headers { - if !header.arch.is_empty() && !header.arch.contains(&target.arch) { - continue; - } - if !header.os.is_empty() && !header.os.contains(&target.os) { - continue; - } - if !header.env.is_empty() && !header.env.contains(&target.env) { - continue; - } - if target.os == linux - && target.env == gnu - && target.arch == aarch64 - && target.target_pointer_width == "32" - && matches!(header.path, "sys/rseq.h") - { - // TODO: ilp32 fork is old - continue; - } - if first { - src_dir = download_headers(target, download_dir); - first = false; - } - let src_dir = &src_dir; - - let functions = header.functions.join("|"); - let types = header.types.join("|"); - let vars = header.vars.join("|"); - - let out_file = format!( - "{}.rs", - Utf8PathBuf::from(header.path.replace(['/', '-', ':'], "_")) - .file_stem() - .unwrap() - ); - let out_path = out_dir.join(&out_file); - - let target_flag = &*format!("--target={}", target.llvm_target); - let mut clang_args = vec![target_flag, "-nostdinc"]; - macro_rules! define { - ($name:ident) => {{ - clang_args.push(concat!("-D", stringify!($name))); - }}; - ($name:ident, $value:literal) => {{ - clang_args.push(concat!("-D", stringify!($name), "=", $value)); - }}; - } - macro_rules! include_header { - ($value:literal) => {{ - clang_args.push(concat!("-include", $value)); - }}; - } - let header_path; - let include; - match target.os { - linux | android => { - let linux_headers_dir = linux_headers_dir(target, src_dir); - if let Some(path) = header.path.strip_prefix("linux-headers:") { - header_path = linux_headers_dir.join("include").join(path); - include = vec![linux_headers_dir.join("include")]; - } else if target.os == android { - let bionic_dir = bionic_dir(src_dir).join("libc"); - header_path = bionic_dir.join("include").join(header.path); - include = vec![ - bionic_dir.join("include"), - bionic_dir.join("kernel/uapi"), - bionic_dir.join("kernel/android/uapi"), - ]; - } else { - let headers_dir = libc_headers_dir(target, src_dir); - header_path = headers_dir.join("include").join(header.path); - include = vec![ - headers_dir.join("include"), - linux_headers_dir.join("include"), - ]; - } - define!(_GNU_SOURCE); - } - _ if target.vendor.as_deref() == Some("apple") => { - header_path = src_dir.join("bsd").join(header.path); - include = vec![ - src_dir.join("bsd"), - src_dir.join("EXTERNAL_HEADERS"), - src_dir.join("osfmk"), - src_dir.parent().unwrap().join("Libc/include"), - src_dir.parent().unwrap().join("libpthread/include"), - ]; - // https://github.com/apple-oss-distributions/xnu/blob/8d741a5de7ff4191bf97d57b9f54c2f6d4a15585/bsd/sys/cdefs.h#L628-L638 - define!(_POSIX_C_SOURCE, "200112L"); - include_header!("sys/_types/_u_char.h"); - include_header!("sys/_types/_u_short.h"); - include_header!("sys/_types/_u_int.h"); - } - freebsd | openbsd => { - header_path = src_dir.join("include").join(header.path); - include = vec![src_dir.join("include")]; - include_header!("sys/types.h"); - } - netbsd => { - header_path = src_dir.join("include").join(header.path); - include = vec![ - src_dir.join("include"), - src_dir.join("include/sys"), - src_dir.join("lib/libpthread"), - ]; - match target.arch { - mips | mips32r6 | mips64 | mips64r6 => match target.target_endian { - little => define!(_BYTE_ORDER, "_LITTLE_ENDIAN"), - big => define!(_BYTE_ORDER, "_BIG_ENDIAN"), - }, - _ => {} - } - } - illumos => { - header_path = src_dir.join("usr/src/uts/common").join(header.path); - include = vec![ - src_dir.join("usr/src/uts/common"), - src_dir.join("usr/src/uts").join(illumos_arch(target)), - src_dir.join("usr/src/head"), - ]; - } - fuchsia => { - header_path = src_dir.join(header.path); - include = vec![ - src_dir.join("zircon/system/public"), - src_dir.join("zircon/kernel/lib/libc/include"), - ]; - define!(_KERNEL); - } - _ => todo!("{target:?}"), - } - for include in &include { - clang_args.push("-I"); - clang_args.push(include.as_str()); - } - - let bindings = bindgen::builder() - .array_pointers_in_arguments(true) - .derive_debug(false) - .disable_header_comment() - .generate_comments(false) - .layout_tests(false) - .rust_target(bindgen::RustTarget::Stable_1_36) - .use_core() - .formatter(bindgen::Formatter::Prettyplease) - .header(header_path.as_str()) - .clang_args(&clang_args) - .allowlist_function(&functions) - .allowlist_type(&types) - .allowlist_var(&vars) - .raw_line(raw_line) - .generate() - .unwrap_or_else(|e| panic!("failed to generate for {}: {}", header.path, e)); - bindings.write_to_file(out_path).unwrap_or_else(|e| { - panic!("failed to write_to_file for {}: {}", header.path, e) - }); - - files.push((out_file, functions, types, vars)); - } - for (path, functions, types, vars) in &files { - let module_name = format_ident!("{}", Utf8Path::new(path).file_stem().unwrap()); - let mut uses = vec![]; - // Only export matched names because the module may contain type def. - let functions = Regex::new(&format!("^({functions})$")).unwrap(); - let types = Regex::new(&format!("^({types})$")).unwrap(); - let vars = Regex::new(&format!("^({vars})$")).unwrap(); - let f = syn::parse_file(&fs::read_to_string(out_dir.join(path)).unwrap()).unwrap(); - for i in f.items { - match i { - syn::Item::ForeignMod(i) => { - for i in i.items { - match i { - syn::ForeignItem::Fn(i) - if matches!(i.vis, syn::Visibility::Public(..)) - && functions.is_match(&i.sig.ident.to_string()) => - { - uses.push(format_ident!("{}", i.sig.ident)); - } - syn::ForeignItem::Static(i) - if matches!(i.vis, syn::Visibility::Public(..)) - && vars.is_match(&i.ident.to_string()) => - { - uses.push(format_ident!("{}", i.ident)); - } - _ => {} - } - } - } - syn::Item::Struct(syn::ItemStruct { vis, ident, .. }) - | syn::Item::Type(syn::ItemType { vis, ident, .. }) - if matches!(vis, syn::Visibility::Public(..)) - && types.is_match(&ident.to_string()) => - { - uses.push(format_ident!("{ident}")); - } - syn::Item::Const(i) - if matches!(i.vis, syn::Visibility::Public(..)) - && vars.is_match(&i.ident.to_string()) => - { - uses.push(format_ident!("{}", i.ident)); - } - _ => {} - } - } - let uses = uses.iter(); - modules.push(quote! { - mod #module_name; - #(pub use #module_name::#uses;)* - }); - } - // e.g., clang -E -dM -x c /dev/null -target aarch64-unknown-linux-gnu | grep -F __CHAR_ - let clang_defs = - cmd!("clang", "-E", "-dM", "-x", "c", "/dev/null", "-target", &target.llvm_target) - .read() - .unwrap(); - let c_char_type = if clang_defs.lines().any(|l| l == "#define __CHAR_UNSIGNED__ 1") { - quote! { u8 } - } else { - quote! { i8 } - }; - file::write(function_name!(), out_dir.join("mod.rs"), quote! { - #(#modules)* - pub type c_char = #c_char_type; - }) - .unwrap(); - } - } - file::write(function_name!(), out_dir.join("mod.rs"), quote! { - #![allow( - dead_code, - non_camel_case_types, - non_upper_case_globals, - unreachable_pub, - clippy::cast_sign_loss, - clippy::pub_underscore_fields, - clippy::unnecessary_cast, - )] - #(#target_modules)* - }) - .unwrap(); -} - -// https://github.com/bminor/glibc -const GLIBC_REPO: &str = "bminor/glibc"; -// https://github.com/bminor/musl -const MUSL_REPO: &str = "bminor/musl"; -// https://github.com/wbx-github/uclibc-ng -const UCLIBC_REPO: &str = "wbx-github/uclibc-ng"; -// https://github.com/aosp-mirror/platform_bionic -const BIONIC_REPO: &str = "aosp-mirror/platform_bionic"; -fn download_headers(target: &TargetSpec, download_dir: &Utf8Path) -> Utf8PathBuf { - #[track_caller] - fn clone( - download_dir: &Utf8Path, - repository: &str, - branch: Option<&str>, - sparse_checkout: &[&str], - ) -> Utf8PathBuf { - let name = repository.strip_suffix(".git").unwrap_or(repository); - let name = name.replace("https://fuchsia.googlesource.com/", "fuchsia/"); - let name = name.replace("https://git.linaro.org/toolchain/", "linaro-toolchain/"); - let name = - name.replace("https://git.kernel.org/pub/scm/linux/kernel/git/arm64/", "linux-arm64/"); - assert!(!name.contains("://"), "{}", name); - let repository = if repository.contains("://") { - repository.to_owned() - } else { - format!("https://github.com/{repository}.git") - }; - let src_dir = download_dir.join(name); - if !src_dir.exists() { - fs::create_dir_all(src_dir.parent().unwrap()).unwrap(); - if sparse_checkout.is_empty() { - if let Some(branch) = branch { - cmd!("git", "clone", "--depth", "1", "-b", branch, repository, &src_dir) - .run() - .unwrap(); - } else { - cmd!("git", "clone", "--depth", "1", repository, &src_dir).run().unwrap(); - } - } else { - if let Some(branch) = branch { - cmd!( - "git", - "clone", - "--depth", - "1", - "--filter=tree:0", - "--no-checkout", - "-b", - branch, - repository, - &src_dir, - ) - .run() - .unwrap(); - } else { - cmd!( - "git", - "clone", - "--depth", - "1", - "--filter=tree:0", - "--no-checkout", - repository, - &src_dir, - ) - .run() - .unwrap(); - } - } - } - if sparse_checkout.is_empty() { - if let Some(branch) = branch { - cmd!("git", "checkout", branch).dir(&src_dir).stdout_capture().run().unwrap(); - } - } else { - let _ = fs::remove_file(src_dir.join(".git").join("index.lock")); - cmd!("git", "sparse-checkout", "init").dir(&src_dir).run().unwrap(); - let mut out = String::from("/*\n!/*/\n"); // always download top-level files - out.push_str(&sparse_checkout.join("\n")); - fs::write(src_dir.join(".git/info/sparse-checkout"), out).unwrap(); - cmd!("git", "checkout").dir(&src_dir).stdout_capture().run().unwrap(); - } - cmd!("git", "clean", "-df").dir(&src_dir).stdout_capture().run().unwrap(); - let _ = fs::remove_file(src_dir.join(".git").join("index.lock")); - cmd!("git", "checkout", ".").dir(&src_dir).stderr_capture().run().unwrap(); - src_dir - } - #[track_caller] - fn patch(target: &TargetSpec, src_dir: &Utf8Path) { - let patch_dir = workspace_root().join("tools/codegen/patches"); - for path in [ - patch_dir.join(format!("{}.diff", target.os)), - patch_dir.join(format!("{}-{}.diff", target.os, target.env)), - ] { - if !path.exists() { - continue; - } - let dir = match target.os { - linux => { - if target.env == gnu { - if target.arch == aarch64 && target.target_pointer_width == "32" { - return; - } - glibc_dir(target, src_dir) - } else { - todo!("{target:?}") - } - } - android => bionic_dir(src_dir), - _ => src_dir.to_owned(), - }; - cmd!("patch", "-p1") - .stdin_file(fs::File::open(path).unwrap().into_parts().0) - .dir(dir) - .run() - .unwrap(); - } - } - - let src_dir; - let mut patched = false; - match target.os { - linux | android => { - src_dir = if target.arch == aarch64 && target.target_pointer_width == "32" { - clone( - download_dir, - "https://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git", - Some("staging/ilp32-5.1"), - &[], - ) - } else { - clone(download_dir, "torvalds/linux", None, &[ - "/arch/", - "/include/", - "/scripts/", - "/tools/", - ]) - }; - let linux_arch = linux_arch(target); - let linux_headers_dir = &linux_headers_dir(target, &src_dir); - if !linux_headers_dir.exists() { - // https://github.com/torvalds/linux/blob/HEAD/Documentation/kbuild/headers_install.rst - cmd!( - "make", - "headers_install", - format!("ARCH={linux_arch}"), - format!("INSTALL_HDR_PATH={linux_headers_dir}"), - ) - .dir(&src_dir) - .stdout_capture() - .run() - .unwrap(); - } - if target.os == android { - clone(download_dir, BIONIC_REPO, None, &["/libc/"]); - let bionic_dir = bionic_dir(&src_dir); - let asm_arch = match target.arch { - arm => "asm-arm", - aarch64 => "asm-arm64", - riscv32 | riscv64 => "asm-riscv", - x86 | x86_64 => "asm-x86", - _ => todo!("{target:?}"), - }; - symlink( - bionic_dir.join("libc/kernel/uapi").join(asm_arch).join("asm"), - bionic_dir.join("libc/kernel/uapi").join("asm"), - ) - .unwrap(); - fs::write( - bionic_dir.join("libc/include/stddef.h"), - "\ - typedef long unsigned int size_t;\n\ - typedef long ptrdiff_t;\n\ - ", - ) - .unwrap(); - fs::write(bionic_dir.join("libc/include/stdbool.h"), "#define bool _Bool\n") - .unwrap(); - fs::write(bionic_dir.join("libc/include/float.h"), "").unwrap(); - } else if target.env == gnu { - if target.arch == aarch64 && target.target_pointer_width == "32" { - clone( - download_dir, - "https://git.linaro.org/toolchain/glibc.git", - Some("arm/ilp32"), - &[], - ); - } else { - clone(download_dir, GLIBC_REPO, None, &[]); - } - let glibc_src_dir = &glibc_dir(target, &src_dir); - let headers_dir = &libc_headers_dir(target, &src_dir); - if !headers_dir.exists() { - let mut cc = format!("{}-gcc", target.llvm_target.replace("-unknown", "")); - let mut cflags = String::new(); - if cmd!(&cc, "--version").stdout_capture().stderr_capture().run().is_err() { - cc = format!("{}-gcc", target.llvm_target); - if cmd!(&cc, "--version").stdout_capture().stderr_capture().run().is_err() { - // select alternative cc - match target.arch { - aarch64 => { - cc = "aarch64-linux-gnu-gcc".to_owned(); - if target.target_pointer_width == "32" { - cflags += " -mabi=ilp32"; - } - if target.target_endian == big { - cflags += " -mbig-endian"; - } - } - arm if !target.llvm_target.ends_with("hf") => { - cc = "arm-linux-gnueabi-gcc".to_owned(); - if target.target_endian == big { - cflags += " -mbig-endian"; - } - } - x86 => { - cc = "i686-linux-gnu-gcc".to_owned(); - if target.llvm_target.starts_with("i586") { - cflags += " -march=pentium -m32"; - } - } - powerpc64 if target.target_endian == big => { - cc = "powerpc64le-linux-gnu-gcc".to_owned(); - cflags += " -mbig-endian"; - } - riscv32 => { - cc = "riscv64-linux-gnu-gcc".to_owned(); - cflags += " -march=rv32gc -mabi=ilp32d"; - } - sparc => { - cc = "sparc64-linux-gnu-gcc".to_owned(); - cflags += " -m32 -mv8plus"; - } - _ => panic!( - "{}-gcc or {}-gcc required", - target.llvm_target.replace("-unknown", ""), - target.llvm_target - ), - } - } - } - // https://github.com/bminor/glibc/blob/HEAD/INSTALL - let build_dir = &glibc_src_dir.parent().unwrap().join("glibc-build"); - if build_dir.exists() { - fs::remove_dir_all(build_dir).unwrap(); - } - fs::create_dir_all(build_dir).unwrap(); - cmd!( - "bash", - "../glibc/configure", - format!("--prefix={headers_dir}"), - format!("--with-headers={linux_headers_dir}/include"), - format!("--build={}", target.llvm_target), - format!("--host={}", target.llvm_target), - ) - .dir(build_dir) - .env("CC", format!("{cc}{cflags}")) - .run() - .unwrap(); - cmd!("make", "install-headers").dir(build_dir).stdout_capture().run().unwrap(); - fs::write(headers_dir.join("include/gnu/stubs.h"), "").unwrap(); - } - fs::write( - headers_dir.join("include/stddef.h"), - "\ - #define NULL ((void*)0)\n\ - typedef long unsigned int size_t;\n\ - typedef long signed int ptrdiff_t;\n\ - ", - ) - .unwrap(); - patched = true; - } else if target.env == musl { - let musl_src_dir = &if target.arch == hexagon { - // https://github.com/quic/musl/tree/hexagon - clone(download_dir, "quic/musl", Some("hexagon"), &[]); - src_dir.join("../..").join("quic/musl") - } else { - clone(download_dir, MUSL_REPO, None, &["/arch/", "/include/", "/tools/"]); - src_dir.join("../..").join(MUSL_REPO) - }; - let musl_arch = musl_arch(target); - let headers_dir = &libc_headers_dir(target, &src_dir); - if !headers_dir.exists() { - // https://github.com/bminor/musl/blob/HEAD/Makefile - cmd!( - "make", - "install-headers", - format!("ARCH={musl_arch}"), - format!("DESTDIR={headers_dir}"), - "prefix=/", - ) - .dir(musl_src_dir) - .stdout_capture() - .run() - .unwrap(); - } - patched = true; - } else if target.env == uclibc { - clone(download_dir, UCLIBC_REPO, None, &[]); - let uclibc_arch = uclibc_arch(target); - let uclibc_src_dir = &src_dir.join("../..").join(UCLIBC_REPO); - let config_path = &uclibc_src_dir.join(".config"); - if config_path.exists() { - fs::remove_file(config_path).unwrap(); - } - let headers_dir = &libc_headers_dir(target, &src_dir); - if !headers_dir.exists() { - let (cc, cflags) = &match target.arch { - arm => ("arm-linux-gnueabi-gcc".to_owned(), ""), - _ => ( - format!( - "{}-gcc", - target.llvm_target.replace("-unknown", "").replace("uclibc", "gnu") - ), - "", - ), - }; - // https://github.com/wbx-github/uclibc-ng/blob/HEAD/Makefile.in - cmd!( - "make", - "allnoconfig", - format!("ARCH={uclibc_arch}"), - "UCLIBC_HAS_REALTIME=y", - "UCLIBC_LINUX_SPECIFIC=y", - ) - .dir(uclibc_src_dir) - .stdout_capture() - .run() - .unwrap(); - cmd!( - "make", - "install_headers", - format!("ARCH={uclibc_arch}"), - "UCLIBC_HAS_REALTIME=y", - "UCLIBC_LINUX_SPECIFIC=y", - "HAVE_SHARED=y", - format!("DESTDIR={headers_dir}"), - format!("PREFIX={headers_dir}"), - "DEVEL_PREFIX=/", - format!("KERNEL_HEADERS={linux_headers_dir}/include"), - format!("CC={cc}{cflags}"), - ) - .dir(uclibc_src_dir) - .stdout_capture() - .run() - .unwrap(); - } - fs::write( - headers_dir.join("include/stddef.h"), - "\ - typedef long unsigned int size_t;\n\ - ", - ) - .unwrap(); - patched = true; - } - } - _ if target.vendor.as_deref() == Some("apple") => { - clone(download_dir, "apple-oss-distributions/Libc", None, &["/include/"]); - clone(download_dir, "apple-oss-distributions/libpthread", None, &["/include/"]); - src_dir = clone(download_dir, "apple-oss-distributions/xnu", None, &[ - "/bsd/", - "/EXTERNAL_HEADERS/", - "/osfmk/", - ]); - // TODO: use https://github.com/apple-oss-distributions/xnu/blob/HEAD/Makefile? - // https://github.com/apple-oss-distributions/xnu/blob/HEAD/bsd/sys/make_symbol_aliasing.sh - fs::write(src_dir.join("bsd/sys/_symbol_aliasing.h"), "").unwrap(); - // https://github.com/apple-oss-distributions/xnu/blob/HEAD/bsd/sys/make_posix_availability.sh - cmd!("bash", "bsd/sys/make_posix_availability.sh", "bsd/sys/_posix_availability.h") - .dir(&src_dir) - .stdout_capture() - .run() - .unwrap(); - } - freebsd => { - src_dir = clone(download_dir, "freebsd/freebsd-src", None, &["/include/", "/sys/"]); - // TODO: use https://github.com/freebsd/freebsd-src/blob/HEAD/Makefile? - for path in ["sys"] { - symlink(src_dir.join("sys").join(path), src_dir.join("include").join(path)) - .unwrap(); - } - // https://github.com/freebsd/freebsd-src/tree/HEAD/sys - let arches = match target.arch { - x86_64 => &["amd64", "x86"][..], - arm => &["arm"], - aarch64 => &["arm64"], - x86 => &["i386", "x86"], - powerpc | powerpc64 => &["powerpc"], - riscv64 => &["riscv"], - _ => todo!("{target:?}"), - }; - symlink( - src_dir.join("sys").join(arches[0]).join("include"), - src_dir.join("include/machine"), - ) - .unwrap(); - for &arch in &arches[1..] { - symlink( - src_dir.join("sys").join(arch).join("include"), - src_dir.join("include").join(arch), - ) - .unwrap(); - } - } - netbsd => { - src_dir = clone(download_dir, "NetBSD/src", None, &[]); - for path in ["sys", "uvm"] { - symlink(src_dir.join("sys").join(path), src_dir.join("include").join(path)) - .unwrap(); - } - // https://github.com/NetBSD/src/tree/HEAD/sys/arch - let arches = match target.arch { - aarch64 => &["aarch64", "arm"][..], - x86_64 => &["amd64", "x86"], - arm => &["arm"], - x86 => &["i386", "x86"], - m68k => &["m68k"], - mips | mips32r6 | mips64 | mips64r6 => &["mips"], - powerpc | powerpc64 => &["powerpc"], - riscv32 | riscv64 => &["riscv"], - sparc => &["sparc"], - sparc64 => &["sparc64", "sparc"], - _ => todo!("{target:?}"), - }; - for &arch in arches { - symlink( - src_dir.join("sys/arch").join(arch).join("include"), - src_dir.join("include").join(arch), - ) - .unwrap(); - } - symlink(src_dir.join("include").join(arches[0]), src_dir.join("include/machine")) - .unwrap(); - match target.arch { - mips | mips32r6 | mips64 | mips64r6 => { - // TODO - fs::copy( - src_dir.join("sys/arch/evbmips/include/param.h"), - src_dir.join("sys/arch/mips/include/param.h"), - ) - .unwrap(); - } - _ => {} - } - } - openbsd => { - src_dir = clone(download_dir, "openbsd/src", None, &["/include/", "/sys/"]); - // TODO: use https://github.com/openbsd/src/blob/HEAD/Makefile? - for path in ["sys", "uvm"] { - symlink(src_dir.join("sys").join(path), src_dir.join("include").join(path)) - .unwrap(); - } - // https://github.com/openbsd/src/tree/HEAD/sys/arch - let arches = match target.arch { - x86_64 => &["amd64"][..], - arm if target.llvm_target.starts_with("armv7") => &["armv7", "arm"], - arm => &["arm"], - aarch64 => &["arm64"], - x86 => &["i386"], - mips64 | mips64r6 => &["mips64"], // loongson or octeon - powerpc => &["macppc", "powerpc"], - powerpc64 => &["powerpc64"], - riscv64 => &["riscv64"], - sparc64 => &["sparc64"], - _ => todo!("{target:?}"), - }; - for &arch in arches { - symlink( - src_dir.join("sys/arch").join(arch).join("include"), - src_dir.join("include").join(arch), - ) - .unwrap(); - } - symlink(src_dir.join("include").join(arches[0]), src_dir.join("include/machine")) - .unwrap(); - } - illumos => { - if target.arch == aarch64 { - // TODO: use illumos/illumos-gate once merged to upstream - src_dir = clone(download_dir, "richlowe/illumos-gate", None, &["/usr/"]); - } else { - todo!("{target:?}") - } - } - fuchsia => { - src_dir = clone(download_dir, "https://fuchsia.googlesource.com/fuchsia", None, &[]); - fs::write(src_dir.join("zircon/kernel/lib/libc/include/stdbool.h"), "").unwrap(); - fs::write( - src_dir.join("zircon/kernel/lib/libc/include/stddef.h"), - "#define size_t unsigned long", - ) - .unwrap(); - } - _ => todo!("{target:?}"), - } - if !patched { - patch(target, &src_dir); - } - src_dir -} - -fn linux_headers_dir(target: &TargetSpec, src_dir: &Utf8Path) -> Utf8PathBuf { - if target.arch == aarch64 && target.target_pointer_width == "32" { - src_dir.join("../..").join("headers").join("linux").join("arm64-ilp32") - } else { - src_dir.join("../..").join("headers").join("linux").join(linux_arch(target)) - } -} -fn glibc_dir(target: &TargetSpec, src_dir: &Utf8Path) -> Utf8PathBuf { - if target.arch == aarch64 && target.target_pointer_width == "32" { - src_dir.join("../..").join("linaro-toolchain/glibc") - } else { - src_dir.join("../..").join(GLIBC_REPO) - } -} -fn libc_headers_dir(target: &TargetSpec, src_dir: &Utf8Path) -> Utf8PathBuf { - assert_eq!(target.os, linux); - let dir = src_dir.join("../..").join("headers"); - match target.env { - gnu => dir.join("glibc").join(target.llvm_target.replace("-unknown", "")), - musl => dir.join("musl").join(target.llvm_target.replace("-unknown", "")), - uclibc => dir.join("uclibc").join(target.llvm_target.replace("-unknown", "")), - _ => todo!("{target:?}"), - } -} -fn bionic_dir(src_dir: &Utf8Path) -> Utf8PathBuf { - src_dir.join("../..").join(BIONIC_REPO) -} - -fn linux_arch(target: &TargetSpec) -> &'static str { - // https://github.com/torvalds/linux/tree/HEAD/arch - match target.arch { - arm => "arm", - aarch64 => "arm64", - csky => "csky", - hexagon => "hexagon", - loongarch64 => "loongarch", - m68k => "m68k", - mips | mips32r6 | mips64 | mips64r6 => "mips", - powerpc | powerpc64 => "powerpc", - riscv32 | riscv64 => "riscv", - s390x => "s390", - sparc | sparc64 => "sparc", - x86 | x86_64 => "x86", - xtensa => "xtensa", - _ => todo!("{target:?}"), - } -} -fn musl_arch(target: &TargetSpec) -> &'static str { - // https://github.com/bminor/musl/tree/HEAD/arch - // https://github.com/quic/musl/tree/bcain/to-upstream - match target.arch { - aarch64 => "aarch64", - arm => "arm", - x86 => "i386", - hexagon => "hexagon", - loongarch64 => "loongarch64", - m68k => "m68k", - mips | mips32r6 => "mips", - mips64 | mips64r6 if target.target_pointer_width == "64" => "mips64", - mips64 | mips64r6 if target.target_pointer_width == "32" => "mipsn32", - powerpc => "powerpc", - powerpc64 => "powerpc64", - riscv32 => "riscv32", - riscv64 => "riscv64", - s390x => "s390x", - x86_64 if target.target_pointer_width == "32" => "x32", - x86_64 if target.target_pointer_width == "64" => "x86_64", - _ => todo!("{target:?}"), - } -} -fn uclibc_arch(target: &TargetSpec) -> &'static str { - // https://github.com/wbx-github/uclibc-ng/tree/HEAD/libc/sysdeps/linux - match target.arch { - aarch64 => "aarch64", - arm => "arm", - csky => "csky", - x86 => "i386", - m68k => "m68k", - mips | mips32r6 => "mips", - powerpc => "powerpc", - riscv32 => "riscv32", - riscv64 => "riscv64", - sparc => "sparc", - sparc64 => "sparc64", - x86_64 => "x86_64", - xtensa => "xtensa", - _ => todo!("{target:?}"), - } -} -fn illumos_arch(target: &TargetSpec) -> &'static str { - // https://github.com/illumos/illumos-gate/tree/HEAD/usr/src/uts - // https://github.com/richlowe/illumos-gate/tree/arm64-gate/usr/src/uts - match target.arch { - aarch64 => "aarch64", - _ => todo!("{target:?}"), - } -} - -#[track_caller] -fn target_spec_json(target: &str) -> TargetSpec { - let spec_path = workspace_root().join("target-specs").join(target).with_extension("json"); - let target = if spec_path.exists() { spec_path.as_str() } else { target }; - target_spec_json::target_spec_json(Command::new("rustc"), target).unwrap() -} diff --git a/tools/codegen/src/file.rs b/tools/codegen/src/file.rs deleted file mode 100644 index acdf3374..00000000 --- a/tools/codegen/src/file.rs +++ /dev/null @@ -1,155 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT - -use std::{io, path::Path, sync::LazyLock}; - -use camino::Utf8PathBuf; -use fs_err as fs; -use proc_macro2::TokenStream; - -// Inspired by https://stackoverflow.com/a/63904992. -macro_rules! function_name { - () => {{ - fn f() {} - fn type_name_of(_: T) -> &'static str { - std::any::type_name::() - } - let name = type_name_of(f); - name[..name.len() - 3].rsplit_once(':').unwrap().1 - }}; -} - -pub(crate) fn workspace_root() -> Utf8PathBuf { - let mut dir = Utf8PathBuf::from(env!("CARGO_MANIFEST_DIR")); - dir.pop(); // codegen - dir.pop(); // tools - dir -} - -#[track_caller] -pub(crate) fn header(function_name: &str) -> String { - // rust-analyzer does not respect outer attribute (#[rustfmt::skip]) on - // a module without a body and unstable ignore option in .rustfmt.toml. - // https://github.com/rust-lang/rust-analyzer/issues/10826 - // So use inner attribute under cfg(rustfmt). - format!( - "// SPDX-License-Identifier: Apache-2.0 OR MIT -// This file is @generated by {bin_name} -// ({function_name} function at {file}). -// It is not intended for manual editing.\n -#![cfg_attr(rustfmt, rustfmt::skip)] -", - bin_name = env!("CARGO_BIN_NAME"), - file = std::panic::Location::caller().file() - ) -} - -#[track_caller] -pub(crate) fn write( - function_name: &str, - path: impl AsRef, - contents: TokenStream, -) -> io::Result<()> { - write_raw(function_name, path.as_ref(), format_tokens(contents)) -} - -#[track_caller] -fn format_tokens(contents: TokenStream) -> Vec { - let mut out = prettyplease::unparse( - &syn::parse2(contents.clone()) - .unwrap_or_else(|e| panic!("{} in:\n---\n{}\n---", e, contents)), - ) - .into_bytes(); - format_macros(&mut out); - out -} - -// Roughly format the code inside macro calls. -fn format_macros(bytes: &mut Vec) { - let mut i = 0; - while i < bytes.len() { - if bytes[i..].starts_with(b"!(") { - i += 2; - let mut count = 0; - while let Some(b) = bytes.get(i) { - match b { - b'(' => count += 1, - b')' => { - if count == 0 { - break; - } - count -= 1; - } - _ => { - fn replace( - bytes: &mut Vec, - i: usize, - needle: &[u8], - with: &[u8], - ) -> usize { - if bytes[i..].starts_with(needle) { - bytes.splice(i..i + needle.len(), with.iter().copied()); - i + with.len() - 1 - } else { - i - } - } - i = replace(bytes, i, b"crate ::", b"crate::"); - i = replace(bytes, i, b" < ", b"<"); - i = replace(bytes, i, b" >", b">"); - } - } - i += 1; - } - } else { - i += 1; - } - } -} -#[test] -fn test_format_macros() { - #[track_caller] - fn t(from: &[u8], expected: &[u8]) { - let b = &mut from.to_owned(); - format_macros(b); - assert_eq!(b, expected); - } - t(b"m!(crate ::a::b)", b"m!(crate::a::b)"); - t(b"(crate ::a::b)", b"(crate ::a::b)"); - t(b"m!(crate ::a::b < () >)", b"m!(crate::a::b<()>)"); - t(b"m!(crate ::a::b < >)", b"m!(crate::a::b<>)"); - t(b"if < 0 ", b"if < 0 "); - t(b"if > 0 ", b"if > 0 "); -} - -#[track_caller] -pub(crate) fn write_raw( - function_name: &str, - path: &Path, - contents: impl AsRef<[u8]>, -) -> io::Result<()> { - static LINGUIST_GENERATED: LazyLock> = LazyLock::new(|| { - let gitattributes = fs::read_to_string(workspace_root().join(".gitattributes")).unwrap(); - let mut linguist_generated = vec![]; - for line in gitattributes.lines() { - if line.contains("linguist-generated") { - linguist_generated.push( - globset::Glob::new(line.split_once(' ').unwrap().0).unwrap().compile_matcher(), - ); - } - } - linguist_generated - }); - let p = path.strip_prefix(workspace_root()).unwrap(); - if !LINGUIST_GENERATED.iter().any(|m| m.is_match(p)) { - eprintln!("warning: you may want to mark {} linguist-generated", p.display()); - } - - let mut out = header(function_name).into_bytes(); - out.extend_from_slice(contents.as_ref()); - if path.is_file() && fs::read(path)? == out { - return Ok(()); - } - fs::write(path, out)?; - eprintln!("updated {}", p.display()); - Ok(()) -} diff --git a/tools/codegen/src/main.rs b/tools/codegen/src/main.rs deleted file mode 100644 index 00694b92..00000000 --- a/tools/codegen/src/main.rs +++ /dev/null @@ -1,22 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 OR MIT - -#![allow( - clippy::assigning_clones, - clippy::collapsible_else_if, - clippy::enum_glob_use, - clippy::needless_pass_by_value, - clippy::unnecessary_wraps, - clippy::wildcard_imports -)] - -#[cfg(unix)] -#[macro_use] -mod file; - -#[cfg(unix)] -mod ffi; - -fn main() { - #[cfg(unix)] - ffi::gen(); -} diff --git a/tools/gen.sh b/tools/gen.sh index 25ea4713..2964397a 100755 --- a/tools/gen.sh +++ b/tools/gen.sh @@ -13,5 +13,3 @@ cd -- "$(dirname -- "$0")"/.. set -x ./tools/target_spec.sh - -cargo run --manifest-path tools/codegen/Cargo.toml