forked from xamidev/pepperOS
Flanterm support OK from kmain. No kbd. Writing from process = PF
This commit is contained in:
@@ -75,6 +75,7 @@ extern uintptr_t kheap_start;
|
||||
// This is our entry point
|
||||
void kmain()
|
||||
{
|
||||
CLEAR_INTERRUPTS;
|
||||
if (!LIMINE_BASE_REVISION_SUPPORTED) hcf();
|
||||
|
||||
serial_init();
|
||||
@@ -92,6 +93,8 @@ void kmain()
|
||||
paging_init(boot_ctx.kaddr, boot_ctx.fb);
|
||||
kheap_init();
|
||||
|
||||
keyboard_init(FR);
|
||||
|
||||
uint32_t bgColor = 0x252525;
|
||||
ft_ctx = flanterm_fb_init(
|
||||
kmalloc,
|
||||
@@ -110,7 +113,6 @@ void kmain()
|
||||
0
|
||||
);
|
||||
|
||||
CLEAR_INTERRUPTS;
|
||||
gdt_init();
|
||||
idt_init();
|
||||
|
||||
@@ -128,10 +130,6 @@ void kmain()
|
||||
current_process = idle_proc;
|
||||
current_process->status = RUNNING;
|
||||
|
||||
SET_INTERRUPTS;
|
||||
|
||||
keyboard_init(FR);
|
||||
|
||||
kputs(PEPPEROS_SPLASH);
|
||||
idle();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user