No longer reboots when a shutdown was requested - this gives the registrar
the opportunity to show the "System is now ready to reboot" alert. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13714 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -288,6 +288,8 @@ status_t
|
|||||||
arch_cpu_shutdown(bool _reboot)
|
arch_cpu_shutdown(bool _reboot)
|
||||||
{
|
{
|
||||||
// ToDo: support real shutdown
|
// ToDo: support real shutdown
|
||||||
|
if (!_reboot)
|
||||||
|
return B_NOT_SUPPORTED;
|
||||||
|
|
||||||
// try to reset the system using the keyboard controller
|
// try to reset the system using the keyboard controller
|
||||||
out8(0xfe, 0x64);
|
out8(0xfe, 0x64);
|
||||||
|
|||||||
Reference in New Issue
Block a user