Sysenter in V8086 mode?

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
Laksen
Member
Member
Posts: 140
Joined: Fri Nov 09, 2007 3:30 am
Location: Aalborg, Denmark

Sysenter in V8086 mode?

Post 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
Laksen
Member
Member
Posts: 140
Joined: Fri Nov 09, 2007 3:30 am
Location: Aalborg, Denmark

Post 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?
User avatar
bluecode
Member
Member
Posts: 202
Joined: Wed Nov 17, 2004 12:00 am
Location: Germany
Contact:

Post by bluecode »

Laksen wrote:Would anyone know where I can report this bug?
here
Post Reply