Verified Commit edf3c008 authored by jD91mZM2's avatar jD91mZM2

u64s are bigger than I thought!

parent 52441c28
......@@ -60,20 +60,20 @@ pub const PHYSMAP_WRITE: usize = 0x0000_0001;
pub const PHYSMAP_WRITE_COMBINE: usize = 0x0000_0002;
pub const PHYSMAP_NO_CACHE: usize = 0x0000_0004;
// The top 32 bits of PTRACE_* are reserved, for now
// The top 48 bits of PTRACE_* are reserved, for now
pub const PTRACE_STOP_PRE_SYSCALL: u64 = 0x0000_0001;
pub const PTRACE_STOP_POST_SYSCALL: u64 = 0x0000_0002;
pub const PTRACE_STOP_SINGLESTEP: u64 = 0x0000_0004;
pub const PTRACE_STOP_SIGNAL: u64 = 0x0000_0008;
pub const PTRACE_STOP_MASK: u64 = 0x0000_00FF;
pub const PTRACE_STOP_PRE_SYSCALL: u64 = 0x0000_0000_0000_0001;
pub const PTRACE_STOP_POST_SYSCALL: u64 = 0x0000_0000_0000_0002;
pub const PTRACE_STOP_SINGLESTEP: u64 = 0x0000_0000_0000_0004;
pub const PTRACE_STOP_SIGNAL: u64 = 0x0000_0000_0000_0008;
pub const PTRACE_STOP_MASK: u64 = 0x0000_0000_0000_00FF;
pub const PTRACE_EVENT_CLONE: u64 = 0x0000_0100;
pub const PTRACE_EVENT_MASK: u64 = 0x0000_0F00;
pub const PTRACE_EVENT_CLONE: u64 = 0x0000_0000_0000_0100;
pub const PTRACE_EVENT_MASK: u64 = 0x0000_0000_0000_0F00;
pub const PTRACE_FLAG_SYSEMU: u64 = 0x0000_1000;
pub const PTRACE_FLAG_WAIT: u64 = 0x0000_2000;
pub const PTRACE_FLAG_MASK: u64 = 0x0000_F000;
pub const PTRACE_FLAG_SYSEMU: u64 = 0x0000_0000_0000_1000;
pub const PTRACE_FLAG_WAIT: u64 = 0x0000_0000_0000_2000;
pub const PTRACE_FLAG_MASK: u64 = 0x0000_0000_0000_F000;
pub const PROT_NONE: usize = 0x0000_0000;
pub const PROT_EXEC: usize = 0x0001_0000;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment