diff options
author | Dan Crowell <dcrowell@us.ibm.com> | 2017-05-05 11:03:17 -0500 |
---|---|---|
committer | Christian R. Geddes <crgeddes@us.ibm.com> | 2017-05-12 21:20:13 -0400 |
commit | 2718fd2c8746f4391e8a252dfc29484396a0f1e9 (patch) | |
tree | 77178921e8a4651b9a0559a76ea06009e4709d66 /src/import/chips/p9/procedures/utils/stopreg/p9_stop_data_struct.H | |
parent | bc30c5b420fb71ac5fe36251f192545d3442e817 (diff) | |
download | talos-hostboot-2718fd2c8746f4391e8a252dfc29484396a0f1e9.tar.gz talos-hostboot-2718fd2c8746f4391e8a252dfc29484396a0f1e9.zip |
Fixes required to build P9 STOP API with skiboot
This commit contains code changes which are needed to build
P9 STOP API for skiboot/opal firmware.
Fixes are mostly around detecting skiboot environment using
__SKIBOOT__ and including files required for the build.
Fixes related to using C compiler instead of C++
Fixes related to mixed code and declaration and other compiler error/warnings
Resolves #100
Change-Id: I49b0cb5918373c0b1a0e795fded2d245bf2aa3f7
Signed-off-by: Akshay Adiga <akshay.adiga@linux.vnet.ibm.com>
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40151
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com>
Reviewed-by: Stuart Z. Jacobs <sjacobs@us.ibm.com>
Reviewed-by: Prem Shanker Jha <premjha2@in.ibm.com>
Reviewed-by: Juan R. Medina <jrmedina@us.ibm.com>
Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40155
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com>
Diffstat (limited to 'src/import/chips/p9/procedures/utils/stopreg/p9_stop_data_struct.H')
-rwxr-xr-x | src/import/chips/p9/procedures/utils/stopreg/p9_stop_data_struct.H | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/import/chips/p9/procedures/utils/stopreg/p9_stop_data_struct.H b/src/import/chips/p9/procedures/utils/stopreg/p9_stop_data_struct.H index 8a5c2b4ed..2201021ec 100755 --- a/src/import/chips/p9/procedures/utils/stopreg/p9_stop_data_struct.H +++ b/src/import/chips/p9/procedures/utils/stopreg/p9_stop_data_struct.H @@ -41,6 +41,10 @@ #include "p9_hcd_memmap_base.H" +#ifdef __SKIBOOT__ + #include <skiboot.h> +#endif + #ifdef __FAPI_2_ #include <fapi2.H> #endif |