Skip to contentSkip to conversation

Checking of segment registers when switching to pmode

Qemu-devel Milan Plzik 1 participant 1 message Apr 16, 2006

lore
Share & tools
lore
#0 lore raw

Hello,

I played a bit with switching to pmode with both qemu and real
hardware, I've found one difference - real hardware (a Pentium machine) does some checking of segment registers when switching to pmode (enabling just PE bit); if contents is invalid, it probably raises some exception (I have not had any interrupt handlers installed, so at me it just probably triple-faulted). Qemu allowed me to continue even with incorrect content of segment registers.

Milan Plzik