cpu: prevent switched out CPUs from being initialized in the simple and inorder models.
Review Request #1234 - Created May 28, 2012 and submitted
| Information | |
|---|---|
| Tony Gutierrez | |
| gem5 | |
| default | |
| Reviewers | |
| Default | |
Changeset 9028:db0474c091d8 --------------------------- cpu: initCPU() will be called to initialize switched out CPUs for the simple and inorder CPU models. this patch prevents those CPUs from being initialized because they should get their state from the active CPU when it is switched out.
Summary: |
|
||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Description: |
|
||||||||||||
Diff: |
Revision 2 (+4) |
Summary: |
|
||||
|---|---|---|---|---|---|
Diff: |
Revision 3 (+4) |
Call to initCPU() is independent of the architecture in use. The check is already in place for the o3 cpu, you should add this for timing and atomic cpus.
Summary: |
|
|||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Description: |
|
|||||||||||||||
Diff: |
Revision 4 (+4 -6) |
Summary: |
|
||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Description: |
|
||||||||||||
Diff: |
Revision 5 (+4 -7) |
Description: |
|
|---|
Ship It!
Ship It!
Ship It!
