mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-10 13:00:29 +03: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
Notes:
sideshowbarker
2024-07-17 21:41:39 +09:00
Author: https://github.com/IdanHo Commit: https://github.com/SerenityOS/serenity/commit/4f551f54c4f Pull-request: https://github.com/SerenityOS/serenity/pull/11613
@ -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…
Reference in New Issue
Block a user