summaryrefslogtreecommitdiff
path: root/src/dev/ide_disk.hh
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2008-12-07 12:59:48 -0800
committerGabe Black <gblack@eecs.umich.edu>2008-12-07 12:59:48 -0800
commit9192b7f1effaa9aabdd61840903e4f0c12079758 (patch)
treee11bf8db8191b76600448422ece0db625219d1bd /src/dev/ide_disk.hh
parent993b7be4bb3dae5b15cd4c23a4c0e4c3dc7ed734 (diff)
downloadgem5-9192b7f1effaa9aabdd61840903e4f0c12079758.tar.xz
Devices: Clean up the IDE controller.
Diffstat (limited to 'src/dev/ide_disk.hh')
-rw-r--r--src/dev/ide_disk.hh6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/dev/ide_disk.hh b/src/dev/ide_disk.hh
index 62c89add4..68ae5c3c0 100644
--- a/src/dev/ide_disk.hh
+++ b/src/dev/ide_disk.hh
@@ -278,8 +278,10 @@ class IdeDisk : public SimObject
}
// Device register read/write
- void read(const Addr &offset, IdeRegType regtype, uint8_t *data);
- void write(const Addr &offset, IdeRegType regtype, const uint8_t *data);
+ void readCommand(const Addr offset, int size, uint8_t *data);
+ void readControl(const Addr offset, int size, uint8_t *data);
+ void writeCommand(const Addr offset, int size, const uint8_t *data);
+ void writeControl(const Addr offset, int size, const uint8_t *data);
// Start/abort functions
void startDma(const uint32_t &prdTableBase);