Fix braces + init_paging args
This commit is contained in:
+3
-6
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user