repo.or.cz
/
qemu.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge remote-tracking branch 'sstabellini/disk_io' into staging
[qemu.git]
/
hw
/
mc146818rtc.h
blob
f1199300a47ddd1487cd665c381ebd18a790c857
1
#ifndef MC146818RTC_H
2
#define MC146818RTC_H
3
4
#include
"isa.h"
5
6
#define RTC_ISA_IRQ 8
7
8
ISADevice
*
rtc_init
(
ISABus
*
bus
,
int
base_year
,
qemu_irq intercept_irq
);
9
void
rtc_set_memory
(
ISADevice
*
dev
,
int
addr
,
int
val
);
10
void
rtc_set_date
(
ISADevice
*
dev
,
const struct
tm
*
tm
);
11
12
#endif
/* !MC146818RTC_H */