Changeset 43440 in vbox
- Timestamp:
- Sep 26, 2012 12:02:30 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/PC/BIOS/ata.c
r42947 r43440 501 501 chsgeo_base = 0x70; 502 502 break; 503 case 4:504 chsgeo_base = 0x40;505 break;506 case 5:507 chsgeo_base = 0x48;508 break;509 case 6:510 chsgeo_base = 0x50;511 break;512 case 7:513 chsgeo_base = 0x58;514 break;515 503 default: 516 504 chsgeo_base = 0; 517 505 } 518 if (chsgeo_base != 0)506 if (chsgeo_base) 519 507 { 520 508 lcylinders = inb_cmos(chsgeo_base) + (inb_cmos(chsgeo_base+1) << 8);
Note:
See TracChangeset
for help on using the changeset viewer.