[gPXE-devel] [PATCH]: Making gPXE silent when CONSOLE_DIRECT_VGA is unset
Erwan Velu
erwanaliasr1 at gmail.com
Wed Aug 18 10:45:03 EDT 2010
Hey stefan,
Sorry to resume this thread so late... I got stuck on many other tasks.
I've been following your advice and it worked nice except the early printing
of prodstr.
I got it fixed with the following patch:
Does it make sense for you too ?
diff --git a/src/arch/i386/prefix/romprefix.S
b/src/arch/i386/prefix/romprefix.S
index 02e5497..1930989 100644
--- a/src/arch/i386/prefix/romprefix.S
+++ b/src/arch/i386/prefix/romprefix.S
@@ -955,12 +955,14 @@ exec: /* Set %ds = %cs */
1:
#endif
+#ifdef CONSOLE_PC_BIOS
/* Print message as soon as possible */
movw $prodstr, %si
xorw %di, %di
call print_message
movw $exec_message, %si
call print_message
+#endif
/* Store magic word on BIOS stack and remember BIOS %ss:sp */
pushl $STACK_MAGIC
Cheers,
Erwan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://etherboot.org/pipermail/gpxe-devel/attachments/20100818/58b95d9c/attachment.html
More information about the gPXE-devel
mailing list