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
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user