Files
acrn-hypervisor/devicemodel/include
Yuan Liu 4a6bc369ad DM: virtio-gpio: implement GPIO operations via accessing PIO
GPIO set/get value can be operated by accessing PIO space and the PIO
register definition for GPIO is in gpio_dm.h, frontend driver or ACPI
control methods can operate GPIO based on it.

GPIO mediator also defines ACPI control methods to support GPIO
operations, GPIO consumers can invoke PIO_GPIO_SET_VALUE/PIO_GPIO_GET_VALUE
in their own DSDT to set/get one GPIO value via ACPI control method.

v2: 1) Fix code style.
    2) Use virtio configuration space callbacks to implement GPIO PIO operations
       that replace pci_gpio_read/pci_gpio_write with virtio_cfgread/virtio_cfgwrite.
    3) Return 0xFFFFFFFF as invalid result of PIO reading instead 0.

Tracked-On: #2512
Signed-off-by: Yuan Liu <yuan1.liu@intel.com>
Acked-by: Yu Wang <yu1.wang@intel.com>
2019-04-08 10:51:49 +08:00
..
2018-05-11 14:44:28 +08:00
2018-05-11 14:44:28 +08:00
2018-05-11 14:44:28 +08:00
2018-11-30 14:55:17 +08:00
2018-05-11 14:44:28 +08:00
2018-10-26 13:37:47 +08:00
2018-05-16 15:09:48 +08:00
2018-05-11 14:44:28 +08:00
2018-05-11 14:44:28 +08:00
2018-05-11 14:44:28 +08:00
2018-10-09 13:24:47 +08:00
2018-05-11 14:44:28 +08:00
2019-03-21 10:28:17 +08:00
2018-12-07 20:21:33 +08:00
2018-05-11 14:44:28 +08:00
2018-05-11 14:44:28 +08:00
2018-05-11 14:44:28 +08:00
2018-05-11 14:44:28 +08:00
2018-06-07 16:11:49 +08:00
2018-05-11 14:44:28 +08:00
2018-05-11 14:44:28 +08:00
2018-10-09 13:24:47 +08:00
2018-08-02 13:14:03 +08:00
2018-05-25 10:45:24 +08:00
2018-05-11 14:44:28 +08:00
2018-05-11 14:44:28 +08:00
2019-03-21 10:28:17 +08:00
2019-01-23 10:33:28 +08:00
2018-11-29 09:19:16 +08:00
2019-03-21 10:28:17 +08:00
2018-12-27 09:58:20 +08:00
2018-05-11 14:44:28 +08:00
2018-10-22 16:57:23 +08:00