diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2009-08-20 15:22:19 +0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-08-27 20:43:33 -0500 |
commit | ec82026c97975e1e327aab76653ff7edeeb27967 (patch) | |
tree | 7909faa1a5e5bd503dc44e25ca30f835a5d8e721 /hw/ide.h | |
parent | 356721aede69c80141c4a94ec26a78f91d63c9a5 (diff) | |
download | qemu-ec82026c97975e1e327aab76653ff7edeeb27967.tar.gz qemu-ec82026c97975e1e327aab76653ff7edeeb27967.tar.bz2 qemu-ec82026c97975e1e327aab76653ff7edeeb27967.zip |
ide: split away ide-isa.c
create ide-isa.c and place isa bus support there.
only build ide-isa support for platforms using it.
also create ide.h header file.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/ide.h')
-rw-r--r-- | hw/ide.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/hw/ide.h b/hw/ide.h new file mode 100644 index 0000000000..73ef93e419 --- /dev/null +++ b/hw/ide.h @@ -0,0 +1,10 @@ +#ifndef HW_IDE_H +#define HW_IDE_H + +#include "qdev.h" + +/* ide-isa.c */ +void isa_ide_init(int iobase, int iobase2, qemu_irq irq, + BlockDriverState *hd0, BlockDriverState *hd1); + +#endif /* HW_IDE_H */ |