summaryrefslogtreecommitdiffstats
path: root/src/kernel/exception.C
diff options
context:
space:
mode:
authorBrian Stegmiller <bjs@us.ibm.com>2015-12-14 10:30:50 -0600
committerDaniel M. Crowell <dcrowell@us.ibm.com>2016-08-07 21:49:39 -0400
commite9e636a7c44cae8ac85c1f41b6cfbfe12cfd62e9 (patch)
tree7a78e7b919ccb1360b2f6d61222018ee5632eaeb /src/kernel/exception.C
parent7767776ba9b56ba3cda5a7a68933794eb3b22c4f (diff)
downloadtalos-hostboot-e9e636a7c44cae8ac85c1f41b6cfbfe12cfd62e9.tar.gz
talos-hostboot-e9e636a7c44cae8ac85c1f41b6cfbfe12cfd62e9.zip
Replace NAP with STOP instruction
Change-Id: I58a382cfc285e37cc8748fe8e23f71c877850263 RTC: 130186 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/816 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/kernel/exception.C')
-rw-r--r--src/kernel/exception.C2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel/exception.C b/src/kernel/exception.C
index 5b891ff63..dad6ff676 100644
--- a/src/kernel/exception.C
+++ b/src/kernel/exception.C
@@ -191,7 +191,7 @@ namespace ExceptionHandles
// Check for 'nap' and skip over. This avoids a task-crash
// if for some reason we entered back into the task without
// privilege raised.
- if (*instruction == 0x4c000364)
+ if (*instruction == STOP_INSTRUCTION)
{
printk("Error: Nap executed with lowered permissions on %d\n",
t->tid);
OpenPOWER on IntegriCloud