aboutsummaryrefslogtreecommitdiff
path: root/kernel/features/mm.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/features/mm.c')
-rw-r--r--kernel/features/mm.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/kernel/features/mm.c b/kernel/features/mm.c
index a3812bd..39a6316 100644
--- a/kernel/features/mm.c
+++ b/kernel/features/mm.c
@@ -719,10 +719,10 @@ void memory_user_hook(void)
}
}
-CLEAR void memory_install(struct boot_info *boot)
+CLEAR void memory_install(void)
{
- struct mem_info *mem_info = boot->mem;
- struct vid_info *vid_info = boot->vid;
+ struct mem_info *mem_info = NULL;
+ struct vid_info *vid_info = NULL;
for (struct mmap_boot *p = mem_info->start; (u32)(p - mem_info->start) < mem_info->size;
p++) {
@@ -774,10 +774,10 @@ CLEAR void memory_install(struct boot_info *boot)
// Map framebuffer
memory_map_identity(&kernel_dir, memory_range_around((u32)vid_info->vbe, 0x1000),
MEMORY_NONE);
- fb_map_buffer(virtual_kernel_dir(), vid_info);
+ /* fb_map_buffer(virtual_kernel_dir(), vid_info); */
// Map TSS
- memory_map_identity(&kernel_dir, memory_range_around(boot->tss, 0x1000), MEMORY_NONE);
+ //memory_map_identity(&kernel_dir, memory_range_around(boot->tss, 0x1000), MEMORY_NONE);
// Unmap NULL byte/page
struct memory_range zero = memory_range(0, PAGE_SIZE);