summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNigel Croxon <allura@localhost>2019-03-22 18:02:34 +0000
committerNigel Croxon <allura@localhost>2019-03-22 18:02:34 +0000
commit7604ff262930063ee71251fde31a38083868e808 (patch)
treeb46083d67c5feb95014c62fe143a7561addcaa31
parent99c1436dc92e2b49d3ead42ef0822a9184f8269a (diff)
parent1a53d8f88a452847b25f9689f9a08dbcf82c86e4 (diff)
downloadgnu-efi-7604ff262930063ee71251fde31a38083868e808.tar.gz
gnu-efi-7604ff262930063ee71251fde31a38083868e808.tar.xz
gnu-efi-7604ff262930063ee71251fde31a38083868e808.zip
Merge /u/esben/gnu-efi/ branch intptr-t-fix into master
https://sourceforge.net/p/gnu-efi/code/merge-requests/5/
-rw-r--r--inc/aarch64/efibind.h2
-rw-r--r--inc/arm/efibind.h2
-rw-r--r--inc/ia32/efibind.h2
-rw-r--r--inc/ia64/efibind.h2
-rw-r--r--inc/mips64el/efibind.h2
-rw-r--r--inc/x86_64/efibind.h2
6 files changed, 12 insertions, 0 deletions
diff --git a/inc/aarch64/efibind.h b/inc/aarch64/efibind.h
index bdaa523..3c8cf96 100644
--- a/inc/aarch64/efibind.h
+++ b/inc/aarch64/efibind.h
@@ -27,6 +27,8 @@ typedef unsigned short uint16_t;
typedef short int16_t;
typedef unsigned char uint8_t;
typedef signed char int8_t; // unqualified 'char' is unsigned on ARM
+typedef uint64_t uintptr_t;
+typedef int64_t intptr_t;
#else
#include <stdint.h>
diff --git a/inc/arm/efibind.h b/inc/arm/efibind.h
index 40a5a9c..7a22b9c 100644
--- a/inc/arm/efibind.h
+++ b/inc/arm/efibind.h
@@ -27,6 +27,8 @@ typedef unsigned short uint16_t;
typedef short int16_t;
typedef unsigned char uint8_t;
typedef signed char int8_t; // unqualified 'char' is unsigned on ARM
+typedef uint32_t uintptr_t;
+typedef int32_t intptr_t;
#else
#include <stdint.h>
diff --git a/inc/ia32/efibind.h b/inc/ia32/efibind.h
index 1b11f10..dd01385 100644
--- a/inc/ia32/efibind.h
+++ b/inc/ia32/efibind.h
@@ -75,6 +75,8 @@ Revision History
typedef unsigned char uint8_t;
typedef char int8_t;
#endif
+ typedef uint32_t uintptr_t;
+ typedef int32_t intptr_t;
#elif defined(__GNUC__)
#include <stdint.h>
#endif
diff --git a/inc/ia64/efibind.h b/inc/ia64/efibind.h
index b415461..b9b2e62 100644
--- a/inc/ia64/efibind.h
+++ b/inc/ia64/efibind.h
@@ -62,6 +62,8 @@ Revision History
typedef unsigned char uint8_t;
typedef char int8_t;
#endif
+ typedef uint64_t uintptr_t;
+ typedef int64_t intptr_t;
#elif defined(__GNUC__)
#include <stdint.h>
#endif
diff --git a/inc/mips64el/efibind.h b/inc/mips64el/efibind.h
index 4adbca3..32241e5 100644
--- a/inc/mips64el/efibind.h
+++ b/inc/mips64el/efibind.h
@@ -29,6 +29,8 @@ typedef unsigned short uint16_t;
typedef short int16_t;
typedef unsigned char uint8_t;
typedef signed char int8_t; // unqualified 'char' is unsigned on ARM
+typedef uint64_t uintptr_t;
+typedef int64_t intptr_t;
#else
#include <stdint.h>
diff --git a/inc/x86_64/efibind.h b/inc/x86_64/efibind.h
index 4309f9f..ae40595 100644
--- a/inc/x86_64/efibind.h
+++ b/inc/x86_64/efibind.h
@@ -84,6 +84,8 @@ Revision History
typedef unsigned char uint8_t;
typedef char int8_t;
#endif
+ typedef uint64_t uintptr_t;
+ typedef int64_t intptr_t;
#elif defined(__GNUC__)
#include <stdint.h>
#endif