diff options
| author | Corey Swenson <cswenson@us.ibm.com> | 2013-05-29 12:41:40 -0500 |
|---|---|---|
| committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2013-07-10 16:22:56 -0500 |
| commit | 3837a7143776c6ea55fcda737e3425860c75a28c (patch) | |
| tree | beb0237c0d0853724a05ab77adb062915a89c82a /src/include/usr/hwpf/plat/fapiPlatUtil.H | |
| parent | b035c67e8f54336b31b5586f6f92ca7aba0fa130 (diff) | |
| download | blackbird-hostboot-3837a7143776c6ea55fcda737e3425860c75a28c.tar.gz blackbird-hostboot-3837a7143776c6ea55fcda737e3425860c75a28c.zip | |
FAPI updates from HostServices
Change-Id: I0d8f0fb43ead61a8a37f7f9ca7be12efec09e144
RTC: 52953
Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/4738
Tested-by: Jenkins Server
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/include/usr/hwpf/plat/fapiPlatUtil.H')
| -rw-r--r-- | src/include/usr/hwpf/plat/fapiPlatUtil.H | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/include/usr/hwpf/plat/fapiPlatUtil.H b/src/include/usr/hwpf/plat/fapiPlatUtil.H index 41c2fd124..a27bc140b 100644 --- a/src/include/usr/hwpf/plat/fapiPlatUtil.H +++ b/src/include/usr/hwpf/plat/fapiPlatUtil.H @@ -39,6 +39,7 @@ #define FAPIPLATUTIL_H_ #include <endian.h> +#include <stdlib.h> // defines for endian conversion #define FAPI_PLAT_BE16TOH(x) be16toh(x) @@ -56,5 +57,7 @@ #define FAPI_PLAT_HTOBE64(x) htobe64(x) #define FAPI_PLAT_HTOLE64(x) htole64(x) +#define fapiPlatMalloc(s) malloc(s) +#define fapiPlatFree(p) free(p) #endif // FAPIPLATUTIL_H_ |

