Loading...
--- xnu/xnu-3248.50.21/iokit/KernelConfigTables.cpp
+++ xnu/xnu-1486.2.11/iokit/KernelConfigTables.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1998-2012 Apple Inc. All rights reserved.
+ * Copyright (c) 1998-2000 Apple Computer, Inc. All rights reserved.
*
* @APPLE_OSREFERENCE_LICENSE_HEADER_START@
*
@@ -37,12 +37,35 @@
" {"
" 'IOClass' = IOPanicPlatform;"
" 'IOProviderClass' = IOPlatformExpertDevice;"
-" 'IOProbeScore' = 0:32;"
+" 'IOProbeScore' = '-1';"
" }"
+#ifdef PPC
+" ,"
+" {"
+" 'IOClass' = AppleCPU;"
+" 'IOProviderClass' = IOPlatformDevice;"
+" 'IONameMatch' = 'cpu';"
+" 'IOProbeScore' = 100:32;"
+" },"
+" {"
+" 'IOClass' = AppleNMI;"
+" 'IOProviderClass' = AppleMacIODevice;"
+" 'IONameMatch' = 'programmer-switch';"
+" },"
+" {"
+" 'IOClass' = AppleNVRAM;"
+" 'IOProviderClass' = AppleMacIODevice;"
+" 'IONameMatch' = nvram;"
+" }"
+#endif /* PPC */
")";
+
/* This stuff is no longer used at all but was exported in prior
* releases, so we'll keep them around for PPC/i386 only.
* See libkern's OSKext.cpp for other symbols, which have been moved
* there for sanity.
*/
+#if __ppc__ || __i386__
+const char * gIOKernelKmods = "";
+#endif /* __ppc__ || __i386__ */