AquilaOS documentation
How it works, and its code
Toggle main menu visibility
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. */
8
int
kernel_reboot
(
unsigned
cmd);
9
void
kernel_ctrlaltdel
(
void
);
10
11
#endif
/* ! _SYS_REBOOT_H */
kernel_ctrlaltdel
void kernel_ctrlaltdel(void)
Handles Ctrl+Alt+Del from the keyboard, possibly in an interrupt: it restarts the machine,...
Definition
reboot.c:62
kernel_reboot
int kernel_reboot(unsigned cmd)
Carries out a reboot() command.
Definition
reboot.c:29
kernel
include
sys
reboot.h
Generated by
1.18.0