Page 1 of 1

Sysenter in V8086 mode?

Posted: Sun Apr 06, 2008 2:57 pm
by Laksen
As the subject says. Is it possible to call sysenter in v8086 mode?
The manual clearly states that it's possible from all modes but real-address mode. The call itself clears eflags.vm to ensure protected mode, it says.

That must mean that sysenter must work from V8086 mode. Yet using Bochs I get a GPF, and it prints "SYSENTER not from protected mode !" in the console. For some reason I get no reaction on a real machine yet, but I'm working on it

Posted: Sun Apr 06, 2008 5:22 pm
by Laksen
Well, I can report that it works on a real machine.. :roll:

It's just a real PITA that it doesn't work in Bochs. That means that I'll either have to write a virtual mode monitor or just screw v8086 mode when using bochs.. Would anyone know where I can report this bug?

Posted: Sun Apr 06, 2008 5:35 pm
by bluecode
Laksen wrote:Would anyone know where I can report this bug?
here