From 20250c0b1f6de53b2bfddd1c714fb8c97e655ce2 Mon Sep 17 00:00:00 2001 From: Dan Crowell Date: Wed, 11 Oct 2017 11:56:19 -0500 Subject: 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 Tested-by: Jenkins Server Reviewed-by: Matt Derksen Tested-by: Jenkins OP Build CI Tested-by: Jenkins OP HW Tested-by: FSP CI Jenkins Reviewed-by: Daniel M. Crowell --- src/usr/errl/errlmanager.C | 1 + src/usr/errl/errlprvt.C | 6 ++++-- src/usr/htmgt/htmgt_occ.C | 1 + src/usr/htmgt/htmgt_occcmd.C | 1 + src/usr/ibscom/ibscom.C | 3 ++- src/usr/isteps/istep06/thread_activate/thread_activate.C | 1 + src/usr/isteps/istep16/call_host_activate_master.C | 2 ++ src/usr/pnor/pnorrp.C | 1 + src/usr/trace/daemon/daemon.C | 3 ++- src/usr/util/utiltcemgr.C | 1 + 10 files changed, 16 insertions(+), 4 deletions(-) (limited to 'src/usr') diff --git a/src/usr/errl/errlmanager.C b/src/usr/errl/errlmanager.C index 17cc11dd6..2f465a049 100644 --- a/src/usr/errl/errlmanager.C +++ b/src/usr/errl/errlmanager.C @@ -39,6 +39,7 @@ #include #include #include +#include #include #include #include diff --git a/src/usr/errl/errlprvt.C b/src/usr/errl/errlprvt.C index bf4ab0d33..7ae87b645 100644 --- a/src/usr/errl/errlprvt.C +++ b/src/usr/errl/errlprvt.C @@ -5,7 +5,9 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* COPYRIGHT International Business Machines Corp. 2011,2014 */ +/* Contributors Listed Below - COPYRIGHT 2011,2017 */ +/* [+] International Business Machines Corp. */ +/* */ /* */ /* Licensed under the Apache License, Version 2.0 (the "License"); */ /* you may not use this file except in compliance with the License. */ @@ -35,7 +37,7 @@ #include #include #include - +#include 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 #include #include +#include #include #include #include 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 #include +#include #include #include #include diff --git a/src/usr/ibscom/ibscom.C b/src/usr/ibscom/ibscom.C index 27ad8503c..9a8091ba4 100644 --- a/src/usr/ibscom/ibscom.C +++ b/src/usr/ibscom/ibscom.C @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2012,2016 */ +/* Contributors Listed Below - COPYRIGHT 2012,2017 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -30,6 +30,7 @@ #include #include #include +#include #include #include #include diff --git a/src/usr/isteps/istep06/thread_activate/thread_activate.C b/src/usr/isteps/istep06/thread_activate/thread_activate.C index 606249534..ad481dd16 100644 --- a/src/usr/isteps/istep06/thread_activate/thread_activate.C +++ b/src/usr/isteps/istep06/thread_activate/thread_activate.C @@ -46,6 +46,7 @@ #include #include #include +#include // targeting support #include diff --git a/src/usr/isteps/istep16/call_host_activate_master.C b/src/usr/isteps/istep16/call_host_activate_master.C index 40e0d0538..d5be9070b 100644 --- a/src/usr/isteps/istep16/call_host_activate_master.C +++ b/src/usr/isteps/istep16/call_host_activate_master.C @@ -37,6 +37,8 @@ #include #include #include +#include + // targeting support #include diff --git a/src/usr/pnor/pnorrp.C b/src/usr/pnor/pnorrp.C index 162881830..5a79879e2 100644 --- a/src/usr/pnor/pnorrp.C +++ b/src/usr/pnor/pnorrp.C @@ -28,6 +28,7 @@ #include #include #include +#include #include #include #include diff --git a/src/usr/trace/daemon/daemon.C b/src/usr/trace/daemon/daemon.C index 44515dc52..a7e895b0a 100644 --- a/src/usr/trace/daemon/daemon.C +++ b/src/usr/trace/daemon/daemon.C @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2012,2016 */ +/* Contributors Listed Below - COPYRIGHT 2012,2017 */ /* [+] Google Inc. */ /* [+] International Business Machines Corp. */ /* */ @@ -40,6 +40,7 @@ #include #include #include +#include #include #include diff --git a/src/usr/util/utiltcemgr.C b/src/usr/util/utiltcemgr.C index eb2ee395b..c1a030b65 100644 --- a/src/usr/util/utiltcemgr.C +++ b/src/usr/util/utiltcemgr.C @@ -32,6 +32,7 @@ #include #include #include +#include #include #include #include -- cgit v1.2.3