2022-08-02 12:50:00 +03:00
|
|
|
/*
|
|
|
|
* Vhost-user GPIO virtio device
|
|
|
|
*
|
|
|
|
* Copyright (c) 2021 Viresh Kumar <viresh.kumar@linaro.org>
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _QEMU_VHOST_USER_GPIO_H
|
|
|
|
#define _QEMU_VHOST_USER_GPIO_H
|
|
|
|
|
|
|
|
#include "hw/virtio/virtio.h"
|
|
|
|
#include "hw/virtio/vhost.h"
|
|
|
|
#include "hw/virtio/vhost-user.h"
|
2024-01-05 00:09:38 +03:00
|
|
|
#include "hw/virtio/vhost-user-base.h"
|
2022-08-02 12:50:00 +03:00
|
|
|
|
|
|
|
#define TYPE_VHOST_USER_GPIO "vhost-user-gpio-device"
|
|
|
|
OBJECT_DECLARE_SIMPLE_TYPE(VHostUserGPIO, VHOST_USER_GPIO);
|
|
|
|
|
|
|
|
struct VHostUserGPIO {
|
2024-01-05 00:09:38 +03:00
|
|
|
VHostUserBase parent_obj;
|
2022-08-02 12:50:00 +03:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif /* _QEMU_VHOST_USER_GPIO_H */
|