|
AquilaOS documentation
How it works, and its code
|
The PC: restarting, halting and powering off. More...
Go to the source code of this file.
Functions | |
| void | platform_reboot (void) |
| Restarts the machine, through the keyboard controller, which can reset the CPU. | |
| void | arch_reboot (void) |
| Restarts the machine. | |
| void | arch_halt (void) |
| Stops the CPU for good, with interrupts off. | |
| void | arch_poweroff (void) |
| Powers the machine off, or halts it if it can't be powered off. | |
The PC: restarting, halting and powering off.
Definition in file reboot.c.
| void arch_halt | ( | void | ) |
Stops the CPU for good, with interrupts off.
Definition at line 26 of file reboot.c.
References arch_halt(), and arch_interrupts_disable().
| void arch_poweroff | ( | void | ) |
Powers the machine off, or halts it if it can't be powered off.
Definition at line 35 of file reboot.c.
References arch_halt(), arch_poweroff(), and x86_acpi_poweroff().
| void arch_reboot | ( | void | ) |
Restarts the machine.
Definition at line 20 of file reboot.c.
References arch_reboot(), and platform_reboot().
| void platform_reboot | ( | void | ) |
Restarts the machine, through the keyboard controller, which can reset the CPU.
Definition at line 12 of file reboot.c.
References i8042_reboot(), and platform_reboot().
Referenced by arch_reboot(), and platform_reboot().