1/* 2 * Copyright (c) 1998-2000 Apple Computer, Inc. All rights reserved. 3 * 4 * @APPLE_OSREFERENCE_LICENSE_HEADER_START@ 5 * 6 * This file contains Original Code and/or Modifications of Original Code 7 * as defined in and that are subject to the Apple Public Source License 8 * Version 2.0 (the 'License'). You may not use this file except in 9 * compliance with the License. The rights granted to you under the License 10 * may not be used to create, or enable the creation or redistribution of, 11 * unlawful or unlicensed copies of an Apple operating system, or to 12 * circumvent, violate, or enable the circumvention or violation of, any 13 * terms of an Apple operating system software license agreement. 14 * 15 * Please obtain a copy of the License at 16 * http://www.opensource.apple.com/apsl/ and read it before using this file. 17 * 18 * The Original Code and all software distributed under the License are 19 * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 20 * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 21 * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 22 * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 23 * Please see the License for the specific language governing rights and 24 * limitations under the License. 25 * 26 * @APPLE_OSREFERENCE_LICENSE_HEADER_END@ 27 */ 28/* 29 * NOTICE: This file was modified by SPARTA, Inc. in 2005 to introduce 30 * support for mandatory and extensible security protections. This notice 31 * is included in support of clause 2.2 (b) of the Apple Public License, 32 * Version 2.0. 33 */ 34 35 36/* This list is used in IOStartIOKit.cpp to declare fake kmod_info 37 * structs for kext dependencies that are built into the kernel. 38 * Empty version strings get replaced with osrelease at runtime. 39 */ 40const char * gIOKernelKmods = 41"{" 42 "'com.apple.kernel' = '';" 43 "'com.apple.kpi.bsd' = '';" 44 "'com.apple.kpi.dsep' = '';" 45 "'com.apple.kpi.iokit' = '';" 46 "'com.apple.kpi.libkern' = '';" 47 "'com.apple.kpi.mach' = '';" 48 "'com.apple.kpi.unsupported' = '';" 49 "'com.apple.iokit.IONVRAMFamily' = '';" 50 "'com.apple.driver.AppleNMI' = '';" 51 "'com.apple.iokit.IOSystemManagementFamily' = '';" 52 "'com.apple.iokit.ApplePlatformFamily' = '';" 53 "'com.apple.kernel.6.0' = '7.9.9';" 54 "'com.apple.kernel.bsd' = '7.9.9';" 55 "'com.apple.kernel.iokit' = '7.9.9';" 56 "'com.apple.kernel.libkern' = '7.9.9';" 57 "'com.apple.kernel.mach' = '7.9.9';" 58"}"; 59 60 61const char * gIOKernelConfigTables = 62"(" 63" {" 64" 'IOClass' = IOPanicPlatform;" 65" 'IOProviderClass' = IOPlatformExpertDevice;" 66" 'IOProbeScore' = '-1';" 67" }" 68#ifdef PPC 69" ," 70" {" 71" 'IOClass' = AppleCPU;" 72" 'IOProviderClass' = IOPlatformDevice;" 73" 'IONameMatch' = 'cpu';" 74" 'IOProbeScore' = 100:32;" 75" }," 76" {" 77" 'IOClass' = AppleNMI;" 78" 'IOProviderClass' = AppleMacIODevice;" 79" 'IONameMatch' = 'programmer-switch';" 80" }," 81" {" 82" 'IOClass' = AppleNVRAM;" 83" 'IOProviderClass' = AppleMacIODevice;" 84" 'IONameMatch' = nvram;" 85" }" 86#endif /* PPC */ 87")"; 88 89 90