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:
parent
4cf2317767
commit
fc5fb64131
@ -19,6 +19,8 @@
|
||||
#include <stdio.h>
|
||||
|
||||
|
||||
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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user