summaryrefslogtreecommitdiff
path: root/system/alpha/console/console.c
diff options
context:
space:
mode:
authorAli Saidi <saidi@eecs.umich.edu>2004-08-01 00:50:26 -0400
committerAli Saidi <saidi@eecs.umich.edu>2004-08-01 00:50:26 -0400
commit29c5218e4faf2b059a00b0864e6763ee18143d56 (patch)
tree447173edf5647256a85e44ecf9471b46ce6d7361 /system/alpha/console/console.c
parentae3ba616655fac648f379c9e42014ed265abcd6d (diff)
downloadgem5-29c5218e4faf2b059a00b0864e6763ee18143d56.tar.xz
changed to generate tlaser and tsunami console code at different
addresses so the uncachable bit is set for tsunami. console/Makefile: console/console.c: changed to generate tlaser and tsunami console code at different addresses
Diffstat (limited to 'system/alpha/console/console.c')
-rw-r--r--system/alpha/console/console.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/system/alpha/console/console.c b/system/alpha/console/console.c
index 61e765411..12db3d9f5 100644
--- a/system/alpha/console/console.c
+++ b/system/alpha/console/console.c
@@ -33,8 +33,13 @@ typedef unsigned int uint32;
#define K1BASE 0xfffffc8000000000
#define KSEG_TO_PHYS(x)(((ul)x) & ~KSEG)
+#ifdef TSUNAMI
+#define ALPHA_ACCESS_BASE 0xfffffd0200000000
+#elif TLASER
#define ALPHA_ACCESS_BASE 0xfffffc8000a00000
-
+#else
+#error TSUNAMI/TLASER not defined.
+#endif
#define PHYS_TO_K1(_x) (K1BASE|(_x))