2 * Copyright 2012, Haiku, Inc. All Rights Reserved.
3 * Distributed under the terms of the MIT License.
5 #ifndef _CPUIDLE_MODULE_H
6 #define _CPUIDLE_MODULE_H
11 #include <scheduler.h>
14 #define CPUIDLE_MODULES_PREFIX "power/cpuidle"
17 typedef struct cpuidle_module_info
{
22 void (*cpuidle_set_scheduler_mode
)(enum scheduler_mode mode
);
24 void (*cpuidle_idle
)(void);
25 void (*cpuidle_wait
)(int32
* variable
, int32 test
);
26 } cpuidle_module_info
;
29 #endif // _CPUIDLE_MODULE_H