I am running my protected mode kernel under QEMU, and it is causing a general protection fault when trying to execute the assembler HLT instruction. CPL is 0, IOPL is 0 in EFLAGS, interruptions are enabled.
Could this be a QEMU issue or am i missing something?
This happens when emulating SMP (Symmetric Multi-processor).
Check the DPL of Code Segment selector.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With