Split PageTable struct out from hulk.hurl to hulk.pagetable
This commit is contained in:
1 parent
c11361d40f
commit
555ec9b627
3 files changed
+174
-77
No files matched your search
+1
-1
@@ -62,7 +62,7 @@ struct apic
|
||||
ApicRegisters * apic_registers =
|
||||
cast(ApicRegisters *)acpi.apic_address;
|
||||
hurl.map(cast(ulong)apic_registers, cast(ulong)apic_registers,
|
||||
MAP_WRITABLE | MAP_WRITE_THROUGH | MAP_DISABLE_CACHE | MAP_NO_EXECUTE);
|
||||
PT_WRITABLE | PT_WRITE_THROUGH | PT_DISABLE_CACHE | PT_NO_EXECUTE);
|
||||
klog.writefln("LAPIC ID: 0x%08x", apic_registers.lapic_id.read());
|
||||
klog.writefln("LAPIC version: 0x%08x", apic_registers.lapic_version.read());
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user