]> git.proxmox.com Git - mirror_qemu.git/commit - hw/scsi/esp.c
esp: introduce esp_pdma_cb() function
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Sat, 5 Mar 2022 15:55:27 +0000 (15:55 +0000)
committerMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Wed, 9 Mar 2022 09:29:10 +0000 (09:29 +0000)
commitd0243b094b681ef38c1d277f519eb21f336fd214
tree2f69acab98861a839b0c5f10264236613ede9a5c
parent1e794c51c429c16ba60b30354fd85adee93b4f1e
esp: introduce esp_pdma_cb() function

This function is to be used to execute the current PDMA callback rather than
dereferencing the ESPState pdma_cb function pointer directly.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <20220305155530.9265-8-mark.cave-ayland@ilande.co.uk>
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
hw/scsi/esp.c