summaryrefslogtreecommitdiff
path: root/payloads/libpayload
diff options
context:
space:
mode:
authorPatrick Georgi <patrick.georgi@secunet.com>2011-03-01 07:13:10 +0000
committerPatrick Georgi <patrick.georgi@coresystems.de>2011-03-01 07:13:10 +0000
commitfa622fcc5a27e58201d148263a7cb08e1a9da08a (patch)
tree214b691fbfdd16fe1b0563be63cb73114955ac53 /payloads/libpayload
parentb1eab1495ce1164df189aaf6b9990afe051ee1ae (diff)
downloadcoreboot-fa622fcc5a27e58201d148263a7cb08e1a9da08a.tar.xz
Some more standard types and defines (libpayload)
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
Diffstat (limited to 'payloads/libpayload')
-rw-r--r--payloads/libpayload/include/limits.h2
-rw-r--r--payloads/libpayload/include/stdint.h5
2 files changed, 7 insertions, 0 deletions
diff --git a/payloads/libpayload/include/limits.h b/payloads/libpayload/include/limits.h
index ae71dfdfa6..be7dde07fa 100644
--- a/payloads/libpayload/include/limits.h
+++ b/payloads/libpayload/include/limits.h
@@ -40,4 +40,6 @@
# endif
#endif
+#define UINT_MAX (unsigned int)0xffffffff
+
#endif
diff --git a/payloads/libpayload/include/stdint.h b/payloads/libpayload/include/stdint.h
index ae143d702c..8e5083e39a 100644
--- a/payloads/libpayload/include/stdint.h
+++ b/payloads/libpayload/include/stdint.h
@@ -27,4 +27,9 @@
* SUCH DAMAGE.
*/
+#ifndef __STDINT_H
+#define __STDINT_H
#include <arch/types.h>
+
+typedef unsigned long uintptr_t;
+#endif