#include #include #include #include #include #include #include void test4() { char bruh[10]; panic(KERNEL_PANIC_KERNEL_RETURNED, KERNEL_PANIC_INVOKED); } void test3() { char bruh[5]; test4(); } void test2() { int a = 1; test3(); } void test1() { printf("fuck\n"); test2(); } void main() { test1(); if(!(init_serial(COM1))) { printf("\nKernal started on CPU 1!\n"); // will detect cpu later } rsdp_t *rsdp; rsdp = find_RSDP(); if(!(rsdp)) { printf("Couldn't find the RSDP... not sure what to do now.\n"); panic(KERNEL_PANIC_RSDP_UNFOUND, KERNEL_PANIC_INVOKED); } dump_video(); debug_print_memory(); init_pmap(); debug_pmap(); panic(KERNEL_PANIC_KERNEL_RETURNED, KERNEL_PANIC_INVOKED); }