Some more standard types and defines (libpayload)
authorPatrick Georgi <patrick.georgi@secunet.com>
Tue, 1 Mar 2011 07:13:10 +0000 (07:13 +0000)
committerPatrick Georgi <patrick.georgi@coresystems.de>
Tue, 1 Mar 2011 07:13:10 +0000 (07:13 +0000)
Signed-off-by: Patrick Georgi <patrick.georgi@secunet.com>
Acked-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6414 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

payloads/libpayload/include/limits.h
payloads/libpayload/include/stdint.h

index ae71dfdfa63fbe9ec86112d36fa54bdd3c7f44ec..be7dde07faaa20bc5ccab0c6127783500f32b8be 100644 (file)
@@ -40,4 +40,6 @@
 # endif
 #endif
 
+#define UINT_MAX (unsigned int)0xffffffff
+
 #endif
index ae143d702cce08cc678c649f8476ed92f08b3cea..8e5083e39ae4ada15eb000556624abb75b9afa1d 100644 (file)
@@ -27,4 +27,9 @@
  * SUCH DAMAGE.
  */
 
+#ifndef __STDINT_H
+#define __STDINT_H
 #include <arch/types.h>
+
+typedef unsigned long uintptr_t;
+#endif