[OpenBIOS] [PATCH 1/3] Introduce [u]intptr_t type
Andreas Färber
andreas.faerber at web.de
Mon Oct 18 01:18:23 CEST 2010
Cc: Blue Swirl <blauwirbel at gmail.com>
Signed-off-by: Andreas Färber <andreas.faerber at web.de>
---
include/arch/ppc/types.h | 2 ++
include/arch/sparc32/types.h | 2 ++
include/arch/sparc64/types.h | 2 ++
3 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/include/arch/ppc/types.h b/include/arch/ppc/types.h
index cb999dc..d6df2a1 100644
--- a/include/arch/ppc/types.h
+++ b/include/arch/ppc/types.h
@@ -18,11 +18,13 @@ typedef unsigned char uint8_t;
typedef unsigned short uint16_t;
typedef unsigned int uint32_t;
typedef unsigned long long uint64_t;
+typedef unsigned long uintptr_t;
typedef signed char int8_t;
typedef short int16_t;
typedef int int32_t;
typedef long long int64_t;
+typedef long intptr_t;
#endif
/* endianess */
diff --git a/include/arch/sparc32/types.h b/include/arch/sparc32/types.h
index 3f89da4..500bcd1 100644
--- a/include/arch/sparc32/types.h
+++ b/include/arch/sparc32/types.h
@@ -18,11 +18,13 @@ typedef unsigned char uint8_t;
typedef unsigned short uint16_t;
typedef unsigned int uint32_t;
typedef unsigned long long uint64_t;
+typedef unsigned long uintptr_t;
typedef signed char int8_t;
typedef short int16_t;
typedef int int32_t;
typedef long long int64_t;
+typedef long intptr_t;
#endif
/* endianess */
diff --git a/include/arch/sparc64/types.h b/include/arch/sparc64/types.h
index 67fea5c..112b53e 100644
--- a/include/arch/sparc64/types.h
+++ b/include/arch/sparc64/types.h
@@ -18,11 +18,13 @@ typedef unsigned char uint8_t;
typedef unsigned short uint16_t;
typedef unsigned int uint32_t;
typedef unsigned long long uint64_t;
+typedef unsigned long uintptr_t;
typedef signed char int8_t;
typedef short int16_t;
typedef int int32_t;
typedef long long int64_t;
+typedef long intptr_t;
#endif
/* endianess */
--
1.7.3
More information about the OpenBIOS
mailing list