aboutsummaryrefslogtreecommitdiff
path: root/vl.h
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2003-11-11 13:48:59 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2003-11-11 13:48:59 +0000
commit5391d8066941d9ed0dc32c3e8e02cfcde6a0c53b (patch)
treec261b29bba69360cb0f350172af6ee5662a59ecb /vl.h
parent36b486bb74ca651d07968372cebd6e742114e144 (diff)
moved IDE driver to ide.c
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@445 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'vl.h')
-rw-r--r--vl.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/vl.h b/vl.h
index 531eabe02d..f2c8d6d0da 100644
--- a/vl.h
+++ b/vl.h
@@ -34,6 +34,7 @@ typedef uint32_t (IOPortReadFunc)(struct CPUX86State *env, uint32_t address);
void *get_mmap_addr(unsigned long size);
int register_ioport_read(int start, int length, IOPortReadFunc *func, int size);
int register_ioport_write(int start, int length, IOPortWriteFunc *func, int size);
+void pic_set_irq(int irq, int level);
void kbd_put_keycode(int keycode);
@@ -97,4 +98,13 @@ void vga_update_display(void);
/* sdl.c */
void sdl_display_init(DisplayState *ds);
+/* ide.c */
+#define MAX_DISKS 4
+
+extern BlockDriverState *bs_table[MAX_DISKS];
+
+void ide_init(void);
+void ide_set_geometry(int n, int cyls, int heads, int secs);
+void ide_set_cdrom(int n, int is_cdrom);
+
#endif /* VL_H */