[coreboot-gerrit] New patch to review for coreboot: 8d053d0 coreboot arm64: Add int constants to stdint.h

Marc Jones (marc.jones@se-eng.com) gerrit at coreboot.org
Tue Mar 10 22:27:17 CET 2015


Marc Jones (marc.jones at se-eng.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/8650

-gerrit

commit 8d053d0d46c5f25f41fc8279e93593b18854638d
Author: Furquan Shaikh <furquan at google.com>
Date:   Tue Jul 22 10:51:43 2014 -0700

    coreboot arm64: Add int constants to stdint.h
    
    BUG=None
    BRANCH=None
    TEST=Compiles successfully
    
    Original-Change-Id: I395c9b7bbe34c6834abc1a169779639f940121bd
    Original-Signed-off-by: Furquan Shaikh <furquan at google.com>
    Original-Reviewed-on: https://chromium-review.googlesource.com/209334
    Original-Tested-by: Furquan Shaikh <furquan at chromium.org>
    Original-Reviewed-by: Aaron Durbin <adurbin at chromium.org>
    Original-Commit-Queue: Furquan Shaikh <furquan at chromium.org>
    (cherry picked from commit da15df16464f4203db08fb02ad4c0a0f94d16724)
    Signed-off-by: Marc Jones <marc.jones at se-eng.com>
    
    Change-Id: I818de7cb0d8a44fb20c2bbea108c15ecc2b724ae
---
 src/arch/arm64/include/stdint.h | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/src/arch/arm64/include/stdint.h b/src/arch/arm64/include/stdint.h
index 38c2e1e..113c0e7 100644
--- a/src/arch/arm64/include/stdint.h
+++ b/src/arch/arm64/include/stdint.h
@@ -60,4 +60,14 @@ typedef uint8_t bool;
 typedef s64             intptr_t;
 typedef u64		uintptr_t;
 
+#ifndef UINT32_MAX
+#define UINT32_MAX (4294967295U)
+#endif
+#ifndef UINT64_MAX
+# define UINT64_MAX (18446744073709551615ULL)
+#endif
+#ifndef PRIu64
+#define PRIu64 "llu"
+#endif
+
 #endif /* ARM64_STDINT_H */



More information about the coreboot-gerrit mailing list