mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 10:57:35 +00:00
Kernel: Align GDT to the size of a Descriptor
This is not actually required by the specification, but it means we will take the aligned fast-path in QEMU.
This commit is contained in:
parent
f0b82c4b17
commit
4f551f54c4
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ class Processor {
|
|||
#endif
|
||||
|
||||
DescriptorTablePointer m_gdtr;
|
||||
Descriptor m_gdt[256];
|
||||
alignas(Descriptor) Descriptor m_gdt[256];
|
||||
u32 m_gdt_length;
|
||||
|
||||
u32 m_cpu;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue