From 1e18de8270dc26394022fcc76b8959ebead66d1a Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Fri, 21 Aug 2020 21:16:22 -0700 Subject: [PATCH] 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 --- src/arch/sparc/isa_traits.hh | 5 ----- src/arch/sparc/pagetable.hh | 3 +-- 2 files changed, 1 insertion(+), 7 deletions(-) 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 { -- 2.30.2