ARM: implement the ProcessInfo methods
Review Request #1054 - Created Feb. 20, 2012 and submitted
| Information | |
|---|---|
| Tony Gutierrez | |
| gem5 | |
| default | |
| Reviewers | |
| Default | |
Changeset 8919:59db10fbd30e --------------------------- ARM: implement the ProcessInfo methods
Booted modified kernel (with thread info hints compiled in) while printing process names, using ProcessInfo::name(), periodically from atomic cpu's tick() method.
Issue Summary
| Description | From | Last Updated | Status |
|---|---|---|---|
| I'm assuming this is copied from Alpha. It's probably not appropriate for ARM. | Gabe Black | Feb. 20, 2012, 6:50 p.m. | Open |
| I'm fairly certain this isn't correct. I've got a kernel that has it at f8000000, so it's not generic. There ... | Ali Saidi | March 26, 2012, 2:19 a.m. | Open |
Don't just copy in the Alpha implementations. Either figure out what ARM should really be using, make them panic, or leave them unimplemented.
-
src/arch/arm/stacktrace.cc (Diff revision 1) -
Is this value correct, or is it just what Alpha used?
-
src/arch/arm/stacktrace.cc (Diff revision 1) -
I'm assuming this is copied from Alpha. It's probably not appropriate for ARM.
-
src/arch/arm/stacktrace.cc (Diff revision 1) -
Does this work? I'm surprised that it would be identical for arm and alpha
-
src/arch/arm/stacktrace.cc (Diff revision 1) -
This value is certainly wrong for ARM.
Description: |
|
|||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Diff: |
Revision 2 (+34 -3) |
Testing Done: |
|
|---|
Description: |
|
|||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Diff: |
Revision 3 (+30 -3) |
Description: |
|
|---|
Description: |
|
|---|
Description: |
|
||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Diff: |
Revision 4 (+30 -3) |
Where are you calling this these functions from? How are you getting a kernel stack pointer?
-
src/arch/arm/stacktrace.cc (Diff revision 4) -
I'm fairly certain this isn't correct. I've got a kernel that has it at f8000000, so it's not generic. There might be something in the kernel that tells you the start address, but either way I'm not sure what this code is doing in the the context of ARM linux. For Alpha, we knew that the initial stack frame was placed at this address, I don't think we know that for ARM.
-
src/arch/arm/stacktrace.cc (Diff revision 4) -
console is an alpha concept. "Unknown" is probably better here.
Description: |
|
|||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Diff: |
Revision 5 (+30 -3) |
Ship It!
