Changeset 1993f9a in mainline for contrib/arch/uspace/srv/devmap/devmap.adl
- Timestamp:
- 2009-09-15T13:45:23Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- ea5f46d
- Parents:
- ec8bab59
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
contrib/arch/uspace/srv/devmap/devmap.adl
rec8bab59 r1993f9a 4 4 5 5 /* Register as a new driver */ 6 ipcarg_t driver_register( void);6 ipcarg_t driver_register(in_copy string name); 7 7 8 8 /* Unregister all devices and the driver itself */ … … 10 10 11 11 /* Register new device and return handle */ 12 ipcarg_t device_register( out ipcarg_t handle);12 ipcarg_t device_register(in_copy string name, out ipcarg_t handle); 13 13 14 14 /* Unregister device */ … … 16 16 17 17 /* Resolve device name to handle */ 18 ipcarg_t device_get_handle(in ipcarg_t flags );18 ipcarg_t device_get_handle(in ipcarg_t flags, in_copy string name); 19 19 20 20 /* Get device name for a given handle */ 21 21 ipcarg_t device_get_name(in ipcarg_t handle); 22 23 /* Transfer driver or device name */24 ipcarg_t ipc_m_data_write(in ipcarg_t src_addr, in ipcarg_t src_size, out ipcarg_t dst_addr, out ipcarg_t dst_size);25 22 26 23 /* Close connection */ … … 35 32 36 33 /* Resolve device name to handle */ 37 ipcarg_t device_get_handle(in ipcarg_t flags );34 ipcarg_t device_get_handle(in ipcarg_t flags, in_copy string name); 38 35 39 36 /* Get device name for a given handle */ … … 50 47 51 48 /* Get an array of (device_name, handle) pairs */ 52 ipcarg_t device_get_devices(void) 53 54 /* Transfer device name from client */ 55 ipcarg_t ipc_m_data_write(in ipcarg_t src_addr, in ipcarg_t src_size, out ipcarg_t dst_addr, out ipcarg_t dst_size); 56 57 /* Transfer (device_name, handle) pairs to client */ 58 ipcarg_t ipc_m_data_read(in ipcarg_t src_addr, in ipcarg_t src_size, out ipcarg_t dst_addr, out ipcarg_t dst_size); 49 ipcarg_t device_get_devices(out_copy stream data) 59 50 60 51 /* Close connection */ … … 70 61 device_mapper_client dm_client; 71 62 requires: 72 [/ lib/libc/iface.requires]63 [/uspace/lib/libc/requires%] 73 64 protocol: 74 65 [devmap.bp]
Note:
See TracChangeset
for help on using the changeset viewer.