xref: /haiku/src/system/libroot/os/arch/m68k/compatibility.c (revision 68ea01249e1e2088933cb12f9c28d4e5c5d1c9ef)
1 /*
2  * Copyright 2005, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
3  * Distributed under the terms of the MIT License.
4  */
5 
6 // This file includes some known R5 syscalls
7 // ToDo: maybe they should indeed do something...
8 
9 #include <SupportDefs.h>
10 
11 
12 int _kset_mon_limit_(int num);
13 int _kset_fd_limit_(int num);
14 int _kget_cpu_state_(int cpuNum);
15 int _kset_cpu_state_(int cpuNum, int state);
16 
17 
18 int
19 _kset_mon_limit_(int num)
20 {
21 	return B_ERROR;
22 }
23 
24 
25 int
26 _kset_fd_limit_(int num)
27 {
28 	return B_ERROR;
29 }
30 
31 
32 int
33 _kget_cpu_state_(int cpuNum)
34 {
35 	return 1;
36 }
37 
38 
39 int
40 _kset_cpu_state_(int cpuNum, int state)
41 {
42 	return state ? B_OK : B_ERROR;
43 }
44 
45