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

Function SendIPI

Kernel/src/arch/x86_64/apic.cpp:64–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62 }
63
64 void SendIPI(uint8_t destination, uint32_t dsh /* Destination Shorthand*/, uint32_t type, uint8_t vector){
65 uint32_t high = ((uint32_t)destination) << 24;
66 uint32_t low = dsh | type | ICR_VECTOR(vector);
67
68 Write(LOCAL_APIC_ICR_HIGH, high);
69 Write(LOCAL_APIC_ICR_LOW, low);
70 }
71 }
72
73 namespace IO {

Callers 7

KernelPanicFunction · 0.85
KernelAssertionFailedFunction · 0.85
isr_handlerFunction · 0.85
EndProcessFunction · 0.85
TickFunction · 0.85
InitializeCPUFunction · 0.85
PageFaultHandlerFunction · 0.85

Calls 1

WriteFunction · 0.70

Tested by

no test coverage detected