x86: make PioBus return BadAddress errors
Review Request #2302 - Created June 21, 2014 and submitted
| Information | |
|---|---|
| Steve Reinhardt | |
| gem5 | |
| default | |
| Reviewers | |
| Default | |
Changeset 10239:ef2bd7e9922c --------------------------- x86: make PioBus return BadAddress errors Stop setting the use_default_range flag in PioBus in order to have random bad addresses result in a BadAddress response and not a gem5 fatal error. This is necessary in Ruby as Ruby is connected directly to PioBus, so misspeculated addresses will be sent there directly. For the classic memory system, this change has no effect, as bad addresses are caught by the memory bus before being sent to the PioBus. This work was done while Binh was an intern at AMD Research.
Posted (June 25, 2014, 7 a.m.)
Perhaps I am missing something, but why would Ruby forward the packet to the iobus in the first place if the address is not valid?
As I mentioned before, I'm not opposed this going in as is if adding the check in Ruby is more than a line or two of code.
