summaryrefslogtreecommitdiff
path: root/Source/Library/Userland/Binding/Sys.ns.cpp
blob: 7083e5669db03c88bd226eaee85d885deab9cbd8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include <Sys.iface.h>
#include "Sys.ns.h"
#include <Syscall/RessourceCaller.class.h>

namespace Sys {

void halt() {
	RessourceCaller::sCall(SYIF_IFID, SYIF_HALT);
}

void reboot() {
	RessourceCaller::sCall(SYIF_IFID, SYIF_REBOOT);
}

}