From: Gabe Black Date: Sat, 22 Aug 2020 04:16:22 +0000 (-0700) Subject: sparc: Minor cleanup in isa_traits.hh. X-Git-Tag: v20.1.0.0~212 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1e18de8270dc26394022fcc76b8959ebead66d1a;p=gem5.git sparc: Minor cleanup in isa_traits.hh. 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 Maintainer: Gabe Black Tested-by: kokoro --- diff --git a/src/arch/sparc/isa_traits.hh b/src/arch/sparc/isa_traits.hh index ad9cf0881..e1917f910 100644 --- a/src/arch/sparc/isa_traits.hh +++ b/src/arch/sparc/isa_traits.hh @@ -29,10 +29,7 @@ #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__ diff --git a/src/arch/sparc/pagetable.hh b/src/arch/sparc/pagetable.hh index 73435c029..8bf8176a3 100644 --- a/src/arch/sparc/pagetable.hh +++ b/src/arch/sparc/pagetable.hh @@ -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 {