From 0fdf1a5a513c92dc97d4cabe9861a19c2ad01ad6 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Fri, 21 Aug 2020 21:27:11 -0700 Subject: [PATCH] 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 --- src/arch/arm/pagetable.hh | 6 ------ src/arch/mips/pagetable.hh | 4 ---- src/arch/sparc/pagetable.hh | 6 +----- 3 files changed, 1 insertion(+), 15 deletions(-) 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 { -- 2.30.2