[coreboot-gerrit] Patch set updated for coreboot: coreinfo: reboot when finished

Maxime de Roucy (maxime.deroucy@gmail.com) gerrit at coreboot.org
Mon Oct 5 20:41:00 CET 2015


Maxime de Roucy (maxime.deroucy at gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/11731

-gerrit

commit 95ed7a3988dddec2231e7ae0ae1e22b40d6c1701
Author: Maxime de Roucy <maxime.deroucy at gmail.com>
Date:   Sun Sep 27 15:53:40 2015 +0200

    coreinfo: reboot when finished
    
    Behave as nvramcui.
    Avoid a "General Protection Fault Exception" when launched by SeaBIOS on
    pcengines APU1.
    
    Change-Id: I00b1f859f76e693e8d49a38c1e02f4f49add85b7
    Signed-off-by: Maxime de Roucy <maxime.deroucy at gmail.com>
---
 payloads/coreinfo/coreinfo.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/payloads/coreinfo/coreinfo.c b/payloads/coreinfo/coreinfo.c
index 5bd1068..df52056 100644
--- a/payloads/coreinfo/coreinfo.c
+++ b/payloads/coreinfo/coreinfo.c
@@ -301,6 +301,9 @@ int main(void)
 
 	loop();
 
+	/* reboot */
+	outb(0x6, 0xcf9);
+	halt();
 	return 0;
 }
 



More information about the coreboot-gerrit mailing list