diff options
| author | Patrick Williams <iawillia@us.ibm.com> | 2011-07-22 12:09:08 -0500 |
|---|---|---|
| committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2011-08-01 11:02:59 -0500 |
| commit | 937c177a8f2decfc05aa4c36788cb14a84631b05 (patch) | |
| tree | 1b4af8109605ac43e2a39de17fbaffe5112a1b11 /src/kernel/exception.C | |
| parent | 3293260511403dc21a42e949c8c248f61da92073 (diff) | |
| download | talos-hostboot-937c177a8f2decfc05aa4c36788cb14a84631b05.tar.gz talos-hostboot-937c177a8f2decfc05aa4c36788cb14a84631b05.zip | |
Add handling for HvEmu exception.
Change-Id: I03a7460b347b47f4653a6f457d1d7711fc0a0512
Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/209
Tested-by: Jenkins Server
Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com>
Reviewed-by: MATTHEW S. BARTH <msbarth@us.ibm.com>
Diffstat (limited to 'src/kernel/exception.C')
| -rw-r--r-- | src/kernel/exception.C | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/kernel/exception.C b/src/kernel/exception.C index b12914fe8..65c1697f9 100644 --- a/src/kernel/exception.C +++ b/src/kernel/exception.C @@ -106,6 +106,15 @@ void kernel_execute_alignment() Systemcalls::TaskEnd(t); } +extern "C" +void kernel_execute_hype_emu_assist() +{ + task_t* t = TaskManager::getCurrentTask(); + printk("HypeEmu: Illegal instruction in task %d\n" + "\tHSSR0 = %lx, HEIR = %lx\n", t->tid, getHSRR0(), getHEIR()); + Systemcalls::TaskEnd(t); +} + namespace ExceptionHandles { bool HvEmulation(task_t* t) |

