HLT instruction causes General Protection Fault in QEMU

Viewed 925

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).

2 Answers
Related