Author: afaerber Date: Sun Oct 24 20:48:18 2010 New Revision: 916 URL: http://tracker.coreboot.org/trac/openbios/changeset/916
Log: Introduce [u]intptr_t type
Cc: Blue Swirl blauwirbel@gmail.com Signed-off-by: Andreas Färber andreas.faerber@web.de
Modified: trunk/openbios-devel/include/arch/ppc/types.h trunk/openbios-devel/include/arch/sparc32/types.h trunk/openbios-devel/include/arch/sparc64/types.h
Modified: trunk/openbios-devel/include/arch/ppc/types.h ============================================================================== --- trunk/openbios-devel/include/arch/ppc/types.h Mon Oct 18 21:32:16 2010 (r915) +++ trunk/openbios-devel/include/arch/ppc/types.h Sun Oct 24 20:48:18 2010 (r916) @@ -18,11 +18,13 @@ 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 */
Modified: trunk/openbios-devel/include/arch/sparc32/types.h ============================================================================== --- trunk/openbios-devel/include/arch/sparc32/types.h Mon Oct 18 21:32:16 2010 (r915) +++ trunk/openbios-devel/include/arch/sparc32/types.h Sun Oct 24 20:48:18 2010 (r916) @@ -18,11 +18,13 @@ 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 */
Modified: trunk/openbios-devel/include/arch/sparc64/types.h ============================================================================== --- trunk/openbios-devel/include/arch/sparc64/types.h Mon Oct 18 21:32:16 2010 (r915) +++ trunk/openbios-devel/include/arch/sparc64/types.h Sun Oct 24 20:48:18 2010 (r916) @@ -18,11 +18,13 @@ 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 */