mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 18:23:57 -06:00
switch ide bus to inplace allocation.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
b2317837f0
commit
1f850f1064
4 changed files with 36 additions and 39 deletions
|
@ -551,7 +551,7 @@ void ide_init2(IDEBus *bus, DriveInfo *hd0, DriveInfo *hd1,
|
|||
void ide_init_ioport(IDEBus *bus, int iobase, int iobase2);
|
||||
|
||||
/* hw/ide/qdev.c */
|
||||
IDEBus *ide_bus_new(DeviceState *dev);
|
||||
void ide_bus_new(IDEBus *idebus, DeviceState *dev);
|
||||
IDEDevice *ide_create_drive(IDEBus *bus, int unit, DriveInfo *drive);
|
||||
|
||||
#endif /* HW_IDE_INTERNAL_H */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue