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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user