Upstream: https://gitlab.com/qemu-project/qemu.git Upstream-Commit: d2e570cc0f97b936902a5b1b86b73c0f5998b475
23 lines
417 B
C
23 lines
417 B
C
/*
|
|
* Virtio RTC device
|
|
*
|
|
* Copyright (c) 2026 Kuan-Wei Chiu <[email protected]>
|
|
* SPDX-License-Identifier: GPL-2.0-or-later
|
|
*/
|
|
|
|
#ifndef QEMU_VIRTIO_RTC_H
|
|
#define QEMU_VIRTIO_RTC_H
|
|
|
|
#include "hw/virtio/virtio.h"
|
|
#include "qom/object.h"
|
|
|
|
#define TYPE_VIRTIO_RTC "virtio-rtc-device"
|
|
OBJECT_DECLARE_SIMPLE_TYPE(VirtIORtc, VIRTIO_RTC)
|
|
|
|
struct VirtIORtc {
|
|
VirtIODevice parent_obj;
|
|
VirtQueue *vq;
|
|
};
|
|
|
|
#endif
|