Chameleon

Chameleon Commit Details

Date:2011-06-26 01:34:55 (12 years 10 months ago)
Author:Evan Lojewski
Commit:1079
Parents: 1078
Message:began implimenting Bios disk changes. Code taken from biosfn.c
Changes:
D/branches/rewrite/i386/libsaio/memvendors.h
M/branches/rewrite/i386/modules/BiosDisk/include/Disk.hpp
M/branches/rewrite/i386/libsaio/biosfn.c
M/branches/rewrite/i386/modules/BiosDisk/Main.cpp
M/branches/rewrite/i386/libsaio/saio_types.h
M/branches/rewrite/i386/modules/BiosDisk/BiosDisk.cpp
M/branches/rewrite/i386/libsaio/saio_internal.h
M/branches/rewrite/i386/modules/BiosDisk/include/BiosDisk.hpp

File differences

branches/rewrite/i386/libsaio/memvendors.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
/*
* Memory module vendors as published by JEDEC 106AA
*
* Special thanks to indi, memtest and theking for the table
*
*/
#ifndef __MEMVEN_H
#define __MEMVEN_H
typedef struct _vidTag {
uint8_t bank;
uint8_t code;
const char* name;
} VenIdName;
VenIdName vendorMap[] = {
{ 0, 0x01, "AMD"},
{ 0, 0x02, "AMI"},
{ 0, 0x83, "Fairchild"},
{ 0, 0x04, "Fujitsu"},
{ 0, 0x85, "GTE"},
{ 0, 0x86, "Harris"},
{ 0, 0x07, "Hitachi"},
{ 0, 0x08, "Inmos"},
{ 0, 0x89, "Intel"},
{ 0, 0x8a, "I.T.T."},
{ 0, 0x0b, "Intersil"},
{ 0, 0x8c, "Monolithic Memories"},
{ 0, 0x0d, "Mostek"},
{ 0, 0x0e, "Freescale (Motorola)"},
{ 0, 0x8f, "National"},
{ 0, 0x10, "NEC"},
{ 0, 0x91, "RCA"},
{ 0, 0x92, "Raytheon"},
{ 0, 0x13, "Conexant (Rockwell)"},
{ 0, 0x94, "Seeq"},
{ 0, 0x15, "NXP (Philips)"},
{ 0, 0x16, "Synertek"},
{ 0, 0x97, "Texas Instruments"},
{ 0, 0x98, "Toshiba"},
{ 0, 0x19, "Xicor"},
{ 0, 0x1a, "Zilog"},
{ 0, 0x9b, "Eurotechnique"},
{ 0, 0x1c, "Mitsubishi"},
{ 0, 0x9d, "Lucent (AT&T)"},
{ 0, 0x9e, "Exel"},
{ 0, 0x1f, "Atmel"},
{ 0, 0x20, "SGS/Thomson"},
{ 0, 0xa1, "Lattice Semi."},
{ 0, 0xa2, "NCR"},
{ 0, 0x23, "Wafer Scale Integration"},
{ 0, 0xa4, "IBM"},
{ 0, 0x25, "Tristar"},
{ 0, 0x26, "Visic"},
{ 0, 0xa7, "Intl. CMOS Technology"},
{ 0, 0xa8, "SSSI"},
{ 0, 0x29, "MicrochipTechnology"},
{ 0, 0x2a, "Ricoh"},
{ 0, 0xab, "VLSI"},
{ 0, 0x2c, "Micron Technology"},
{ 0, 0xad, "Hynix Semiconductor"},
{ 0, 0xae, "OKI Semiconductor"},
{ 0, 0x2f, "ACTEL"},
{ 0, 0xb0, "Sharp"},
{ 0, 0x31, "Catalyst"},
{ 0, 0x32, "Panasonic"},
{ 0, 0xb3, "IDT"},
{ 0, 0x34, "Cypress"},
{ 0, 0xb5, "DEC"},
{ 0, 0xb6, "LSI Logic"},
{ 0, 0x37, "Zarlink (Plessey)"},
{ 0, 0x38, "UTMC"},
{ 0, 0xb9, "Thinking Machine"},
{ 0, 0xba, "Thomson CSF"},
{ 0, 0x3b, "Integrated CMOS (Vertex)"},
{ 0, 0xbc, "Honeywell"},
{ 0, 0x3d, "Tektronix"},
{ 0, 0x3e, "Sun Microsystems"},
{ 0, 0xbf, "SST"},
{ 0, 0x40, "ProMos/Mosel Vitelic"},
{ 0, 0xc1, "Infineon (Siemens)"},
{ 0, 0xc2, "Macronix"},
{ 0, 0x43, "Xerox"},
{ 0, 0xc4, "Plus Logic"},
{ 0, 0x45, "SanDisk"},
{ 0, 0x46, "Elan Circuit Tech."},
{ 0, 0xc7, "European Silicon Str."},
{ 0, 0xc8, "Apple Computer"},
{ 0, 0x49, "Xilinx"},
{ 0, 0x4a, "Compaq"},
{ 0, 0xcb, "Protocol Engines"},
{ 0, 0x4c, "SCI"},
{ 0, 0xcd, "Seiko Instruments"},
{ 0, 0xce, "Samsung"},
{ 0, 0x4f, "I3 Design System"},
{ 0, 0xd0, "Klic"},
{ 0, 0x51, "Crosspoint Solutions"},
{ 0, 0x52, "Alliance Semiconductor"},
{ 0, 0xd3, "Tandem"},
{ 0, 0x54, "Hewlett-Packard"},
{ 0, 0xd5, "Intg. Silicon Solutions"},
{ 0, 0xd6, "Brooktree"},
{ 0, 0x57, "New Media"},
{ 0, 0x58, "MHS Electronic"},
{ 0, 0xd9, "Performance Semi."},
{ 0, 0xda, "Winbond Electronic"},
{ 0, 0x5b, "Kawasaki Steel"},
{ 0, 0xdc, "Bright Micro"},
{ 0, 0x5d, "TECMAR"},
{ 0, 0x5e, "Exar"},
{ 0, 0xdf, "PCMCIA"},
{ 0, 0xe0, "LG Semi (Goldstar)"},
{ 0, 0x61, "Northern Telecom"},
{ 0, 0x62, "Sanyo"},
{ 0, 0xe3, "Array Microsystems"},
{ 0, 0x64, "Crystal Semiconductor"},
{ 0, 0xe5, "Analog Devices"},
{ 0, 0xe6, "PMC-Sierra"},
{ 0, 0x67, "Asparix"},
{ 0, 0x68, "Convex Computer"},
{ 0, 0xe9, "Quality Semiconductor"},
{ 0, 0xea, "Nimbus Technology"},
{ 0, 0x6b, "Transwitch"},
{ 0, 0xec, "Micronas (ITT Intermetall)"},
{ 0, 0x6d, "Cannon"},
{ 0, 0x6e, "Altera"},
{ 0, 0xef, "NEXCOM"},
{ 0, 0x70, "QUALCOMM"},
{ 0, 0xf1, "Sony"},
{ 0, 0xf2, "Cray Research"},
{ 0, 0x73, "AMS(Austria Micro)"},
{ 0, 0xf4, "Vitesse"},
{ 0, 0x75, "Aster Electronics"},
{ 0, 0x76, "Bay Networks (Synoptic)"},
{ 0, 0xf7, "Zentrum/ZMD"},
{ 0, 0xf8, "TRW"},
{ 0, 0x79, "Thesys"},
{ 0, 0x7a, "Solbourne Computer"},
{ 0, 0xfb, "Allied-Signal"},
{ 0, 0x7c, "Dialog"},
{ 0, 0xfd, "Media Vision"},
{ 0, 0xfe, "Numonyx"},
{ 1, 0x01, "Cirrus Logic"},
{ 1, 0x02, "National Instruments"},
{ 1, 0x83, "ILC Data Device"},
{ 1, 0x04, "Alcatel Mietec"},
{ 1, 0x85, "Micro Linear"},
{ 1, 0x86, "Univ. of NC"},
{ 1, 0x07, "JTAG Technologies"},
{ 1, 0x08, "BAE Systems (Loral)"},
{ 1, 0x89, "Nchip"},
{ 1, 0x8a, "Galileo Tech"},
{ 1, 0x0b, "Bestlink Systems"},
{ 1, 0x8c, "Graychip"},
{ 1, 0x0d, "GENNUM"},
{ 1, 0x0e, "VideoLogic"},
{ 1, 0x8f, "Robert Bosch"},
{ 1, 0x10, "Chip Express"},
{ 1, 0x91, "DATARAM"},
{ 1, 0x92, "United Microelectronics Corp."},
{ 1, 0x13, "TCSI"},
{ 1, 0x94, "Smart Modular"},
{ 1, 0x15, "Hughes Aircraft"},
{ 1, 0x16, "Lanstar Semiconductor"},
{ 1, 0x97, "Qlogic"},
{ 1, 0x98, "Kingston"},
{ 1, 0x19, "Music Semi"},
{ 1, 0x1a, "Ericsson Components"},
{ 1, 0x9b, "SpaSE"},
{ 1, 0x1c, "Eon Silicon Devices"},
{ 1, 0x9d, "Programmable Micro Corp"},
{ 1, 0x9e, "DoD"},
{ 1, 0x1f, "Integ. Memories Tech."},
{ 1, 0x20, "Corollary"},
{ 1, 0xa1, "Dallas Semiconductor"},
{ 1, 0xa2, "Omnivision"},
{ 1, 0x23, "EIV(Switzerland)"},
{ 1, 0xa4, "Novatel Wireless"},
{ 1, 0x25, "Zarlink (Mitel)"},
{ 1, 0x26, "Clearpoint"},
{ 1, 0xa7, "Cabletron"},
{ 1, 0xa8, "STEC (Silicon Tech)"},
{ 1, 0x29, "Vanguard"},
{ 1, 0x2a, "Hagiwara Sys-Com"},
{ 1, 0xab, "Vantis"},
{ 1, 0x2c, "Celestica"},
{ 1, 0xad, "Century"},
{ 1, 0xae, "Hal Computers"},
{ 1, 0x2f, "Rohm Company"},
{ 1, 0xb0, "Juniper Networks"},
{ 1, 0x31, "Libit Signal Processing"},
{ 1, 0x32, "Mushkin Enhanced Memory"},
{ 1, 0xb3, "Tundra Semiconductor"},
{ 1, 0x34, "Adaptec"},
{ 1, 0xb5, "LightSpeed Semi."},
{ 1, 0xb6, "ZSP Corp."},
{ 1, 0x37, "AMIC Technology"},
{ 1, 0x38, "Adobe Systems"},
{ 1, 0xb9, "Dynachip"},
{ 1, 0xba, "PNY Electronics"},
{ 1, 0x3b, "Newport Digital"},
{ 1, 0xbc, "MMC Networks"},
{ 1, 0x3d, "T Square"},
{ 1, 0x3e, "Seiko Epson"},
{ 1, 0xbf, "Broadcom"},
{ 1, 0x40, "Viking Components"},
{ 1, 0xc1, "V3 Semiconductor"},
{ 1, 0xc2, "Flextronics (Orbit Semiconductor)"},
{ 1, 0x43, "Suwa Electronics"},
{ 1, 0xc4, "Transmeta"},
{ 1, 0x45, "Micron CMS"},
{ 1, 0x46, "American Computer & Digital Components"},
{ 1, 0xc7, "Enhance 3000"},
{ 1, 0xc8, "Tower Semiconductor"},
{ 1, 0x49, "CPU Design"},
{ 1, 0x4a, "Price Point"},
{ 1, 0xcb, "Maxim Integrated Product"},
{ 1, 0x4c, "Tellabs"},
{ 1, 0xcd, "Centaur Technology"},
{ 1, 0xce, "Unigen"},
{ 1, 0x4f, "Transcend Information"},
{ 1, 0xd0, "Memory Card Technology"},
{ 1, 0x51, "CKD"},
{ 1, 0x52, "Capital Instruments"},
{ 1, 0xd3, "Aica Kogyo"},
{ 1, 0x54, "Linvex Technology"},
{ 1, 0xd5, "MSC Vertriebs"},
{ 1, 0xd6, "AKM Company"},
{ 1, 0x57, "Dynamem"},
{ 1, 0x58, "NERA ASA"},
{ 1, 0xd9, "GSI Technology"},
{ 1, 0xda, "Dane-Elec (C Memory)"},
{ 1, 0x5b, "Acorn Computers"},
{ 1, 0xdc, "Lara Technology"},
{ 1, 0x5d, "Oak Technology"},
{ 1, 0x5e, "Itec Memory"},
{ 1, 0xdf, "Tanisys Technology"},
{ 1, 0xe0, "Truevision"},
{ 1, 0x61, "Wintec Industries"},
{ 1, 0x62, "Super PC Memory"},
{ 1, 0xe3, "MGV Memory"},
{ 1, 0x64, "Galvantech"},
{ 1, 0xe5, "Gadzoox Networks"},
{ 1, 0xe6, "Multi Dimensional Cons."},
{ 1, 0x67, "GateField"},
{ 1, 0x68, "Integrated Memory System"},
{ 1, 0xe9, "Triscend"},
{ 1, 0xea, "XaQti"},
{ 1, 0x6b, "Goldenram"},
{ 1, 0xec, "Clear Logic"},
{ 1, 0x6d, "Cimaron Communications"},
{ 1, 0x6e, "Nippon Steel Semi. Corp."},
{ 1, 0xef, "Advantage Memory"},
{ 1, 0x70, "AMCC"},
{ 1, 0xf1, "LeCroy"},
{ 1, 0xf2, "Yamaha"},
{ 1, 0x73, "Digital Microwave"},
{ 1, 0xf4, "NetLogic Microsystems"},
{ 1, 0x75, "MIMOS Semiconductor"},
{ 1, 0x76, "Advanced Fibre"},
{ 1, 0xf7, "BF Goodrich Data."},
{ 1, 0xf8, "Epigram"},
{ 1, 0x79, "Acbel Polytech"},
{ 1, 0x7a, "Apacer Technology"},
{ 1, 0xfb, "Admor Memory"},
{ 1, 0x7c, "FOXCONN"},
{ 1, 0xfd, "Quadratics Superconductor"},
{ 1, 0xfe, "3COM"},
{ 2, 0x01, "Camintonn"},
{ 2, 0x02, "ISOA"},
{ 2, 0x83, "Agate Semiconductor"},
{ 2, 0x04, "ADMtek"},
{ 2, 0x85, "HYPERTEC"},
{ 2, 0x86, "Adhoc Technologies"},
{ 2, 0x07, "MOSAID Technologies"},
{ 2, 0x08, "Ardent Technologies"},
{ 2, 0x89, "Switchcore"},
{ 2, 0x8a, "Cisco Systems"},
{ 2, 0x0b, "Allayer Technologies"},
{ 2, 0x8c, "WorkX AG (Wichman)"},
{ 2, 0x0d, "Oasis Semiconductor"},
{ 2, 0x0e, "Novanet Semiconductor"},
{ 2, 0x8f, "E-M Solutions"},
{ 2, 0x10, "Power General"},
{ 2, 0x91, "Advanced Hardware Arch."},
{ 2, 0x92, "Inova Semiconductors"},
{ 2, 0x13, "Telocity"},
{ 2, 0x94, "Delkin Devices"},
{ 2, 0x15, "Symagery Microsystems"},
{ 2, 0x16, "C-Port"},
{ 2, 0x97, "SiberCore Technologies"},
{ 2, 0x98, "Southland Microsystems"},
{ 2, 0x19, "Malleable Technologies"},
{ 2, 0x1a, "Kendin Communications"},
{ 2, 0x9b, "Great Technology Microcomputer"},
{ 2, 0x1c, "Sanmina"},
{ 2, 0x9d, "HADCO"},
{ 2, 0x9e, "Corsair"},
{ 2, 0x1f, "Actrans System"},
{ 2, 0x20, "ALPHA Technologies"},
{ 2, 0xa1, "Silicon Laboratories (Cygnal)"},
{ 2, 0xa2, "Artesyn Technologies"},
{ 2, 0x23, "Align Manufacturing"},
{ 2, 0xa4, "Peregrine Semiconductor"},
{ 2, 0x25, "Chameleon Systems"},
{ 2, 0x26, "Aplus Flash Technology"},
{ 2, 0xa7, "MIPS Technologies"},
{ 2, 0xa8, "Chrysalis ITS"},
{ 2, 0x29, "ADTEC"},
{ 2, 0x2a, "Kentron Technologies"},
{ 2, 0xab, "Win Technologies"},
{ 2, 0x2c, "Tachyon Semiconductor (ASIC)"},
{ 2, 0xad, "Extreme Packet Devices"},
{ 2, 0xae, "RF Micro Devices"},
{ 2, 0x2f, "Siemens AG"},
{ 2, 0xb0, "Sarnoff"},
{ 2, 0x31, "Itautec SA"},
{ 2, 0x32, "Radiata"},
{ 2, 0xb3, "Benchmark Elect. (AVEX)"},
{ 2, 0x34, "Legend"},
{ 2, 0xb5, "SpecTek"},
{ 2, 0xb6, "Hi/fn"},
{ 2, 0x37, "Enikia"},
{ 2, 0x38, "SwitchOn Networks"},
{ 2, 0xb9, "AANetcom"},
{ 2, 0xba, "Micro Memory Bank"},
{ 2, 0x3b, "ESS Technology"},
{ 2, 0xbc, "Virata"},
{ 2, 0x3d, "Excess Bandwidth"},
{ 2, 0x3e, "West Bay Semiconductor"},
{ 2, 0xbf, "DSP Group"},
{ 2, 0x40, "Newport Communications"},
{ 2, 0xc1, "Chip2Chip"},
{ 2, 0xc2, "Phobos"},
{ 2, 0x43, "Intellitech"},
{ 2, 0xc4, "Nordic VLSI ASA"},
{ 2, 0x45, "Ishoni Networks"},
{ 2, 0x46, "Silicon Spice"},
{ 2, 0xc7, "Alchemy Semiconductor"},
{ 2, 0xc8, "Agilent Technologies"},
{ 2, 0x49, "Centillium Communications"},
{ 2, 0x4a, "W.L. Gore"},
{ 2, 0xcb, "HanBit Electronics"},
{ 2, 0x4c, "GlobeSpan"},
{ 2, 0xcd, "Element 14"},
{ 2, 0xce, "Pycon"},
{ 2, 0x4f, "Saifun Semiconductors"},
{ 2, 0xd0, "Sibyte,"},
{ 2, 0x51, "MetaLink Technologies"},
{ 2, 0x52, "Feiya Technology"},
{ 2, 0xd3, "I & C Technology"},
{ 2, 0x54, "Shikatronics"},
{ 2, 0xd5, "Elektrobit"},
{ 2, 0xd6, "Megic"},
{ 2, 0x57, "Com-Tier"},
{ 2, 0x58, "Malaysia Micro Solutions"},
{ 2, 0xd9, "Hyperchip"},
{ 2, 0xda, "Gemstone Communications"},
{ 2, 0x5b, "Anadigm (Anadyne)"},
{ 2, 0xdc, "3ParData"},
{ 2, 0x5d, "Mellanox Technologies"},
{ 2, 0x5e, "Tenx Technologies"},
{ 2, 0xdf, "Helix AG"},
{ 2, 0xe0, "Domosys"},
{ 2, 0x61, "Skyup Technology"},
{ 2, 0x62, "HiNT"},
{ 2, 0xe3, "Chiaro"},
{ 2, 0x64, "MDT Technologies"},
{ 2, 0xe5, "Exbit Technology A/S"},
{ 2, 0xe6, "Integrated Technology Express"},
{ 2, 0x67, "AVED Memory"},
{ 2, 0x68, "Legerity"},
{ 2, 0xe9, "Jasmine Networks"},
{ 2, 0xea, "Caspian Networks"},
{ 2, 0x6b, "nCUBE"},
{ 2, 0xec, "Silicon Access Networks"},
{ 2, 0x6d, "FDK"},
{ 2, 0x6e, "High Bandwidth Access"},
{ 2, 0xef, "MultiLink Technology"},
{ 2, 0x70, "BRECIS"},
{ 2, 0xf1, "World Wide Packets"},
{ 2, 0xf2, "APW"},
{ 2, 0x73, "Chicory Systems"},
{ 2, 0xf4, "Xstream Logic"},
{ 2, 0x75, "Fast-Chip"},
{ 2, 0x76, "Zucotto Wireless"},
{ 2, 0xf7, "Realchip"},
{ 2, 0xf8, "Galaxy Power"},
{ 2, 0x79, "eSilicon"},
{ 2, 0x7a, "Morphics Technology"},
{ 2, 0xfb, "Accelerant Networks"},
{ 2, 0x7c, "Silicon Wave"},
{ 2, 0xfd, "SandCraft"},
{ 2, 0xfe, "Elpida"},
{ 3, 0x01, "Solectron"},
{ 3, 0x02, "Optosys Technologies"},
{ 3, 0x83, "Buffalo (Formerly Melco)"},
{ 3, 0x04, "TriMedia Technologies"},
{ 3, 0x85, "Cyan Technologies"},
{ 3, 0x86, "Global Locate"},
{ 3, 0x07, "Optillion"},
{ 3, 0x08, "Terago Communications"},
{ 3, 0x89, "Ikanos Communications"},
{ 3, 0x8a, "Preton Technology"},
{ 3, 0x0b, "Nanya Technology"},
{ 3, 0x8c, "Elite Flash Storage"},
{ 3, 0x0d, "Mysticom"},
{ 3, 0x0e, "LightSand Communications"},
{ 3, 0x8f, "ATI Technologies"},
{ 3, 0x10, "Agere Systems"},
{ 3, 0x91, "NeoMagic"},
{ 3, 0x92, "AuroraNetics"},
{ 3, 0x13, "Geil"},
{ 3, 0x94, "Mushkin"},
{ 3, 0x15, "Tioga Technologies"},
{ 3, 0x16, "Netlist"},
{ 3, 0x97, "TeraLogic"},
{ 3, 0x98, "Cicada Semiconductor"},
{ 3, 0x19, "Centon Electronics"},
{ 3, 0x1a, "Tyco Electronics"},
{ 3, 0x9b, "Magis Works"},
{ 3, 0x1c, "Zettacom"},
{ 3, 0x9d, "Cogency Semiconductor"},
{ 3, 0x9e, "Chipcon AS"},
{ 3, 0x1f, "Aspex Technology"},
{ 3, 0x20, "F5 Networks"},
{ 3, 0xa1, "Programmable Silicon Solutions"},
{ 3, 0xa2, "ChipWrights"},
{ 3, 0x23, "Acorn Networks"},
{ 3, 0xa4, "Quicklogic"},
{ 3, 0x25, "Kingmax Semiconductor"},
{ 3, 0x26, "BOPS"},
{ 3, 0xa7, "Flasys"},
{ 3, 0xa8, "BitBlitz Communications"},
{ 3, 0x29, "eMemory Technology"},
{ 3, 0x2a, "Procket Networks"},
{ 3, 0xab, "Purple Ray"},
{ 3, 0x2c, "Trebia Networks"},
{ 3, 0xad, "Delta Electronics"},
{ 3, 0xae, "Onex Communications"},
{ 3, 0x2f, "Ample Communications"},
{ 3, 0xb0, "Memory Experts Intl"},
{ 3, 0x31, "Astute Networks"},
{ 3, 0x32, "Azanda Network Devices"},
{ 3, 0xb3, "Dibcom"},
{ 3, 0x34, "Tekmos"},
{ 3, 0xb5, "API NetWorks"},
{ 3, 0xb6, "Bay Microsystems"},
{ 3, 0x37, "Firecron"},
{ 3, 0x38, "Resonext Communications"},
{ 3, 0xb9, "Tachys Technologies"},
{ 3, 0xba, "Equator Technology"},
{ 3, 0x3b, "Concept Computer"},
{ 3, 0xbc, "SILCOM"},
{ 3, 0x3d, "3Dlabs"},
{ 3, 0x3e, "c?t Magazine"},
{ 3, 0xbf, "Sanera Systems"},
{ 3, 0x40, "Silicon Packets"},
{ 3, 0xc1, "Viasystems Group"},
{ 3, 0xc2, "Simtek"},
{ 3, 0x43, "Semicon Devices Singapore"},
{ 3, 0xc4, "Satron Handelsges"},
{ 3, 0x45, "Improv Systems"},
{ 3, 0x46, "INDUSYS"},
{ 3, 0xc7, "Corrent"},
{ 3, 0xc8, "Infrant Technologies"},
{ 3, 0x49, "Ritek Corp"},
{ 3, 0x4a, "empowerTel Networks"},
{ 3, 0xcb, "Hypertec"},
{ 3, 0x4c, "Cavium Networks"},
{ 3, 0xcd, "PLX Technology"},
{ 3, 0xce, "Massana Design"},
{ 3, 0x4f, "Intrinsity"},
{ 3, 0xd0, "Valence Semiconductor"},
{ 3, 0x51, "Terawave Communications"},
{ 3, 0x52, "IceFyre Semiconductor"},
{ 3, 0xd3, "Primarion"},
{ 3, 0x54, "Picochip Designs"},
{ 3, 0xd5, "Silverback Systems"},
{ 3, 0xd6, "Jade Star Technologies"},
{ 3, 0x57, "Pijnenburg Securealink"},
{ 3, 0x58, "takeMS International AG"},
{ 3, 0xd9, "Cambridge Silicon Radio"},
{ 3, 0xda, "Swissbit"},
{ 3, 0x5b, "Nazomi Communications"},
{ 3, 0xdc, "eWave System"},
{ 3, 0x5d, "Rockwell Collins"},
{ 3, 0x5e, "Picocel Co. (Paion)"},
{ 3, 0xdf, "Alphamosaic"},
{ 3, 0xe0, "Sandburst"},
{ 3, 0x61, "SiCon Video"},
{ 3, 0x62, "NanoAmp Solutions"},
{ 3, 0xe3, "Ericsson Technology"},
{ 3, 0x64, "PrairieComm"},
{ 3, 0xe5, "Mitac International"},
{ 3, 0xe6, "Layer N Networks"},
{ 3, 0x67, "MtekVision (Atsana)"},
{ 3, 0x68, "Allegro Networks"},
{ 3, 0xe9, "Marvell Semiconductors"},
{ 3, 0xea, "Netergy Microelectronic"},
{ 3, 0x6b, "NVIDIA"},
{ 3, 0xec, "Internet Machines"},
{ 3, 0x6d, "Peak Electronics"},
{ 3, 0x6e, "Litchfield Communication"},
{ 3, 0xef, "Accton Technology"},
{ 3, 0x70, "Teradiant Networks"},
{ 3, 0xf1, "Scaleo Chip"},
{ 3, 0xf2, "Cortina Systems"},
{ 3, 0x73, "RAM Components"},
{ 3, 0xf4, "Raqia Networks"},
{ 3, 0x75, "ClearSpeed"},
{ 3, 0x76, "Matsushita Battery"},
{ 3, 0xf7, "Xelerated"},
{ 3, 0xf8, "SimpleTech"},
{ 3, 0x79, "Utron Technology"},
{ 3, 0x7a, "Astec International"},
{ 3, 0xfb, "AVM"},
{ 3, 0x7c, "Redux Communications"},
{ 3, 0xfd, "Dot Hill Systems"},
{ 3, 0xfe, "TeraChip"},
{ 4, 0x01, "T-RAM"},
{ 4, 0x02, "Innovics Wireless"},
{ 4, 0x83, "Teknovus"},
{ 4, 0x04, "KeyEye Communications"},
{ 4, 0x85, "Runcom Technologies"},
{ 4, 0x86, "RedSwitch"},
{ 4, 0x07, "Dotcast"},
{ 4, 0x08, "Silicon Mountain Memory"},
{ 4, 0x89, "Signia Technologies"},
{ 4, 0x8a, "Pixim"},
{ 4, 0x0b, "Galazar Networks"},
{ 4, 0x8c, "White Electronic Designs"},
{ 4, 0x0d, "Patriot Scientific"},
{ 4, 0x0e, "Neoaxiom"},
{ 4, 0x8f, "3Y Power Technology"},
{ 4, 0x10, "Scaleo Chip"},
{ 4, 0x91, "Potentia Power Systems"},
{ 4, 0x92, "C-guys"},
{ 4, 0x13, "Digital Communications Technology"},
{ 4, 0x94, "Silicon-Based Technology"},
{ 4, 0x15, "Fulcrum Microsystems"},
{ 4, 0x16, "Positivo Informatica"},
{ 4, 0x97, "XIOtech"},
{ 4, 0x98, "PortalPlayer"},
{ 4, 0x19, "Zhiying Software"},
{ 4, 0x1a, "ParkerVision"},
{ 4, 0x9b, "Phonex Broadband"},
{ 4, 0x1c, "Skyworks Solutions"},
{ 4, 0x9d, "Entropic Communications"},
{ 4, 0x9e, "Pacific Force Technology"},
{ 4, 0x1f, "Zensys A/S"},
{ 4, 0x20, "Legend Silicon Corp."},
{ 4, 0xa1, "Sci-worx"},
{ 4, 0xa2, "SMSC (Standard Microsystems)"},
{ 4, 0x23, "Renesas Technology"},
{ 4, 0xa4, "Raza Microelectronics"},
{ 4, 0x25, "Phyworks"},
{ 4, 0x26, "MediaTek"},
{ 4, 0xa7, "Non-cents Productions"},
{ 4, 0xa8, "US Modular"},
{ 4, 0x29, "Wintegra"},
{ 4, 0x2a, "Mathstar"},
{ 4, 0xab, "StarCore"},
{ 4, 0x2c, "Oplus Technologies"},
{ 4, 0xad, "Mindspeed"},
{ 4, 0xae, "Just Young Computer"},
{ 4, 0x2f, "Radia Communications"},
{ 4, 0xb0, "OCZ"},
{ 4, 0x31, "Emuzed"},
{ 4, 0x32, "LOGIC Devices"},
{ 4, 0xb3, "Inphi"},
{ 4, 0x34, "Quake Technologies"},
{ 4, 0xb5, "Vixel"},
{ 4, 0xb6, "SolusTek"},
{ 4, 0x37, "Kongsberg Maritime"},
{ 4, 0x38, "Faraday Technology"},
{ 4, 0xb9, "Altium"},
{ 4, 0xba, "Insyte"},
{ 4, 0x3b, "ARM"},
{ 4, 0xbc, "DigiVision"},
{ 4, 0x3d, "Vativ Technologies"},
{ 4, 0x3e, "Endicott Interconnect Technologies"},
{ 4, 0xbf, "Pericom"},
{ 4, 0x40, "Bandspeed"},
{ 4, 0xc1, "LeWiz Communications"},
{ 4, 0xc2, "CPU Technology"},
{ 4, 0x43, "Ramaxel Technology"},
{ 4, 0xc4, "DSP Group"},
{ 4, 0x45, "Axis Communications"},
{ 4, 0x46, "Legacy Electronics"},
{ 4, 0xc7, "Chrontel"},
{ 4, 0xc8, "Powerchip Semiconductor"},
{ 4, 0x49, "MobilEye Technologies"},
{ 4, 0x4a, "Excel Semiconductor"},
{ 4, 0xcb, "A-DATA Technology"},
{ 4, 0x4c, "VirtualDigm"},
{ 4, 0xcd, "G Skill Intl"},
{ 4, 0xce, "Quanta Computer"},
{ 4, 0x4f, "Yield Microelectronics"},
{ 4, 0xd0, "Afa Technologies"},
{ 4, 0x51, "KINGBOX Technology Co."},
{ 4, 0x52, "Ceva"},
{ 4, 0xd3, "iStor Networks"},
{ 4, 0x54, "Advance Modules"},
{ 4, 0xd5, "Microsoft"},
{ 4, 0xd6, "Open-Silicon"},
{ 4, 0x57, "Goal Semiconductor"},
{ 4, 0x58, "ARC International"},
{ 4, 0xd9, "Simmtec"},
{ 4, 0xda, "Metanoia"},
{ 4, 0x5b, "Key Stream"},
{ 4, 0xdc, "Lowrance Electronics"},
{ 4, 0x5d, "Adimos"},
{ 4, 0x5e, "SiGe Semiconductor"},
{ 4, 0xdf, "Fodus Communications"},
{ 4, 0xe0, "Credence Systems Corp."},
{ 4, 0x61, "Genesis Microchip"},
{ 4, 0x62, "Vihana"},
{ 4, 0xe3, "WIS Technologies"},
{ 4, 0x64, "GateChange Technologies"},
{ 4, 0xe5, "High Density Devices AS"},
{ 4, 0xe6, "Synopsys"},
{ 4, 0x67, "Gigaram"},
{ 4, 0x68, "Enigma Semiconductor"},
{ 4, 0xe9, "Century Micro"},
{ 4, 0xea, "Icera Semiconductor"},
{ 4, 0x6b, "Mediaworks Integrated Systems"},
{ 4, 0xec, "O?Neil Product Development"},
{ 4, 0x6d, "Supreme Top Technology"},
{ 4, 0x6e, "MicroDisplay"},
{ 4, 0xef, "Team Group"},
{ 4, 0x70, "Sinett"},
{ 4, 0xf1, "Toshiba"},
{ 4, 0xf2, "Tensilica"},
{ 4, 0x73, "SiRF Technology"},
{ 4, 0xf4, "Bacoc"},
{ 4, 0x75, "SMaL Camera Technologies"},
{ 4, 0x76, "Thomson SC"},
{ 4, 0xf7, "Airgo Networks"},
{ 4, 0xf8, "Wisair"},
{ 4, 0x79, "SigmaTel"},
{ 4, 0x7a, "Arkados"},
{ 4, 0xfb, "Compete IT Co. KG"},
{ 4, 0x7c, "Eudar Technology"},
{ 4, 0xfd, "Focus Enhancements"},
{ 4, 0xfe, "Xyratex"},
{ 5, 0x01, "Specular Networks"},
{ 5, 0x02, "PDP Systems"},
{ 5, 0x83, "U-Chip Technology Corp."},
{ 5, 0x04, "Silicon Optix"},
{ 5, 0x85, "Greenfield Networks"},
{ 5, 0x86, "CompuRAM"},
{ 5, 0x07, "Stargen"},
{ 5, 0x08, "NetCell"},
{ 5, 0x89, "Excalibrus Technologies"},
{ 5, 0x8a, "SCM Microsystems"},
{ 5, 0x0b, "Xsigo Systems"},
{ 5, 0x8c, "CHIPS & Systems"},
{ 5, 0x0d, "Tier"},
{ 5, 0x0e, "CWRL Labs"},
{ 5, 0x8f, "Teradici"},
{ 5, 0x10, "Gigaram"},
{ 5, 0x91, "g2 Microsystems"},
{ 5, 0x92, "PowerFlash Semiconductor"},
{ 5, 0x13, "P.A. Semi"},
{ 5, 0x94, "NovaTech Solutions, S.A."},
{ 5, 0x15, "c2 Microsystems"},
{ 5, 0x16, "Level5 Networks"},
{ 5, 0x97, "COS Memory AG"},
{ 5, 0x98, "Innovasic Semiconductor"},
{ 5, 0x19, "02IC Co."},
{ 5, 0x1a, "Tabula,"},
{ 5, 0x9b, "Crucial Technology"},
{ 5, 0x1c, "Chelsio Communications"},
{ 5, 0x9d, "Solarflare Communications"},
{ 5, 0x9e, "Xambala"},
{ 5, 0x1f, "EADS Astrium"},
{ 5, 0x20, "Terra Semiconductor"},
{ 5, 0xa1, "Imaging Works"},
{ 5, 0xa2, "Astute Networks"},
{ 5, 0x23, "Tzero"},
{ 5, 0xa4, "Emulex"},
{ 5, 0x25, "Power-One"},
{ 5, 0x26, "Pulse~LINK"},
{ 5, 0xa7, "Hon Hai Precision Industry"},
{ 5, 0xa8, "White Rock Networks"},
{ 5, 0x29, "Telegent Systems USA"},
{ 5, 0x2a, "Atrua Technologies"},
{ 5, 0xab, "Acbel Polytech"},
{ 5, 0x2c, "eRide"},
{ 5, 0xad, "ULi Electronics"},
{ 5, 0xae, "Magnum Semiconductor"},
{ 5, 0x2f, "neoOne Technology"},
{ 5, 0xb0, "Connex Technology"},
{ 5, 0x31, "Stream Processors"},
{ 5, 0x32, "Focus Enhancements"},
{ 5, 0xb3, "Telecis Wireless"},
{ 5, 0x34, "uNav Microelectronics"},
{ 5, 0xb5, "Tarari"},
{ 5, 0xb6, "Ambric"},
{ 5, 0x37, "Newport Media"},
{ 5, 0x38, "VMTS"},
{ 5, 0xb9, "Enuclia Semiconductor"},
{ 5, 0xba, "Virtium Technology"},
{ 5, 0x3b, "Solid State System Co."},
{ 5, 0xbc, "Kian Tech LLC"},
{ 5, 0x3d, "Artimi"},
{ 5, 0x3e, "Power Quotient International"},
{ 5, 0xbf, "Avago Technologies"},
{ 5, 0x40, "ADTechnology"},
{ 5, 0xc1, "Sigma Designs"},
{ 5, 0xc2, "SiCortex"},
{ 5, 0x43, "Ventura Technology Group"},
{ 5, 0xc4, "eASIC"},
{ 5, 0x45, "M.H.S. SAS"},
{ 5, 0x46, "Micro Star International"},
{ 5, 0xc7, "Rapport"},
{ 5, 0xc8, "Makway International"},
{ 5, 0x49, "Broad Reach Engineering Co."},
{ 5, 0x4a, "Semiconductor Mfg Intl Corp"},
{ 5, 0xcb, "SiConnect"},
{ 5, 0x4c, "FCI USA"},
{ 5, 0xcd, "Validity Sensors"},
{ 5, 0xce, "Coney Technology Co."},
{ 5, 0x4f, "Spans Logic"},
{ 5, 0xd0, "Neterion"},
{ 5, 0x51, "Qimonda"},
{ 5, 0x52, "New Japan Radio Co."},
{ 5, 0xd3, "Velogix"},
{ 5, 0x54, "Montalvo Systems"},
{ 5, 0xd5, "iVivity"},
{ 5, 0xd6, "Walton Chaintech"},
{ 5, 0x57, "AENEON"},
{ 5, 0x58, "Lorom Industrial Co."},
{ 5, 0xd9, "Radiospire Networks"},
{ 5, 0xda, "Sensio Technologies"},
{ 5, 0x5b, "Nethra Imaging"},
{ 5, 0xdc, "Hexon Technology Pte"},
{ 5, 0x5d, "CompuStocx (CSX)"},
{ 5, 0x5e, "Methode Electronics"},
{ 5, 0xdf, "Connect One"},
{ 5, 0xe0, "Opulan Technologies"},
{ 5, 0x61, "Septentrio NV"},
{ 5, 0x62, "Goldenmars Technology"},
{ 5, 0xe3, "Kreton"},
{ 5, 0x64, "Cochlear"},
{ 5, 0xe5, "Altair Semiconductor"},
{ 5, 0xe6, "NetEffect"},
{ 5, 0x67, "Spansion"},
{ 5, 0x68, "Taiwan Semiconductor Mfg"},
{ 5, 0xe9, "Emphany Systems"},
{ 5, 0xea, "ApaceWave Technologies"},
{ 5, 0x6b, "Mobilygen"},
{ 5, 0xec, "Tego"},
{ 5, 0x6d, "Cswitch"},
{ 5, 0x6e, "Haier (Beijing) IC Design Co."},
{ 5, 0xef, "MetaRAM"},
{ 5, 0x70, "Axel Electronics Co."},
{ 5, 0xf1, "Tilera"},
{ 5, 0xf2, "Aquantia"},
{ 5, 0x73, "Vivace Semiconductor"},
{ 5, 0xf4, "Redpine Signals"},
{ 5, 0x75, "Octalica"},
{ 5, 0x76, "InterDigital Communications"},
{ 5, 0xf7, "Avant Technology"},
{ 5, 0xf8, "Asrock"},
{ 5, 0x79, "Availink"},
{ 5, 0x7a, "Quartics"},
{ 5, 0xfb, "Element CXI"},
{ 5, 0x7c, "Innovaciones Microelectronicas"},
{ 5, 0xfd, "VeriSilicon Microelectronics"},
{ 5, 0xfe, "W5 Networks"},
{ 6, 0x01, "MOVEKING"},
{ 6, 0x02, "Mavrix Technology"},
{ 6, 0x83, "CellGuide"},
{ 6, 0x04, "Faraday Technology"},
{ 6, 0x85, "Diablo Technologies"},
{ 6, 0x86, "Jennic"},
{ 6, 0x07, "Octasic"},
{ 6, 0x08, "Molex"},
{ 6, 0x89, "3Leaf Networks"},
{ 6, 0x8a, "Bright Micron Technology"},
{ 6, 0x0b, "Netxen"},
{ 6, 0x8c, "NextWave Broadband"},
{ 6, 0x0d, "DisplayLink"},
{ 6, 0x0e, "ZMOS Technology"},
{ 6, 0x8f, "Tec-Hill"},
{ 6, 0x10, "Multigig"},
{ 6, 0x91, "Amimon"},
{ 6, 0x92, "Euphonic Technologies"},
{ 6, 0x13, "BRN Phoenix"},
{ 6, 0x94, "InSilica"},
{ 6, 0x15, "Ember"},
{ 6, 0x16, "Avexir Technologies"},
{ 6, 0x97, "Echelon"},
{ 6, 0x98, "Edgewater Computer Systems"},
{ 6, 0x19, "XMOS Semiconductor"},
{ 6, 0x1a, "GENUSION"},
{ 6, 0x9b, "Memory Corp NV"},
{ 6, 0x1c, "SiliconBlue Technologies"},
{ 6, 0x9d, "Rambus"},
{ 6, 0x9e, "Andes Technology"},
{ 6, 0x1f, "Coronis Systems"},
{ 6, 0x20, "Achronix Semiconductor"},
{ 6, 0xa1, "Siano Mobile Silicon"},
{ 6, 0xa2, "Semtech"},
{ 6, 0x23, "Pixelworks"},
{ 6, 0xa4, "Gaisler Research AB"},
{ 6, 0x25, "Teranetics"},
{ 6, 0x26, "Toppan Printing Co."},
{ 6, 0xa7, "Kingxcon"},
{ 6, 0xa8, "Silicon Integrated Systems"},
{ 6, 0x29, "I-O Data Device"},
{ 6, 0x2a, "NDS Americas"},
{ 6, 0xab, "Solomon Systech Limited"},
{ 6, 0x2c, "On Demand Microelectronics"},
{ 6, 0xad, "Amicus Wireless"},
{ 6, 0xae, "SMARDTV SNC"},
{ 6, 0x2f, "Comsys Communication"},
{ 6, 0xb0, "Movidia"},
{ 6, 0x31, "Javad GNSS"},
{ 6, 0x32, "Montage Technology Group"},
{ 6, 0xb3, "Trident Microsystems"},
{ 6, 0x34, "Super Talent"},
{ 6, 0xb5, "Optichron"},
{ 6, 0xb6, "Future Waves UK"},
{ 6, 0x37, "SiBEAM"},
{ 6, 0x38, "Inicore,"},
{ 6, 0xb9, "Virident Systems"},
{ 6, 0xba, "M2000"},
{ 6, 0x3b, "ZeroG Wireless"},
{ 6, 0xbc, "Gingle Technology Co."},
{ 6, 0x3d, "Space Micro"},
{ 6, 0x3e, "Wilocity"},
{ 6, 0xbf, "Novafora, Ic."},
{ 6, 0x40, "iKoa"},
{ 6, 0xc1, "ASint Technology"},
{ 6, 0xc2, "Ramtron"},
{ 6, 0x43, "Plato Networks"},
{ 6, 0xc4, "IPtronics AS"},
{ 6, 0x45, "Infinite-Memories"},
{ 6, 0x46, "Parade Technologies"},
{ 6, 0xc7, "Dune Networks"},
{ 6, 0xc8, "GigaDevice Semiconductor"},
{ 6, 0x49, "Modu"},
{ 6, 0x4a, "CEITEC"},
{ 6, 0xcb, "Northrop Grumman"},
{ 6, 0x4c, "XRONET"},
{ 6, 0xcd, "Sicon Semiconductor AB"},
{ 6, 0xce, "Atla Electronics Co."},
{ 6, 0x4f, "TOPRAM Technology"},
{ 6, 0xd0, "Silego Technology"},
{ 6, 0x51, "Kinglife"},
{ 6, 0x52, "Ability Industries"},
{ 6, 0xd3, "Silicon Power Computer & Communications"},
{ 6, 0x54, "Augusta Technology"},
{ 6, 0xd5, "Nantronics Semiconductors"},
{ 6, 0xd6, "Hilscher Gesellschaft"},
{ 6, 0x57, "Quixant"},
{ 6, 0x58, "Percello"},
{ 6, 0xd9, "NextIO"},
{ 6, 0xda, "Scanimetrics"},
{ 6, 0x5b, "FS-Semi Company"},
{ 6, 0xdc, "Infinera"},
{ 6, 0x5d, "SandForce"},
{ 6, 0x5e, "Lexar Media"},
{ 6, 0xdf, "Teradyne"},
{ 6, 0xe0, "Memory Exchange Corp."},
{ 6, 0x61, "Suzhou Smartek Electronics"},
{ 6, 0x62, "Avantium"},
{ 6, 0xe3, "ATP Electronics"},
{ 6, 0x64, "Valens Semiconductor"},
{ 6, 0xe5, "Agate Logic"},
{ 6, 0xe6, "Netronome"},
{ 6, 0x67, "Zenverge"},
{ 6, 0x68, "N-trig"},
{ 6, 0xe9, "SanMax Technologies"},
{ 6, 0xea, "Contour Semiconductor"},
{ 6, 0x6b, "TwinMOS"},
{ 6, 0xec, "Silicon Systems"},
{ 6, 0x6d, "V-Color Technology"},
{ 6, 0x6e, "Certicom"},
{ 6, 0xef, "JSC ICC Milandr"},
{ 6, 0x70, "PhotoFast Global"},
{ 6, 0xf1, "InnoDisk"},
{ 6, 0xf2, "Muscle Power"},
{ 6, 0x73, "Energy Micro"},
{ 6, 0xf4, "Innofidei"},
{ 9, 0xff, ""}
};
#define VEN_MAP_SIZE (sizeof(vendorMap)/sizeof(VenIdName))
#endif
branches/rewrite/i386/libsaio/biosfn.c
567567
568568
569569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686570
687571
688572
#endif
int get_drive_info(int drive, struct driveInfo *dp)
{
boot_drive_info_t *di = &dp->di;
int ret = 0;
#if UNUSED
if (maxhd == 0) {
bb.intno = 0x13;
bb.eax.r.h = 0x08;
bb.edx.r.l = 0x80;
bios(&bb);
if (bb.flags.cf == 0)
maxhd = 0x7f + bb.edx.r.l;
};
if (drive > maxhd)
return 0;
#endif
bzero(dp, sizeof(struct driveInfo));
dp->biosdev = drive;
/* Check for El Torito no-emulation mode. */
dp->no_emulation = is_no_emulation(drive);
/* Check drive for EBIOS support. */
bb.intno = 0x13;
bb.eax.r.h = 0x41;
bb.edx.r.l = drive;
bb.ebx.rr = 0x55aa;
bios(&bb);
if ((bb.ebx.rr == 0xaa55) && (bb.flags.cf == 0)) {
/* Get flags for supported operations. */
dp->uses_ebios = bb.ecx.r.l;
}
if (dp->uses_ebios & (EBIOS_ENHANCED_DRIVE_INFO | EBIOS_LOCKING_ACCESS | EBIOS_FIXED_DISK_ACCESS)) {
/* Get EBIOS drive info. */
static struct drive_params params;
params.buf_size = sizeof(params);
bb.intno = 0x13;
bb.eax.r.h = 0x48;
bb.edx.r.l = drive;
bb.esi.rr = NORMALIZED_OFFSET((unsigned)&params);
bb.ds = NORMALIZED_SEGMENT((unsigned)&params);
bios(&bb);
if (bb.flags.cf != 0 /* || params.phys_sectors < 2097152 */) {
dp->uses_ebios = 0;
di->params.buf_size = 1;
}
else
{
bcopy(&params, &di->params, sizeof(params));
if (drive >= BASE_HD_DRIVE &&
(dp->uses_ebios & EBIOS_ENHANCED_DRIVE_INFO) &&
di->params.buf_size >= 30 &&
!(di->params.dpte_offset == 0xFFFF && di->params.dpte_segment == 0xFFFF)) {
void *ptr = (void *)(di->params.dpte_offset + ((unsigned int)di->params.dpte_segment << 4));
bcopy(ptr, &di->dpte, sizeof(di->dpte));
}
}
}
/*
* zef: This code will fail on recent JMicron and Intel option ROMs
*/
//if (di->params.phys_heads == 0 || di->params.phys_spt == 0) {
///* Either it's not EBIOS, or EBIOS didn't tell us. */
//bb.intno = 0x13;
//bb.eax.r.h = 0x08;
//bb.edx.r.l = drive;
//bios(&bb);
//if (bb.flags.cf == 0 && bb.eax.r.h == 0) {
//unsigned long cyl;
//unsigned long sec;
//unsigned long hds;
//
//hds = bb.edx.r.h;
//sec = bb.ecx.r.l & 0x3F;
//if ((dp->uses_ebios & EBIOS_ENHANCED_DRIVE_INFO) && (sec != 0)) {
//cyl = (di->params.phys_sectors / ((hds + 1) * sec)) - 1;
//} else {
//cyl = bb.ecx.r.h | ((bb.ecx.r.l & 0xC0) << 2);
//}
//di->params.phys_heads = hds;
//di->params.phys_spt = sec;
//di->params.phys_cyls = cyl;
//} else {
//ret = -1;
//}
//}
if (dp->no_emulation) {
/* Some BIOSes give us erroneous EBIOS support information.
* Assume that if you're on a CD, then you can use
* EBIOS disk calls.
*/
dp->uses_ebios |= EBIOS_FIXED_DISK_ACCESS;
}
#if DEBUG
print_drive_info(di);
printf("uses_ebios = 0x%x\n", dp->uses_ebios);
printf("result %d\n", ret);
pause();
#endif
if (ret == 0) {
dp->valid = 1;
}
return ret;
}
int ebiosEjectMedia(int biosdev)
{
bb.intno = 0x13;
branches/rewrite/i386/libsaio/saio_types.h
6868
6969
7070
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
12471
12572
12673
boolcanOverride;// flag to mark a dictionary can be overriden
} config_file_t;
/*
* BIOS drive information.
*/
struct boot_drive_info {
struct drive_params {
unsigned short buf_size;
unsigned short info_flags;
unsigned long phys_cyls;
unsigned long phys_heads;
unsigned long phys_spt;
unsigned long long phys_sectors;
unsigned short phys_nbps;
unsigned short dpte_offset;
unsigned short dpte_segment;
unsigned short key;
unsigned char path_len;
unsigned char reserved1;
unsigned short reserved2;
unsigned char bus_type[4];
unsigned char interface_type[8];
unsigned char interface_path[8];
unsigned char dev_path[8];
unsigned char reserved3;
unsigned char checksum;
} params;
struct drive_dpte {
unsigned short io_port_base;
unsigned short control_port_base;
unsigned char head_flags;
unsigned char vendor_info;
unsigned char irq : 4;
unsigned char irq_unused : 4;
unsigned char block_count;
unsigned char dma_channel : 4;
unsigned char dma_type : 4;
unsigned char pio_type : 4;
unsigned char pio_unused : 4;
unsigned short option_flags;
unsigned short reserved;
unsigned char revision;
unsigned char checksum;
} dpte;
} __attribute__((packed));
typedef struct boot_drive_info boot_drive_info_t;
struct driveInfo {
boot_drive_info_t di;
int uses_ebios;
int no_emulation;
int biosdev;
int valid;
};
typedef struct FinderInfo {
unsigned char data[16];
} FinderInfo;
branches/rewrite/i386/libsaio/saio_internal.h
4545
4646
4747
48
4948
5049
5150
......
203202
204203
205204
206
207205
208206
209207
extern int biosread(int dev, int cyl, int head, int sec, int num);
extern int ebiosread(int dev, unsigned long long sec, int count);
extern int ebioswrite(int dev, long sec, int count);
extern int get_drive_info(int drive, struct driveInfo *dp);
extern int ebiosEjectMedia(int biosdev);
extern void bios_putchar(int ch);
extern void putca(int ch, int attr, int repeat);
extern BVRef gBIOSBootVolume;
// Function pointer to be filled in if ramdisks are available
extern int (*p_get_ramdisk_info)(int biosdev, struct driveInfo *dip);
extern int (*p_ramdiskReadBytes)( int biosdev, unsigned int blkno,
unsigned int byteoff,
unsigned int byteCount, void * buffer );
branches/rewrite/i386/modules/BiosDisk/include/Disk.hpp
1414
1515
1616
17
18
17
18
1919
20
20
2121
2222
23
23
2424
25
2526
2627
2728
Disk(const char* name);
~Disk();
virtual IOReturn Read(UInt64 sector, UInt64 size, char* buffer) = 0;
virtual IOReturn Write(UInt64 sector, UInt64 size, char* buffer) = 0;
virtual IOReturn Read(UInt64 sector, UInt64 size, UInt8* buffer) = 0;
virtual IOReturn Write(UInt64 sector, UInt64 size, UInt8* buffer) = 0;
bool isValid() { return mName != NULL; };
virtual bool isValid() { return mName != NULL && mBytesPerSector; };
protected:
const char *mName;
const char *busType;
const char *mBusType;
UInt32 mBytesPerSector;
private:
};
branches/rewrite/i386/modules/BiosDisk/include/BiosDisk.hpp
1111
1212
1313
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
1462
1563
1664
1765
1866
1967
20
21
68
69
70
2271
2372
73
2474
75
76
77
78
79
2580
26
81
82
83
84
85
86
87
88
2789
2890
91
2992
#define super Disk
/*
* BIOS drive information.
*/
struct boot_drive_info {
struct drive_params {
UInt16 buf_size;
UInt16 info_flags;
UInt32 phys_cyls;
UInt32 phys_heads;
UInt32 phys_spt;
UInt64 phys_sectors;
UInt16 phys_nbps;
UInt16 dpte_offset;
UInt16 dpte_segment;
/*
UInt16 key;
UInt8 path_len;
UInt8 reserved1;
UInt16 reserved2;
UInt8 bus_type[4];
UInt8 interface_type[8];
UInt8 interface_path[8];
UInt8 dev_path[8];
UInt8 reserved3;
UInt8 checksum;
*/
} params;
struct drive_dpte {
UInt16 io_port_base;
UInt16 control_port_base;
UInt8 head_flags;
UInt8 vendor_info;
UInt8 irq : 4;
UInt8 irq_unused : 4;
UInt8 block_count;
UInt8 dma_channel : 4;
UInt8 dma_type : 4;
UInt8 pio_type : 4;
UInt8 pio_unused : 4;
UInt16 option_flags;
UInt16 reserved;
UInt8 revision;
UInt8 checksum;
} dpte;
} __attribute__((packed));
typedef struct boot_drive_info boot_drive_info_t;
class BiosDisk : public Disk
{
public:
BiosDisk(const char* name);
~BiosDisk();
virtual IOReturn Read(UInt64 sector, UInt64 size, char* buffer);
virtual IOReturn Write(UInt64 sector, UInt64 size, char* buffer);
virtual IOReturn Read(UInt64 sector, UInt64 size, UInt8* buffer);
virtual IOReturn Write(UInt64 sector, UInt64 size, UInt8* buffer);
virtual bool isValid() { return (mValid && (mName != NULL) && (mDiskID & 0x80)); };
protected:
UInt8 BIOSRead(UInt16 cylinder, UInt8 head, UInt8 sector, UInt8 count);
UInt8 EBIOSRead(UInt64 sector, UInt8 count);
UInt8 EBIOSWrite(UInt64 sector, UInt8 count);
UInt8 GetDriveInfo();
private:
UInt8 mDiskID;
UInt8 mDiskID;
UInt8 mUsesEBIOS;
bool mNoEmulation;
bool mValid;
boot_drive_info_t mDriveInfo;
};
#endif /* BIOSDISK_H */
branches/rewrite/i386/modules/BiosDisk/Main.cpp
22
33
44
5
6
7
85
6
7
8
99
1010
11
1112
1213
1314
15
16
17
18
1419
1520
21
22
23
24
25
26
1627
* Copyright (c) 2011 Evan Lojewski. All rights reserved.
*
*/
#include <cstdlib>
#include <iostream>
#include <modules>
#include <IOKit/IOTypes.h>
#include <BiosDisk.hpp>
extern "C"
{
#include "libsaio.h"
void BiosDisk_start();
}
int _biosread(int dev, int cyl, int head, int sec, int num);
int drive_exists(int devid);
void BiosDisk_start()
{
BiosDisk* disk = new BiosDisk("bios:/hd0/");
printf("This is a simple BootDisk_start test.\n");
delete disk;
halt();
}
branches/rewrite/i386/modules/BiosDisk/BiosDisk.cpp
11
2
2
33
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
423
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
549
650
51
52
53
54
55
756
857
958
10
59
60
61
62
63
64
1165
12
13
14
15
16
17
1866
67
68
69
70
71
72
1973
2074
21
75
76
77
78
79
80
81
82
83
84
85
86
87
2288
2389
2490
......
2692
2793
2894
29
95
3096
3197
3298
3399
34100
35101
36
102
37103
38104
39105
40106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
/*
* Copyright (c) 2011 Evan Lojewski. All rights reserved.
* Copyright (c) 1999-2003 Apple Computer, Inc. All rights reserved.
*
* @APPLE_LICENSE_HEADER_START@
*
* Portions Copyright (c) 1999-2003 Apple Computer, Inc. All Rights
* Reserved. This file contains Original Code and/or Modifications of
* Original Code as defined in and that are subject to the Apple Public
* Source License Version 2.0 (the "License"). You may not use this file
* except in compliance with the License. Please obtain a copy of the
* License at http://www.apple.com/publicsource and read it before using
* this file.
*
* The Original Code and all software distributed under the License are
* distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, EITHER
* EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
* INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE OR NON- INFRINGEMENT. Please see the
* License for the specific language governing rights and limitations
* under the License.
*
* @APPLE_LICENSE_HEADER_END@
*/
/*
* Copyright 1993 NeXT Computer, Inc.
* All rights reserved.
*/
/* Copyright 2007 David Elliott
2007-12-30 dfe
- Enhanced code to normalize segment/offset to huge pointers so that any
linear address within the first MB of memory can be passed to BIOS
functions. This allows some of the __DATA sections to span into the
next segment and also allows stack variables to be used whereas the
old code could only operate on static data in the first 64k.
NOTE: Requires bios.s change to respect DS.
*/
/* Copyright 2007 VMware Inc.
2007-12-29 dfe
- Added ebiosEjectMedia
*/
/*
* Copyright (c) 2011 Evan Lojewski.
* - Converted to c++
* - Converted to UInt* style variable types
*/
#include <BiosDisk.hpp>
extern "C"
{
#include "libsaio.h"
#include "stdio.h"
}
BiosDisk::BiosDisk(const char* name)
{
busType = "bios";
// Initialize
mValid = false;
mDiskID = 0;
mUsesEBIOS = 0;
mNoEmulation = false;
mBytesPerSector = 0;
// fixme
if(name[0] != 'b' &&
name[1] != 'i' &&
name[2] != 'o' &&
name[3] != 's' &&
name[4] != ':') name = NULL;
// The correct format should be:
// bios:/hdX/
mBusType = "bios";
if(strncmp(mBusType, name, 4) != 0) name = NULL;
mName = name;
// TODO: convert mName to bios disk id
sscanf(name, "bios:/hd%d/", &mDiskID);
mDiskID += 0x80; // 0x80 = fixed disk
if(BIOSRead(0, 0, 1, 1) == 0 && GetDriveInfo() == 0)
{
mBytesPerSector = mDriveInfo.params.phys_nbps;
printf("Disk: 0x%X (%d sectors)\n", mDiskID, mBytesPerSector);
}
else
{
mValid = 0; // force invalid.
}
}
BiosDisk::~BiosDisk()
}
IOReturn BiosDisk::Read(UInt64 sector, UInt64 size, char* buffer)
IOReturn BiosDisk::Read(UInt64 sector, UInt64 size, UInt8* buffer)
{
if(!isValid()) return kIOReturnNoDevice;
return kIOReturnSuccess;
}
IOReturn BiosDisk::Write(UInt64 sector, UInt64 size, char* buffer)
IOReturn BiosDisk::Write(UInt64 sector, UInt64 size, UInt8* buffer)
{
if(!isValid()) return kIOReturnNoDevice;
return kIOReturnNotWritable;
}
UInt8 BiosDisk::BIOSRead(UInt16 cylinder, UInt8 head, UInt8 sector, UInt8 count)
{
if(sector == 0) return -1;
biosBuf_t bb;
int i;
bb.intno = 0x13;
bb.eax.r.h = 0x02;
for (i=0;;)
{
bb.ecx.r.h = cylinder;
bb.ecx.r.l = ((cylinder & 0x300) >> 2) | (sector & 0x3F);
bb.edx.r.h = head;
bb.edx.r.l = mDiskID;
bb.eax.r.l = count;
bb.ebx.rr = OFFSET(ptov(BIOS_ADDR));
bb.es = SEGMENT(ptov(BIOS_ADDR));
bios(&bb);
/* In case of a successful call, make sure we set AH (return code) to zero. */
if (bb.flags.cf == 0) bb.eax.r.h = 0;
/* Now we can really check for the return code (AH) value. */
if ((bb.eax.r.h == 0x00) || (i++ >= 5)) break;
/* reset disk subsystem and try again */
bb.eax.r.h = 0x00;
bios(&bb);
}
return bb.eax.r.h;
}
UInt8 BiosDisk::EBIOSRead(UInt64 sector, UInt8 count)
{
biosBuf_t bb;
UInt8 i;
struct {
UInt8 size;
UInt8 reserved;
UInt8 numblocks;
UInt8 reserved2;
UInt16 bufferOffset;
UInt16 bufferSegment;
UInt64 startblock;
} addrpacket __attribute__((aligned(16))) = {0};
addrpacket.size = sizeof(addrpacket);
for (i=0;;) {
bb.intno = 0x13;
bb.eax.r.h = 0x42;
bb.edx.r.l = mDiskID;
bb.esi.rr = NORMALIZED_OFFSET((unsigned)&addrpacket);
bb.ds = NORMALIZED_SEGMENT((unsigned)&addrpacket);
addrpacket.reserved = addrpacket.reserved2 = 0;
addrpacket.numblocks = count;
addrpacket.bufferOffset = OFFSET(ptov(BIOS_ADDR));
addrpacket.bufferSegment = SEGMENT(ptov(BIOS_ADDR));
addrpacket.startblock = sector;
bios(&bb);
/* In case of a successful call, make sure we set AH (return code) to zero. */
if (bb.flags.cf == 0)
bb.eax.r.h = 0;
/* Now we can really check for the return code (AH) value. */
if ((bb.eax.r.h == 0x00) || (i++ >= 5))
break;
/* reset disk subsystem and try again */
bb.eax.r.h = 0x00;
bios(&bb);
}
return bb.eax.r.h;
}
UInt8 BiosDisk::EBIOSWrite(UInt64 sector, UInt8 count)
{
biosBuf_t bb;
UInt8 i;
static struct {
UInt8 size;
UInt8 reserved;
UInt8 numblocks;
UInt8 reserved2;
UInt16 bufferOffset;
UInt16 bufferSegment;
UInt64 startblock;
} addrpacket __attribute__((aligned(16))) = {0};
addrpacket.size = sizeof(addrpacket);
for (i=0;;) {
bb.intno = 0x13;
bb.eax.r.l = 0; /* Don't verify */
bb.eax.r.h = 0x43;
bb.edx.r.l = mDiskID;
bb.esi.rr = NORMALIZED_OFFSET((unsigned)&addrpacket);
bb.ds = NORMALIZED_SEGMENT((unsigned)&addrpacket);
addrpacket.reserved = addrpacket.reserved2 = 0;
addrpacket.numblocks = count;
addrpacket.bufferOffset = OFFSET(ptov(BIOS_ADDR));
addrpacket.bufferSegment = SEGMENT(ptov(BIOS_ADDR));
addrpacket.startblock = sector;
bios(&bb);
/* In case of a successful call, make sure we set AH (return code) to zero. */
if (bb.flags.cf == 0)
bb.eax.r.h = 0;
/* Now we can really check for the return code (AH) value. */
if ((bb.eax.r.h == 0x00) || (i++ >= 5))
break;
/* reset disk subsystem and try again */
bb.eax.r.h = 0x00;
bios(&bb);
}
return bb.eax.r.h;
}
UInt8 BiosDisk::GetDriveInfo()
{
return 0; // TODO: finish this
}

Archive Download the corresponding diff file

Revision: 1079