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.
This commit is contained in:
Andreas Hansson 2013-09-04 13:22:55 -04:00
parent fdf6f6c4b6
commit cead68a781
4 changed files with 8 additions and 4 deletions

View file

@ -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;

View file

@ -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; }

View file

@ -79,7 +79,6 @@ System::System(Params *p)
pagePtr(0),
init_param(p->init_param),
physProxy(_systemPort, p->cache_line_size),
virtProxy(_systemPort, p->cache_line_size),
loadAddrMask(p->load_addr_mask),
nextPID(0),
physmem(name() + ".physmem", p->memories),

View file

@ -57,9 +57,9 @@
#include "cpu/pc_event.hh"
#include "enums/MemoryMode.hh"
#include "kern/system_events.hh"
#include "mem/fs_translating_port_proxy.hh"
#include "mem/mem_object.hh"
#include "mem/port.hh"
#include "mem/port_proxy.hh"
#include "mem/physical.hh"
#include "params/System.hh"
@ -211,7 +211,6 @@ class System : public MemObject
/** Port to physical memory used for writing object files into ram at
* boot.*/
PortProxy physProxy;
FSTranslatingPortProxy virtProxy;
/** kernel symbol table */
SymbolTable *kernelSymtab;