mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
rtc: make rtc_xxx accept/return ISADevice instead of RTCState.
To match rtc_xxx with qdev, make rtc_xxx accept and return ISADevice instead of RTCState. Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp> Acked-by: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
parent
e1460e4707
commit
1d914fa0af
9 changed files with 34 additions and 26 deletions
|
@ -21,6 +21,7 @@
|
|||
#include "ide.h"
|
||||
#include "loader.h"
|
||||
#include "elf.h"
|
||||
#include "mc146818rtc.h"
|
||||
|
||||
#define MAX_IDE_BUS 2
|
||||
|
||||
|
@ -165,7 +166,7 @@ void mips_r4k_init (ram_addr_t ram_size,
|
|||
int bios_size;
|
||||
CPUState *env;
|
||||
ResetData *reset_info;
|
||||
RTCState *rtc_state;
|
||||
ISADevice *rtc_state;
|
||||
int i;
|
||||
qemu_irq *i8259;
|
||||
DriveInfo *hd[MAX_IDE_BUS * MAX_IDE_DEVS];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue