summaryrefslogtreecommitdiff
path: root/kc/core/memory.h
diff options
context:
space:
mode:
authorAda Christine <adachristine18@gmail.com>2022-02-03 19:46:07 +0000
committerAda Christine <adachristine18@gmail.com>2022-02-03 19:46:07 +0000
commitf0c062df0c2a674d67af12eb5e18f22bd8412c15 (patch)
tree070f7951159925f1185ff21df44972f574ece868 /kc/core/memory.h
parent073e21313eb1d11027985e0367159de6ecad0f9e (diff)
don't pass kernel boot parameters to init functions, just use an accessor
Diffstat (limited to 'kc/core/memory.h')
-rw-r--r--kc/core/memory.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/kc/core/memory.h b/kc/core/memory.h
index 23b014d..5deda81 100644
--- a/kc/core/memory.h
+++ b/kc/core/memory.h
@@ -21,7 +21,7 @@ enum page_map_flags
SIZE_MASK = 0xc,
};
-void memory_init(struct kc_boot_data *boot_data);
+void memory_init(void);
void *page_map(phys_addr_t paddr, enum page_map_flags flags);
void page_unmap(void *vaddr);