- virtual bool attach( IOService * provider );
- virtual bool start( IOService * provider );
- virtual bool configure( IOService * provider );
- virtual IOService * createNub( OSDictionary * from );
-
- virtual bool compareNubName( const IOService * nub, OSString * name,
- OSString ** matched = 0 ) const;
- virtual IOReturn getNubResources( IOService * nub );
-
- virtual long getBootROMType(void);
- virtual long getChipSetType(void);
- virtual long getMachineType(void);
-
- virtual bool getModelName( char * name, int maxLength );
- virtual bool getMachineName( char * name, int maxLength );
-
- virtual int haltRestart(unsigned int type);
- virtual void sleepKernel(void);
-
- virtual long getGMTTimeOfDay( void );
- virtual void setGMTTimeOfDay( long secs );
-
- virtual IOReturn getConsoleInfo( PE_Video * consoleInfo );
- virtual IOReturn setConsoleInfo( PE_Video * consoleInfo, unsigned int op );
-
- virtual void registerNVRAMController( IONVRAMController * nvram );
-
- virtual IOReturn registerInterruptController(OSSymbol *name, IOInterruptController *interruptController);
- virtual IOInterruptController *lookUpInterruptController(OSSymbol *name);
- virtual void setCPUInterruptProperties(IOService *service);
- virtual bool atInterruptLevel(void);
-
- virtual IOReturn callPlatformFunction(const OSSymbol *functionName,
- bool waitForFunction,
- void *param1, void *param2,
- void *param3, void *param4);
-
- virtual IORangeAllocator * getPhysicalRangeAllocator(void);
-
- virtual bool platformAdjustService(IOService *service);
-
- virtual void PMRegisterDevice(IOService * theNub, IOService * theDevice);
- virtual void PMLog ( const char *,unsigned long, unsigned long, unsigned long );
-
- virtual bool hasPMFeature (unsigned long featureMask);
- virtual bool hasPrivPMFeature (unsigned long privFeatureMask);
- virtual int numBatteriesSupported (void);
-
- virtual IOByteCount savePanicInfo(UInt8 *buffer, IOByteCount length);
-
- virtual OSString* createSystemSerialNumberString(OSData* myProperty);
-
- OSMetaClassDeclareReservedUsed(IOPlatformExpert, 0);
- OSMetaClassDeclareReservedUsed(IOPlatformExpert, 1);
- OSMetaClassDeclareReservedUnused(IOPlatformExpert, 2);
- OSMetaClassDeclareReservedUnused(IOPlatformExpert, 3);
- OSMetaClassDeclareReservedUnused(IOPlatformExpert, 4);
- OSMetaClassDeclareReservedUnused(IOPlatformExpert, 5);
- OSMetaClassDeclareReservedUnused(IOPlatformExpert, 6);
- OSMetaClassDeclareReservedUnused(IOPlatformExpert, 7);
- OSMetaClassDeclareReservedUnused(IOPlatformExpert, 8);
- OSMetaClassDeclareReservedUnused(IOPlatformExpert, 9);
- OSMetaClassDeclareReservedUnused(IOPlatformExpert, 10);
- OSMetaClassDeclareReservedUnused(IOPlatformExpert, 11);
+ virtual bool attach( IOService * provider ) APPLE_KEXT_OVERRIDE;
+ virtual bool start( IOService * provider ) APPLE_KEXT_OVERRIDE;
+ virtual bool configure( IOService * provider );
+ virtual IOService * createNub( OSDictionary * from );
+
+ virtual bool compareNubName( const IOService * nub, OSString * name,
+ OSString ** matched = 0 ) const;
+ virtual IOReturn getNubResources( IOService * nub );
+
+ virtual long getBootROMType(void);
+ virtual long getChipSetType(void);
+ virtual long getMachineType(void);
+
+ virtual bool getModelName( char * name, int maxLength );
+ virtual bool getMachineName( char * name, int maxLength );
+
+ virtual int haltRestart(unsigned int type);
+ virtual void sleepKernel(void);
+
+ virtual long getGMTTimeOfDay( void );
+ virtual void setGMTTimeOfDay( long secs );
+
+ virtual IOReturn getConsoleInfo( PE_Video * consoleInfo );
+ virtual IOReturn setConsoleInfo( PE_Video * consoleInfo, unsigned int op );
+
+ virtual void registerNVRAMController( IONVRAMController * nvram );
+
+ virtual IOReturn registerInterruptController(OSSymbol *name, IOInterruptController *interruptController);
+ virtual LIBKERN_RETURNS_NOT_RETAINED IOInterruptController *
+ lookUpInterruptController(OSSymbol *name);
+
+ virtual void setCPUInterruptProperties(IOService *service);
+ virtual bool atInterruptLevel(void);
+
+ virtual IOReturn callPlatformFunction(const OSSymbol *functionName,
+ bool waitForFunction,
+ void *param1, void *param2,
+ void *param3, void *param4) APPLE_KEXT_OVERRIDE;
+
+ virtual IORangeAllocator * getPhysicalRangeAllocator(void);
+
+ virtual bool platformAdjustService(IOService *service);
+
+ virtual void PMRegisterDevice(IOService * theNub, IOService * theDevice);
+ virtual void PMLog( const char *, unsigned long, unsigned long, unsigned long );
+
+ virtual bool hasPMFeature(unsigned long featureMask);
+ virtual bool hasPrivPMFeature(unsigned long privFeatureMask);
+ virtual int numBatteriesSupported(void);
+
+ virtual IOByteCount savePanicInfo(UInt8 *buffer, IOByteCount length);
+
+ virtual OSString* createSystemSerialNumberString(OSData* myProperty);
+
+ virtual IOReturn deregisterInterruptController(OSSymbol *name);
+
+ virtual void getUTCTimeOfDay( clock_sec_t * secs, clock_nsec_t * nsecs );
+ virtual void setUTCTimeOfDay( clock_sec_t secs, clock_nsec_t nsecs );
+
+ OSMetaClassDeclareReservedUsed(IOPlatformExpert, 0);
+ OSMetaClassDeclareReservedUsed(IOPlatformExpert, 1);
+ OSMetaClassDeclareReservedUsed(IOPlatformExpert, 2);
+ OSMetaClassDeclareReservedUsed(IOPlatformExpert, 3);
+ OSMetaClassDeclareReservedUsed(IOPlatformExpert, 4);
+ OSMetaClassDeclareReservedUnused(IOPlatformExpert, 5);
+ OSMetaClassDeclareReservedUnused(IOPlatformExpert, 6);
+ OSMetaClassDeclareReservedUnused(IOPlatformExpert, 7);
+ OSMetaClassDeclareReservedUnused(IOPlatformExpert, 8);
+ OSMetaClassDeclareReservedUnused(IOPlatformExpert, 9);
+ OSMetaClassDeclareReservedUnused(IOPlatformExpert, 10);
+ OSMetaClassDeclareReservedUnused(IOPlatformExpert, 11);