post checkpoint restoration the bus ranges need to be re-initialized for ALL pci devs, not just ide.
src/dev/ide_ctrl.cc: this range change needs to be done for all pio devices, not just the ide. src/dev/pcidev.cc: range change needs to be done at here, not in the ide_ctrl file. --HG-- extra : convert_revision : 60c65c55e965b02d671dba7aa8793e5a81f40348
This commit is contained in:
parent
d52117d1e3
commit
97c1f6eff7
2 changed files with 2 additions and 1 deletions
|
@ -742,7 +742,6 @@ IdeController::unserialize(Checkpoint *cp, const std::string §ion)
|
||||||
UNSERIALIZE_SCALAR(bm_enabled);
|
UNSERIALIZE_SCALAR(bm_enabled);
|
||||||
UNSERIALIZE_ARRAY(cmd_in_progress,
|
UNSERIALIZE_ARRAY(cmd_in_progress,
|
||||||
sizeof(cmd_in_progress) / sizeof(cmd_in_progress[0]));
|
sizeof(cmd_in_progress) / sizeof(cmd_in_progress[0]));
|
||||||
pioPort->sendStatusChange(Port::RangeChange);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifndef DOXYGEN_SHOULD_SKIP_THIS
|
#ifndef DOXYGEN_SHOULD_SKIP_THIS
|
||||||
|
|
|
@ -302,6 +302,8 @@ PciDev::unserialize(Checkpoint *cp, const std::string §ion)
|
||||||
UNSERIALIZE_ARRAY(BARAddrs, sizeof(BARAddrs) / sizeof(BARAddrs[0]));
|
UNSERIALIZE_ARRAY(BARAddrs, sizeof(BARAddrs) / sizeof(BARAddrs[0]));
|
||||||
UNSERIALIZE_ARRAY(config.data,
|
UNSERIALIZE_ARRAY(config.data,
|
||||||
sizeof(config.data) / sizeof(config.data[0]));
|
sizeof(config.data) / sizeof(config.data[0]));
|
||||||
|
pioPort->sendStatusChange(Port::RangeChange);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifndef DOXYGEN_SHOULD_SKIP_THIS
|
#ifndef DOXYGEN_SHOULD_SKIP_THIS
|
||||||
|
|
Loading…
Reference in a new issue