mirror of
https://github.com/Zeal-Operating-System/ZealOS.git
synced 2025-06-07 08:14:48 +00:00
Remove redundant CSysLimitBase code in zealbooter.
This commit is contained in:
parent
54e4a7313c
commit
4b23988da8
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user