std: freebsd MAP* constants update, MAP_ALIGNED_SUPER and the MAP_ALIGNED macro.
This commit is contained in:
committed by
Veikka Tuominen
parent
a329450aa4
commit
771d07268f
@@ -622,6 +622,11 @@ pub const MAP = struct {
|
||||
pub const NOCORE = 0x00020000;
|
||||
pub const PREFAULT_READ = 0x00040000;
|
||||
pub const @"32BIT" = 0x00080000;
|
||||
|
||||
pub fn ALIGNED(alignment: u32) u32 {
|
||||
return alignment << 24;
|
||||
}
|
||||
pub const ALIGNED_SUPER = ALIGNED(1);
|
||||
};
|
||||
|
||||
pub const MSF = struct {
|
||||
|
||||
Reference in New Issue
Block a user