]> Git Repo - qemu.git/commit
ide: push end_transfer_func out of start_transfer callback, rename callback
authorPaolo Bonzini <[email protected]>
Wed, 6 Jun 2018 19:09:51 +0000 (15:09 -0400)
committerJohn Snow <[email protected]>
Fri, 8 Jun 2018 17:36:25 +0000 (13:36 -0400)
commitbed9bcfa3275a9cfee82846a9f521c4858a9739a
tree2a240e83cbbbf0438045e526abee224d0c9a1d9e
parent956556e131e35f387ac482ad7b41151576fef057
ide: push end_transfer_func out of start_transfer callback, rename callback

Now that end_transfer_func is a tail call in ahci_start_transfer,
formalize the fact that the callback (of which ahci_start_transfer is
the sole implementation) takes care of the transfer too: rename it to
pio_transfer and, if it is present, call the end_transfer_func as soon
as it returns.

Signed-off-by: Paolo Bonzini <[email protected]>
Signed-off-by: John Snow <[email protected]>
Reviewed-by: John Snow <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Message-id: 20180606190955[email protected]
Signed-off-by: John Snow <[email protected]>
hw/ide/ahci.c
hw/ide/core.c
hw/ide/trace-events
include/hw/ide/internal.h
This page took 0.025289 seconds and 4 git commands to generate.