Author: oxygene Date: Tue Mar 1 08:13:10 2011 New Revision: 6414 URL: https://tracker.coreboot.org/trac/coreboot/changeset/6414
Log: Some more standard types and defines (libpayload)
Signed-off-by: Patrick Georgi patrick.georgi@secunet.com Acked-by: Stefan Reinauer stefan.reinauer@coreboot.org
Modified: trunk/payloads/libpayload/include/limits.h trunk/payloads/libpayload/include/stdint.h
Modified: trunk/payloads/libpayload/include/limits.h ============================================================================== --- trunk/payloads/libpayload/include/limits.h Tue Mar 1 08:12:08 2011 (r6413) +++ trunk/payloads/libpayload/include/limits.h Tue Mar 1 08:13:10 2011 (r6414) @@ -40,4 +40,6 @@ # endif #endif
+#define UINT_MAX (unsigned int)0xffffffff + #endif
Modified: trunk/payloads/libpayload/include/stdint.h ============================================================================== --- trunk/payloads/libpayload/include/stdint.h Tue Mar 1 08:12:08 2011 (r6413) +++ trunk/payloads/libpayload/include/stdint.h Tue Mar 1 08:13:10 2011 (r6414) @@ -27,4 +27,9 @@ * SUCH DAMAGE. */
+#ifndef __STDINT_H +#define __STDINT_H #include <arch/types.h> + +typedef unsigned long uintptr_t; +#endif