module metal.hal.pc
Code Map
module metal.hal.pc;
struct Hal
{
public:
rsdt: acpi.RSDT*;
xsdt: acpi.XSDT*;
multibootMagic: u32;
multibootInfo: mb2.Info*;
lAPIC: lAPICInfo;
ioAPICnum: u32;
ioAPIC: ioAPICInfo[4];
}
global hal: Hal;
fn halInit(magic: u32, ptr: void*) { }
fn initAPIC() { }
fn maskIOAPIC(ioAPIC: ioAPICInfo) { }
fn testAPIC(state: IrqState*, vector: u64, void*) { }
fn parseMultiboot(magic: u32, ptr: void*) { }
fn parseMultiboot1(info: mb1.Info*) { }
fn parseMultiboot2(info: mb2.Info*) { }
fn parseACPI() { }
fn parseMADT(mdat: acpi.Header*) { }