sched: begin scheduling module

This commit is contained in:
Michael Shaw 2023-11-13 22:23:06 -05:00
commit 2fe0b0068b
10 changed files with 182 additions and 3 deletions

View file

@ -86,6 +86,11 @@ void lapic_enable()
lapic_write(lapic_addr, 0xF0, 0x1FF);
}
uint8_t lapic_idno()
{
return lapic_read(lapic_addr, LAPIC_ID) >> 24;
}
void apic_init()
{
if (__madt == NULL) {