#ifndef __ARCH_SPARC_TYPES_HH__
#define __ARCH_SPARC_TYPES_HH__
-#include <inttypes.h>
-#include "base/bigint.hh"
+#include "arch/generic/types.hh"
+#include "base/types.hh"
namespace SparcISA
{
- typedef uint32_t MachInst;
- typedef uint64_t ExtMachInst;
- typedef uint64_t IntReg;
- typedef Twin64_t LargestRead;
- typedef uint64_t MiscReg;
- typedef double FloatReg;
- typedef uint64_t FloatRegBits;
- typedef union
- {
- IntReg intReg;
- FloatReg fpreg;
- MiscReg ctrlreg;
- } AnyReg;
+typedef uint32_t MachInst;
+typedef uint64_t ExtMachInst;
- enum RegContextParam
- {
- CONTEXT_CWP,
- CONTEXT_GLOBALS
- };
+typedef GenericISA::DelaySlotUPCState<MachInst> PCState;
- typedef int RegContextVal;
-
- typedef uint8_t RegIndex;
}
#endif