From 42b1c34f7ba94fe2a615e320e126fae10e8de521 Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Mon, 16 Sep 2013 14:27:17 -0700 Subject: ARMv7: Add stdint types needed for vboot library Change-Id: I778ea787b20a7d7d7b202b1b5e7f956d2fde6629 Signed-off-by: Stefan Reinauer Reviewed-on: https://chromium-review.googlesource.com/169621 (cherry picked from commit 499a4802b5ad070a0b82f3b291073aa05fa7946e) Signed-off-by: Isaac Christensen Reviewed-on: http://review.coreboot.org/6523 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich --- src/arch/armv7/include/stdint.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src') diff --git a/src/arch/armv7/include/stdint.h b/src/arch/armv7/include/stdint.h index a8a023059a..9d41e6359a 100644 --- a/src/arch/armv7/include/stdint.h +++ b/src/arch/armv7/include/stdint.h @@ -75,6 +75,18 @@ typedef int8_t s8; typedef int16_t s16; typedef int32_t s32; +#ifndef UINT32_MAX +#define UINT32_MAX (4294967295U) +#endif +#ifndef UINT64_MAX +# define UINT64_MAX (18446744073709551615ULL) +#endif +#ifndef UINT64_C +#define UINT64_C(c) c ## ULL +#endif +#ifndef PRIu64 +#define PRIu64 "llu" +#endif #undef __HAVE_LONG_LONG__ -- cgit v1.2.3