Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions src/unix/bsd/netbsdlike/netbsd/arm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ pub(crate) const _ALIGNBYTES: usize = size_of::<c_longlong>() - 1;

pub const PT_GETREGS: c_int = PT_FIRSTMACH + 1;
pub const PT_SETREGS: c_int = PT_FIRSTMACH + 2;
pub const PT_GETFPREGS: c_int = PT_FIRSTMACH + 3;
pub const PT_SETFPREGS: c_int = PT_FIRSTMACH + 4;
pub const PT_GETFPREGS: c_int = PT_FIRSTMACH + 5;
pub const PT_SETFPREGS: c_int = PT_FIRSTMACH + 6;

pub const _REG_R0: c_int = 0;
pub const _REG_R1: c_int = 1;
Expand Down Expand Up @@ -61,10 +61,10 @@ pub const _REG_X30: c_int = 30;
pub const _REG_X31: c_int = 31;
pub const _REG_ELR: c_int = 32;
pub const _REG_SPSR: c_int = 33;
pub const _REG_TIPDR: c_int = 34;
pub const _REG_TPIDR: c_int = 34;

pub const _REG_RV: c_int = _REG_R0;
pub const _REG_FP: c_int = _REG_R11;
pub const _REG_LR: c_int = _REG_R13;
pub const _REG_SP: c_int = _REG_R14;
pub const _REG_SP: c_int = _REG_R13;
pub const _REG_LR: c_int = _REG_R14;
pub const _REG_PC: c_int = _REG_R15;
2 changes: 1 addition & 1 deletion src/unix/bsd/netbsdlike/netbsd/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ pub type idtype_t = c_int;
type __pthread_spin_t = __cpu_simple_lock_nv_t;
pub type shmatt_t = c_uint;
pub type cpuset_t = _cpuset;
pub type pthread_spin_t = c_uchar;
pub type pthread_spin_t = __pthread_spin_t;

// elf.h

Expand Down