1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-10-13 18:52:17 +00:00
serenity/Kernel/Arch
Gunnar Beutner b5aad1c81d Kernel: Fix GDT and segment selectors to make userland work on x86_64
Userland faulted on the very first instruction before because the
PML4T/PDPT/etc. weren't marked as user-accessible. For some reason
x86 doesn't care about that.

Also, we need to provide an appropriate userspace stack segment
selector to iretq.
2021-06-28 22:29:28 +02:00
..
PC Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
x86 Kernel: Fix GDT and segment selectors to make userland work on x86_64 2021-06-28 22:29:28 +02:00