From 6df09499e6b34186981a003120f9798290d1399c Mon Sep 17 00:00:00 2001 From: beaglejoe Date: Mon, 8 Feb 2021 13:07:13 -0600 Subject: [PATCH] Implement reboot for x86_64 efi menu Fixes #15050 Change-Id: I9b0d8dab9cc0eba85f6d242e946d0291c59580eb Reviewed-on: https://review.haiku-os.org/c/haiku/+/3740 Reviewed-by: Fredrik Holmqvist --- src/system/boot/platform/efi/start.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/system/boot/platform/efi/start.cpp b/src/system/boot/platform/efi/start.cpp index 9e3a88950d..f0fe747ae8 100644 --- a/src/system/boot/platform/efi/start.cpp +++ b/src/system/boot/platform/efi/start.cpp @@ -180,6 +180,7 @@ platform_start_kernel(void) extern "C" void platform_exit(void) { + kRuntimeServices->ResetSystem(EfiResetCold, EFI_SUCCESS, 0, NULL); return; }