Changeset 42968 in vbox for trunk/src/VBox/Devices
- Timestamp:
- Aug 24, 2012 8:29:35 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/PC/BIOS/ahci.c
r42947 r42968 502 502 ahci_port_init(bios_dsk->ahci_seg :> 0, bios_dsk->ahcidev[device_id].port); 503 503 ahci_cmd_data(bios_dsk, AHCI_CMD_READ_DMA_EXT); 504 DBG_AHCI("%s: transferred %lu bytes\n", __func__, ((ahci_t __far *)(bios_dsk->ahci_seg :> 0))->aCmdHdr[1]); 505 bios_dsk->drqp.trsfsectors = bios_dsk->drqp.nsect; 504 506 #ifdef DMA_WORKAROUND 505 507 rep_movsw(bios_dsk->drqp.buffer, bios_dsk->drqp.buffer, bios_dsk->drqp.nsect * 512 / 2); … … 531 533 ahci_port_init(bios_dsk->ahci_seg :> 0, bios_dsk->ahcidev[device_id].port); 532 534 ahci_cmd_data(bios_dsk, AHCI_CMD_WRITE_DMA_EXT); 535 DBG_AHCI("%s: transferred %lu bytes\n", __func__, ((ahci_t __far *)(bios_dsk->ahci_seg :> 0))->aCmdHdr[1]); 536 bios_dsk->drqp.trsfsectors = bios_dsk->drqp.nsect; 533 537 high_bits_restore(bios_dsk->ahci_seg :> 0); 534 538 return 0; //@todo!!
Note:
See TracChangeset
for help on using the changeset viewer.