From 7f50ea05ac848e22a70c9a9471904637aea2f907 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Thu, 28 May 2009 23:27:56 -0700 Subject: X86: Keep track of more descriptor state to accomodate KVM. --- src/arch/x86/isa/insts/romutil.py | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/arch/x86/isa/insts/romutil.py') diff --git a/src/arch/x86/isa/insts/romutil.py b/src/arch/x86/isa/insts/romutil.py index 2fcc56e8a..10653e1cc 100644 --- a/src/arch/x86/isa/insts/romutil.py +++ b/src/arch/x86/isa/insts/romutil.py @@ -76,10 +76,8 @@ def rom # Check if we're changing privelege level. At this point we can assume # we're going to a DPL that's less than or equal to the CPL. rdattr t10, hs, dataSize=8 - srli t10, t10, 3, dataSize=8 andi t10, t10, 3, dataSize=8 rdattr t5, cs, dataSize=8 - srli t5, t5, 3, dataSize=8 andi t5, t5, 0x3, dataSize=8 sub t0, t5, t10, flags=(EZF,), dataSize=8 # We're going to change priviledge, so zero out the stack selector. We -- cgit v1.2.3