- virtual IOService * probe( IOService * provider,
- SInt32 * score ) APPLE_KEXT_OVERRIDE;
- virtual bool configure( IOService * provider ) APPLE_KEXT_OVERRIDE;
-
- virtual void processTopLevel( IORegistryEntry * root );
- virtual const char * deleteList( void ) = 0;
- virtual const char * excludeList( void ) = 0;
- virtual IOService * createNub( IORegistryEntry * from );
- virtual bool createNubs( IOService * parent, OSIterator * iter );
-
- virtual bool compareNubName( const IOService * nub, OSString * name,
- OSString ** matched = 0 ) const APPLE_KEXT_OVERRIDE;
-
- virtual IOReturn getNubResources( IOService * nub ) APPLE_KEXT_OVERRIDE;
-
- virtual bool getModelName( char * name, int maxLength ) APPLE_KEXT_OVERRIDE;
- virtual bool getMachineName( char * name, int maxLength ) APPLE_KEXT_OVERRIDE;
-
- virtual void registerNVRAMController( IONVRAMController * nvram ) APPLE_KEXT_OVERRIDE;
-
- virtual int haltRestart(unsigned int type) APPLE_KEXT_OVERRIDE;
-
- /* virtual */ IOReturn readXPRAM(IOByteCount offset, UInt8 * buffer,
- IOByteCount length);
-
- /* virtual */ IOReturn writeXPRAM(IOByteCount offset, UInt8 * buffer,
- IOByteCount length);
-
- virtual IOReturn readNVRAMProperty(
- IORegistryEntry * entry,
- const OSSymbol ** name, OSData ** value );
-
- virtual IOReturn writeNVRAMProperty(
- IORegistryEntry * entry,
- const OSSymbol * name, OSData * value );
-
- // This returns a dictionary describing all the NVRAM partitions.
- // The keys will be the partitionIDs of the form "0x52,nvram".
- // The values will be OSNumbers of the partition's byte count.
- /* virtual */ OSDictionary *getNVRAMPartitions(void);
-
- /* virtual */ IOReturn readNVRAMPartition(const OSSymbol * partitionID,
- IOByteCount offset, UInt8 * buffer,
- IOByteCount length);
-
- /* virtual */ IOReturn writeNVRAMPartition(const OSSymbol * partitionID,
- IOByteCount offset, UInt8 * buffer,
- IOByteCount length);
-
- virtual IOByteCount savePanicInfo(UInt8 *buffer, IOByteCount length) APPLE_KEXT_OVERRIDE;
- virtual OSString* createSystemSerialNumberString(OSData* myProperty) APPLE_KEXT_OVERRIDE;
-
- OSMetaClassDeclareReservedUnused(IODTPlatformExpert, 0);
- OSMetaClassDeclareReservedUnused(IODTPlatformExpert, 1);
- OSMetaClassDeclareReservedUnused(IODTPlatformExpert, 2);
- OSMetaClassDeclareReservedUnused(IODTPlatformExpert, 3);
- OSMetaClassDeclareReservedUnused(IODTPlatformExpert, 4);
- OSMetaClassDeclareReservedUnused(IODTPlatformExpert, 5);
- OSMetaClassDeclareReservedUnused(IODTPlatformExpert, 6);
- OSMetaClassDeclareReservedUnused(IODTPlatformExpert, 7);
+ virtual IOService * probe( IOService * provider,
+ SInt32 * score ) APPLE_KEXT_OVERRIDE;
+ virtual bool configure( IOService * provider ) APPLE_KEXT_OVERRIDE;
+
+ virtual void processTopLevel( IORegistryEntry * root );
+ virtual const char * deleteList( void ) = 0;
+ virtual const char * excludeList( void ) = 0;
+ virtual IOService * createNub( IORegistryEntry * from );
+ virtual bool createNubs( IOService * parent, LIBKERN_CONSUMED OSIterator * iter );
+
+ virtual bool compareNubName( const IOService * nub, OSString * name,
+ OSString ** matched = 0 ) const APPLE_KEXT_OVERRIDE;
+
+ virtual IOReturn getNubResources( IOService * nub ) APPLE_KEXT_OVERRIDE;
+
+ virtual bool getModelName( char * name, int maxLength ) APPLE_KEXT_OVERRIDE;
+ virtual bool getMachineName( char * name, int maxLength ) APPLE_KEXT_OVERRIDE;
+
+ virtual void registerNVRAMController( IONVRAMController * nvram ) APPLE_KEXT_OVERRIDE;
+
+ virtual int haltRestart(unsigned int type) APPLE_KEXT_OVERRIDE;
+
+/* virtual */ IOReturn readXPRAM(IOByteCount offset, UInt8 * buffer,
+ IOByteCount length);
+
+/* virtual */ IOReturn writeXPRAM(IOByteCount offset, UInt8 * buffer,
+ IOByteCount length);
+
+ virtual IOReturn readNVRAMProperty(
+ IORegistryEntry * entry,
+ const OSSymbol ** name, OSData ** value );
+
+ virtual IOReturn writeNVRAMProperty(
+ IORegistryEntry * entry,
+ const OSSymbol * name, OSData * value );
+
+// This returns a dictionary describing all the NVRAM partitions.
+// The keys will be the partitionIDs of the form "0x52,nvram".
+// The values will be OSNumbers of the partition's byte count.
+/* virtual */ OSDictionary *getNVRAMPartitions(void);
+
+/* virtual */ IOReturn readNVRAMPartition(const OSSymbol * partitionID,
+ IOByteCount offset, UInt8 * buffer,
+ IOByteCount length);
+
+/* virtual */ IOReturn writeNVRAMPartition(const OSSymbol * partitionID,
+ IOByteCount offset, UInt8 * buffer,
+ IOByteCount length);
+
+ virtual IOByteCount savePanicInfo(UInt8 *buffer, IOByteCount length) APPLE_KEXT_OVERRIDE;
+ virtual OSString* createSystemSerialNumberString(OSData* myProperty) APPLE_KEXT_OVERRIDE;
+
+ OSMetaClassDeclareReservedUnused(IODTPlatformExpert, 0);
+ OSMetaClassDeclareReservedUnused(IODTPlatformExpert, 1);
+ OSMetaClassDeclareReservedUnused(IODTPlatformExpert, 2);
+ OSMetaClassDeclareReservedUnused(IODTPlatformExpert, 3);
+ OSMetaClassDeclareReservedUnused(IODTPlatformExpert, 4);
+ OSMetaClassDeclareReservedUnused(IODTPlatformExpert, 5);
+ OSMetaClassDeclareReservedUnused(IODTPlatformExpert, 6);
+ OSMetaClassDeclareReservedUnused(IODTPlatformExpert, 7);