Skip to content
Snippets Groups Projects
Commit f9f752d7 authored by Robin Randhawa's avatar Robin Randhawa
Browse files

aarch64-prep: Dummy auxv.h

For AArch64, the ring crate depends on the presence of this header and a definition
of getauxval.
parent 17bed541
No related branches found
No related tags found
No related merge requests found
......@@ -30,6 +30,7 @@ pub mod stdio;
pub mod stdlib;
pub mod string;
pub mod strings;
pub mod sys_auxv;
pub mod sys_file;
pub mod sys_ioctl;
pub mod sys_mman;
......
include_guard = "_SYS_AUXV_H"
language = "C"
style = "Tag"
[enum]
prefix_with_name = true
//! sys/auxv.h implementation
use platform::types::*;
use platform::{Pal, Sys};
pub const AT_HWCAP: usize = 16;
#[no_mangle]
pub extern "C" fn getauxval(_t: c_ulong) -> c_ulong {
0
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment