+
+#if !NO_KEXTD
+ /* Add a busy count to keep the registry busy until kextd has
+ * completely finished launching. This is decremented when kextd
+ * messages the kernel after the in-kernel linker has been
+ * removed and personalities have been sent.
+ */
+ IOService::getServiceRoot()->adjustBusy(1);
+#endif
+ }
+}
+
+void
+IORegistrySetOSBuildVersion(char * build_version)
+{
+ IORegistryEntry * root = IORegistryEntry::getRegistryRoot();
+
+ if (root) {
+ if (build_version) {
+ root->setProperty(kOSBuildVersionKey, build_version);
+ } else {
+ root->removeProperty(kOSBuildVersionKey);
+ }