summaryrefslogtreecommitdiff
path: root/dev/tsunami_pchip.hh
diff options
context:
space:
mode:
authorAndrew Schultz <alschult@umich.edu>2004-06-03 17:48:05 -0400
committerAndrew Schultz <alschult@umich.edu>2004-06-03 17:48:05 -0400
commit0408051f201cb5b19c4f8d5ec1d6e96de4a9aa3f (patch)
treee8f6a6735054a52c21e5f1b0bd215ceabffe8d24 /dev/tsunami_pchip.hh
parent44a2a2336e7f0d2048d3e79cbabf2e081abc0916 (diff)
downloadgem5-0408051f201cb5b19c4f8d5ec1d6e96de4a9aa3f.tar.xz
Fixes in translation in PCI to DMA address to fix boot problems with
Linux 2.6 with DMA support dev/ide_disk.cc: Add debug infomation for DMA transfers and fix handling of PRD pointer values dev/ide_disk.hh: Reduce buffer (MAX_DMA) size to 64K dev/tsunami_pchip.cc: dev/tsunami_pchip.hh: Add handling of PCTL register and also fix the translate from PCI to DMA addresses which was incorrect --HG-- extra : convert_revision : 562f55fa1c7099ad0f5a23f59dec2c8ec7601d43
Diffstat (limited to 'dev/tsunami_pchip.hh')
-rw-r--r--dev/tsunami_pchip.hh3
1 files changed, 3 insertions, 0 deletions
diff --git a/dev/tsunami_pchip.hh b/dev/tsunami_pchip.hh
index 44f145a60..2c8da7ecc 100644
--- a/dev/tsunami_pchip.hh
+++ b/dev/tsunami_pchip.hh
@@ -56,6 +56,9 @@ class TsunamiPChip : public FunctionalMemory
*/
Tsunami *tsunami;
+ /** Pchip control register */
+ uint64_t pctl;
+
/** Window Base addresses */
uint64_t wsba[4];