[coreboot-gerrit] New patch to review for coreboot: ae03ceb libpayload: Add missing cache API stub to x86

Isaac Christensen (isaac.christensen@se-eng.com) gerrit at coreboot.org
Wed Sep 17 01:27:33 CEST 2014


Isaac Christensen (isaac.christensen at se-eng.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/6919

-gerrit

commit ae03cebf4a3ade6ab2d98bf3a35e84bbeed4e5e3
Author: Julius Werner <jwerner at chromium.org>
Date:   Tue Jan 14 13:45:37 2014 -0800

    libpayload: Add missing cache API stub to x86
    
    This patch adds another cache invalidation stub to the x86 arch to
    make it usable in common code. This whole stuff should probably be
    redesigned anyway but I just want to get it working and unblock my CL
    for now... more cleanups coming later.
    
    Change-Id: I2e8bdd8aa0e6723209384c24042f053f2e993fe6
    Signed-off-by: Julius Werner <jwerner at chromium.org>
    Reviewed-on: https://chromium-review.googlesource.com/182534
    Reviewed-by: Vincent Palatin <vpalatin at chromium.org>
    (cherry picked from commit cafce5182a7a2a9ce17ad40d9d893a40ebd5aafd)
    Signed-off-by: Isaac Christensen <isaac.christensen at se-eng.com>
---
 payloads/libpayload/include/x86/arch/cache.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/payloads/libpayload/include/x86/arch/cache.h b/payloads/libpayload/include/x86/arch/cache.h
index 4a80736..3960488 100644
--- a/payloads/libpayload/include/x86/arch/cache.h
+++ b/payloads/libpayload/include/x86/arch/cache.h
@@ -41,5 +41,6 @@
 #define dcache_invalidate_by_mva(addr, len)
 #define dcache_clean_invalidate_all()
 #define dcache_clean_invalidate_by_mva(addr, len)
+#define icache_invalidate_all()
 
 #endif



More information about the coreboot-gerrit mailing list