-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathNullCPUPowerManagement.h
More file actions
31 lines (26 loc) · 1 KB
/
NullCPUPowerManagement.h
File metadata and controls
31 lines (26 loc) · 1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/*! @file NullCPUPowerManagement.h
@copyright David Elliott
@created 2007-11-26
@rcsid $Id: NullCPUPowerManagement.h 5 2008-06-29 06:08:01Z dfe $
*/
#include <IOKit/IOService.h>
class NullCPUPowerManagement: public IOService
{
OSDeclareDefaultStructors(NullCPUPowerManagement);
public:
/*!
Overridden to change the nub name in all planes from the class name to
the value of the IOMatchCategory key in the personality dictionary.
This works around a check in the kernel which refuses to consider
an IOResources match where the nub name does not match the category.
*/
virtual bool init(OSDictionary *properties = 0);
/*!
Overriden to determine whether or not this service should start and thus
push out the real AppleIntelCPUPowerManagement service.
*/
virtual IOService *probe(IOService *provider, SInt32 *score);
virtual bool start(IOService *provider);
virtual void stop(IOService *provider);
protected:
};