7#include "../../lib/base/heap.h"
8#include "../../lib/base/stdio.h"
9#include "../../lib/base/exceptions.h"
12extern void print_string_color(
string str,
byte text_color,
byte back_color, u_dword length);
15static void handle_allocation_exception() {
16 print_string_color(
"Kernel heap exhausted!\n", HIGH_RED, BLACK, 0);
17 asm volatile (
"jmp .");
20extern void initialize_kernel_heap_handler() {
#define allocation_exception_id