[OpenBIOS] [commit] r754 - trunk/fcode-utils-devel/shared
repository service
svn at openbios.org
Mon Apr 26 17:39:20 CEST 2010
Author: stepan
Date: Mon Apr 26 17:39:20 2010
New Revision: 754
URL: http://tracker.coreboot.org/trac/openbios/changeset/754
Log:
fcode-utils: support compilation on solaris.
Modified:
trunk/fcode-utils-devel/shared/types.h
Modified: trunk/fcode-utils-devel/shared/types.h
==============================================================================
--- trunk/fcode-utils-devel/shared/types.h Mon Apr 26 15:06:48 2010 (r753)
+++ trunk/fcode-utils-devel/shared/types.h Mon Apr 26 17:39:20 2010 (r754)
@@ -40,6 +40,7 @@
**************************************************************************** */
#if defined(__APPLE__)
+
#include <sys/types.h>
typedef int8_t s8;
@@ -51,6 +52,22 @@
typedef int32_t s32;
typedef u_int32_t u32;
+#elif defined(__sparc)
+
+#include <sys/types.h>
+
+typedef int8_t s8;
+typedef uint8_t u8;
+
+typedef int16_t s16;
+typedef uint16_t u16;
+
+typedef int32_t s32;
+typedef uint32_t u32;
+
+typedef int64_t s64;
+typedef uint64_t u64;
+
#else
#include <asm/types.h>
@@ -63,6 +80,7 @@
typedef __s32 s32;
typedef __u32 u32;
+
#endif
#ifdef FALSE /* Hack for AIX. */
More information about the OpenBIOS
mailing list