]> git.proxmox.com Git - mirror_qemu.git/blob - include/hw/rtc/mc146818rtc.h
Merge remote-tracking branch 'remotes/stefanha/tags/block-pull-request' into staging
[mirror_qemu.git] / include / hw / rtc / mc146818rtc.h
1 /*
2 * QEMU MC146818 RTC emulation
3 *
4 * Copyright (c) 2003-2004 Fabrice Bellard
5 *
6 * SPDX-License-Identifier: MIT
7 */
8
9 #ifndef HW_RTC_MC146818RTC_H
10 #define HW_RTC_MC146818RTC_H
11
12 #include "hw/isa/isa.h"
13
14 #define TYPE_MC146818_RTC "mc146818rtc"
15
16 ISADevice *mc146818_rtc_init(ISABus *bus, int base_year,
17 qemu_irq intercept_irq);
18 void rtc_set_memory(ISADevice *dev, int addr, int val);
19 int rtc_get_memory(ISADevice *dev, int addr);
20
21 #endif /* MC146818RTC_H */