diff options
author | Nathan Binkert <binkertn@umich.edu> | 2005-06-28 12:42:15 -0400 |
---|---|---|
committer | Nathan Binkert <binkertn@umich.edu> | 2005-06-28 12:42:15 -0400 |
commit | 036a8ceb8da8aff10b819b4aab32584d41282a64 (patch) | |
tree | e3d1c6bd8572ec503ff53e6b1b27bcd0f292f247 /dev/alpha_access.h | |
parent | d172447a7ae945139d0c3465b8504cd6b77ae819 (diff) | |
download | gem5-036a8ceb8da8aff10b819b4aab32584d41282a64.tar.xz |
Don't hard code the location of m5AlphaAccess. Instead, move the
code into a function that can be called by the AlphaConsole class.
AlphaConsole will pass in its address.
arch/alpha/ev5.hh:
Move Phys2K0Seg to ev5.hh and fixup the TSUNAMI uncacheable
bits so that they will be converted correctly.
dev/alpha_access.h:
Do not hard code the location of the AlphaConsole
dev/alpha_console.cc:
fixup #includes
tell the system where the alpha console is
sim/system.hh:
Provide a function that will tell the system where the AlphaAccess
structure (device) lives
--HG--
extra : convert_revision : 92d70ca926151a32eebe9925de597459ac58013e
Diffstat (limited to 'dev/alpha_access.h')
-rw-r--r-- | dev/alpha_access.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/dev/alpha_access.h b/dev/alpha_access.h index b62966ea0..a20a05535 100644 --- a/dev/alpha_access.h +++ b/dev/alpha_access.h @@ -38,12 +38,6 @@ #ifdef CONSOLE typedef unsigned uint32_t; typedef unsigned long uint64_t; -#else -#ifdef ALPHA_TLASER -#define ALPHA_ACCESS_BASE ULL(0xfffffc8000a00000) -#else -#define ALPHA_ACCESS_BASE ULL(0xfffffd0200000000) -#endif #endif // This structure hacked up from simos |