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/miscregs.hh | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) (limited to 'src/arch/x86/miscregs.hh') diff --git a/src/arch/x86/miscregs.hh b/src/arch/x86/miscregs.hh index 088dbeace..106996848 100644 --- a/src/arch/x86/miscregs.hh +++ b/src/arch/x86/miscregs.hh @@ -834,12 +834,18 @@ namespace X86ISA EndBitUnion(SegDescriptor) BitUnion64(SegAttr) - Bitfield<0> writable; - Bitfield<1> readable; - Bitfield<2> expandDown; - Bitfield<4, 3> dpl; - Bitfield<5> defaultSize; - Bitfield<6> longMode; + Bitfield<1, 0> dpl; + Bitfield<2> unusable; + Bitfield<3> defaultSize; + Bitfield<4> longMode; + Bitfield<5> avl; + Bitfield<6> granularity; + Bitfield<7> present; + Bitfield<11, 8> type; + Bitfield<12> writable; + Bitfield<13> readable; + Bitfield<14> expandDown; + Bitfield<15> system; EndBitUnion(SegAttr) BitUnion64(GateDescriptor) -- cgit v1.2.3