This commit is contained in:
Daniel Samson
2026-07-11 04:32:17 +01:00
parent e499f500c3
commit 59104dd988
8 changed files with 29 additions and 19 deletions
+1 -1
View File
@@ -189,7 +189,7 @@ const hpet = findHpet(buf) orelse return; // device_enumerate, look for
// class=timer with memory + irq
_ = dev.claim(hpet.dev_id); // the capability
const base = dev.mmioMap(hpet.dev_id, hpet.mmio).?;
const endpoint = ipc.createEndpoint().?;
const endpoint = ipc.createIpcEndpoint().?;
// program the hardware over the mapping we were just handed
reg(base, 0x100).* = level | int_enb | (hpet.gsi << 9); // timer 0 config