mirror of
https://github.com/tailix/kernel.git
synced 2025-02-17 15:45:37 -05: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 long long len;
|
||||||
unsigned int type;
|
unsigned int type;
|
||||||
unsigned int zero;
|
unsigned int zero;
|
||||||
}
|
};
|
||||||
__attribute__((packed));
|
|
||||||
|
|
||||||
typedef struct multiboot_mmap_entry multiboot_memory_map_t;
|
typedef struct multiboot_mmap_entry multiboot_memory_map_t;
|
||||||
|
|
||||||
|
|
|
@ -28,8 +28,7 @@ struct GdtEntry {
|
||||||
unsigned char access;
|
unsigned char access;
|
||||||
unsigned char granularity;
|
unsigned char granularity;
|
||||||
unsigned char base_high;
|
unsigned char base_high;
|
||||||
}
|
};
|
||||||
__attribute__((packed));
|
|
||||||
|
|
||||||
struct IdtEntry {
|
struct IdtEntry {
|
||||||
unsigned short base_lo;
|
unsigned short base_lo;
|
||||||
|
@ -37,8 +36,7 @@ struct IdtEntry {
|
||||||
unsigned char always0;
|
unsigned char always0;
|
||||||
unsigned char flags;
|
unsigned char flags;
|
||||||
unsigned short base_hi;
|
unsigned short base_hi;
|
||||||
}
|
};
|
||||||
__attribute__((packed));
|
|
||||||
|
|
||||||
static struct GdtPointer gdt_pointer;
|
static struct GdtPointer gdt_pointer;
|
||||||
static struct IdtPointer idt_pointer;
|
static struct IdtPointer idt_pointer;
|
||||||
|
|
|
@ -51,8 +51,7 @@ struct tss_entry {
|
||||||
unsigned int ldt;
|
unsigned int ldt;
|
||||||
unsigned short trap;
|
unsigned short trap;
|
||||||
unsigned short iomap_base;
|
unsigned short iomap_base;
|
||||||
}
|
};
|
||||||
__attribute__((packed));
|
|
||||||
|
|
||||||
static struct tss_entry tss;
|
static struct tss_entry tss;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue