[haiku-commits] Change in haiku[master]: Implement reboot for x86_64 efi menu

  • From: Gerrit <review@xxxxxxxxxxxxxxxxxxx>
  • To: waddlesplash <waddlesplash@xxxxxxxxx>, haiku-commits@xxxxxxxxxxxxx
  • Date: Mon, 8 Feb 2021 20:09:04 +0000

From <BeagleJoe13@xxxxxxxxx>:

BeagleJoe13@xxxxxxxxx has uploaded this change for review. ( 
https://review.haiku-os.org/c/haiku/+/3740 ;)


Change subject: Implement reboot for x86_64 efi menu
......................................................................

Implement reboot for x86_64 efi menu

Fixes #15050
---
M src/system/boot/platform/efi/start.cpp
1 file changed, 1 insertion(+), 0 deletions(-)



  git pull ssh://git.haiku-os.org:22/haiku refs/changes/40/3740/1

diff --git a/src/system/boot/platform/efi/start.cpp 
b/src/system/boot/platform/efi/start.cpp
index 9e3a889..d03b398 100644
--- a/src/system/boot/platform/efi/start.cpp
+++ b/src/system/boot/platform/efi/start.cpp
@@ -180,6 +180,7 @@
 extern "C" void
 platform_exit(void)
 {
+       kRuntimeServices->ResetSystem(EfiResetCold,EFI_SUCCESS,0,NULL);
        return;
 }


--
To view, visit https://review.haiku-os.org/c/haiku/+/3740
To unsubscribe, or for help writing mail filters, visit 
https://review.haiku-os.org/settings

Gerrit-Project: haiku
Gerrit-Branch: master
Gerrit-Change-Id: I9b0d8dab9cc0eba85f6d242e946d0291c59580eb
Gerrit-Change-Number: 3740
Gerrit-PatchSet: 1
Gerrit-Owner: BeagleJoe13@xxxxxxxxx
Gerrit-MessageType: newchange

Other related posts:

  • » [haiku-commits] Change in haiku[master]: Implement reboot for x86_64 efi menu - Gerrit