summaryrefslogtreecommitdiff
path: root/device
diff options
context:
space:
mode:
Diffstat (limited to 'device')
-rw-r--r--device/ds_routines.c2
-rw-r--r--device/ds_routines.h4
2 files changed, 5 insertions, 1 deletions
diff --git a/device/ds_routines.c b/device/ds_routines.c
index 2173ddf..d4a08fb 100644
--- a/device/ds_routines.c
+++ b/device/ds_routines.c
@@ -130,6 +130,8 @@ static struct device_emulation_ops *emulation_list[] =
&mach_device_emulation_ops,
};
+vm_map_t device_io_map;
+
#define NUM_EMULATION (sizeof (emulation_list) / sizeof (emulation_list[0]))
io_return_t
diff --git a/device/ds_routines.h b/device/ds_routines.h
index e1f6aad..a00a12d 100644
--- a/device/ds_routines.h
+++ b/device/ds_routines.h
@@ -41,7 +41,9 @@
/*
* Map for device IO memory.
*/
-vm_map_t device_io_map;
+extern vm_map_t device_io_map;
+
+extern queue_head_t io_done_list;
kern_return_t device_read_alloc(io_req_t, vm_size_t);
kern_return_t device_write_get(io_req_t, boolean_t *);