From 27f91aa3957467bfa18d62e893acee57c89ee4fc Mon Sep 17 00:00:00 2001 From: Alexey Makhalov <amakhalov@vmware.com> Date: Tue, 29 Sep 2015 16:01:17 -0700 Subject: [PATCH] reboot.c: Hardcodded piix4 poweroff. --- arch/x86/kernel/reboot.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/x86/kernel/reboot.c b/arch/x86/kernel/reboot.c index 86db4bc..259eafc 100644 --- a/arch/x86/kernel/reboot.c +++ b/arch/x86/kernel/reboot.c @@ -653,6 +653,7 @@ static void native_machine_halt(void) tboot_shutdown(TB_SHUTDOWN_HALT); + outw(0x2000, 0x1004); stop_this_cpu(NULL); } -- 1.9.1