]> xenbits.xensource.com Git - qemu-xen.git/commit
exec/cpu-common: Move MUSB specific typedefs to 'hw/usb/hcd-musb.h'
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Mon, 1 Jun 2020 14:15:36 +0000 (16:15 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 12 Jun 2020 15:20:15 +0000 (11:20 -0400)
commitefb22b2f98975785aa594e5a198d4c2e13a5d2d0
treeb1a8fbb26068134327ffd9112996df48fb0ec12b
parent2c89d91195c4c7a118d2ae3518c31ca77a0583cd
exec/cpu-common: Move MUSB specific typedefs to 'hw/usb/hcd-musb.h'

The CPUReadMemoryFunc/CPUWriteMemoryFunc typedefs are legacy
remnant from before the conversion to MemoryRegions.
Since they are now only used in tusb6010.c and hcd-musb.c,
move them to "hw/usb/musb.h" and rename them appropriately.

Suggested-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20200601141536.15192-4-f4bug@amsat.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/usb/hcd-musb.c
include/exec/cpu-common.h
include/hw/usb/hcd-musb.h