[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 0/3] hw/sysbus: Document GPIO related functions
From: |
Philippe Mathieu-Daudé |
Subject: |
[PATCH 0/3] hw/sysbus: Document GPIO related functions |
Date: |
Wed, 29 Dec 2021 23:52:03 +0100 |
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
- [PATCH 0/3] hw/sysbus: Document GPIO related functions,
Philippe Mathieu-Daudé <=