X86: Define a noop ExtMachInst.
[gem5.git] / src / arch / sparc / types.hh
index 8bd50b7e899074a864dd30b30c0ba5c15aa2fc8e..70558ec6d3a63e7e51283f009a166ffae5e85ffe 100644 (file)
 #ifndef __ARCH_SPARC_TYPES_HH__
 #define __ARCH_SPARC_TYPES_HH__
 
-#include <inttypes.h>
 #include "base/bigint.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;
 
-    enum RegContextParam
-    {
-        CONTEXT_CWP,
-        CONTEXT_GLOBALS
+    struct CoreSpecific {
+        int core_type;
     };
-
-    typedef int RegContextVal;
-
-    typedef uint16_t RegIndex;
 }
 
 #endif