From: Gabe Black Date: Sat, 22 Aug 2020 04:27:11 +0000 (-0700) Subject: arch: Get rid of (some) unused VAddr types. X-Git-Tag: v20.1.0.0~237 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0fdf1a5a513c92dc97d4cabe9861a19c2ad01ad6;p=gem5.git arch: Get rid of (some) unused VAddr types. X86 actually defines and uses a VAddr bitunion, but the ARM, MIPS and SPARC versions are just stubs and aren't used anywhere. Change-Id: Iea8d0c8ab04ac1d95f49458f0fc41f291751da1a Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/33202 Maintainer: Gabe Black Tested-by: kokoro Reviewed-by: Nikos Nikoleris --- diff --git a/src/arch/arm/pagetable.hh b/src/arch/arm/pagetable.hh index b91d3de01..054b6f567 100644 --- a/src/arch/arm/pagetable.hh +++ b/src/arch/arm/pagetable.hh @@ -49,12 +49,6 @@ namespace ArmISA { -struct VAddr -{ - VAddr(Addr a) { panic("not implemented yet."); } -}; - - // ITB/DTB page table entry struct PTE { diff --git a/src/arch/mips/pagetable.hh b/src/arch/mips/pagetable.hh index 648b20569..26c84858e 100644 --- a/src/arch/mips/pagetable.hh +++ b/src/arch/mips/pagetable.hh @@ -36,10 +36,6 @@ namespace MipsISA { -struct VAddr -{ -}; - // ITB/DTB page table entry struct PTE { diff --git a/src/arch/sparc/pagetable.hh b/src/arch/sparc/pagetable.hh index b17b65fd6..73435c029 100644 --- a/src/arch/sparc/pagetable.hh +++ b/src/arch/sparc/pagetable.hh @@ -37,12 +37,8 @@ class Checkpoint; -namespace SparcISA { - -struct VAddr +namespace SparcISA { - VAddr(Addr a) { panic("not implemented yet."); } -}; class TteTag {