mirror of
https://github.com/Ed94/Odin.git
synced 2026-07-28 18:30:06 +00:00
Move things to constants.odin
This commit is contained in:
@@ -594,6 +594,8 @@ Mem_Protection_Bits :: enum {
|
||||
|
||||
/*
|
||||
Bits for Map_Flags
|
||||
|
||||
See `constants.odin` for `MAP_SHARED_VALIDATE` and `MAP_HUGE_16KB`, et al.
|
||||
*/
|
||||
Map_Flags_Bits :: enum {
|
||||
SHARED = 0,
|
||||
@@ -619,10 +621,6 @@ Map_Flags_Bits :: enum {
|
||||
UNINITIALIZED = 26,
|
||||
}
|
||||
|
||||
// Not actually flags, but a shift and mask for when HUGETLB is defined
|
||||
MAP_HUGE_SHIFT :: 26
|
||||
MAP_HUGE_MASK :: 63
|
||||
|
||||
/*
|
||||
Bits for MLock_Flags
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user