From fc5fb641315571f068bb56be3ac45a0fd08e2485 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Fri, 19 Nov 2004 20:16:52 +0000 Subject: [PATCH] Implemented arch_cpu_shutdown(). git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10044 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/kernel/core/arch/x86/arch_cpu.c | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/kernel/core/arch/x86/arch_cpu.c b/src/kernel/core/arch/x86/arch_cpu.c index 68752e6f14..a6c9d238ea 100755 --- a/src/kernel/core/arch/x86/arch_cpu.c +++ b/src/kernel/core/arch/x86/arch_cpu.c @@ -19,6 +19,8 @@ #include +void reboot(void); + static struct tss **sTSS; static int *sIsTSSLoaded; @@ -209,6 +211,15 @@ error: } +status_t +arch_cpu_shutdown(bool _reboot) +{ + // we can't do anything else, yet + reboot(); + return B_OK; +} + + void arch_cpu_idle(void) {