]> Shamusworld >> Repos - virtualjaguar/blobdiff - src/include/idectrl.h
Initial revision
[virtualjaguar] / src / include / idectrl.h
diff --git a/src/include/idectrl.h b/src/include/idectrl.h
new file mode 100644 (file)
index 0000000..61adc55
--- /dev/null
@@ -0,0 +1,24 @@
+#ifndef __IDECTRL_H__
+#define __IDECTRL_H__
+
+#include "types.h"
+#include "harddisk.h"
+
+#define MAX_IDE_CONTROLLERS                    1
+
+struct ide_interface
+{
+       void    (*interrupt)(int state);
+};
+
+int ide_controller_init(int which, struct ide_interface *intf);
+void ide_controller_reset(int which);
+uint8 *ide_get_features(int which);
+/*
+READ32_HANDLER( ide_controller32_0_r );
+WRITE32_HANDLER( ide_controller32_0_w );
+
+READ16_HANDLER( ide_controller16_0_r );
+WRITE16_HANDLER( ide_controller16_0_w );
+*/
+#endif