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