summaryrefslogtreecommitdiff
path: root/dev/tsunami_uart.cc
diff options
context:
space:
mode:
authorAli Saidi <saidi@eecs.umich.edu>2004-01-30 15:24:50 -0500
committerAli Saidi <saidi@eecs.umich.edu>2004-01-30 15:24:50 -0500
commit0035440536e4c275d73fd3bb516f46d0d2df1f6b (patch)
treeef2b57e4b49edc8b98f0172c09cc00d7d8ad7af5 /dev/tsunami_uart.cc
parent00c49783ef406aaee227aff10624da9feeeb8ce8 (diff)
downloadgem5-0035440536e4c275d73fd3bb516f46d0d2df1f6b.tar.xz
Linux boots with no devices
dev/tsunami.hh: Started commenting code dev/tsunami_cchip.cc: removed unneccessary config files dev/tsunami_io.cc: Added code to see the value written dev/tsunami_uart.cc: conviently one of the addresses the SuperI/O southbridge can be is the same space as the UART. This stops the simulator from panicing although it should probably be changed a bit. --HG-- extra : convert_revision : a3334a2c418ee8228089d0e1791fa78bbb276fe5
Diffstat (limited to 'dev/tsunami_uart.cc')
-rw-r--r--dev/tsunami_uart.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/dev/tsunami_uart.cc b/dev/tsunami_uart.cc
index 373f3eb0d..870258a6e 100644
--- a/dev/tsunami_uart.cc
+++ b/dev/tsunami_uart.cc
@@ -110,8 +110,8 @@ TsunamiUart::read(MemReqPtr req, uint8_t *data)
*data = 0;
return No_Fault;
}
-
- panic("%s: read daddr=%#x type=read *data=%#x\n", name(), daddr, *data);
+ *data = 0;
+ // panic("%s: read daddr=%#x type=read *data=%#x\n", name(), daddr, *data);
return No_Fault;
}