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

@@ -6,7 +6,7 @@
#define NEW_KERNEL_ELF_H
#include <sys/types.h>
#include <myke/attributes.h>
#include <attributes.h>
#define SHT_NULL 0
#define SHT_PROGBITS 1
@@ -59,7 +59,7 @@ struct elf32_section_header {
uint32_t sh_info;
uint32_t sh_addr_align;
uint32_t sh_ent_size;
} packed;
} att_packed;
struct elf32_symtab_entry {
uint32_t st_name;
@@ -68,6 +68,6 @@ struct elf32_symtab_entry {
uint8_t st_info;
uint8_t st_other;
uint16_t st_shndx;
} packed;
} att_packed;
#endif //NEW_KERNEL_ELF_H