bond/x64/src/kernel/k_bug_check.c
secXsQuared 8da028f518 Eventually went with not using in-place linked list for PMM (Don't really want to mix up PMM and VMM).
So yeah, now keep trace of those physical pages on kernel heap, Windows does that, linux does that, I have to do that since there are more attributes(paged/non-paged) that the kernel requires.
Hmm finished PMM alpha and redefined all those PMM/VMM interfaces.
The code is still broken right now.
2016-06-25 00:25:54 -07:00

8 lines
125 B
C

#include "g_abi.h"
#include "g_type.h"
#include "k_bug_check.h"
void KAPI k_bug_check(uint64_t reason)
{
k_halt_cpu();
}