mirror of
https://gitlab.com/qemu-project/openbios.git
synced 2024-02-13 08:34:06 +08:00
Introduce [u]intptr_t type
Cc: Blue Swirl <blauwirbel@gmail.com> Signed-off-by: Andreas Färber <andreas.faerber@web.de> git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@916 f158a5a8-5612-0410-a976-696ce0be7e32
This commit is contained in:
committed by
Andreas Färber
parent
3dbab02fc2
commit
73d261ad4a
@@ -18,11 +18,13 @@ typedef unsigned char uint8_t;
|
|||||||
typedef unsigned short uint16_t;
|
typedef unsigned short uint16_t;
|
||||||
typedef unsigned int uint32_t;
|
typedef unsigned int uint32_t;
|
||||||
typedef unsigned long long uint64_t;
|
typedef unsigned long long uint64_t;
|
||||||
|
typedef unsigned long uintptr_t;
|
||||||
|
|
||||||
typedef signed char int8_t;
|
typedef signed char int8_t;
|
||||||
typedef short int16_t;
|
typedef short int16_t;
|
||||||
typedef int int32_t;
|
typedef int int32_t;
|
||||||
typedef long long int64_t;
|
typedef long long int64_t;
|
||||||
|
typedef long intptr_t;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* endianess */
|
/* endianess */
|
||||||
|
|||||||
@@ -18,11 +18,13 @@ typedef unsigned char uint8_t;
|
|||||||
typedef unsigned short uint16_t;
|
typedef unsigned short uint16_t;
|
||||||
typedef unsigned int uint32_t;
|
typedef unsigned int uint32_t;
|
||||||
typedef unsigned long long uint64_t;
|
typedef unsigned long long uint64_t;
|
||||||
|
typedef unsigned long uintptr_t;
|
||||||
|
|
||||||
typedef signed char int8_t;
|
typedef signed char int8_t;
|
||||||
typedef short int16_t;
|
typedef short int16_t;
|
||||||
typedef int int32_t;
|
typedef int int32_t;
|
||||||
typedef long long int64_t;
|
typedef long long int64_t;
|
||||||
|
typedef long intptr_t;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* endianess */
|
/* endianess */
|
||||||
|
|||||||
@@ -18,11 +18,13 @@ typedef unsigned char uint8_t;
|
|||||||
typedef unsigned short uint16_t;
|
typedef unsigned short uint16_t;
|
||||||
typedef unsigned int uint32_t;
|
typedef unsigned int uint32_t;
|
||||||
typedef unsigned long long uint64_t;
|
typedef unsigned long long uint64_t;
|
||||||
|
typedef unsigned long uintptr_t;
|
||||||
|
|
||||||
typedef signed char int8_t;
|
typedef signed char int8_t;
|
||||||
typedef short int16_t;
|
typedef short int16_t;
|
||||||
typedef int int32_t;
|
typedef int int32_t;
|
||||||
typedef long long int64_t;
|
typedef long long int64_t;
|
||||||
|
typedef long intptr_t;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* endianess */
|
/* endianess */
|
||||||
|
|||||||
Reference in New Issue
Block a user