Fix KVM page faults from lack of 1GB page support

This commit is contained in:
Justin C. Miller
2019-07-04 02:51:50 -07:00
parent 8ee5091f41
commit 7ce418aabc
2 changed files with 3 additions and 2 deletions

View File

@@ -46,7 +46,6 @@ apic::apic(uint32_t *base) :
lapic::lapic(uint32_t *base, isr spurious) :
apic(base)
{
// TODO: This causes a "reserved" page fault under KVM
apic_write(m_base, 0xf0, static_cast<uint32_t>(spurious));
log::info(logs::apic, "LAPIC created, base %lx", m_base);
}