clean: remove useless struct
This commit is contained in:
parent
365ed0cc2e
commit
08f7352a31
@ -5,17 +5,6 @@
|
||||
#define GDT_ADDRESS 0x00000800
|
||||
#define GDT_SIZE 7
|
||||
|
||||
// https://wiki.osdev.org/Global_Descriptor_Table#Segment_Descriptor
|
||||
struct gdt_entry
|
||||
{
|
||||
uint16_t limit_low;
|
||||
uint16_t base_low;
|
||||
uint8_t base_middle;
|
||||
uint8_t access;
|
||||
uint8_t limit_high_and_flags;
|
||||
uint8_t base_high;
|
||||
} __attribute__((packed)) ;
|
||||
|
||||
// https://wiki.osdev.org/Global_Descriptor_Table#GDTR
|
||||
struct gdt_descriptor {
|
||||
uint16_t size;
|
||||
|
Loading…
Reference in New Issue
Block a user