[coreboot-gerrit] New patch to review for coreboot: coreinfo : reboot when done

Maxime de Roucy (maxime.deroucy@gmail.com) gerrit at coreboot.org
Sun Sep 27 13:57:17 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 032859460d6951637a5edb930537adf89464d10f
Author: Maxime de Roucy <maxime.deroucy at gmail.com>
Date:   Sun Sep 27 15:53:40 2015 +0200

    coreinfo : reboot when done
    
    Whithout this I got a "General Protection Fault Exception" when I leave
    coreinfo.
    http://www.coreboot.org/pipermail/coreboot/2015-September/080336.html
    
    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