]>
Commit | Line | Data |
---|---|---|
1c79356b A |
1 | /* |
2 | * Copyright (c) 1998-2000 Apple Computer, Inc. All rights reserved. | |
3 | * | |
2d21ac55 | 4 | * @APPLE_OSREFERENCE_LICENSE_HEADER_START@ |
1c79356b | 5 | * |
2d21ac55 A |
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. | |
8f6c56a5 | 14 | * |
2d21ac55 A |
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 | |
8f6c56a5 A |
20 | * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, |
21 | * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, | |
2d21ac55 A |
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. | |
8f6c56a5 | 25 | * |
2d21ac55 A |
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. | |
1c79356b A |
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. | |
91447636 | 38 | * Empty version strings get replaced with osrelease at runtime. |
1c79356b A |
39 | */ |
40 | const char * gIOKernelKmods = | |
55e303ae | 41 | "{" |
91447636 A |
42 | "'com.apple.kernel' = '';" |
43 | "'com.apple.kpi.bsd' = '';" | |
2d21ac55 | 44 | "'com.apple.kpi.dsep' = '';" |
91447636 A |
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';" | |
55e303ae | 58 | "}"; |
1c79356b A |
59 | |
60 | ||
61 | const char * gIOKernelConfigTables = | |
55e303ae A |
62 | "(" |
63 | " {" | |
64 | " 'IOClass' = IOPanicPlatform;" | |
65 | " 'IOProviderClass' = IOPlatformExpertDevice;" | |
66 | " 'IOProbeScore' = '-1';" | |
67 | " }" | |
1c79356b | 68 | #ifdef PPC |
55e303ae A |
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 | " }" | |
1c79356b | 86 | #endif /* PPC */ |
1c79356b | 87 | ")"; |
0b4e3aa0 | 88 | |
2d21ac55 | 89 |