source: mainline/contrib/arch/uspace/srv/fs/devfs/devfs.bp@ 86018c1

lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
Last change on this file since 86018c1 was cf7b3e0, checked in by Martin Decky <martin@…>, 16 years ago

various fixes and cleanup

  • Property mode set to 100644
File size: 993 bytes
Line 
1(
2 ?ipc_m_connect_me_to ;
3 (
4 ?mounted {
5 ?ipc_m_data_write /* mount options */
6 } +
7
8 ?lookup {
9 tentative {
10 [/uspace/lib/libc/fnc.devmap_device_get_handle] ;
11 tentative {
12 [/uspace/lib/libc/fnc.devmap_device_connect]
13 }
14 }
15 } +
16
17 ?open_node {
18 tentative {
19 [/uspace/lib/libc/fnc.devmap_device_connect]
20 }
21 } +
22
23 ?read {
24 tentative {
25 ?ipc_m_data_read /* payload */ {
26 !device.read {
27 !device.ipc_m_data_read /* forward */
28 }
29 } +
30 (
31 [/uspace/lib/libc/fnc.devmap_device_get_count] ;
32 [/uspace/lib/libc/fnc.devmap_device_get_devices]
33 )
34 }
35 } +
36
37 ?write {
38 tentative {
39 ?ipc_m_data_write /* payload */ {
40 !device.write {
41 !device.ipc_m_data_write /* forward */
42 }
43 }
44 }
45 } +
46
47 ?stat {
48 ?ipc_m_data_read /* struct data */
49 } +
50
51 ?close {
52 !device.ipc_m_phone_hungup
53 } +
54
55 ?mount +
56 ?truncate +
57 ?destroy +
58 ?sync
59 )* ;
60 ?ipc_m_phone_hungup
61)* ;
62!vfs.ipc_m_phone_hungup
Note: See TracBrowser for help on using the repository browser.