$(error The M5 variable must be set)
endif
-all: console
+all: console_tl console_ts
dbmentry.o: dbmentry.s
g++ -I ../h -I ../palcode -E -P -nostdinc -nostdinc++ -x c++ dbmentry.s | \
$(AS) -m 21164 -o dbmentry.s.o
-console.o: console.c
- $(CC) -g3 $(INCLUDES) -D _TIME_T -nostdinc++ -o $*.o -c $*.c
+console_ts.o: console.c
+ $(CC) -g3 $(INCLUDES) -D _TIME_T -D TSUNAMI -nostdinc++ -o console_ts.o -c console.c
+
+console_tl.o: console.c
+ $(CC) -g3 $(INCLUDES) -D _TIME_T -D TLASER -nostdinc++ -o console_tl.o -c console.c
printf.o: printf.c
$(CC) -g3 $(INCLUDES) -nostdinc++ -o $*.o -c $*.c
g++ -I ../h -E -P -nostdinc -nostdinc++ -x c++ paljtoslave.s | \
$(AS) -m 21164 -o paljtoslave.s.o
-console: console.o dbmentry.o printf.o paljtokern.s.o paljtoslave.s.o
- $(LD) -o console -N -Ttext $(DBMENTRY) -non_shared \
- dbmentry.s.o console.o printf.o paljtokern.s.o paljtoslave.s.o -lc
+console_ts: console_ts.o dbmentry.o printf.o paljtokern.s.o paljtoslave.s.o
+ $(LD) -o console_ts -N -Ttext $(DBMENTRY) -non_shared \
+ dbmentry.s.o console_ts.o printf.o paljtokern.s.o paljtoslave.s.o -lc
+
+console_tl: console_tl.o dbmentry.o printf.o paljtokern.s.o paljtoslave.s.o
+ $(LD) -o console_tl -N -Ttext $(DBMENTRY) -non_shared \
+ dbmentry.s.o console_tl.o printf.o paljtokern.s.o paljtoslave.s.o -lc
install: console
scp console zizzer.eecs.umich.edu:/z/m5/system/testing/binaries/console
#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))