ladybird/Kernel/VM
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
..
AllocationStrategy.h Everywhere: Use "the SerenityOS developers." in copyright headers 2021-04-29 00:59:26 +02:00
AnonymousVMObject.cpp Everywhere: Use nothrow new with adopt_{ref,own}_if_nonnull 2021-06-24 17:35:49 +04:30
AnonymousVMObject.h Kernel: Pull apart CPU.h 2021-06-24 00:38:23 +02:00
ContiguousVMObject.cpp Everywhere: Use nothrow new with adopt_{ref,own}_if_nonnull 2021-06-24 17:35:49 +04:30
ContiguousVMObject.h Kernel: Make ContiguousVMObject factory API OOM safe 2021-05-29 09:04:05 +02:00
InodeVMObject.cpp Kernel: Pull apart CPU.h 2021-06-24 00:38:23 +02:00
InodeVMObject.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
MappedROM.h Kernel: Pull apart CPU.h 2021-06-24 00:38:23 +02:00
MemoryManager.cpp Kernel: Make and use KERNEL_BASE 2021-06-28 19:26:06 +02:00
MemoryManager.h Kernel: Fix page round wrap detection for 64-bit 2021-06-28 19:26:06 +02:00
PageDirectory.cpp Kernel: Fix GDT and segment selectors to make userland work on x86_64 2021-06-28 22:29:28 +02:00
PageDirectory.h Kernel: Fix type for PageDirectory::s_cr3_map 2021-06-28 15:55:00 +02:00
PageFaultResponse.h Everywhere: Use "the SerenityOS developers." in copyright headers 2021-04-29 00:59:26 +02:00
PhysicalPage.cpp AK: Rename adopt() to adopt_ref() 2021-04-23 16:46:57 +02:00
PhysicalPage.h Kernel: Move special sections into Sections.h 2021-06-24 00:38:23 +02:00
PhysicalRegion.cpp AK: Rename adopt() to adopt_ref() 2021-04-23 16:46:57 +02:00
PhysicalRegion.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
PrivateInodeVMObject.cpp Everywhere: Use nothrow new with adopt_{ref,own}_if_nonnull 2021-06-24 17:35:49 +04:30
PrivateInodeVMObject.h Kernel: Make PrivateInodeVMObject factory APIs OOM safe 2021-05-29 09:04:05 +02:00
ProcessPagingScope.cpp Kernel: Rename Thread::tss to Thread::regs and add x86_64 support 2021-06-27 15:46:42 +02:00
ProcessPagingScope.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
PurgeablePageRanges.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
PurgeablePageRanges.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Range.cpp Kernel: Move special sections into Sections.h 2021-06-24 00:38:23 +02:00
Range.h Kernel: Move sys$munmap functionality into a helper method 2021-05-29 15:53:08 +02:00
RangeAllocator.cpp Everywhere: Sort out superfluous QuickSort.h imports 2021-05-29 23:41:54 +01:00
RangeAllocator.h Kernel: Move special sections into Sections.h 2021-06-24 00:38:23 +02:00
Region.cpp Everywhere: Use nothrow new with adopt_{ref,own}_if_nonnull 2021-06-24 17:35:49 +04:30
Region.h Kernel: Make and use KERNEL_BASE 2021-06-28 19:26:06 +02:00
RingBuffer.cpp Kernel: Create VM::RingBuffer class 2021-05-13 10:00:42 +02:00
RingBuffer.h Kernel: Create VM::RingBuffer class 2021-05-13 10:00:42 +02:00
ScatterGatherList.cpp Everywhere: Use nothrow new with adopt_{ref,own}_if_nonnull 2021-06-24 17:35:49 +04:30
ScatterGatherList.h Kernel: Make AnonymousVMObject physical page APIs OOM safe 2021-05-15 09:01:32 +02:00
SharedInodeVMObject.cpp AK: Rename adopt() to adopt_ref() 2021-04-23 16:46:57 +02:00
SharedInodeVMObject.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Space.cpp Everywhere: Use nothrow new with adopt_{ref,own}_if_nonnull 2021-06-24 17:35:49 +04:30
Space.h Kernel: Move sys$munmap functionality into a helper method 2021-05-29 15:53:08 +02:00
TypedMapping.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
VMObject.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
VMObject.h Kernel: Avoid allocations in the VMObject constructor 2021-06-02 23:00:14 +01:00