[PATCH 0/3] hw/sysbus: Document GPIO related functions

Philippe Mathieu-Daudé posted 3 patches 4 years, 1 month ago
Test checkpatch passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20211229225206.171882-1-philmd@redhat.com
hw/core/qdev-internal.h   | 15 +++++++++
hw/core/sysbus-internal.h | 16 +++++++++
include/hw/qdev-core.h    | 18 ----------
include/hw/sysbus.h       | 69 ++++++++++++++++++++++++++++++++++++---
hw/core/gpio.c            |  1 +
hw/core/platform-bus.c    |  2 +-
hw/core/sysbus.c          |  2 ++
7 files changed, 99 insertions(+), 24 deletions(-)
create mode 100644 hw/core/qdev-internal.h
create mode 100644 hw/core/sysbus-internal.h
[PATCH 0/3] hw/sysbus: Document GPIO related functions
Posted by Philippe Mathieu-Daudé 4 years, 1 month ago
Reduce the scope of a pair of qdev/sysbus functions,
then document the sysbus functions related to creating
and connecting GPIO lines.

Based-on: <20211218130437.1516929-1-f4bug@amsat.org>

Philippe Mathieu-Daudé (3):
  hw/qdev: Restrict qdev_get_gpio_out_connector() to qdev-internal.h
  hw/sysbus: Restrict sysbus_get_connected_irq() to sysbus-internal.h
  hw/sysbus: Document GPIO related functions

 hw/core/qdev-internal.h   | 15 +++++++++
 hw/core/sysbus-internal.h | 16 +++++++++
 include/hw/qdev-core.h    | 18 ----------
 include/hw/sysbus.h       | 69 ++++++++++++++++++++++++++++++++++++---
 hw/core/gpio.c            |  1 +
 hw/core/platform-bus.c    |  2 +-
 hw/core/sysbus.c          |  2 ++
 7 files changed, 99 insertions(+), 24 deletions(-)
 create mode 100644 hw/core/qdev-internal.h
 create mode 100644 hw/core/sysbus-internal.h

-- 
2.33.1