1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 19:08:10 +00:00
serenity/Kernel/Arch/x86/common
Linus Groh c895780829 Kernel: Reorder code in Processor::cpu_detect() for readability
Checks of ECX go before EDX, and the bit indices are now ordered
properly. Additionally, handling of the EDX[11] bit has been moved into
a lambda function to keep the series of if statements neatly together.
All of this makes it *a lot* easier to follow along and compare the
implementation to the tables in the Intel manual, e.g. to find missing
checks.
2022-03-27 18:54:56 +02:00
..
ASM_wrapper.cpp Kernel: Add per platform Processor.h headers 2021-10-14 01:23:08 +01:00
CPU.cpp Kernel: Access MemoryManager static functions statically 2021-10-02 18:16:15 +02:00
Interrupts.cpp Kernel/Interrupts: Initialize two spurious handlers when PIC is disabled 2022-01-30 21:07:20 +02:00
Processor.cpp Kernel: Reorder code in Processor::cpu_detect() for readability 2022-03-27 18:54:56 +02:00
ProcessorInfo.cpp Kernel: Convert ProcessorInfo to KString 2022-01-12 16:09:09 +02:00
SafeMem.cpp Kernel: Add cross platform RegisterState header and Aarch64 version 2021-10-15 21:48:45 +01:00
ScopedCritical.cpp Kernel: Move ScopedCritical + SmapDisabler CPP files into x86 common 2021-10-16 15:43:41 -07:00
SmapDisabler.cpp Kernel: Move ScopedCritical + SmapDisabler CPP files into x86 common 2021-10-16 15:43:41 -07:00
Spinlock.cpp Kernel: Move Spinlock lock/unlock functions out of line 2022-02-03 16:11:26 +01:00
TrapFrame.cpp Kernel: Add per platform Processor.h headers 2021-10-14 01:23:08 +01:00