Fix braces + init_paging args

This commit is contained in:
2026-03-11 19:58:00 +01:00
parent 9d409317e2
commit 8e2a612d88
29 changed files with 147 additions and 229 deletions
+3 -6
View File
@@ -7,8 +7,7 @@
#ifndef KERNEL_H
#define KERNEL_H
enum ErrorCodes
{
enum ErrorCodes {
ENOMEM,
EIO
};
@@ -47,8 +46,7 @@ void boot_mem_display();
#define assert(check) do { if(!(check)) hcf(); } while(0)
struct boot_context
{
struct boot_context {
struct limine_framebuffer* fb;
struct limine_memmap_response* mmap;
struct limine_hhdm_response* hhdm;
@@ -56,8 +54,7 @@ struct boot_context
};
// Are these modules initialized yet?
struct init_status
{
struct init_status {
bool terminal;
bool serial;
bool keyboard;