checker cpu: make checker cpu id match its host's cpu id
Review Request #1313 - Created July 19, 2012 and submitted
| Information | |
|---|---|
| Tony Gutierrez | |
| gem5 | |
| default | |
| Reviewers | |
| Default | |
Changeset 9121:233e4cf15fc4 --------------------------- checker cpu: make checker cpu id match its host's cpu id when using the checker i ran into problems where an instruction reading the cpu id register failed because the ids did not match, and hence, the result of the instruction did not match. this patch ensures that the ids match so this instruction does not fail. this problem only seemed to manifest itself when multiple cores were in the system, either multi-core, or extra switched- out cores present in the system.
ran arm_detailed CPU with -n --checker. the mrc instruction reading the CPU's id no longer mismatches, causing simulation to panic.
Ship It!
Looks fine to me.
Ship It!
Ship It!
