iPXE
|
Standard PC-BIOS reboot mechanism. More...
#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 warm) |
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.
warm | Perform a warm reboot |
Definition at line 43 of file bios_reboot.c.
References __asm__(), __volatile__(), BDA_REBOOT, BDA_REBOOT_WARM, BDA_SEG, flag, put_real, and REAL_CODE.
|
static |
Power off system.
rc | Return status code |
Definition at line 59 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 | |||
) |