qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] Jump to TSS question
@ 2004-03-24  1:10 Fabrice Bellard
  2004-03-26  5:39 ` kazu
  0 siblings, 1 reply; 2+ messages in thread
From: Fabrice Bellard @ 2004-03-24  1:10 UTC (permalink / raw)
  To: qemu-devel

Hi,

With the latest TSS fixes, SkyOS should begin to work in QEMU.

I have a question for x86 experts: when switching to a task with the 
'JMP' instruction, which value of EIP is saved in the old task ? Is it 
the value pointing to the JMP instruction or the value pointing to the 
instruction after ?

Fabrice.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Qemu-devel] Jump to TSS question
  2004-03-24  1:10 [Qemu-devel] Jump to TSS question Fabrice Bellard
@ 2004-03-26  5:39 ` kazu
  0 siblings, 0 replies; 2+ messages in thread
From: kazu @ 2004-03-26  5:39 UTC (permalink / raw)
  To: qemu-devel

Hello,

Wednesday, March 24, 2004 10:10 AM, Fabrice Bellard wrote:
> I have a question for x86 experts: when switching to a task with the
> 'JMP' instruction, which value of EIP is saved in the old task ? Is it
> the value pointing to the JMP instruction or the value pointing to the
> instruction after ?

I'm not a x86 expert but an information is here.

http://www7.informatik.uni-erlangen.de/~msdoerfe/embedded/386html/s07_05.htm

It says, "The EIP field of the TSS points to the instruction after the
one that caused the task switch."

Sincerely,
kazu

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-03-26  5:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-24  1:10 [Qemu-devel] Jump to TSS question Fabrice Bellard
2004-03-26  5:39 ` kazu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).