Implemented arch_cpu_shutdown().

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10044 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2004-11-19 20:16:52 +00:00
parent 4cf2317767
commit fc5fb64131

View File

@ -19,6 +19,8 @@
#include <stdio.h> #include <stdio.h>
void reboot(void);
static struct tss **sTSS; static struct tss **sTSS;
static int *sIsTSSLoaded; 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 void
arch_cpu_idle(void) arch_cpu_idle(void)
{ {