VirtualBox

Changeset 89367 in vbox for trunk


Ignore:
Timestamp:
May 28, 2021 4:42:25 PM (4 years ago)
Author:
vboxsync
Message:

Devices/PC/BIOS/eltorito.c: Don't use the skip_b, skip_a mechanism for accessing arbitrary 512 byte sectors inside a 2048 byte CD sector for the emulation code but rather chop up the transfer into at most 3 separate ones to handle unaligned cases. This enables cleanups in the device drivers which comes next, bugref:4841 [fix]

File:
1 edited

Legend:

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

    r89364 r89367  
    351351            return error;
    352352        dst       += xfer_sect * 2048L;
    353         nbsectors -= xfer_sect;
     353        nbsectors -= xfer_sect * 4;
    354354        slba      += xfer_sect;
    355355    }
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