arch: Get rid of (some) unused VAddr types.
authorGabe Black <gabeblack@google.com>
Sat, 22 Aug 2020 04:27:11 +0000 (21:27 -0700)
committerGabe Black <gabeblack@google.com>
Tue, 25 Aug 2020 19:46:56 +0000 (19:46 +0000)
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 <gabeblack@google.com>
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com>
src/arch/arm/pagetable.hh
src/arch/mips/pagetable.hh
src/arch/sparc/pagetable.hh

index b91d3de019d2e770254185f5b7cd3f43fcc6ef2e..054b6f5672b9a6c36581a0a10914552ed7be40a2 100644 (file)
 
 namespace ArmISA {
 
-struct VAddr
-{
-    VAddr(Addr a) { panic("not implemented yet."); }
-};
-
-
 // ITB/DTB page table entry
 struct PTE
 {
index 648b205692dfdab4e189c89d4188a1e8dc1c95f6..26c84858ead53acdf8a54909e8b66a0d427b38b7 100644 (file)
 
 namespace MipsISA {
 
-struct VAddr
-{
-};
-
 // ITB/DTB page table entry
 struct PTE
 {
index b17b65fd6c35d1feb8f5aed8854208c06da25428..73435c029f0d2db7333405642aa0bc1444fd426a 100644 (file)
 
 class Checkpoint;
 
-namespace SparcISA {
-
-struct VAddr
+namespace SparcISA
 {
-    VAddr(Addr a) { panic("not implemented yet."); }
-};
 
 class TteTag
 {