1

Final pre-release

This commit is contained in:
2023-03-02 17:29:30 +01:00
parent 01b1be0629
commit 3f02dfd309
47 changed files with 4803 additions and 1836 deletions

View File

@ -1,12 +1,12 @@
// Excerpt from the "dispatch" function
interruptDepthWrapper.inc();
interruptService.sendEndOfInterrupt(slot); // Signal interrupt servicing
asm volatile("sti"); // Allow cascaded interrupts
void InterruptDispatcher::dispatch(InterruptVector vec) {
interruptService.sendEndOfInterrupt(vec); // Signal interrupt servicing
asm volatile("sti"); // Allow cascaded interrupts
uint32_t size = handlerList->size();
for (uint32_t i = 0; i < size; i++) {
handlerList->get(i)->trigger(frame); // Call registered interrupt handlers
}
auto *handlerList = handlers[vec];
for (uint32_t i = 0; i < handlerList->size(); i++) {
handlerList->get(i)->trigger(); // Call registered interrupt handlers
}
asm volatile("cli");
interruptDepthWrapper.dec();
asm volatile("cli");
}