Applied patch by Olivier Coursière: this should help rebooting on some
machines, and fixes bug #1884, thanks! git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24202 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
9ed64004cc
commit
57b9fd2d91
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2002-2007, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
|
||||
* Copyright 2002-2008, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
|
||||
* Distributed under the terms of the MIT License.
|
||||
*
|
||||
* Copyright 2001-2002, Travis Geiselbrecht. All rights reserved.
|
||||
@ -684,6 +684,9 @@ arch_cpu_shutdown(bool rebootSystem)
|
||||
// try to reset the system using the keyboard controller
|
||||
out8(0xfe, 0x64);
|
||||
|
||||
// Give some time to the controller to do its job (0.5s)
|
||||
snooze(500000);
|
||||
|
||||
// if that didn't help, try it this way
|
||||
reboot();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user