X86: Fix a bug in IRET_PROT's microcode. The immediate form of sra was intended.
This commit is contained in:
parent
15afc87f7c
commit
d029110fa1
1 changed files with 1 additions and 1 deletions
|
@ -158,7 +158,7 @@ processCSDescriptor:
|
||||||
|
|
||||||
doPopStackStuffAndCheckRIP:
|
doPopStackStuffAndCheckRIP:
|
||||||
# Check if the RIP is canonical.
|
# Check if the RIP is canonical.
|
||||||
sra t7, t1, 47, flags=(EZF,), dataSize=ssz
|
srai t7, t1, 47, flags=(EZF,), dataSize=ssz
|
||||||
# if t7 isn't 0 or -1, it wasn't canonical.
|
# if t7 isn't 0 or -1, it wasn't canonical.
|
||||||
br label("doPopStackStuff"), flags=(CEZF,)
|
br label("doPopStackStuff"), flags=(CEZF,)
|
||||||
addi t0, t7, 1, flags=(EZF,), dataSize=ssz
|
addi t0, t7, 1, flags=(EZF,), dataSize=ssz
|
||||||
|
|
Loading…
Reference in a new issue