std: freebsd MAP* constants update, MAP_ALIGNED_SUPER and the MAP_ALIGNED macro.

This commit is contained in:
David CARLIER
2023-03-25 17:15:41 +00:00
committed by Veikka Tuominen
parent a329450aa4
commit 771d07268f

View File

@@ -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 {