#include <IOKit/pwr_mgt/IOPMinformeeList.h>
#include <IOKit/IOStatisticsPrivate.h>
#include <IOKit/IOKitKeysPrivate.h>
+#include <IOKit/IOInterruptAccountingPrivate.h>
#include <IOKit/assert.h>
#include "IOKitKernelInternal.h"
+const OSSymbol * gIOProgressBackbufferKey;
+OSSet * gIORemoveOnReadProperties;
+
extern "C" {
extern void OSlibkernInit (void);
IOLibInit();
OSlibkernInit();
+ gIOProgressBackbufferKey = OSSymbol::withCStringNoCopy(kIOProgressBackbufferKey);
+ gIORemoveOnReadProperties = OSSet::withObjects((const OSObject **) &gIOProgressBackbufferKey, 1);
+
+ interruptAccountingInit();
+
rootNub = new IOPlatformExpertDevice;
if( rootNub && rootNub->initWithArgs( p1, p2, p3, p4)) {
return;
}
+void
+IORecordProgressBackbuffer(void * buffer, size_t size, uint32_t theme)
+{
+ IORegistryEntry * chosen;
+ if ((chosen = IORegistryEntry::fromPath(kIODeviceTreePlane ":/chosen")))
+ {
+ chosen->setProperty(kIOProgressBackbufferKey, buffer, size);
+ chosen->setProperty(kIOProgressColorThemeKey, theme, 32);
+
+ chosen->release();
+ }
+}
+
}; /* extern "C" */