changeset 0a742249f76b in /z/repo/gem5
details: http://repo.gem5.org/gem5?cmd=changeset;node=0a742249f76b
description:
        MEM: Clean-up of Functional/Virtual/TranslatingPort remnants

        This patch cleans up forward declarations and a member-function
        prototype that still referred to the old FunctionalPort, VirtualPort
        and TranslatingPort. There is no change in functionality.

diffstat:

 src/arch/arm/vtophys.hh           |  1 -
 src/arch/mips/vtophys.hh          |  1 -
 src/arch/power/vtophys.hh         |  1 -
 src/arch/sparc/vtophys.hh         |  4 ----
 src/cpu/inorder/thread_context.hh |  2 --
 src/cpu/o3/thread_context.hh      |  2 --
 src/cpu/simple_thread.hh          |  3 ---
 src/kern/solaris/solaris.hh       |  2 --
 8 files changed, 0 insertions(+), 16 deletions(-)

diffs (106 lines):

diff -r 9d7c1dc54954 -r 0a742249f76b src/arch/arm/vtophys.hh
--- a/src/arch/arm/vtophys.hh   Sat Jan 28 19:33:37 2012 -0600
+++ b/src/arch/arm/vtophys.hh   Mon Jan 30 03:44:25 2012 -0500
@@ -38,7 +38,6 @@
 #include "arch/arm/utility.hh"
 
 class ThreadContext;
-class FunctionalPort;
 
 namespace ArmISA {
     inline Addr PteAddr(Addr a) { return (a & PteMask) << PteShift; }
diff -r 9d7c1dc54954 -r 0a742249f76b src/arch/mips/vtophys.hh
--- a/src/arch/mips/vtophys.hh  Sat Jan 28 19:33:37 2012 -0600
+++ b/src/arch/mips/vtophys.hh  Mon Jan 30 03:44:25 2012 -0500
@@ -38,7 +38,6 @@
 #include "arch/mips/utility.hh"
 
 class ThreadContext;
-class FunctionalPort;
 
 namespace MipsISA {
     inline Addr PteAddr(Addr a) { return (a & PteMask) << PteShift; }
diff -r 9d7c1dc54954 -r 0a742249f76b src/arch/power/vtophys.hh
--- a/src/arch/power/vtophys.hh Sat Jan 28 19:33:37 2012 -0600
+++ b/src/arch/power/vtophys.hh Mon Jan 30 03:44:25 2012 -0500
@@ -40,7 +40,6 @@
 #include "arch/power/utility.hh"
 
 class ThreadContext;
-class FunctionalPort;
 
 namespace PowerISA {
 
diff -r 9d7c1dc54954 -r 0a742249f76b src/arch/sparc/vtophys.hh
--- a/src/arch/sparc/vtophys.hh Sat Jan 28 19:33:37 2012 -0600
+++ b/src/arch/sparc/vtophys.hh Mon Jan 30 03:44:25 2012 -0500
@@ -36,13 +36,9 @@
 #include "arch/sparc/pagetable.hh"
 
 class ThreadContext;
-class FunctionalPort;
 
 namespace SparcISA {
 
-PageTableEntry
-kernel_pte_lookup(FunctionalPort *mem, Addr ptbr, SparcISA::VAddr vaddr);
-
 Addr vtophys(Addr vaddr);
 Addr vtophys(ThreadContext *tc, Addr vaddr);
 
diff -r 9d7c1dc54954 -r 0a742249f76b src/cpu/inorder/thread_context.hh
--- a/src/cpu/inorder/thread_context.hh Sat Jan 28 19:33:37 2012 -0600
+++ b/src/cpu/inorder/thread_context.hh Mon Jan 30 03:44:25 2012 -0500
@@ -44,8 +44,6 @@
     class Statistics;
 };
 
-class TranslatingPort;
-
 /**
  * Derived ThreadContext class for use with the InOrderCPU.  It
  * provides the interface for any external objects to access a
diff -r 9d7c1dc54954 -r 0a742249f76b src/cpu/o3/thread_context.hh
--- a/src/cpu/o3/thread_context.hh      Sat Jan 28 19:33:37 2012 -0600
+++ b/src/cpu/o3/thread_context.hh      Mon Jan 30 03:44:25 2012 -0500
@@ -40,8 +40,6 @@
     class Statistics;
 };
 
-class TranslatingPort;
-
 /**
  * Derived ThreadContext class for use with the O3CPU.  It
  * provides the interface for any external objects to access a
diff -r 9d7c1dc54954 -r 0a742249f76b src/cpu/simple_thread.hh
--- a/src/cpu/simple_thread.hh  Sat Jan 28 19:33:37 2012 -0600
+++ b/src/cpu/simple_thread.hh  Mon Jan 30 03:44:25 2012 -0500
@@ -58,8 +58,6 @@
 
 class FunctionProfile;
 class ProfileNode;
-class FunctionalPort;
-class PhysicalPort;
 
 namespace TheISA {
     namespace Kernel {
@@ -71,7 +69,6 @@
 
 #include "mem/page_table.hh"
 #include "sim/process.hh"
-class TranslatingPort;
 
 #endif // FULL_SYSTEM
 
diff -r 9d7c1dc54954 -r 0a742249f76b src/kern/solaris/solaris.hh
--- a/src/kern/solaris/solaris.hh       Sat Jan 28 19:33:37 2012 -0600
+++ b/src/kern/solaris/solaris.hh       Mon Jan 30 03:44:25 2012 -0500
@@ -42,8 +42,6 @@
 
 #include "kern/operatingsystem.hh"
 
-class TranslatingPort;
-
 ///
 /// This class encapsulates the types, structures, constants,
 /// functions, and syscall-number mappings specific to the Solaris
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to