x86_64: implement bootstrap function for pmap interface

This commit is contained in:
2023-02-06 20:50:28 +00:00
parent 52b3a5d6a5
commit 625eac9ca7
8 changed files with 423 additions and 4 deletions

View File

@@ -30,6 +30,14 @@ typedef struct vm_object {
unsigned int reserved;
} vm_object_t;
typedef enum vm_prot {
VM_PROT_READ = 0x01u,
VM_PROT_WRITE = 0x02u,
VM_PROT_EXEC = 0x04u,
VM_PROT_USER = 0x08u,
VM_PROT_SVR = 0x10u,
} vm_prot_t;
typedef enum vm_flags {
VM_GET_DMA = 0x01u,
} vm_flags_t;