X86: Make far ret modify CS instead of some random selector.
This commit is contained in:
parent
b423c7a103
commit
569db520ad
|
@ -109,8 +109,8 @@ processDescriptor:
|
|||
chks t2, t3, IretCheck, dataSize=8
|
||||
# There should be validity checks on the RIP checks here, but I'll do
|
||||
# that later.
|
||||
wrdl reg, t3, t2
|
||||
wrsel reg, t2
|
||||
wrdl cs, t3, t2
|
||||
wrsel cs, t2
|
||||
wrip t0, t1
|
||||
bri t0, label("end")
|
||||
|
||||
|
|
Loading…
Reference in a new issue