From 6f8b085ed6ce50b4d835db4c277ba84f2117d92e Mon Sep 17 00:00:00 2001 From: Claus Michael Olsen Date: Sun, 11 Sep 2016 12:12:09 -0500 Subject: xip_customize: MVPD compatible file set. Change-Id: Ib3b7aeb8045a28ca05d33370c1ef1dcb9ba1fb64 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/29448 Tested-by: PPE CI Tested-by: Hostboot CI Reviewed-by: Martin Gloff Reviewed-by: Michael C. Sgro Reviewed-by: Martin Peschke Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/29449 Tested-by: Jenkins Server Tested-by: FSP CI Jenkins Reviewed-by: Sachin Gupta --- src/import/chips/p9/xip/p9_xip_image.c | 17 ++++++++--------- src/import/chips/p9/xip/p9_xip_image.h | 6 +++++- 2 files changed, 13 insertions(+), 10 deletions(-) (limited to 'src/import/chips/p9/xip') diff --git a/src/import/chips/p9/xip/p9_xip_image.c b/src/import/chips/p9/xip/p9_xip_image.c index ed89d0fe..548acc1a 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 - #include - #include - #include -#endif // PLIC_MODULE - #include -#include +#ifdef _WIN32 + #include "win32_stdint.h" + #include "endian.h" +#else + #include + #include +#endif #include #include -#include #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 6ec845f8..14143cce 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 +#ifdef _WIN32 +#include "win32_stdint.h" +#else #include +#endif +#include #ifdef __cplusplus extern "C" { -- cgit v1.2.1