summaryrefslogtreecommitdiff
path: root/device/dev_hdr.h
diff options
context:
space:
mode:
Diffstat (limited to 'device/dev_hdr.h')
-rw-r--r--device/dev_hdr.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/device/dev_hdr.h b/device/dev_hdr.h
index 50e2977..7384766 100644
--- a/device/dev_hdr.h
+++ b/device/dev_hdr.h
@@ -106,22 +106,22 @@ typedef struct mach_device *mach_device_t;
/*
* To find and remove device entries
*/
-mach_device_t device_lookup(); /* by name */
+mach_device_t device_lookup(char *); /* by name */
-void mach_device_reference();
-void mach_device_deallocate();
+void mach_device_reference(mach_device_t);
+void mach_device_deallocate(mach_device_t);
/*
* To find and remove port-to-device mappings
*/
-device_t dev_port_lookup();
-void dev_port_enter();
-void dev_port_remove();
+device_t dev_port_lookup(ipc_port_t);
+void dev_port_enter(mach_device_t);
+void dev_port_remove(mach_device_t);
/*
* To call a routine on each device
*/
-boolean_t dev_map();
+boolean_t dev_map(boolean_t (*)(), mach_port_t);
/*
* To lock and unlock state and open-count