VirtualBox

Changeset 37887 in vbox for trunk/src/VBox/Devices


Ignore:
Timestamp:
Jul 12, 2011 10:50:43 AM (14 years ago)
Author:
vboxsync
Message:

AHCI: Fix read access beyond 4GB for CD/DVD drives

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Storage/DevAHCI.cpp

    r37690 r37887  
    41424142    {
    41434143        case 2048:
    4144             pAhciPortTaskState->uOffset = iATAPILBA * cbSector;
     4144            pAhciPortTaskState->uOffset = (uint64_t)iATAPILBA * cbSector;
    41454145            pAhciPortTaskState->cbTransfer = cSectors * cbSector;
    41464146            break;
     
    41484148        {
    41494149            pAhciPortTaskState->pfnPostProcess = atapiReadSectors2352PostProcess;
    4150             pAhciPortTaskState->uOffset = iATAPILBA * 2048;
     4150            pAhciPortTaskState->uOffset = (uint64_t)iATAPILBA * 2048;
    41514151            pAhciPortTaskState->cbTransfer = cSectors * 2048;
    41524152            break;
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