aboutsummaryrefslogtreecommitdiff
path: root/kernel/include/mm/physical_mm.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/include/mm/physical_mm.h')
-rw-r--r--kernel/include/mm/physical_mm.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/kernel/include/mm/physical_mm.h b/kernel/include/mm/physical_mm.h
index 06039eb..6befcb0 100644
--- a/kernel/include/mm/physical_mm.h
+++ b/kernel/include/mm/physical_mm.h
@@ -34,13 +34,10 @@
void physical_mm_init(void);
-uint32_t physical_mm_find_first_free_block(uint32_t *memory_map);
+uint32_t physical_mm_find_first_free_block(void);
-void *physical_mm_allocate_block(uint32_t *total_free_blocks,
- uint32_t *memory_map);
-void physical_mm_free_block(void *physical_address,
- uint32_t *total_free_blocks,
- uint32_t *memory_map);
+void *physical_mm_allocate_block(void);
+void physical_mm_free_block(void *physical_address);
void physical_mm_set_used(const uint32_t bit,
uint32_t *total_free_blocks,