From f004c1ade8d617a82cea2fe249434cccb47a2358 Mon Sep 17 00:00:00 2001 From: Jon Santmyer Date: Tue, 19 Mar 2024 13:03:52 -0400 Subject: rename abi to sys. better memory allocation --- sys/permission.h | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 sys/permission.h (limited to 'sys/permission.h') 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 -- cgit v1.2.1