ADC Home > Reference Library > Reference > Darwin > Kernel Framework Reference

 


IOPMprot

Inherits from:
Declared In:

Overview

Protected power management instance variables for IOService objects.

Discussion

IOPMprot is deprecated. Do not use it in any new code.

Call IOService::getPowerState to query the current power state rather than access myCurrentState.

Availability
Mac OS X version 10.0. Deprecated in version 10.5.


Member Data


aggressiveness


public

unsigned long aggressiveness;
Discussion

Current value of power management aggressiveness.


current_aggressiveness_valid


public

bool current_aggressiveness_valid [kMaxType+1];
Discussion

True for values that are currently valid.


current_aggressiveness_values


public

unsigned long current_aggressiveness_values [kMaxType+1];
Discussion

Array of aggressiveness values.


myCurrentState


public

unsigned long myCurrentState;
Discussion

The ordinal of our current power state.


ourName


public

const char * ourName;
Discussion

From getName(), used in logging.


theControllingDriver


public

IOService * theControllingDriver;
Discussion

Points to the controlling driver.


theNumberOfPowerStates


public

unsigned long theNumberOfPowerStates;
Discussion

The number of states in the array.


thePlatform


public

IOPlatformExpert * thePlatform;
Discussion

From getPlatform, used in logging and registering.


thePowerStates


public

IOPMPowerState thePowerStates[IOPMMaxPowerStates];
Discussion

The array.


Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.

 

Last Updated: 2008-12-19