Details
-
Improvement
-
Resolution: Fixed
-
Minor
-
None
-
Operating System: ReactOS
Platform: x86 Hardware
Description
Created an attachment (id=7710)
Halt system in freeldr if running processor is too old.
Currently, the system will halt in ntoskrnl!KiInitializeKernel where the kernel checks for CMPXCHG8B. Many users will not notice the debug output, and will only notice that the system has hung. This patch remedies the issue by halting the system earlier, in FreeLoader, by checking for a Pentium class processor.
Alternatively, one could implement support for checking feature bits for CMPXCHG8B in this same function, but all Pentium level processors and newer have support for this opcode in their feature bits.
– winocm