forked from PoliEcho-holding-org/kern
Added free page count to panic()
This commit is contained in:
@@ -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);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user