]> git.saurik.com Git - apple/xnu.git/blob - iokit/KernelConfigTables.cpp
xnu-517.tar.gz
[apple/xnu.git] / iokit / KernelConfigTables.cpp
1 /*
2 * Copyright (c) 1998-2000 Apple Computer, Inc. All rights reserved.
3 *
4 * @APPLE_LICENSE_HEADER_START@
5 *
6 * Copyright (c) 1999-2003 Apple Computer, Inc. All Rights Reserved.
7 *
8 * This file contains Original Code and/or Modifications of Original Code
9 * as defined in and that are subject to the Apple Public Source License
10 * Version 2.0 (the 'License'). You may not use this file except in
11 * compliance with the License. Please obtain a copy of the License at
12 * http://www.opensource.apple.com/apsl/ and read it before using this
13 * file.
14 *
15 * The Original Code and all software distributed under the License are
16 * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
17 * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
18 * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
19 * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
20 * Please see the License for the specific language governing rights and
21 * limitations under the License.
22 *
23 * @APPLE_LICENSE_HEADER_END@
24 */
25
26
27 /* This list is used in IOStartIOKit.cpp to declare fake kmod_info
28 * structs for kext dependencies that are built into the kernel.
29 */
30 const char * gIOKernelKmods =
31 "{"
32 " 'com.apple.kernel' = '7.0';"
33 " 'com.apple.kpi.bsd' = '7.0';"
34 " 'com.apple.kpi.iokit' = '7.0';"
35 " 'com.apple.kpi.libkern' = '7.0';"
36 " 'com.apple.kpi.mach' = '7.0';"
37 " 'com.apple.iokit.IONVRAMFamily' = '7.0';"
38 " 'com.apple.driver.AppleNMI' = '7.0';"
39 " 'com.apple.iokit.IOSystemManagementFamily' = '7.0';"
40 " 'com.apple.iokit.ApplePlatformFamily' = '7.0';"
41 " 'com.apple.kernel.6.0' = '6.9.9';"
42 " 'com.apple.kernel.bsd' = '6.9.9';"
43 " 'com.apple.kernel.iokit' = '6.9.9';"
44 " 'com.apple.kernel.libkern' = '6.9.9';"
45 " 'com.apple.kernel.mach' = '6.9.9';"
46 "}";
47
48
49 const char * gIOKernelConfigTables =
50 "("
51 " {"
52 " 'IOClass' = IOPanicPlatform;"
53 " 'IOProviderClass' = IOPlatformExpertDevice;"
54 " 'IOProbeScore' = '-1';"
55 " }"
56 #ifdef PPC
57 " ,"
58 " {"
59 " 'IOClass' = AppleCPU;"
60 " 'IOProviderClass' = IOPlatformDevice;"
61 " 'IONameMatch' = 'cpu';"
62 " 'IOProbeScore' = 100:32;"
63 " },"
64 " {"
65 " 'IOClass' = AppleNMI;"
66 " 'IOProviderClass' = AppleMacIODevice;"
67 " 'IONameMatch' = 'programmer-switch';"
68 " },"
69 " {"
70 " 'IOClass' = AppleNVRAM;"
71 " 'IOProviderClass' = AppleMacIODevice;"
72 " 'IONameMatch' = nvram;"
73 " }"
74 #endif /* PPC */
75 #ifdef i386
76 " ,"
77 " {"
78 " 'IOClass' = AppleIntelClock;"
79 " 'IOProviderClass' = IOPlatformDevice;"
80 " 'IONameMatch' = intel-clock;"
81 " }"
82 #endif /* i386 */
83 ")";
84