summaryrefslogtreecommitdiff
path: root/dev/ide_disk.hh
diff options
context:
space:
mode:
authorAndrew Schultz <alschult@umich.edu>2004-05-11 18:06:50 -0400
committerAndrew Schultz <alschult@umich.edu>2004-05-11 18:06:50 -0400
commit3bfb59f70d4bf8ca7b9e6a0bdbcacdbbebf41403 (patch)
tree38265703cdce2674d31de1dcb18c6effb1ae901b /dev/ide_disk.hh
parent4a5dcc37bfb26c152c195061fa70c7aa246b5ca6 (diff)
downloadgem5-3bfb59f70d4bf8ca7b9e6a0bdbcacdbbebf41403.tar.xz
Changes to fix bad DMA handling by disk when using scatter gather page
mappings (writes still unverified, and read could probably be looked over a bit more too) dev/ide_disk.cc: dev/ide_disk.hh: Major changes to fix bogus handling of dma transfers. The read seems to work pretty well, but the write is unverfied until we can get a disk image that actually tries to write. dev/tsunami_pchip.cc: Change mask to properly mask 13 bits not 12 --HG-- extra : convert_revision : 08fe9bc32970e449cd045de479553a96a4e389d6
Diffstat (limited to 'dev/ide_disk.hh')
-rw-r--r--dev/ide_disk.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/dev/ide_disk.hh b/dev/ide_disk.hh
index 016f827cc..88a492cbc 100644
--- a/dev/ide_disk.hh
+++ b/dev/ide_disk.hh
@@ -313,6 +313,8 @@ class IdeDisk : public SimObject
(cmdReg.cyl_low << 8) | (cmdReg.sec_num));
}
+ inline Addr pciToDma(Addr &pciAddr);
+
/**
* Serialize this object to the given output stream.
* @param os The stream to serialize to.