Remove redundant CSysLimitBase code in zealbooter.

This commit is contained in:
TomAwezome 2022-08-31 18:09:32 -04:00
parent 54e4a7313c
commit 4b23988da8

View file

@ -80,7 +80,7 @@ struct CGDT {
struct CSysLimitBase { struct CSysLimitBase {
uint16_t limit; uint16_t limit;
uint8_t *base; uint8_t *base;
}; } __attribute__((packed));
struct CKernel { struct CKernel {
struct CZXE h; struct CZXE h;
@ -95,10 +95,7 @@ struct CKernel {
uint16_t mem_E801[2]; uint16_t mem_E801[2];
struct CMemE820 mem_E820[MEM_E820_ENTRIES_NUM]; struct CMemE820 mem_E820[MEM_E820_ENTRIES_NUM];
uint64_t mem_physical_space; uint64_t mem_physical_space;
struct { struct CSysLimitBase sys_gdt_ptr;
uint16_t limit;
uint8_t *base;
} __attribute__((packed)) sys_gdt_ptr;
uint16_t sys_pci_buses; uint16_t sys_pci_buses;
struct CGDT sys_gdt __attribute__((aligned(16))); struct CGDT sys_gdt __attribute__((aligned(16)));
uint64_t sys_framebuffer_addr; uint64_t sys_framebuffer_addr;