summaryrefslogtreecommitdiff
path: root/dev/tsunamireg.h
diff options
context:
space:
mode:
authorAli Saidi <saidi@eecs.umich.edu>2004-01-22 00:08:48 -0500
committerAli Saidi <saidi@eecs.umich.edu>2004-01-22 00:08:48 -0500
commitde17a0330443dac568f99d4fabaef9b6a8dcff46 (patch)
treedc914d07e4cc1f97de26661d20f00d2037cbb0bc /dev/tsunamireg.h
parent0e805e1ff35a5c70f8aff785db709c1f3b8d0c28 (diff)
downloadgem5-de17a0330443dac568f99d4fabaef9b6a8dcff46.tar.xz
updated tsunami_dma
dev/tsunami_dma.cc: decide actually differentiating between the different i/o requests would be a better idea dev/tsunami_dma.hh: added mask and mode variables, incase they are needed dev/tsunamireg.h: added some i/o port defs --HG-- extra : convert_revision : 5c7a88a8f8c8725359737b399cfa80610149a5f4
Diffstat (limited to 'dev/tsunamireg.h')
-rw-r--r--dev/tsunamireg.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/dev/tsunamireg.h b/dev/tsunamireg.h
index 12275fee2..b41b3994d 100644
--- a/dev/tsunamireg.h
+++ b/dev/tsunamireg.h
@@ -65,4 +65,14 @@
#define TSDEV_DC_DREV 0x22
#define TSDEV_DC_DSC2 0x23
+// I/O Ports
+#define TSDEV_PIC1_MASK 0x21
+#define TSDEV_PIC2_MASK 0xA1
+#define TSDEV_DMA1_RESET 0x0D
+#define TSDEV_DMA2_RESET 0xDA
+#define TSDEV_DMA1_MODE 0x0B
+#define TSDEV_DMA2_MODE 0xD6
+#define TSDEV_DMA1_MASK 0x0A
+#define TSDEV_DMA2_MASK 0xD4
+
#endif // __TSUNAMIREG_H__