|
iPXE
|
Standard PC-BIOS reboot mechanism. More...
#include <string.h>#include <ipxe/reboot.h>#include <realmode.h>#include <bios.h>#include <ipxe/apm.h>#include <ipxe/acpipwr.h>Go to the source code of this file.
Functions | |
| FILE_LICENCE (GPL2_OR_LATER_OR_UBDL) | |
| static void | bios_reboot (int flags) |
| Reboot system. More... | |
| static int | bios_poweroff (void) |
| Power off system. More... | |
| PROVIDE_REBOOT (pcbios, reboot, bios_reboot) | |
| PROVIDE_REBOOT (pcbios, poweroff, bios_poweroff) | |
Standard PC-BIOS reboot mechanism.
Definition in file bios_reboot.c.
| FILE_LICENCE | ( | GPL2_OR_LATER_OR_UBDL | ) |
|
static |
Reboot system.
| flags | Reboot flags |
Definition at line 44 of file bios_reboot.c.
References __asm__(), __volatile__(), BDA_REBOOT, BDA_REBOOT_WARM, BDA_SEG, flags, put_real, REAL_CODE, REBOOT_WARM, and type.
|
static |
Power off system.
| rc | Return status code |
Definition at line 60 of file bios_reboot.c.
References acpi_poweroff(), apm_poweroff(), DBG, rc, and strerror().
| PROVIDE_REBOOT | ( | pcbios | , |
| reboot | , | ||
| bios_reboot | |||
| ) |
| PROVIDE_REBOOT | ( | pcbios | , |
| poweroff | , | ||
| bios_poweroff | |||
| ) |
1.8.15