mirror of
https://github.com/tailix/kernel.git
synced 2024-10-30 12:03:52 -04:00
Remove unnecessary attributes
This commit is contained in:
parent
45f2620e52
commit
6dfbf64d3f
3 changed files with 4 additions and 8 deletions
|
@ -18,8 +18,7 @@ struct multiboot_mmap_entry
|
|||
unsigned long long len;
|
||||
unsigned int type;
|
||||
unsigned int zero;
|
||||
}
|
||||
__attribute__((packed));
|
||||
};
|
||||
|
||||
typedef struct multiboot_mmap_entry multiboot_memory_map_t;
|
||||
|
||||
|
|
|
@ -28,8 +28,7 @@ struct GdtEntry {
|
|||
unsigned char access;
|
||||
unsigned char granularity;
|
||||
unsigned char base_high;
|
||||
}
|
||||
__attribute__((packed));
|
||||
};
|
||||
|
||||
struct IdtEntry {
|
||||
unsigned short base_lo;
|
||||
|
@ -37,8 +36,7 @@ struct IdtEntry {
|
|||
unsigned char always0;
|
||||
unsigned char flags;
|
||||
unsigned short base_hi;
|
||||
}
|
||||
__attribute__((packed));
|
||||
};
|
||||
|
||||
static struct GdtPointer gdt_pointer;
|
||||
static struct IdtPointer idt_pointer;
|
||||
|
|
|
@ -51,8 +51,7 @@ struct tss_entry {
|
|||
unsigned int ldt;
|
||||
unsigned short trap;
|
||||
unsigned short iomap_base;
|
||||
}
|
||||
__attribute__((packed));
|
||||
};
|
||||
|
||||
static struct tss_entry tss;
|
||||
|
||||
|
|
Loading…
Reference in a new issue