Reports a fatal error, and halts. */
| 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); |
nothing calls this directly
no test coverage detected