[kernel] Make serial driver interrupt based

Move the in-kernel serial driver code to be completely interrupt based.
The next step will be to move this to a userspace driver.
This commit is contained in:
Justin C. Miller
2021-07-17 23:54:23 -07:00
parent 972a35bdef
commit 12e893e11f
4 changed files with 159 additions and 32 deletions

View File

@@ -183,6 +183,7 @@ kernel_main(init::args *args)
unsigned num_cpus = start_aps(*apic, apic_ids, args->pml4);
interrupts_enable();
g_com1.handle_interrupt();
/*
block_device *disk = devices->get_block_device(0);