diff options
author | Claus Michael Olsen <cmolsen@us.ibm.com> | 2016-09-11 12:12:09 -0500 |
---|---|---|
committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2017-02-22 14:08:02 -0500 |
commit | 4d144fd0ec9620cd96dd0e7a5565980e7cefe056 (patch) | |
tree | c2f00f46d414e16a69b6c449615278c9aa058c33 /src/import/chips/p9/xip | |
parent | d7e00d057567432edf0807648d3a54254298a922 (diff) | |
download | talos-hostboot-4d144fd0ec9620cd96dd0e7a5565980e7cefe056.tar.gz talos-hostboot-4d144fd0ec9620cd96dd0e7a5565980e7cefe056.zip |
xip_customize: MVPD compatible file set.
Change-Id: Ib3b7aeb8045a28ca05d33370c1ef1dcb9ba1fb64
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/29448
Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com>
Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com>
Reviewed-by: Martin Gloff <mgloff@us.ibm.com>
Reviewed-by: Michael C. Sgro <mcs793@us.ibm.com>
Reviewed-by: Martin Peschke <mpeschke@de.ibm.com>
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/29450
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/import/chips/p9/xip')
-rw-r--r-- | src/import/chips/p9/xip/p9_xip_image.c | 17 | ||||
-rw-r--r-- | src/import/chips/p9/xip/p9_xip_image.h | 6 |
2 files changed, 13 insertions, 10 deletions
diff --git a/src/import/chips/p9/xip/p9_xip_image.c b/src/import/chips/p9/xip/p9_xip_image.c index 32518c7d6..4e11f40f7 100644 --- a/src/import/chips/p9/xip/p9_xip_image.c +++ b/src/import/chips/p9/xip/p9_xip_image.c @@ -37,20 +37,19 @@ /// ensure that no memory outside of the putative bounds of the image is ever /// referenced during validation. -#ifndef PLIC_MODULE - #include <stddef.h> - #include <stdint.h> - #include <stdlib.h> - #include <string.h> -#endif // PLIC_MODULE - #include <stddef.h> -#include <stdint.h> +#ifdef _WIN32 + #include "win32_stdint.h" + #include "endian.h" +#else + #include <stdint.h> + #include <endian.h> +#endif #include <stdlib.h> #include <string.h> -#include <endian.h> #include "p9_xip_image.h" + //////////////////////////////////////////////////////////////////////////// // Local Functions //////////////////////////////////////////////////////////////////////////// diff --git a/src/import/chips/p9/xip/p9_xip_image.h b/src/import/chips/p9/xip/p9_xip_image.h index 70357c8f5..b314cd54b 100644 --- a/src/import/chips/p9/xip/p9_xip_image.h +++ b/src/import/chips/p9/xip/p9_xip_image.h @@ -244,8 +244,12 @@ typedef enum { //////////////////////////////////////////////////////////////////////////// #ifndef __ASSEMBLER__ -#include <stddef.h> +#ifdef _WIN32 +#include "win32_stdint.h" +#else #include <stdint.h> +#endif +#include <stddef.h> #ifdef __cplusplus extern "C" { |