From a00d33c094678f8d1d44f4b33726a088820da6a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Sun, 17 Jul 2005 13:28:11 +0000 Subject: [PATCH] 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 --- src/system/kernel/arch/x86/arch_cpu.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/system/kernel/arch/x86/arch_cpu.c b/src/system/kernel/arch/x86/arch_cpu.c index b8b9343682..9b848ce4e9 100644 --- a/src/system/kernel/arch/x86/arch_cpu.c +++ b/src/system/kernel/arch/x86/arch_cpu.c @@ -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);