Changeset 35098 in vbox for trunk/src/VBox/Devices/PC
- Timestamp:
- Dec 14, 2010 3:57:55 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/PC/BIOS/rombios.c
r35096 r35098 728 728 // 729 729 // map between (bios hd id - 0x80) and ata channels and scsi disks. 730 #ifdef VBOX_WITH_SCSI 731 Bit8u hdcount, hdidmap[BX_MAX_ATA_DEVICES+BX_MAX_SCSI_DEVICES]; 732 #else 733 Bit8u hdcount, hdidmap[BX_MAX_ATA_DEVICES]; 734 #endif 730 Bit8u hdcount, hdidmap[BX_MAX_STORAGE_DEVICES]; 735 731 736 732 // map between (bios cd id - 0xE0) and ata channels 737 Bit8u cdcount, cdidmap[BX_MAX_ ATA_DEVICES];733 Bit8u cdcount, cdidmap[BX_MAX_STORAGE_DEVICES]; 738 734 739 735 // Buffer for DPTE table … … 2355 2351 2356 2352 // hdidmap and cdidmap init. 2357 for (device=0; device<BX_MAX_ ATA_DEVICES; device++) {2353 for (device=0; device<BX_MAX_STORAGE_DEVICES; device++) { 2358 2354 write_byte(ebda_seg,&EbdaData->ata.hdidmap[device],BX_MAX_STORAGE_DEVICES); 2359 2355 write_byte(ebda_seg,&EbdaData->ata.cdidmap[device],BX_MAX_STORAGE_DEVICES);
Note:
See TracChangeset
for help on using the changeset viewer.