Various touch ups

--HG--
extra : convert_revision : 19ff30d969a46adbd256f674582a9e7d398b56ed
This commit is contained in:
Gabe Black 2007-03-05 14:49:07 +00:00
parent ecc1066f43
commit b832e6740f

View file

@ -58,8 +58,11 @@
#ifndef __ARCH_X86_ISATRAITS_HH__
#define __ARCH_X86_ISATRAITS_HH__
#include "arch/x86/types.hh"
#include "arch/x86/x86_traits.hh"
class StaticInstPtr;
namespace LittleEndianGuest {}
namespace X86ISA
@ -111,10 +114,15 @@ namespace X86ISA
const int MaxInstDestRegs = 10;
//4k. This value is not constant on x86.
const int LogVmPageSize = 12;
const int VMPageSize = (1 << LogVmPageSize);
const int LogVMPageSize = 12;
const int VMPageSize = (1 << LogVMPageSize);
const int PageShift = 13;
const int PageBytes = 1ULL << PageShift;
const int BranchPredAddrShiftAmt = 0;
StaticInstPtr decodeInst(ExtMachInst);
};
#endif // __ARCH_X86_ISATRAITS_HH__