feat: some refactors
This commit is contained in:
@@ -107,7 +107,7 @@ void use_mmap_entry(struct multiboot_mmap_entry *entry) {
|
||||
}
|
||||
}
|
||||
|
||||
void init_mmap(struct multiboot_mmap_entry *entries, u32 count) {
|
||||
void init_mmap_multiboot(struct multiboot_mmap_entry *entries, u32 count) {
|
||||
for (u32 i = 0; i < count; ++i) {
|
||||
use_mmap_entry(&entries[i]);
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
#include <multiboot.h>
|
||||
|
||||
void init_mmap(struct multiboot_mmap_entry *entries, u32 count);
|
||||
void init_mmap_multiboot(struct multiboot_mmap_entry *entries, u32 count);
|
||||
|
||||
void print_malloc_info();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user