VirtualBox

Changeset 43440 in vbox


Ignore:
Timestamp:
Sep 26, 2012 12:02:30 PM (12 years ago)
Author:
vboxsync
Message:

BIOS: ATA code does not need to look at AHCI drive geometry anymore.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/PC/BIOS/ata.c

    r42947 r43440  
    501501                chsgeo_base = 0x70;
    502502                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;
    515503            default:
    516504                chsgeo_base = 0;
    517505            }
    518             if (chsgeo_base != 0)
     506            if (chsgeo_base)
    519507            {
    520508                lcylinders = inb_cmos(chsgeo_base) + (inb_cmos(chsgeo_base+1) << 8);
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette