summaryrefslogtreecommitdiffstats
path: root/src/usr/htmgt
diff options
context:
space:
mode:
authorDan Crowell <dcrowell@us.ibm.com>2017-10-11 11:56:19 -0500
committerDaniel M. Crowell <dcrowell@us.ibm.com>2017-10-19 22:17:12 -0400
commit20250c0b1f6de53b2bfddd1c714fb8c97e655ce2 (patch)
tree3d67d0922a68c11bc71218880844233604ebf50d /src/usr/htmgt
parent281503375a8c02c78b8fa188c58c6207affe3713 (diff)
downloadtalos-hostboot-20250c0b1f6de53b2bfddd1c714fb8c97e655ce2.tar.gz
talos-hostboot-20250c0b1f6de53b2bfddd1c714fb8c97e655ce2.zip
Ensure AbaPtr is not used in runtime code
The AbaPtr makes assumptions that we have pointer values that are only 32-bits long. In our runtime (HBRT) environment that assumption is not true so we need to make sure none of the code that runs there is trying to use the AbaPtr code. Change-Id: I0a26558f305fada723bf3cb3447a2bdfddb194d0 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/48248 Reviewed-by: Martin Gloff <mgloff@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Matt Derksen <mderkse1@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-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/usr/htmgt')
-rw-r--r--src/usr/htmgt/htmgt_occ.C1
-rw-r--r--src/usr/htmgt/htmgt_occcmd.C1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/usr/htmgt/htmgt_occ.C b/src/usr/htmgt/htmgt_occ.C
index 760799e50..f7ae48a78 100644
--- a/src/usr/htmgt/htmgt_occ.C
+++ b/src/usr/htmgt/htmgt_occ.C
@@ -37,6 +37,7 @@
#include <targeting/common/targetservice.H>
#include <console/consoleif.H>
#include <sys/time.h>
+#include <arch/ppc.H>
#include <isteps/pm/occAccess.H>
#include <errl/errludlogregister.H>
#include <fapi2.H>
diff --git a/src/usr/htmgt/htmgt_occcmd.C b/src/usr/htmgt/htmgt_occcmd.C
index 15e4dbe49..05b5b1657 100644
--- a/src/usr/htmgt/htmgt_occcmd.C
+++ b/src/usr/htmgt/htmgt_occcmd.C
@@ -39,6 +39,7 @@
#include <isteps/pm/occAccess.H>
#include <sys/time.h>
+#include <arch/ppc.H>
#include <trace/interface.H>
#include <errl/errlmanager.H>
#include <stdio.h>
OpenPOWER on IntegriCloud