Use APIC for interrupts rather than PIC.

Still rely on the PIT for now rather than the local APIC timer.
This commit is contained in:
Drew Galbraith 2023-06-07 13:40:36 -07:00
parent 7c9d1075eb
commit add533071b
7 changed files with 160 additions and 32 deletions

6
zion/common/msr.h Normal file
View file

@ -0,0 +1,6 @@
#pragma once
#include <stdint.h>
uint64_t GetMSR(uint32_t msr);
void SetMSR(uint32_t msr, uint64_t val);