From cead68a78189f764a98be88206592884cdde75ec Mon Sep 17 00:00:00 2001 From: Andreas Hansson Date: Wed, 4 Sep 2013 13:22:55 -0400 Subject: 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. --- src/arch/alpha/system.cc | 2 +- src/arch/alpha/system.hh | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) (limited to 'src/arch') 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; } -- cgit v1.2.3