summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorMichael Brown2013-03-22 14:54:44 +0100
committerMichael Brown2013-03-22 14:54:44 +0100
commite68a6ca225115a8796e6d63ffc32856043e25886 (patch)
tree3bb58a45adbf41533d910482618b2ea306e4cb2c /src/core
parent[efi] Add "reboot" command for EFI (diff)
downloadipxe-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.c3
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 ) {}