]>
git.saurik.com Git - apple/xnu.git/blob - iokit/KernelConfigTables.cpp
f64c800afa0bf38452a9a6b536fc34b1b67a1209
2 * Copyright (c) 1998-2000 Apple Computer, Inc. All rights reserved.
4 * @APPLE_LICENSE_HEADER_START@
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.
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
14 * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
15 * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
16 * FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT. Please see the
17 * License for the specific language governing rights and limitations
20 * @APPLE_LICENSE_HEADER_END@
24 /* This list is used in IOStartIOKit.cpp to declare fake kmod_info
25 * structs for kext dependencies that are built into the kernel.
26 * See the SystemKEXT project for fuller information on these
27 * fake or pseudo-kexts, including their compatible versions.
29 const char * gIOKernelKmods
=
31 'com.apple.kernel' = '1.3.3';
32 'com.apple.kernel.bsd' = '1.0.3';
33 'com.apple.kernel.iokit' = '1.0.3';
34 'com.apple.kernel.libkern' = '1.0.3';
35 'com.apple.kernel.mach' = '1.0.3';
36 'com.apple.iokit.IOADBFamily' = '1.0.3';
37 'com.apple.iokit.IOCDStorageFamily' = '1.0.3';
38 'com.apple.iokit.IODVDStorageFamily' = '1.0.3';
39 'com.apple.iokit.IOGraphicsFamily' = '1.0.3';
40 'com.apple.iokit.IOHIDSystem' = '1.0.3';
41 'com.apple.iokit.IONDRVSupport' = '1.0.3';
42 'com.apple.iokit.IONetworkingFamily' = '1.0.3';
43 'com.apple.iokit.IOPCIFamily' = '1.0.3';
44 'com.apple.iokit.IOStorageFamily' = '1.0.3';
45 'com.apple.iokit.IOSystemManagementFamily' = '1.0.3';
49 const char * gIOKernelConfigTables
=
52 'IOClass' = IOPanicPlatform;
53 'IOProviderClass' = IOPlatformExpertDevice;
54 'IOProbeScore' = '-1';
57 'IOClass' = IOHIDSystem;
58 'IOProviderClass' = IOResources;
59 'IOResourceMatch' = IOKit;
60 'IOMatchCategory' = IOHID;
63 'IOClass' = IOBSDConsole;
64 'IOProviderClass' = IOResources;
65 'IOResourceMatch' = IOBSD;
66 'IOMatchCategory' = IOBSDConsole;
69 'IOClass' = IODisplayWrangler;
70 'IOProviderClass' = IOResources;
71 'IOResourceMatch' = IOKit;
72 'IOMatchCategory' = IOGraphics;
75 'IOClass' = IOApplePartitionScheme;
76 'IOProviderClass' = IOMedia;
77 'IOProbeScore' = 2000:32;
78 'IOMatchCategory' = IOStorage;
83 'Content Mask' = 'Apple_partition_scheme';
86 'IOClass' = IOApplePartitionScheme;
87 'IOProviderClass' = IOMedia;
88 'IOProbeScore' = 2000:32;
89 'IOMatchCategory' = IOStorage;
92 'Content Hint' = 'CD_ROM_Mode_1';
94 'Content Mask' = 'Apple_partition_scheme';
97 'IOClass' = IOApplePartitionScheme;
98 'IOProviderClass' = IOMedia;
99 'IOProbeScore' = 2000:32;
100 'IOMatchCategory' = IOStorage;
103 'Content Hint' = 'CD_ROM_Mode_2_Form_1';
105 'Content Mask' = 'Apple_partition_scheme';
108 'IOClass' = IONeXTPartitionScheme;
109 'IOProviderClass' = IOMedia;
110 'IOProbeScore' = 1000:32;
111 'IOMatchCategory' = IOStorage;
116 'Content Mask' = 'NeXT_partition_scheme';
119 '4.4BSD' = 'Apple_UFS';
120 '4.1BSD' = 'Unknown';
121 '4.2BSD' = 'Unknown';
122 '4.4LFS' = 'Unknown';
126 'IOClass' = IONeXTPartitionScheme;
127 'IOProviderClass' = IOMedia;
128 'IOProbeScore' = 1000:32;
129 'IOMatchCategory' = IOStorage;
132 'Content Hint' = 'CD_ROM_Mode_1';
134 'Content Mask' = 'NeXT_partition_scheme';
137 '4.4BSD' = 'Apple_UFS';
138 '4.1BSD' = 'Unknown';
139 '4.2BSD' = 'Unknown';
140 '4.4LFS' = 'Unknown';
144 'IOClass' = IONeXTPartitionScheme;
145 'IOProviderClass' = IOMedia;
146 'IOProbeScore' = 1000:32;
147 'IOMatchCategory' = IOStorage;
150 'Content Hint' = 'Apple_Rhapsody_UFS';
152 'Content Mask' = 'NeXT_partition_scheme';
155 '4.4BSD' = 'Apple_UFS';
156 '4.1BSD' = 'Unknown';
157 '4.2BSD' = 'Unknown';
158 '4.4LFS' = 'Unknown';
162 'IOClass' = IOFDiskPartitionScheme;
163 'IOProviderClass' = IOMedia;
164 'IOProbeScore' = 3000:32;
165 'IOMatchCategory' = IOStorage;
170 'Content Mask' = 'FDisk_partition_scheme';
173 '0x01' = 'DOS_FAT_12';
174 '0x04' = 'DOS_FAT_16_S';
175 '0x05' = 'DOS_Extended';
176 '0x06' = 'DOS_FAT_16';
177 '0x07' = 'Windows_NTFS';
178 '0x0A' = 'Boot_Manager';
179 '0x0B' = 'DOS_FAT_32';
180 '0x0C' = 'Windows_FAT_32';
181 '0x0E' = 'Windows_FAT_16';
182 '0x0F' = 'Windows_Extended';
183 '0x11' = 'DOS_FAT_12_Hidden';
184 '0x14' = 'DOS_FAT_16_S_Hidden';
185 '0x16' = 'DOS_FAT_16_Hidden';
186 '0x17' = 'Windows_NTFS_Hidden';
187 '0x1B' = 'DOS_FAT_32_Hidden';
188 '0x1C' = 'Windows_FAT_32_Hidden';
189 '0x1E' = 'Windows_FAT_16_Hidden';
191 '0x82' = 'Linux_Swap';
192 '0x83' = 'Linux_Ext2FS';
193 '0x84' = 'Hibernation';
194 '0x85' = 'Linux_Extended';
195 '0x86' = 'Windows_FAT_16_FT';
196 '0x87' = 'Windows_NTFS_FT';
200 '0xA8' = 'Apple_UFS';
202 '0xAB' = 'Apple_Boot';
203 '0xAF' = 'Apple_HFS';
205 '0xB8' = 'BSDI_Swap';
206 '0xC6' = 'Windows_FAT_16_FT_Corrupt';
207 '0xC7' = 'Windows_NTFS_FT_Corrupt';
209 '0xF2' = 'DOS_Secondary';
210 '0xFD' = 'Linux_RAID';
214 'IOClass' = IOCDPartitionScheme;
215 'IOProviderClass' = IOCDMedia;
216 'IOMatchCategory' = IOStorage;
217 'Content Mask' = 'CD_partition_scheme';
221 '0x02' = 'CD_ROM_Mode_1';
222 '0x03' = 'CD_ROM_Mode_2';
223 '0x04' = 'CD_ROM_Mode_2_Form_1';
224 '0x05' = 'CD_ROM_Mode_2_Form_2';
228 'IOClass' = IOMediaBSDClient;
229 'IOProviderClass' = IOResources;
230 'IOMatchCategory' = IOMediaBSDClient;
231 'IOResourceMatch' = IOBSD;
234 'IOClass' = AppleDDCDisplay;
235 'IOProviderClass' = IODisplayConnect;
236 'IOProbeScore' = 2000:32;
237 appleDDC = <00000082 00ff2140 0000008c 00043147 "
238 "00000096 00053140 00000098 0003314c "
239 "0000009a 0002314f 0000009c 00ff3159 "
240 "000000aa 000d494f 000000b4 0001fffc "
241 "000000b6 00004540 000000b8 000f454c "
242 "000000ba 000e454f 000000bc 00ff4559 "
243 "000000be 000b6140 000000c8 000a614a "
244 "000000cc 0009614f 000000d0 00ff6159 "
245 "000000d2 00ff614f 000000dc 0017ffc4 "
246 "000000fa 00ff814f 00000104 00ff8180 "
247 "00000106 0008818f 0000010c 00ff8199 "
248 "00000118 00ffa940 0000011a 00ffa945 "
249 "0000011c 00ffa94a 0000011e 00ffa94f "
250 "00000120 00ffa954 00000121 00ffa959 "
251 "00000128 00ffc140 0000012a 00ffc14f "
252 "0000012c 00ffc940 0000012e 00ffc94f "
253 "00000130 00ffd140 00000132 00ffd14f "
254 "000001fe 00ffd1c0 00000208 00ffd1cc>;
255 overrides = ( { ID = 0x06105203:32;
256 additions = <0000010c>; },
257 { ID = 0x0610049c:32;
258 deletions = <000000b6>; },
259 { ID = 0x0610059c:32;
260 deletions = <000000b6>; },
261 { ID = 0x0610069c:32;
262 deletions = <000000b6>; },
263 { ID = 0x0610079c:32;
264 deletions = <000000b6>; },
265 { ID = 0x0610089c:32;
266 deletions = <000000b6>; },
267 { ID = 0x06101092:32;
268 additions = <00000121>; },
269 { ID = 0x0610029d:32;
270 additions = <0000009e>; } );
273 'IOClass' = AppleG3SeriesDisplay;
274 'IOProviderClass' = IODisplayConnect;
275 'IOProbeScore' = 1500:32;
278 'IOClass' = AppleSenseDisplay;
279 'IOProviderClass' = IODisplayConnect;
280 'IOProbeScore' = 1000:32;
283 'IOClass' = AppleNoSenseDisplay;
284 'IOProviderClass' = IODisplayConnect;
285 'IOProbeScore' = 500:32;
288 'IOClass' = IOBlockStorageDriver;
289 'IOProviderClass' = IOBlockStorageDevice;
292 'device-type' = 'Generic';
296 'IOClass' = IOSCSIHDDrive;
297 'IOProviderClass' = IOSCSIDevice;
300 'IOClass' = IOCDBlockStorageDriver;
301 'IOProviderClass' = IOCDBlockStorageDevice;
304 'device-type' = 'CDROM';
308 'IOClass' = IOSCSICDDrive;
309 'IOProviderClass' = IOSCSIDevice;
312 'IOClass' = IODVDBlockStorageDriver;
313 'IOProviderClass' = IODVDBlockStorageDevice;
316 'device-type' = 'DVD';
320 'IOClass' = IOSCSIDVDDrive;
321 'IOProviderClass' = IOSCSIDevice;
324 #if defined(__i386__)
327 'IOClass' = IOATAHDDrive;
328 'IOProviderClass' = IOATADevice;
331 'IOClass' = IOATAPIHDDrive;
332 'IOProviderClass' = IOATADevice;
335 'IOClass' = IOATAPICDDrive;
336 'IOProviderClass' = IOATADevice;
339 'IOClass' = IOATAPIDVDDrive;
340 'IOProviderClass' = IOATADevice;
346 'IOClass' = IONetworkStack;
347 'IOProviderClass' = IOResources;
348 'IOResourceMatch' = IOBSD;
349 'IOMatchCategory' = IONetworkStack;
355 'IOClass' = AppleCPU;
356 'IOProviderClass' = IOPlatformDevice;
357 'IONameMatch' = 'cpu';
358 'IOProbeScore' = 100:32;
364 'IOClass' = PowerSurgePE;
365 'IOProviderClass' = IOPlatformExpertDevice;
366 'IONameMatch' = ('AAPL,7300', 'AAPL,7500', 'AAPL,8500', 'AAPL,9500');
367 'IOProbeScore' = 10000:32;
376 'IOClass' = PowerStarPE;
377 'IOProviderClass' = IOPlatformExpertDevice;
378 'IONameMatch' = ('AAPL,3400/2400', 'AAPL,3500');
379 'IOProbeScore' = 10000:32;
385 'IOClass' = GossamerPE;
386 'IOProviderClass' = IOPlatformExpertDevice;
387 'IONameMatch' = ('AAPL,Gossamer', 'AAPL,PowerMac G3', 'AAPL,PowerBook1998', 'iMac,1', 'PowerMac1,1', 'PowerMac1,2', 'PowerBook1,1');
388 'IOProbeScore' = 10000:32;
391 'IOClass' = GossamerCPU;
392 'IOProviderClass' = IOPlatformDevice;
393 'IONameMatch' = 'cpu';
394 'IOProbeScore' = 1000:32;
400 'IOClass' = PowerExpressPE;
401 'IOProviderClass' = IOPlatformExpertDevice;
402 'IONameMatch' = 'AAPL,9700';
403 'IOProbeScore' = 10000:32;
404 'senses' = <00000000 00000000 00000000 00000000 "
405 "00000000 00000000 00000000 00000000 "
406 "00000000 00000000 00000000 00000000 "
407 "00000000 00000000 00000000 00000000 "
408 "00000000 00000000 00000000 00000000 "
409 "00000000 00000000 00000000 00000000 "
410 "00000000 00000000 00000001 00000001 "
411 "00000001 00000001 00000001 00000001 "
412 "00000001 00000001 00000001 00000001 "
419 'IOClass' = AppleGracklePCI;
420 'IOProviderClass' = IOPlatformDevice;
421 'IONameMatch' = ('grackle', 'MOT,PPC106');
424 'IOClass' = AppleMacRiscPCI;
425 'IOProviderClass' = IOPlatformDevice;
426 'IONameMatch' = ('bandit', 'uni-north');
429 'IOClass' = AppleMacRiscAGP;
430 'IOProviderClass' = IOPlatformDevice;
431 'IONameMatch' = 'uni-north';
432 'IOProbeScore' = 1000:32;
436 'IOClass' = AppleMacRiscVCI;
437 'IOProviderClass' = IOPlatformDevice;
438 'IONameMatch' = chaos;
441 'IOClass' = IOPCI2PCIBridge;
442 'IOProviderClass' = IOPCIDevice;
443 'IONameMatch' = 'pci-bridge';
446 'IOClass' = IOPCI2PCIBridge;
447 'IOProviderClass' = IOPCIDevice;
448 'IOPCIMatch' = '0x00261011';
454 'IOClass' = GrandCentral;
455 'IOProviderClass' = IOPCIDevice;
457 'IOProbeScore' = 2000:32;
464 'IOProviderClass' = IOPCIDevice;
465 'IONameMatch' = ('ohare', 'pci106b,7');
468 'IOClass' = AppleNMI;
469 'IOProviderClass' = AppleMacIODevice;
470 'IONameMatch' = 'programmer-switch';
473 'IOClass' = AppleCuda;
474 'IOProviderClass' = AppleVIADevice;
475 'IONameMatch' = cuda;
479 'IOClass' = ApplePMU;
480 'IOProviderClass' = AppleVIADevice;
485 'IOClass' = IOPMUADBController;
486 'IOProviderClass' = AppleMacIODevice;
490 'IOClass' = AppleNVRAM;
491 'IOProviderClass' = AppleMacIODevice;
492 'IONameMatch' = nvram;
495 'IOClass' = IOADBBus;
496 'IOProviderClass' = IOADBController;
499 'IOClass' = AppleADBKeyboard;
500 'IOProviderClass' = IOADBDevice;
504 'IOClass' = AppleADBButtons;
505 'IOProviderClass' = IOADBDevice;
509 'IOClass' = AppleADBMouseType1;
510 'IOProviderClass' = IOADBDevice;
512 'IOProbeScore' = 5000:32;
515 'IOClass' = AppleADBMouseType2;
516 'IOProviderClass' = IOADBDevice;
518 'IOProbeScore' = 10000:32;
521 'IOClass' = AppleADBMouseType4;
522 'IOProviderClass' = IOADBDevice;
523 'ADB Match' = '3-01';
524 'IOProbeScore' = 20000:32;
527 "74706164000700000000000100010000"
528 "00010000000020000005000123c60001"
529 "00000002fe3c0003800000055719000b"
530 "000000082ebf001a0000000a3ff1002e"
531 "0000000050000005000123c600010000"
532 "0002de8a000410000005682c000fe000"
533 "00081ebf00226000000a1f680037e000"
534 "000080000007000123c6000100000001"
535 "c378000280000002ac150004a0000004"
536 "5402000dc00000061285001bb0000007"
537 "e68b002d1000000a44eb004a90000000"
538 "b000000900012429000100000001b37c"
539 "0002800000025e5f000580000003bf2c"
540 "000f00000004bc350017a00000061e38"
541 "0027b00000075d4500385000000899a2"
542 "004bb000000a91050066b0000000e000"
543 "000a00011855000130000001b2280002"
544 "f000000253690006a00000036f4a0010"
545 "d00000046aab001f100000054aab002d"
546 "500000062555003f400000071aab0051"
547 "c00000089aab00663000000a8aab007d"
548 "700000010000000b0001185500013000"
549 "0001b228000310000002536900071000"
550 "00032f4a001180000003acfb001c8800"
551 "00043aab0028e0000004caab00384000"
552 "000555550048f00000063aab005c9000"
553 "0007aaab00731000000a3aab008b7000"
557 'IOClass' = IONDRVFramebuffer;
558 'IOProviderClass' = IOPCIDevice;
559 'IONameMatch' = display;
560 'IOProbeScore' = 20000:32;
561 'IOMatchCategory' = IOFramebuffer;
564 'IOClass' = IONDRVFramebuffer;
565 'IOProviderClass' = IOPlatformDevice;
566 'IONameMatch' = display;
567 'IOProbeScore' = 20000:32;
568 'IOMatchCategory' = IOFramebuffer;
571 'IOClass' = IOBootFramebuffer;
572 'IOProviderClass' = IOPCIDevice;
573 'IONameMatch' = display;
574 'IOMatchCategory' = IOFramebuffer;
577 'IOClass' = AppleADBDisplay;
578 'IOProbeScore' = 1000:32;
579 'IOProviderClass' = IOADBDevice;
580 'ADB Match' = '*-c0';
581 modes850 = <000000dc 0000008c 0000009a 0000009e "
582 "000000aa 000000d2 000000d0 000000fa "
583 "00000106 0000010c 00000118 0000011a "
585 modes750 = <000000dc 0000008c 000000aa 000000d2 "
586 "000000fa 00000106 00000118>;
587 modesStudio = <000000d2 0000008c 000000aa>;
588 adb2Modes = modes750;
589 adb3Modes = modes850;
590 adb4Modes = modes850;
591 adb5Modes = modes750;
592 adb6Modes = modesStudio;
595 'IOClass' = BMacEnet;
596 'IOProviderClass' = AppleMacIODevice;
597 'IONameMatch' = ('bmac', 'bmac+');
603 'IOClass' = Sym8xxSCSIController;
604 'IOProviderClass' = IOPCIDevice;
605 'IONameMatch' = ('apple53C8xx', 'Apple53C875Card', 'ATTO,ExpressPCIProLVD', 'ATTO,ExpressPCIProUL2D', 'ATTO,ExpressPCIProUL3D');
614 'IOClass' = MaceEnet;
615 'IOProviderClass' = AppleMacIODevice;
616 'IONameMatch' = mace;
619 'IOClass' = Intel82557;
620 'IOProviderClass' = IOPCIDevice;
621 'IOPCIMatch' = '0x12298086';
622 'IODefaultMedium' = '00000020';
623 'Flow Control' = .true.;
631 'IOProviderClass' = IOKernelDebugger;
632 'IOMatchCategory' = IOKDP;
633 'IOEnableKDP' = .true.;
636 'IOClass' = ('BMacEnet', 'UniNEnet', 'MaceEnet');
648 'IOClass' = AppleI386PlatformExpert;
649 'IOProviderClass' = IOPlatformExpertDevice;
651 /* set of dicts to make into nubs */
654 { IOName = intel-pic; },
655 { IOName = intel-clock; },
656 { IOName = ps2controller; },
658 { IOName = display; 'AAPL,boot-display' = Yes; }
662 'IOClass' = AppleI386CPU;
663 'IOProviderClass' = IOPlatformDevice;
665 'IOProbeScore' = 100:32;
668 'IOClass' = AppleIntelClassicPIC;
669 'IOProviderClass' = IOPlatformDevice;
670 'IONameMatch' = intel-pic;
673 'IOClass' = AppleIntelClock;
674 'IOProviderClass' = IOPlatformDevice;
675 'IONameMatch' = intel-clock;
678 'IOClass' = AppleI386PCI;
679 'IOProviderClass' = IOPlatformDevice;
683 'IOClass' = ApplePS2Controller;
684 'IOProviderClass' = IOPlatformDevice;
685 'IONameMatch' = ps2controller;
688 'IOClass' = ApplePS2Keyboard;
689 'IOProviderClass' = ApplePS2KeyboardDevice;
692 'IOClass' = ApplePS2Mouse;
693 'IOProviderClass' = ApplePS2MouseDevice;
696 'IOClass' = IOBootFramebuffer;
697 'IOProviderClass' = IOPlatformDevice;
698 'IONameMatch' = display;
701 'IOClass' = AppleATAPIIX;
702 'IOProviderClass' = IOPCIDevice;
703 'IOPCIMatch' = '0x12308086 0x70108086 0x71118086 0x24118086 0x24218086 0x244a8086 0x244b8086';
704 'IOMatchCategory' = AppleATAPIIXChannel0;
707 'IOClass' = AppleATAPIIX;
708 'IOProviderClass' = IOPCIDevice;
709 'IOPCIMatch' = '0x12308086 0x70108086 0x71118086 0x24118086 0x24218086 0x244a8086 0x244b8086';
710 'IOMatchCategory' = AppleATAPIIXChannel1;
713 'IOClass' = IOPCI2PCIBridge;
714 'IOProviderClass' = IOPCIDevice;
715 'IOPCIClassMatch' = '0x06040000&0xffff0000';
718 'IOClass' = Intel82557;
719 'IOProviderClass' = IOPCIDevice;
720 'IOPCIMatch' = '0x12298086';
721 'IODefaultMedium' = '00000020';
722 'Flow Control' = .true.;
727 'IOProviderClass' = IOKernelDebugger;
728 'IOMatchCategory' = IOKDP;
729 'IOEnableKDP' = .true.;
732 'IOClass' = ('Intel82557', 'DEC21x4');