Changeset 39573 in vbox for trunk/src/VBox/Devices/PC/BIOS-new
- Timestamp:
- Dec 9, 2011 2:56:37 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/PC/BIOS-new/ahci.c
r39560 r39573 520 520 ahci_cmd_data(bios_dsk, ATA_CMD_PACKET); 521 521 VBOXAHCI_DEBUG("%s: transferred %lu bytes\n", __func__, ahci->aCmdHdr[1]); 522 bios_dsk->drqp.trsfbytes = ahci->aCmdHdr[1]; 522 523 #ifdef DMA_WORKAROUND 523 rep_movsw(bios_dsk->drqp.buffer, bios_dsk->drqp.buffer, bios_dsk->drqp. nsect * 2048/ 2);524 rep_movsw(bios_dsk->drqp.buffer, bios_dsk->drqp.buffer, bios_dsk->drqp.trsfbytes / 2); 524 525 #endif 525 bios_dsk->drqp.trsfbytes = ahci->aCmdHdr[1];526 526 return ahci->aCmdHdr[1] == 0 ? 4 : 0; 527 527 // return 0; //@todo!!
Note:
See TracChangeset
for help on using the changeset viewer.