[OpenBIOS] [commit] r1027 - in trunk/openbios-devel/include/arch: ppc sparc32 sparc64
repository service
svn at openbios.org
Sun Feb 13 20:56:30 CET 2011
Author: afaerber
Date: Sun Feb 13 20:56:29 2011
New Revision: 1027
URL: http://tracker.coreboot.org/trac/openbios/changeset/1027
Log:
Add remaining PRI* macros
For sparc32 some format macros had been added already. For symmetry, add
PRI{d,u}64, too, and PRI{d,u}{32,64} for the other architectures as well.
Add PRIX{32,64} for all.
Signed-off-by: Andreas Färber <andreas.faerber at 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 Sun Feb 13 00:02:18 2011 (r1026)
+++ trunk/openbios-devel/include/arch/ppc/types.h Sun Feb 13 20:56:29 2011 (r1027)
@@ -26,8 +26,14 @@
typedef long long int64_t;
typedef long intptr_t;
+#define PRId32 "d"
+#define PRIu32 "u"
#define PRIx32 "x"
+#define PRIX32 "X"
+#define PRId64 "lld"
+#define PRIu64 "llu"
#define PRIx64 "llx"
+#define PRIX64 "llX"
#endif
/* endianess */
Modified: trunk/openbios-devel/include/arch/sparc32/types.h
==============================================================================
--- trunk/openbios-devel/include/arch/sparc32/types.h Sun Feb 13 00:02:18 2011 (r1026)
+++ trunk/openbios-devel/include/arch/sparc32/types.h Sun Feb 13 20:56:29 2011 (r1027)
@@ -29,7 +29,11 @@
#define PRId32 "d"
#define PRIu32 "u"
#define PRIx32 "x"
+#define PRIX32 "X"
+#define PRId64 "lld"
+#define PRIu64 "llu"
#define PRIx64 "llx"
+#define PRIX64 "llX"
#endif
/* endianess */
Modified: trunk/openbios-devel/include/arch/sparc64/types.h
==============================================================================
--- trunk/openbios-devel/include/arch/sparc64/types.h Sun Feb 13 00:02:18 2011 (r1026)
+++ trunk/openbios-devel/include/arch/sparc64/types.h Sun Feb 13 20:56:29 2011 (r1027)
@@ -26,8 +26,14 @@
typedef long long int64_t;
typedef long intptr_t;
+#define PRId32 "d"
+#define PRIu32 "u"
#define PRIx32 "x"
+#define PRIX32 "X"
+#define PRId64 "lld"
+#define PRIu64 "llu"
#define PRIx64 "llx"
+#define PRIX64 "llX"
#endif
/* endianess */
More information about the OpenBIOS
mailing list