summaryrefslogtreecommitdiff
path: root/defs.h
diff options
context:
space:
mode:
Diffstat (limited to 'defs.h')
-rw-r--r--defs.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/defs.h b/defs.h
index a6f28e4..64ee013 100644
--- a/defs.h
+++ b/defs.h
@@ -70,6 +70,8 @@ int fd_read(struct fd *fd, char *addr, int n);
int fd_write(struct fd *fd, char *addr, int n);
// ide.c
+extern int disk_channel;
void ide_init(void);
-void ide_intri(void);
+void ide_intr(void);
+int ide_start_read(uint32_t secno, void *dst, unsigned nsecs);
int ide_read(uint32_t secno, void *dst, unsigned nsecs);