[coreboot] New patch to review for coreboot: e746c7d armv7: don't do anything in checkstack for now()

David Hendricks (dhendrix@chromium.org) gerrit at coreboot.org
Tue Feb 12 01:33:35 CET 2013


David Hendricks (dhendrix at chromium.org) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/2362

-gerrit

commit e746c7ddc7a6b1492933ec3a85b255975b5a260d
Author: David Hendricks <dhendrix at chromium.org>
Date:   Mon Feb 11 16:32:09 2013 -0800

    armv7: don't do anything in checkstack for now()
    
    ** do not submit **
    
    Another gross hack.
    
    Change-Id: I7d95b3b1e30d422aeb2bdf306bd6c6b30710edc2
    Signed-off-by: David Hendricks <dhendrix at chromium.org>
    Signed-off-by: Stefan Reinauer <reinauer at chromium.org>
---
 src/lib/stack.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/lib/stack.c b/src/lib/stack.c
index 0a6637f..d588f4a 100644
--- a/src/lib/stack.c
+++ b/src/lib/stack.c
@@ -25,6 +25,7 @@ it with the version available from LANL.
 
 int checkstack(void *top_of_stack, int core)
 {
+#if CONFIG_ARCH_X86 // FIXME not yet implemented on ARM!
 	int i;
 	u32 *stack = (u32 *) (top_of_stack - CONFIG_STACK_SIZE);
 
@@ -47,7 +48,7 @@ int checkstack(void *top_of_stack, int core)
 			sizeof(stack[0])] - (unsigned long)&stack[i]);
 		return 0;
 	}
-
+#endif
 	return 0;
 
 }



More information about the coreboot mailing list