diff options
| author | Michael Brown | 2013-03-22 14:54:44 +0100 |
|---|---|---|
| committer | Michael Brown | 2013-03-22 14:54:44 +0100 |
| commit | e68a6ca225115a8796e6d63ffc32856043e25886 (patch) | |
| tree | 3bb58a45adbf41533d910482618b2ea306e4cb2c /src/core | |
| parent | [efi] Add "reboot" command for EFI (diff) | |
| download | ipxe-e68a6ca225115a8796e6d63ffc32856043e25886.tar.gz ipxe-e68a6ca225115a8796e6d63ffc32856043e25886.tar.xz ipxe-e68a6ca225115a8796e6d63ffc32856043e25886.zip | |
[cmdline] Add ability to perform a warm reboot
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/core')
| -rw-r--r-- | src/core/null_reboot.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/null_reboot.c b/src/core/null_reboot.c index b7e55bce8..8e3ed0bb6 100644 --- a/src/core/null_reboot.c +++ b/src/core/null_reboot.c @@ -32,8 +32,9 @@ FILE_LICENCE ( GPL2_OR_LATER ); /** * Reboot system * + * @v warm Perform a warm reboot */ -static void null_reboot ( void ) { +static void null_reboot ( int warm __unused ) { printf ( "Cannot reboot; not implemented\n" ); while ( 1 ) {} |
