master
h 22 lines 417 Bytes
Raw
1 /*
2 * Virtio RTC device
3 *
4 * Copyright (c) 2026 Kuan-Wei Chiu <visitorckw@gmail.com>
5 * SPDX-License-Identifier: GPL-2.0-or-later
6 */
7
8 #ifndef QEMU_VIRTIO_RTC_H
9 #define QEMU_VIRTIO_RTC_H
10
11 #include "hw/virtio/virtio.h"
12 #include "qom/object.h"
13
14 #define TYPE_VIRTIO_RTC "virtio-rtc-device"
15 OBJECT_DECLARE_SIMPLE_TYPE(VirtIORtc, VIRTIO_RTC)
16
17 struct VirtIORtc {
18 VirtIODevice parent_obj;
19 VirtQueue *vq;
20 };
21
22 #endif