AquilaOS documentation
How it works, and its code
Loading...
Searching...
No Matches
reboot.h
Go to the documentation of this file.
1#ifndef _SYS_REBOOT_H
2#define _SYS_REBOOT_H
3
4#include <aquila/reboot.h>
5
6/* Restarts, halts or powers off the machine (sys/reboot.c), and handles
7 * Ctrl+Alt+Del. */
8int kernel_reboot(unsigned cmd);
9void kernel_ctrlaltdel(void);
10
11#endif /* ! _SYS_REBOOT_H */
void kernel_ctrlaltdel(void)
Handles Ctrl+Alt+Del from the keyboard, possibly in an interrupt: it restarts the machine,...
Definition reboot.c:62
int kernel_reboot(unsigned cmd)
Carries out a reboot() command.
Definition reboot.c:29