GNU-EFI Reset System
Posted: Sat Nov 07, 2020 3:18 pm
Hi! I use GNU-EFI to create an OS. I need to reboot the system. I found that I can use EFI_RESET_SYSTEM but idk how to call it. Can somebody help me?
The Place to Start for Operating System Developers
http://f.osdev.org/
Code: Select all
uefi_call_wrapper( ST->RuntimeServices->ResetSystem, 4, EfiResetWarm, EFI_SUCCESS, 0, NULL );
Code: Select all
m_runtimeServices->ResetSystem(EfiResetWarm, EFI_SUCCESS, 0, nullptr);