VirtualBox

Changeset 46240 in vbox for trunk/src/VBox/Devices/PC


Ignore:
Timestamp:
May 23, 2013 3:02:44 PM (12 years ago)
Author:
vboxsync
Message:

BIOS: A bit more debug output.

File:
1 edited

Legend:

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

    r44528 r46240  
    180180    target_id = bios_dsk->scsidev[device_id].target_id;
    181181
     182    DBG_SCSI("%s: reading %u sectors, device %d, target %d\n", __func__,
     183             count, device_id, bios_dsk->scsidev[device_id].target_id);
     184
    182185    rc = scsi_cmd_data_in(io_base, target_id, (void __far *)&cdb, 10,
    183186                          bios_dsk->drqp.buffer, (count * 512L));
     
    188191        bios_dsk->drqp.trsfbytes   = count * 512L;
    189192    }
     193    DBG_SCSI("%s: transferred %u sectors\n", __func__, bios_dsk->drqp.nsect);
    190194
    191195    return rc;
     
    224228    target_id = bios_dsk->scsidev[device_id].target_id;
    225229
     230    DBG_SCSI("%s: writing %u sectors, device %d, target %d\n", __func__,
     231             count, device_id, bios_dsk->scsidev[device_id].target_id);
     232
    226233    rc = scsi_cmd_data_out(io_base, target_id, (void __far *)&cdb, 10,
    227234                           bios_dsk->drqp.buffer, (count * 512L));
     
    232239        bios_dsk->drqp.trsfbytes   = (count * 512L);
    233240    }
     241    DBG_SCSI("%s: transferred %u sectors\n", __func__, bios_dsk->drqp.nsect);
    234242
    235243    return rc;
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