forked from xamidev/pepperOS
Flanterm back to bump alloc (allows earlier use for real hw debugging)
This commit is contained in:
@@ -94,15 +94,16 @@ void kmain()
|
||||
CLEAR_INTERRUPTS;
|
||||
if (!LIMINE_BASE_REVISION_SUPPORTED) hcf();
|
||||
|
||||
serial_init();
|
||||
timer_init();
|
||||
|
||||
// Populate boot context
|
||||
boot_ctx.fb = framebuffer_request.response ? framebuffer_request.response->framebuffers[0] : NULL;
|
||||
boot_ctx.mmap = memmap_request.response ? memmap_request.response : NULL;
|
||||
boot_ctx.hhdm = hhdm_request.response ? hhdm_request.response : NULL;
|
||||
boot_ctx.kaddr = kerneladdr_request.response ? kerneladdr_request.response : NULL;
|
||||
|
||||
term_init();
|
||||
serial_init();
|
||||
timer_init();
|
||||
|
||||
boot_mem_display();
|
||||
pmm_init(boot_ctx);
|
||||
|
||||
@@ -112,8 +113,6 @@ void kmain()
|
||||
|
||||
keyboard_init(FR);
|
||||
|
||||
term_init();
|
||||
|
||||
gdt_init();
|
||||
idt_init();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user