diff options
author | Andrew Schultz <alschult@umich.edu> | 2004-06-17 11:24:14 -0400 |
---|---|---|
committer | Andrew Schultz <alschult@umich.edu> | 2004-06-17 11:24:14 -0400 |
commit | f3a7930fa63475df4d519e95e3fa183d6c2a6699 (patch) | |
tree | c5117992553207cb17e28d87041302fbcb0c74ef /dev/ide_ctrl.cc | |
parent | d1256a2f2c0bbbc402e549274f8d1b833248ae0a (diff) | |
download | gem5-f3a7930fa63475df4d519e95e3fa183d6c2a6699.tar.xz |
Fixes to IDE disk to fix serialization. Now passes simple CPU serialize
tests
dev/ide_ctrl.cc:
Formatting
dev/ide_disk.cc:
Remove some junk, add an assert to serialize, and add missing serialize
for command register.
--HG--
extra : convert_revision : 8f99857e32f278dd4e6f23deffc8047c6411d5b2
Diffstat (limited to 'dev/ide_ctrl.cc')
-rw-r--r-- | dev/ide_ctrl.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/dev/ide_ctrl.cc b/dev/ide_ctrl.cc index 7ef5fe8e4..46a0e8179 100644 --- a/dev/ide_ctrl.cc +++ b/dev/ide_ctrl.cc @@ -656,6 +656,7 @@ IdeController::unserialize(Checkpoint *cp, const std::string §ion) UNSERIALIZE_SCALAR(io_enabled); UNSERIALIZE_SCALAR(bm_enabled); UNSERIALIZE_ARRAY(cmd_in_progress, 4); + if (pioInterface) { pioInterface->addAddrRange(pri_cmd_addr, pri_cmd_addr + pri_cmd_size - 1); |