]>
Commit | Line | Data |
---|---|---|
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. | |
29 | * See the SystemKEXT project for fuller information on these | |
30 | * fake or pseudo-kexts, including their compatible versions. | |
31 | */ | |
32 | const char * gIOKernelKmods = | |
33 | "{ | |
43866e37 A |
34 | 'com.apple.kernel' = '6.8'; |
35 | 'com.apple.kernel.bsd' = '6.8'; | |
36 | 'com.apple.kernel.iokit' = '6.8'; | |
37 | 'com.apple.kernel.libkern' = '6.8'; | |
38 | 'com.apple.kernel.mach' = '6.8'; | |
39 | 'com.apple.iokit.IOADBFamily' = '6.8'; | |
40 | 'com.apple.iokit.IONVRAMFamily' = '6.8'; | |
41 | 'com.apple.iokit.IOSystemManagementFamily' = '6.8'; | |
42 | 'com.apple.iokit.ApplePlatformFamily' = '6.8'; | |
43 | 'com.apple.driver.AppleNMI' = '6.8'; | |
1c79356b A |
44 | }"; |
45 | ||
46 | ||
47 | const char * gIOKernelConfigTables = | |
48 | "( | |
49 | { | |
50 | 'IOClass' = IOPanicPlatform; | |
51 | 'IOProviderClass' = IOPlatformExpertDevice; | |
52 | 'IOProbeScore' = '-1'; | |
1c79356b A |
53 | } |
54 | " | |
55 | #ifdef PPC | |
56 | " , | |
57 | { | |
58 | 'IOClass' = AppleCPU; | |
59 | 'IOProviderClass' = IOPlatformDevice; | |
60 | 'IONameMatch' = 'cpu'; | |
61 | 'IOProbeScore' = 100:32; | |
62 | }, | |
1c79356b A |
63 | { |
64 | 'IOClass' = AppleNMI; | |
65 | 'IOProviderClass' = AppleMacIODevice; | |
66 | 'IONameMatch' = 'programmer-switch'; | |
67 | }, | |
1c79356b A |
68 | { |
69 | 'IOClass' = AppleNVRAM; | |
70 | 'IOProviderClass' = AppleMacIODevice; | |
71 | 'IONameMatch' = nvram; | |
9bccf70c A |
72 | }, |
73 | { | |
74 | 'IOClass' = IOPMUADBController; | |
75 | 'IOProviderClass' = AppleMacIODevice; | |
76 | 'IONameMatch' = adb; | |
1c79356b A |
77 | } |
78 | " | |
79 | #endif /* PPC */ | |
80 | #ifdef i386 | |
81 | " , | |
82 | { | |
83 | 'IOClass' = AppleI386PlatformExpert; | |
84 | 'IOProviderClass' = IOPlatformExpertDevice; | |
85 | 'top-level' = " | |
86 | /* set of dicts to make into nubs */ | |
87 | "[ | |
88 | { IOName = cpu; }, | |
89 | { IOName = intel-pic; }, | |
90 | { IOName = intel-clock; }, | |
91 | { IOName = ps2controller; }, | |
92 | { IOName = pci; }, | |
93 | { IOName = display; 'AAPL,boot-display' = Yes; } | |
94 | ]; | |
95 | }, | |
96 | { | |
97 | 'IOClass' = AppleI386CPU; | |
98 | 'IOProviderClass' = IOPlatformDevice; | |
99 | 'IONameMatch' = cpu; | |
100 | 'IOProbeScore' = 100:32; | |
101 | }, | |
102 | { | |
103 | 'IOClass' = AppleIntelClassicPIC; | |
104 | 'IOProviderClass' = IOPlatformDevice; | |
105 | 'IONameMatch' = intel-pic; | |
106 | }, | |
107 | { | |
108 | 'IOClass' = AppleIntelClock; | |
109 | 'IOProviderClass' = IOPlatformDevice; | |
110 | 'IONameMatch' = intel-clock; | |
1c79356b A |
111 | } |
112 | " | |
113 | #endif /* i386 */ | |
114 | ")"; | |
0b4e3aa0 | 115 |