summaryrefslogtreecommitdiff
path: root/defs.h
diff options
context:
space:
mode:
Diffstat (limited to 'defs.h')
-rw-r--r--defs.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/defs.h b/defs.h
index 64ee013..f271b59 100644
--- a/defs.h
+++ b/defs.h
@@ -70,8 +70,7 @@ 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_intr(void);
-int ide_start_read(uint32_t secno, void *dst, unsigned nsecs);
-int ide_read(uint32_t secno, void *dst, unsigned nsecs);
+void* ide_start_read(uint32_t secno, void *dst, unsigned nsecs);
+int ide_finish_read(void *);