<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
On 3/21/10 11:17 PM, Stefan Reinauer wrote:
<blockquote cite="mid:4BA69AE4.4050905@coresystems.de" type="cite">
<pre wrap="">
This patch makes util/vgabios use the coreboot version of x86emu and allows
svn rm util/vgabios/x86emu
The next step would be to make it use YABEL, too.
Signed-off-by: Stefan Reinauer <a moz-do-not-send="true"
class="moz-txt-link-rfc2396E" href="mailto:stepan@coresystems.de"><stepan@coresystems.de></a>
</pre>
</blockquote>
<font size="-1"><font face="Helvetica, Arial, sans-serif">It also needs
this guard added to the coreboot x86emu copy to make sure the printf
redefine only occurs in coreboot:<br>
<br>
--- src/devices/oprom/x86emu/debug.h (revision 5263)<br>
+++ src/devices/oprom/x86emu/debug.h (working copy)<br>
@@ -42,8 +42,10 @@<br>
<br>
/*---------------------- Macros and type definitions
----------------------*/<br>
<br>
+#ifdef CONFIG_DEFAULT_CONSOLE_LOGLEVEL<br>
/* printf is not available in coreboot... use printk */<br>
#define printf(x...) printk(BIOS_DEBUG, x)<br>
+#endif<br>
<br>
/* checks to be enabled for "runtime" */<br>
<br>
<br>
</font></font>
</body>
</html>