Gabe Black has uploaded this change for review. (
https://gem5-review.googlesource.com/c/public/gem5/+/33202 )
Change subject: arch: Get rid of (some) unused VAddr types.
......................................................................
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
---
M src/arch/arm/pagetable.hh
M src/arch/mips/pagetable.hh
M src/arch/sparc/pagetable.hh
3 files changed, 1 insertion(+), 15 deletions(-)
diff --git a/src/arch/arm/pagetable.hh b/src/arch/arm/pagetable.hh
index 1f219be..9d1df1f 100644
--- a/src/arch/arm/pagetable.hh
+++ b/src/arch/arm/pagetable.hh
@@ -53,12 +53,6 @@
// Max. physical address range in bits supported by the architecture
const unsigned MaxPhysAddrRange = 48;
-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 648b205..26c8485 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 94bfda2..8bf8176 100644
--- a/src/arch/sparc/pagetable.hh
+++ b/src/arch/sparc/pagetable.hh
@@ -36,12 +36,8 @@
#include "base/logging.hh"
#include "sim/serialize.hh"
-namespace SparcISA {
-
-struct VAddr
+namespace SparcISA
{
- VAddr(Addr a) { panic("not implemented yet."); }
-};
class TteTag
{
--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/33202
To unsubscribe, or for help writing mail filters, visit
https://gem5-review.googlesource.com/settings
Gerrit-Project: public/gem5
Gerrit-Branch: develop
Gerrit-Change-Id: Iea8d0c8ab04ac1d95f49458f0fc41f291751da1a
Gerrit-Change-Number: 33202
Gerrit-PatchSet: 1
Gerrit-Owner: Gabe Black <[email protected]>
Gerrit-MessageType: newchange
_______________________________________________
gem5-dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s