diff options
author | Jon Santmyer <jon@jonsantmyer.com> | 2024-03-19 13:03:52 -0400 |
---|---|---|
committer | Jon Santmyer <jon@jonsantmyer.com> | 2024-03-19 13:03:52 -0400 |
commit | f004c1ade8d617a82cea2fe249434cccb47a2358 (patch) | |
tree | 34571e76039cf2ee2fee93c3f1bdb1bc6d2de5f6 /sys/permission.h | |
parent | dd5d9e1d48396cbc226ff14fe557a55613c91fcb (diff) | |
download | jove-kernel-f004c1ade8d617a82cea2fe249434cccb47a2358.tar.gz jove-kernel-f004c1ade8d617a82cea2fe249434cccb47a2358.tar.bz2 jove-kernel-f004c1ade8d617a82cea2fe249434cccb47a2358.zip |
rename abi to sys. better memory allocation
Diffstat (limited to 'sys/permission.h')
-rw-r--r-- | sys/permission.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/sys/permission.h b/sys/permission.h new file mode 100644 index 0000000..08bb765 --- /dev/null +++ b/sys/permission.h @@ -0,0 +1,11 @@ +#ifndef _SYS_PERMISSION_H +#define _SYS_PERMISSION_H 1 + +#define PERM_MEM_PHYS_RESV 1 /* Reserve physical memory. */ +#define PERM_MEM_PHYS_FREE 2 /* Free physical memory. */ +#define PERM_MEM_PHYS_ALLOC 4 /* Allocate physical memory. */ + +#define PERM_MEM_VIRT_PD 8 /* Work on any PD. */ +#define PERM_MEM_VIRT_MAP 0x10 /* Map physical memory to virtual memory. */ + +#endif |