MCPcopy Create free account
hub / github.com/LemonOSProject/LemonOS / RegisterInterruptHandler

Function RegisterInterruptHandler

Kernel/src/arch/x86_64/idt.cpp:233–235  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

231 }
232
233 void RegisterInterruptHandler(uint8_t interrupt, isr_t handler, void* data) {
234 interrupt_handlers[interrupt] = {.handler = handler, .data = data};
235 }
236
237 uint8_t ReserveUnusedInterrupt(){
238 uint8_t interrupt = 0xFF;

Callers 10

InitializeFunction · 0.85
InitializeFunction · 0.85
InstallFunction · 0.85
InitializeFunction · 0.85
InstallFunction · 0.85
InitializeVirtualMemoryFunction · 0.85
InitializeFunction · 0.85
InitFunction · 0.85
Intel8254xMethod · 0.85
XHCIControllerMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected