xref: /haiku/src/tests/add-ons/kernel/kernelland_emu/low_resource_manager.cpp (revision 1deede7388b04dbeec5af85cae7164735ea9e70d)
1 /*
2  * Copyright 2002-2009, Haiku Inc. All Rights Reserved.
3  * Distributed under the terms of the MIT license.
4  *
5  * Authors:
6  *		Ingo Weinhold, bonefish@cs.tu-berlin.de.
7  *		Axel Dörfler, axeld@pinc-software.de.
8  */
9 
10 #include <low_resource_manager.h>
11 
12 
13 extern "C" int32
14 low_resource_state(uint32 resources)
15 {
16 	return B_NO_LOW_RESOURCE;
17 }
18 
19 
20 extern "C" void
21 low_resource(uint32 resource, uint64 requirements, uint32 flags,
22 	uint32 timeout)
23 {
24 }
25 
26 
27 extern "C" status_t
28 register_low_resource_handler(low_resource_func function, void *data,
29 	uint32 resources, int32 priority)
30 {
31 	return B_OK;
32 }
33 
34 
35 extern "C" status_t
36 unregister_low_resource_handler(low_resource_func function, void *data)
37 {
38 	return B_OK;
39 }
40