ApplePlatformExpert.h [plain text]
#ifndef _IOKIT_APPLEPLATFORM_H
#define _IOKIT_APPLEPLATFORM_H
#include <IOKit/IOPlatformExpert.h>
enum {
kBootROMTypeOldWorld = 0,
kBootROMTypeNewWorld
};
enum {
kChipSetTypePowerSurge = 0,
kChipSetTypePowerStar,
kChipSetTypeGossamer,
kChipSetTypePowerExpress,
kChipSetTypeCore99,
kChipSetTypeCore2001
};
enum {
kMachineTypeUnknown = 0
};
extern const OSSymbol *gGetDefaultBusSpeedsKey;
class ApplePlatformExpert : public IODTPlatformExpert
{
OSDeclareAbstractStructors(ApplePlatformExpert);
private:
SInt32 _timeToGMT;
struct ExpansionData { };
ExpansionData *reserved;
public:
virtual bool start( IOService * provider );
virtual bool configure( IOService * provider );
virtual const char * deleteList( void );
virtual const char * excludeList( void );
virtual void registerNVRAMController( IONVRAMController * nvram );
virtual long getGMTTimeOfDay(void);
virtual void setGMTTimeOfDay(long secs);
virtual bool getMachineName(char *name, int maxLength);
OSMetaClassDeclareReservedUnused(ApplePlatformExpert, 0);
OSMetaClassDeclareReservedUnused(ApplePlatformExpert, 1);
OSMetaClassDeclareReservedUnused(ApplePlatformExpert, 2);
OSMetaClassDeclareReservedUnused(ApplePlatformExpert, 3);
};
#endif