MCPcopy Create free account
hub / github.com/Simple-XX/SimpleKernel / InterruptInitSMP

Function InterruptInitSMP

src/arch/aarch64/interrupt_main.cpp:205–213  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

203}
204
205auto InterruptInitSMP(int, const char**) -> void {
206 cpu_io::VBAR_EL1::Write(reinterpret_cast<uint64_t>(vector_table));
207
208 InterruptSingleton::instance().SetUp();
209
210 cpu_io::EnableInterrupt();
211
212 klog::Info("Hello InterruptInitSMP");
213}

Callers

nothing calls this directly

Calls 4

WriteFunction · 0.85
EnableInterruptFunction · 0.85
InfoFunction · 0.85
SetUpMethod · 0.45

Tested by

no test coverage detected