IDE Disk: Bring it inline with QEMU
Review Request #890 - Created Oct. 10, 2011 and discarded
| Information | |
|---|---|
| Nilay Vaish | |
| gem5 | |
| default | |
| Reviewers | |
| Default | |
| ali, gblack, nate, stever | |
IDE Disk: Bring it inline with QEMU I have made some changes to the IDE Disk's ports so that it is inline with QEMU. I am able to boot Linux 2.6.28.4 for x86 with these changes.
Posted (Oct. 10, 2011, 12:21 p.m.)
I'm sorry if I haven't been paying attention, but what do these changes have to do with QEMU?
Posted (Oct. 15, 2011, 7:02 p.m.)
-
src/dev/ide_ctrl.cc (Diff revision 1) -
Does leaving this line out cause something not to work? I see that it's used for the primary controller so this makes them symmetrical. I don't remember what ctrlOffset is for so I don't know for sure if they *should* be symmetrical. If this fixed a failure of some kind then they probably should be.
-
src/dev/ide_disk.cc (Diff revision 1) -
Why are you removing these panics and the constants they depend on? If they were going off before, then there's something that may need to be fixed. If they started going off when you changed the BARs below, then they weren't wrong at all, they just needed to be updated. But as I say below, I'm not convinced that the BARs should be changed.
-
src/dev/x86/SouthBridge.py (Diff revision 1) -
I don't think these changes to the BARs are correct, and I don't see why this would matter when restoring a checkpoint.
Posted (Oct. 17, 2011, 12:18 a.m.)
-
src/dev/ide_ctrl.cc (Diff revision 1) -
I'm fine with this, we should have been doing it before, it was just an oversight.
