Added free page count to panic()

This commit is contained in:
2026-03-27 15:05:47 +01:00
parent f316916ff1
commit ad45de562a
4 changed files with 40 additions and 6 deletions
+4
View File
@@ -8,6 +8,8 @@
#include <isr.h>
#include <pmm.h>
void a(void) { *(char*)(1234) = 0; }
__noreturn
void _start(void) {
int err = 0;
@@ -35,6 +37,8 @@ void _start(void) {
// The most important function in the world.
splash();
a();
// Patiently wait for things to do :)
while (1);
};