[LinuxBIOS] QEMU target cleanups

Stefan Reinauer stepan at coresystems.de
Fri May 11 00:59:21 CEST 2007


* ron minnich <rminnich at gmail.com> [070509 18:39]:
> >Should it not rather be fixed? Since LinuxBIOS is not useful on Qemu per
> >se, but only an educational target, we should not drop the stuff that we
> >call our selling points.
> 
> yes, that is a good point. Can we make it so we can build a failover
> target for qemu? That would be very neat.

This patch (wont apply, cut n pasted, so whitespace is broken) might
already be enough...

Don't have qemu here right now, so I can't test

Signed-off-by: Stefan Reinauer <stepan at coresystems.de>

Index: src/mainboard/emulation/qemu-i386/failover.c
===================================================================
--- src/mainboard/emulation/qemu-i386/failover.c        (revision 2652)
+++ src/mainboard/emulation/qemu-i386/failover.c        (working copy)
@@ -9,9 +9,6 @@

 static void main(void)
 {
-  /* for now, just always assume failure */
-
-#if 0
        /* Is this a cpu reset? */
        if (cpu_init_detected()) {
                if (last_boot_normal()) {
@@ -25,5 +22,4 @@
        else if (do_normal_boot()) {
                asm("jmp __normal_image");
        }
-#endif
 }


-- 
coresystems GmbH • Brahmsstr. 16 • D-79104 Freiburg i. Br.
      Tel.: +49 761 7668825 • Fax: +49 761 7664613
Email: info at coresystems.dehttp://www.coresystems.de/
Registergericht: Amtsgericht Freiburg • HRB 7656
Geschäftsführer: Stefan Reinauer • Ust-IdNr.: DE245674866




More information about the coreboot mailing list