iPXE
|
Null reboot mechanism. More...
Go to the source code of this file.
Functions | |
FILE_LICENCE (GPL2_OR_LATER_OR_UBDL) | |
static void | null_reboot (int warm __unused) |
Reboot system. More... | |
static int | null_poweroff (void) |
Power off system. More... | |
PROVIDE_REBOOT (null, reboot, null_reboot) | |
PROVIDE_REBOOT (null, poweroff, null_poweroff) | |
Null reboot mechanism.
Definition in file null_reboot.c.
FILE_LICENCE | ( | GPL2_OR_LATER_OR_UBDL | ) |
|
static |
Reboot system.
warm | Perform a warm reboot |
Definition at line 42 of file null_reboot.c.
References printf().
|
static |
Power off system.
rc | Return status code |
Definition at line 53 of file null_reboot.c.
References ENOTSUP.
PROVIDE_REBOOT | ( | null | , |
reboot | , | ||
null_reboot | |||
) |
PROVIDE_REBOOT | ( | null | , |
poweroff | , | ||
null_poweroff | |||
) |