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:
Axel Dörfler 2005-07-17 13:28:11 +00:00
parent 09105be0f8
commit a00d33c094
1 changed files with 2 additions and 0 deletions

View File

@ -288,6 +288,8 @@ status_t
arch_cpu_shutdown(bool _reboot)
{
// ToDo: support real shutdown
if (!_reboot)
return B_NOT_SUPPORTED;
// try to reset the system using the keyboard controller
out8(0xfe, 0x64);