]> Git Repo - qemu.git/blob - include/hw/rtc/aspeed_rtc.h
hw/pci-host/i440fx: Remove the last PIIX3 traces
[qemu.git] / include / hw / rtc / aspeed_rtc.h
1 /*
2  * ASPEED Real Time Clock
3  * Joel Stanley <[email protected]>
4  *
5  * Copyright 2019 IBM Corp
6  * SPDX-License-Identifier: GPL-2.0-or-later
7  */
8 #ifndef HW_RTC_ASPEED_RTC_H
9 #define HW_RTC_ASPEED_RTC_H
10
11 #include "hw/sysbus.h"
12
13 typedef struct AspeedRtcState {
14     SysBusDevice parent_obj;
15
16     MemoryRegion iomem;
17     qemu_irq irq;
18
19     uint32_t reg[0x18];
20     int offset;
21
22 } AspeedRtcState;
23
24 #define TYPE_ASPEED_RTC "aspeed.rtc"
25 #define ASPEED_RTC(obj) OBJECT_CHECK(AspeedRtcState, (obj), TYPE_ASPEED_RTC)
26
27 #endif /* HW_RTC_ASPEED_RTC_H */
This page took 0.026013 seconds and 4 git commands to generate.