Skip to content

exec: Kill CPUReadMemoryFunc/CPUWriteMemoryFunc typedefs

Philippe Mathieu-Daudé qemu-devel qemu-trivial 2 versions Applied

Status from this message: Queued, thanks.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 4 repliesApplied
  2. v13 patches 2 repliesSuperseded

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/3exec/memory: Remove unused MemoryRegionMmio typeinclude/exec/memory.h+0 -61 reply
2/3hw/usb: Move device-specific declarations to new 'hcd-musb.h' headerhw/usb/hcd-musb.c hw/usb/tusb6010.c include/hw/usb.h +1 more+48 -301 reply
3/3exec/cpu-common: Move MUSB specific typedefs to 'hw/usb/hcd-musb.h'hw/usb/hcd-musb.c include/exec/cpu-common.h include/hw/usb/hcd-musb.h+7 -91 reply

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchPeter MaydellRichard Henderson
1/3R-b R-b
2/3R-b R-b
3/3R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/3] exec: Kill CPUReadMemoryFunc/CPUWriteMemoryFunc typedefs

Followed Peter's suggestions [1]:

* delete the unused MmeoryRegionMmio
* move these typedefs into include/hw/usb.h and rename them to MUSBReadFunc and MUSBWriteFunc, since that's all they're used for now

Since v1 [2], addressed Peter review:
- Renamed include/hw/usb/musb.h -> include/hw/usb/hcd-musb.h
- Added Peter's R-b tags

Series fully reviewed.

[1] https://www.mail-archive.com/[email protected]/msg708165.html
[2] https://www.mail-archive.com/[email protected]/msg708194.html

Philippe Mathieu-Daudé (3):
exec/memory: Remove unused MemoryRegionMmio type
hw/usb: Move device-specific declarations to new 'hcd-musb.h' header exec/cpu-common: Move MUSB specific typedefs to 'hw/usb/hcd-musb.h'

 include/exec/cpu-common.h |  3 ---
 include/exec/memory.h     |  6 -----
 include/hw/usb.h          | 30 -------------------------
 include/hw/usb/hcd-musb.h | 47 +++++++++++++++++++++++++++++++++++++++
 hw/usb/hcd-musb.c         |  5 +++--
 hw/usb/tusb6010.c         |  1 +
 6 files changed, 51 insertions(+), 41 deletions(-)
 create mode 100644 include/hw/usb/hcd-musb.h
Signature · 1 line
2.21.3