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

Function laihost_panic

Kernel/src/arch/x86_64/acpi.cpp:243–248  ·  view source on GitHub ↗

Reports a fatal error, and halts. */

Source from the content-addressed store, hash-verified

241
242 /* Reports a fatal error, and halts. */
243 void laihost_panic(const char *msg){
244 const char* panicReasons[]{"ACPI Error:", msg};
245 KernelPanic(panicReasons,2);
246
247 for(;;);
248 }
249
250 void *laihost_malloc(size_t sz){
251 return kmalloc(sz);

Callers

nothing calls this directly

Calls 1

KernelPanicFunction · 0.85

Tested by

no test coverage detected