aboutsummaryrefslogtreecommitdiff
path: root/include/apos/init.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/apos/init.h')
-rw-r--r--include/apos/init.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/include/apos/init.h b/include/apos/init.h
index 05e24ba..2dd8a27 100644
--- a/include/apos/init.h
+++ b/include/apos/init.h
@@ -2,6 +2,7 @@
#define APOS_INIT_H
#include <apos/pmem.h>
+#include <apos/vmem.h>
struct init_data_t {
pm_t init_base;
@@ -10,6 +11,9 @@ struct init_data_t {
pm_t initrd_base;
pm_t initrd_top;
+ pm_t pmap_base;
+ pm_t pmap_top;
+
pm_t fdt_base;
pm_t fdt_top;
@@ -17,12 +21,11 @@ struct init_data_t {
pm_t stack_top;
struct vm_branch_t *kernel_vm_base;
+ vm_t tmp_pte;
- /*
- TODO: is this necessary?
- pm_t pmap_base;
- pm_t pmap_top;
- */
+ size_t max_order;
+ size_t bits[10];
+ size_t page_shift;
};
#endif /* APOS_INIT_H */