[coreboot] New patch to review for coreboot: fe0353e Fix tracing compilation on SMM enabled targets.
Rudolf Marek (r.marek@assembler.cz)
gerrit at coreboot.org
Tue Sep 11 15:09:23 CEST 2012
Rudolf Marek (r.marek at assembler.cz) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/1503
-gerrit
commit fe0353ef3ddd89f44acb084580507893160d337f
Author: Rudolf Marek <r.marek at assembler.cz>
Date: Tue Sep 11 15:06:17 2012 +0200
Fix tracing compilation on SMM enabled targets.
Disallow tracing while in SMM.
Change-Id: Icde17629bb06a615cc48f017fd0cd1f7b720e62d
Signed-off-by: Rudolf Marek <r.marek at assembler.cz>
---
src/include/trace.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/include/trace.h b/src/include/trace.h
index ff5b6c2..5171525 100644
--- a/src/include/trace.h
+++ b/src/include/trace.h
@@ -29,7 +29,7 @@
#else /* !__PRE_RAM__ */
-#if CONFIG_TRACE
+#if CONFIG_TRACE && !defined(__SMM__)
void __cyg_profile_func_enter( void *, void * )
__attribute__ ((no_instrument_function));
More information about the coreboot
mailing list