]> git.saurik.com Git - apple/xnu.git/blame - iokit/KernelConfigTables.cpp
xnu-517.tar.gz
[apple/xnu.git] / iokit / KernelConfigTables.cpp
CommitLineData
1c79356b
A
1/*
2 * Copyright (c) 1998-2000 Apple Computer, Inc. All rights reserved.
3 *
4 * @APPLE_LICENSE_HEADER_START@
5 *
43866e37 6 * Copyright (c) 1999-2003 Apple Computer, Inc. All Rights Reserved.
1c79356b 7 *
43866e37
A
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
1c79356b
A
17 * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
18 * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
43866e37
A
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.
1c79356b
A
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.
1c79356b
A
29 */
30const char * gIOKernelKmods =
55e303ae
A
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"}";
1c79356b
A
47
48
49const char * gIOKernelConfigTables =
55e303ae
A
50"("
51" {"
52" 'IOClass' = IOPanicPlatform;"
53" 'IOProviderClass' = IOPlatformExpertDevice;"
54" 'IOProbeScore' = '-1';"
55" }"
1c79356b 56#ifdef PPC
55e303ae
A
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" }"
1c79356b
A
74#endif /* PPC */
75#ifdef i386
55e303ae
A
76" ,"
77" {"
78" 'IOClass' = AppleIntelClock;"
79" 'IOProviderClass' = IOPlatformDevice;"
80" 'IONameMatch' = intel-clock;"
81" }"
1c79356b
A
82#endif /* i386 */
83")";
0b4e3aa0 84