VirtualBox

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


Ignore:
Timestamp:
Feb 4, 2020 3:48:02 PM (5 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
135989
Message:

BIOS: Only log LBA when we have one, and CHS otherwise.

File:
1 edited

Legend:

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

    r82968 r82980  
    360360            lba = ((((uint32_t)cylinder * (uint32_t)nlh) + (uint32_t)head) * (uint32_t)nlspt) + (uint32_t)sector - 1;
    361361            sector = 0; // this forces the command to be lba
    362         }
    363 
    364         BX_DEBUG_INT13_HD("%s: %d sectors from lba %lu @ %04x:%04x\n", __func__,
    365                           count, lba, ES, BX);
     362            BX_DEBUG_INT13_HD("%s: %d sectors from lba %lu @ %04x:%04x\n", __func__,
     363                              count, lba, ES, BX);
     364        } else {
     365            BX_DEBUG_INT13_HD("%s: %d sectors from C/H/S %u/%u/%u @ %04x:%04x\n", __func__,
     366                              count, cylinder, head, sector, ES, BX);
     367        }
     368
    366369
    367370        /* Clear the count of transferred sectors/bytes. */
Note: See TracChangeset for help on using the changeset viewer.

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