mirror of
https://github.com/Zeal-Operating-System/ZealOS.git
synced 2024-12-25 15:10:28 +00:00
Remove redundant CSysLimitBase code in zealbooter.
This commit is contained in:
parent
54e4a7313c
commit
4b23988da8
1 changed files with 2 additions and 5 deletions
|
@ -80,7 +80,7 @@ struct CGDT {
|
|||
struct CSysLimitBase {
|
||||
uint16_t limit;
|
||||
uint8_t *base;
|
||||
};
|
||||
} __attribute__((packed));
|
||||
|
||||
struct CKernel {
|
||||
struct CZXE h;
|
||||
|
@ -95,10 +95,7 @@ struct CKernel {
|
|||
uint16_t mem_E801[2];
|
||||
struct CMemE820 mem_E820[MEM_E820_ENTRIES_NUM];
|
||||
uint64_t mem_physical_space;
|
||||
struct {
|
||||
uint16_t limit;
|
||||
uint8_t *base;
|
||||
} __attribute__((packed)) sys_gdt_ptr;
|
||||
struct CSysLimitBase sys_gdt_ptr;
|
||||
uint16_t sys_pci_buses;
|
||||
struct CGDT sys_gdt __attribute__((aligned(16)));
|
||||
uint64_t sys_framebuffer_addr;
|
||||
|
|
Loading…
Reference in a new issue