mirror of
https://github.com/qemu/qemu.git
synced 2024-11-27 05:43:47 +08:00
qdev: Move declaration of qdev_init_bdrv() into qdev.h
Signed-off-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
This commit is contained in:
parent
a803cb8eb8
commit
7b370f5130
@ -9,7 +9,6 @@
|
||||
|
||||
#include "sysbus.h"
|
||||
#include "sd.h"
|
||||
#include "sysemu.h"
|
||||
|
||||
//#define DEBUG_PL181 1
|
||||
|
||||
|
@ -125,6 +125,8 @@ void qdev_machine_creation_done(void);
|
||||
qemu_irq qdev_get_gpio_in(DeviceState *dev, int n);
|
||||
void qdev_connect_gpio_out(DeviceState *dev, int n, qemu_irq pin);
|
||||
|
||||
BlockDriverState *qdev_init_bdrv(DeviceState *dev, BlockInterfaceType type);
|
||||
|
||||
BusState *qdev_get_child_bus(DeviceState *dev, const char *name);
|
||||
|
||||
/*** Device API. ***/
|
||||
|
@ -9,7 +9,6 @@
|
||||
|
||||
#include "ssi.h"
|
||||
#include "sd.h"
|
||||
#include "sysemu.h"
|
||||
|
||||
//#define DEBUG_SSI_SD 1
|
||||
|
||||
|
2
sysemu.h
2
sysemu.h
@ -188,8 +188,6 @@ extern const char *drive_get_serial(BlockDriverState *bdrv);
|
||||
extern BlockInterfaceErrorAction drive_get_on_error(
|
||||
BlockDriverState *bdrv, int is_read);
|
||||
|
||||
BlockDriverState *qdev_init_bdrv(DeviceState *dev, BlockInterfaceType type);
|
||||
|
||||
extern QemuOpts *drive_add(const char *file, const char *fmt, ...);
|
||||
extern DriveInfo *drive_init(QemuOpts *arg, int default_to_scsi,
|
||||
int *fatal_error);
|
||||
|
Loading…
Reference in New Issue
Block a user