summaryrefslogtreecommitdiffstats
path: root/src/kernel/syscall.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/syscall.C
parent7767776ba9b56ba3cda5a7a68933794eb3b22c4f (diff)
downloadblackbird-hostboot-e9e636a7c44cae8ac85c1f41b6cfbfe12cfd62e9.tar.gz
blackbird-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/syscall.C')
-rw-r--r--src/kernel/syscall.C4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kernel/syscall.C b/src/kernel/syscall.C
index cc1cc3e5d..035f7c8e2 100644
--- a/src/kernel/syscall.C
+++ b/src/kernel/syscall.C
@@ -759,8 +759,8 @@ namespace Systemcalls
{
uint32_t* instruction = static_cast<uint32_t*>(t->context.nip);
- if (0x4c000364 == (*instruction)) // Verify 'nap' instruction,
- // otherwise just return.
+ if (STOP_INSTRUCTION == (*instruction)) // Verify 'nap' instruction,
+ // otherwise just return.
{
// Disable EE, PR, IR, DR so 'nap' can be executed.
// (which means to stay in HV state)
OpenPOWER on IntegriCloud