feat(gdt): pack gdt_entry struct
Signed-off-by: Julien CLEMENT <julien.clement@epita.fr>
This commit is contained in:
parent
15c7d24715
commit
2ee5432c9a
3
k/gdt.h
3
k/gdt.h
@ -18,7 +18,6 @@ struct gdt_entry
|
|||||||
uint8_t base_2 : 8;
|
uint8_t base_2 : 8;
|
||||||
uint16_t base_1 : 16;
|
uint16_t base_1 : 16;
|
||||||
uint16_t limit_1 : 16;
|
uint16_t limit_1 : 16;
|
||||||
|
} __attribute__ ((packed));
|
||||||
};
|
|
||||||
|
|
||||||
#endif /* !GDT_H */
|
#endif /* !GDT_H */
|
||||||
|
Loading…
Reference in New Issue
Block a user