X86: Use all 64 bits of the lstar register in the SYSCALL_64 macroop.

During SYSCALL_64, use dataSize=8 when handling new rip (ref
http://www.intel.com/Assets/PDF/manual/253668.pdf 5.8.8 IA32_LSTAR is a 64-bit
address)
This commit is contained in:
Tim Harris 2011-02-07 15:16:27 -08:00
parent 2ea1aa8a4f
commit 6da83b8a1b

View file

@ -79,8 +79,8 @@ def macroop SYSCALL_64
wrattr ss, t4
# Set the new rip.
rdval t7, lstar
wrip t0, t7
rdval t7, lstar, dataSize=8
wrip t0, t7, dataSize=8
# Mask the flags against sf_mask and leave RF turned off.
rdval t3, sf_mask, dataSize=8