qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [Bug 996798] Re: Incorrect order of task switching


From: Yury Popov
Subject: [Qemu-devel] [Bug 996798] Re: Incorrect order of task switching
Date: Wed, 09 May 2012 05:17:14 -0000

** Description changed:

  In Intel  specifications
  (http://download.intel.com/design/processor/manuals/253668.pdf 7.3), we
  can see:
  
-     8. Saves the state of the current (old) task in the current task’s
+     8. Saves the state of the current (old) task in the current task’s
  TSS.
  
  …
  
-    11. Loads the task register with the segment selector and descriptor
- for the new  task's TSS.
+    12. The TSS state is loaded into the processor
  
  But, in QEMU code
  (https://raw.github.com/qemu/QEMU/v1.0/target-i386/op_helper.c :375),
  the order is reversed: TSS registers & segments loads BEFORE save old
  task state.

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/996798

Title:
  Incorrect order of task switching

Status in QEMU:
  New

Bug description:
  In Intel  specifications
  (http://download.intel.com/design/processor/manuals/253668.pdf 7.3),
  we can see:

      8. Saves the state of the current (old) task in the current task’s
  TSS.

  …

     12. The TSS state is loaded into the processor

  But, in QEMU code
  (https://raw.github.com/qemu/QEMU/v1.0/target-i386/op_helper.c :375),
  the order is reversed: TSS registers & segments loads BEFORE save old
  task state.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/996798/+subscriptions



reply via email to

[Prev in Thread] Current Thread [Next in Thread]