diff options
| author | crgeddes <crgeddes@us.ibm.com> | 2016-10-27 08:46:08 -0500 |
|---|---|---|
| committer | William G. Hoffa <wghoffa@us.ibm.com> | 2016-10-31 07:57:05 -0400 |
| commit | 777071e01eda3765370cfc3221d459f97026e233 (patch) | |
| tree | aded2dcc35dd80c4986409a0960f3a8b970240f8 /src/kernel | |
| parent | 77266ae1de28c7e5547aaefc177f14f2519b06e1 (diff) | |
| download | blackbird-hostboot-777071e01eda3765370cfc3221d459f97026e233.tar.gz blackbird-hostboot-777071e01eda3765370cfc3221d459f97026e233.zip | |
Add helpful comment for data storage exception
I have had to look this up 1 too many times, I think adding this
comment here will help me and whoever hits this in the future
Change-Id: Ib434d2d56a90770cbdd45b1e52f0bea5fdc62158
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/31905
Reviewed-by: Martin Gloff <mgloff@us.ibm.com>
Reviewed-by: Matt Derksen <v2cibmd@us.ibm.com>
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
Diffstat (limited to 'src/kernel')
| -rw-r--r-- | src/kernel/exception.C | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/src/kernel/exception.C b/src/kernel/exception.C index dad6ff676..2dd17e574 100644 --- a/src/kernel/exception.C +++ b/src/kernel/exception.C @@ -101,7 +101,11 @@ void kernel_execute_data_storage() } if (!handled) { - printk("Data Storage exception on %d: %lx, %lx @ %p\n", + + printk("Data Storage exception! \n" + "TID: %d\nBad Address: %lx\n" + "Exception Type: %lx\n" + "Instruction where it occurred: %p\n", t->tid, getDAR(), getDSISR(), t->context.nip); MAGIC_INSTRUCTION(MAGIC_BREAK_ON_ERROR); TaskManager::endTask(t, NULL, TASK_STATUS_CRASHED); @@ -112,7 +116,10 @@ extern "C" void kernel_execute_data_segment() { task_t* t = TaskManager::getCurrentTask(); - printk("Data Segment exception on %d: %lx @ %p\n", + printk("Data Segment exception!\n" + "TID: %d\n" + "Exception Type: %lx\n" + "Instruction where it occurred:%p\n", t->tid, getDAR(), t->context.nip); MAGIC_INSTRUCTION(MAGIC_BREAK_ON_ERROR); TaskManager::endTask(t, NULL, TASK_STATUS_CRASHED); |

