mirror of
https://github.com/qemu/qemu.git
synced 2024-11-25 03:43:37 +08:00
83c9f4ca79
Done with this script: cd hw for i in `find . -name '*.h' | sed 's/^..//'`; do echo '\,^#.*include.*["<]'$i'[">], s,'$i',hw/&,' done | sed -i -f - `find . -type f` This is so that paths remain valid as files are moved. Instead, files in hw/dataplane are referenced with the relative path. We know they are not going to move to include/, and they are the only include files that are in subdirectories _and_ move. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
12 lines
313 B
C
12 lines
313 B
C
#ifndef MC146818RTC_H
|
|
#define MC146818RTC_H
|
|
|
|
#include "hw/isa.h"
|
|
#include "hw/mc146818rtc_regs.h"
|
|
|
|
ISADevice *rtc_init(ISABus *bus, int base_year, qemu_irq intercept_irq);
|
|
void rtc_set_memory(ISADevice *dev, int addr, int val);
|
|
void rtc_set_date(ISADevice *dev, const struct tm *tm);
|
|
|
|
#endif /* !MC146818RTC_H */
|