summaryrefslogtreecommitdiff
path: root/src/arch/alpha
diff options
context:
space:
mode:
authorAndreas Hansson <andreas.hansson@arm.com>2013-09-04 13:22:55 -0400
committerAndreas Hansson <andreas.hansson@arm.com>2013-09-04 13:22:55 -0400
commitcead68a78189f764a98be88206592884cdde75ec (patch)
tree72c3216139882b15283da7a64b52b2262e1e57d7 /src/arch/alpha
parentfdf6f6c4b61cadd79d910ccb225ebf9fba6191c2 (diff)
downloadgem5-cead68a78189f764a98be88206592884cdde75ec.tar.xz
alpha: Move system virtProxy to Alpha only
This patch moves the system virtual port proxy to the Alpha system only to make the resurrection of the NOISA slightly less painful. Alpha is the only ISA that is actually using it.
Diffstat (limited to 'src/arch/alpha')
-rw-r--r--src/arch/alpha/system.cc2
-rw-r--r--src/arch/alpha/system.hh6
2 files changed, 7 insertions, 1 deletions
diff --git a/src/arch/alpha/system.cc b/src/arch/alpha/system.cc
index f8e65015a..3ebc02b64 100644
--- a/src/arch/alpha/system.cc
+++ b/src/arch/alpha/system.cc
@@ -45,7 +45,7 @@
using namespace AlphaISA;
AlphaSystem::AlphaSystem(Params *p)
- : System(p), intrFreq(0)
+ : System(p), intrFreq(0), virtProxy(getSystemPort(), p->cache_line_size)
{
consoleSymtab = new SymbolTable;
palSymtab = new SymbolTable;
diff --git a/src/arch/alpha/system.hh b/src/arch/alpha/system.hh
index bbf281c39..11a5e90a4 100644
--- a/src/arch/alpha/system.hh
+++ b/src/arch/alpha/system.hh
@@ -38,6 +38,7 @@
#include "base/loader/symtab.hh"
#include "cpu/pc_event.hh"
#include "kern/system_events.hh"
+#include "mem/fs_translating_port_proxy.hh"
#include "params/AlphaSystem.hh"
#include "sim/sim_object.hh"
#include "sim/system.hh"
@@ -91,6 +92,11 @@ class AlphaSystem : public System
protected:
Tick intrFreq;
+ /**
+ * Proxy used to copy arguments directly into kernel memory.
+ */
+ FSTranslatingPortProxy virtProxy;
+
const Params *params() const { return (const Params *)_params; }