qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [Bug 1095857] [NEW] incorrect handling of [r32] address (lo


From: Stefan Fanslow
Subject: [Qemu-devel] [Bug 1095857] [NEW] incorrect handling of [r32] address (long mode)
Date: Thu, 03 Jan 2013 23:24:52 -0000

Public bug reported:

while executing in Long Mode (x86-64) instructions such as

mov eax,[r15d]

end up executing as

mov eax,[r15]

according to x86 programmer manuals the behavior of using the Address-
Size override (in long mode) is supposed to ignore the high 32bits of
the register. I use this fact in my operating system to reduce register
usage (the high 32 bits of r15 holds other data). consequently a general
protection exception occurs since the memory address isn't "canonical".
this error doesn't always appear since the high 32 bits might not be
zero in those conditions.

** Affects: qemu
     Importance: Undecided
         Status: New

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

Title:
  incorrect handling of [r32] address (long mode)

Status in QEMU:
  New

Bug description:
  while executing in Long Mode (x86-64) instructions such as

  mov eax,[r15d]

  end up executing as

  mov eax,[r15]

  according to x86 programmer manuals the behavior of using the Address-
  Size override (in long mode) is supposed to ignore the high 32bits of
  the register. I use this fact in my operating system to reduce
  register usage (the high 32 bits of r15 holds other data).
  consequently a general protection exception occurs since the memory
  address isn't "canonical". this error doesn't always appear since the
  high 32 bits might not be zero in those conditions.

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



reply via email to

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