sparc: Minor cleanup in isa_traits.hh.
authorGabe Black <gabeblack@google.com>
Sat, 22 Aug 2020 04:16:22 +0000 (21:16 -0700)
committerGabe Black <gabeblack@google.com>
Fri, 28 Aug 2020 03:29:43 +0000 (03:29 +0000)
Remove unnecessary includes, and an unnecessary/unimplemented function
prototype.

Change-Id: I2230c1ec62734d918f0f6af6f4c1e1a64f25f812
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/33201
Reviewed-by: Gabe Black <gabeblack@google.com>
Maintainer: Gabe Black <gabeblack@google.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/arch/sparc/isa_traits.hh
src/arch/sparc/pagetable.hh

index ad9cf0881d085eceb3f8fe489ec5acf9bd10b873..e1917f910296c11b548454126a6bf9e112385733 100644 (file)
 #ifndef __ARCH_SPARC_ISA_TRAITS_HH__
 #define __ARCH_SPARC_ISA_TRAITS_HH__
 
-#include "arch/sparc/sparc_traits.hh"
-#include "arch/sparc/types.hh"
 #include "base/types.hh"
-#include "cpu/static_inst_fwd.hh"
 
 namespace SparcISA
 {
@@ -42,8 +39,6 @@ const ByteOrder GuestByteOrder = BigEndianByteOrder;
 const Addr PageShift = 13;
 const Addr PageBytes = ULL(1) << PageShift;
 
-StaticInstPtr decodeInst(ExtMachInst);
-
 }
 
 #endif // __ARCH_SPARC_ISA_TRAITS_HH__
index 73435c029f0d2db7333405642aa0bc1444fd426a..8bf8176a386e71706deb337797d4797f7ef04b10 100644 (file)
@@ -34,8 +34,7 @@
 #include "arch/sparc/isa_traits.hh"
 #include "base/bitfield.hh"
 #include "base/logging.hh"
-
-class Checkpoint;
+#include "sim/serialize.hh"
 
 namespace SparcISA
 {