summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/include/vm/vm.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/include/vm/vm.h b/sys/include/vm/vm.h
index 48e1b8f..975eff0 100644
--- a/sys/include/vm/vm.h
+++ b/sys/include/vm/vm.h
@@ -47,6 +47,11 @@ extern volatile struct limine_hhdm_request g_hhdm_request;
#define PHYS_TO_VIRT(phys) (void *)((uintptr_t)phys + VM_HIGHER_HALF)
#define VIRT_TO_PHYS(virt) ((uintptr_t)virt - VM_HIGHER_HALF)
+struct vm_range {
+ uintptr_t start;
+ uintptr_t end;
+};
+
/*
* Returns the machine's pagesize:
*