feat: gdt, attributes move, reorder

Added late gdt setup with initial tss
Moved attributes to include root
Reordered some imports
This commit is contained in:
2021-03-21 17:34:38 +01:00
parent 513693189e
commit 20ab9e1d6e
28 changed files with 351 additions and 121 deletions

View File

@@ -5,7 +5,7 @@
#ifndef NEW_KERNEL_LIBK_H
#define NEW_KERNEL_LIBK_H
#include <myke/attributes.h>
#include <attributes.h>
#include <stdbool.h>
extern void *_kernel_start;
@@ -17,8 +17,8 @@ bool k_addr_in_kspace(void *addr);
void k_wait_for_interrupt();
void noreturn k_panics(const char *msg);
void att_noreturn k_panics(const char *msg);
void noreturn k_panic();
void att_noreturn k_panic();
#endif //NEW_KERNEL_LIBK_H