1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 02:37:36 +00:00

Kernel: Stop booting and print if PAE is not supported by the processor

We currently require PAE and not having it causes us to crash.
This turns that crash into an error message.
This commit is contained in:
Luke 2021-07-08 21:19:30 +01:00 committed by Gunnar Beutner
parent 6531485251
commit c94b0e80e7
3 changed files with 50 additions and 16 deletions

View file

@ -12,3 +12,8 @@ You might want to revert latest changes in tree to see if that solves the proble
### "Your computer does not support long mode (64-bit mode). Halting!"
Either your machine (if you try to boot on bare metal) is very old, thus it's not supporting x86_64 extensions, or you try to use VirtualBox without using a x64 virtualization mode or you try to use `qemu-system-i386` which doesn't support x86_64 extensions too.
### "Your computer does not support PAE. Halting!"
- If booting on bare metal, your CPU is too old to boot Serenity.
- If you're using VirtualBox, you need to enable PAE/NX. Check the instructions [here.](VirtualBox.md)
- If you're using QEMU, the [CPU model configuration](https://qemu-project.gitlab.io/qemu/system/qemu-cpu-models.html) is not exposing PAE.