VirtualBox

Ignore:
Timestamp:
Jun 13, 2011 5:45:37 PM (14 years ago)
Author:
vboxsync
Message:

BIOS/AHCI: Updates for the driver, grub can boot from a SATA disk now

File:
1 edited

Legend:

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

    r33540 r37427  
    443443                write_byte(ebda_seg, &EbdaData->ata.hdcount, hdcount);
    444444
     445                /* Update hdcount in the BDA. */
     446                hdcount = read_byte(0x40, 0x75);
     447                hdcount++;
     448                write_byte(0x40, 0x75, hdcount);
     449
    445450                hdcount_scsi++;
    446451                write_byte(ebda_seg, &EbdaData->scsi.hdcount, hdcount_scsi);
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