[SeaBIOS] [PATCH 3/3] Initialise debug output in handle_csm()

David Woodhouse dwmw2 at infradead.org
Fri Dec 6 15:24:06 CET 2013


For a PCI serial port, we have to discover its location. Potentially on
every entry, since UEFI may shift it at some point during the boot process
from an early debug setup to a final location after real PCI enumeration.

Signed-off-by: David Woodhouse <David.Woodhouse at intel.com>
---
 src/fw/csm.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/fw/csm.c b/src/fw/csm.c
index 4e4b688..39634cd 100644
--- a/src/fw/csm.c
+++ b/src/fw/csm.c
@@ -109,6 +109,8 @@ handle_csm_0001(struct bregs *regs)
         return;
     }
 
+    debug_preinit();
+
     dprintf(3, "Legacy16UpdateBbs table %04x:%04x\n", regs->es, regs->bx);
 
     csm_boot_table = MAKE_FLATPTR(regs->es, regs->bx);
-- 
1.8.3.1


-- 
David Woodhouse                            Open Source Technology Centre
David.Woodhouse at intel.com                              Intel Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 5745 bytes
Desc: not available
URL: <http://www.seabios.org/pipermail/seabios/attachments/20131206/9f420aa9/attachment.bin>


More information about the SeaBIOS mailing list