1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-08 12:37:35 +00:00
serenity/Kernel/Arch/x86
Tom 6e46e21c42 Kernel: Implement Page Attribute Table (PAT) support and Write-Combine
This allows us to enable Write-Combine on e.g. framebuffers,
significantly improving performance on bare metal.

To keep things simple we right now only use one of up to three bits
(bit 7 in the PTE), which maps to the PA4 entry in the PAT MSR, which
we set to the Write-Combine mode on each CPU at boot time.
2022-01-26 09:21:04 +02:00
..
common Kernel: Implement Page Attribute Table (PAT) support and Write-Combine 2022-01-26 09:21:04 +02:00
i386 Kernel: Initialize regs.fs in Processor::init_context 2021-11-06 11:54:28 +01:00
x86_64 Kernel: Implement and use the syscall/sysret instruction pair on x86_64 2021-12-28 23:15:38 +01:00
ASM_wrapper.h Kernel: Add an x86 include check+error in x86/ASM_Wrapper.h 2021-12-01 11:22:04 -08:00
CPU.h Kernel: Dispatch handle-able signals instead of crashing if possible 2021-12-01 21:44:11 +02:00
CPUID.h Kernel: Implement Page Attribute Table (PAT) support and Write-Combine 2022-01-26 09:21:04 +02:00
DescriptorTable.h Kernel: Use enum instead of magic numbers for GDT descriptor types 2022-01-04 19:08:07 +02:00
InterruptDisabler.h Kernel: Add an x86 include check+error in x86/InerruptDisabler.h 2021-12-01 11:22:04 -08:00
Interrupts.h Everywhere: Fix spelling mistakes 2022-01-07 15:44:42 +01:00
IO.h Kernel: Remove unused String.h includes 2021-12-11 13:15:26 -08:00
ISRStubs.h Kernel: Add an x86 include check+error in x86/ISRStubs.h 2021-12-01 11:22:04 -08:00
MSR.h Kernel: Add an x86 include check+error in x86/MSR.h 2021-12-01 11:22:04 -08:00
PageDirectory.h Kernel: Implement Page Attribute Table (PAT) support and Write-Combine 2022-01-26 09:21:04 +02:00
PageFault.h Kernel: Add an x86 include check+error in x86/PageFault.h 2021-12-01 11:22:04 -08:00
Processor.h Kernel: Implement Page Attribute Table (PAT) support and Write-Combine 2022-01-26 09:21:04 +02:00
ProcessorInfo.h Kernel: Convert ProcessorInfo to KString 2022-01-12 16:09:09 +02:00
RegisterState.h Kernel: Implement and use the syscall/sysret instruction pair on x86_64 2021-12-28 23:15:38 +01:00
SafeMem.h Kernel: Implement safe_* memory access functions for x86_64 2021-06-27 15:46:42 +02:00
Spinlock.h Kernel: Add an x86 include check+error in x86/Spinlock.h 2021-12-01 11:22:04 -08:00
TrapFrame.h Kernel: Add an x86 include check+error in x86/TrapFrame.h 2021-12-01 11:22:04 -08:00
TSS.h Kernel: Add an x86 include check+error in x86/TSS.h 2021-12-01 11:22:04 -08:00