source: mainline/contrib/bp/srv/devmap/devmap.bp@ 67c708e

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

restructure protocols to respect the same hierarchy as tasks in the source tree

  • Property mode set to 100644
File size: 731 bytes
Line 
1!ns.IPC_M_CONNECT_TO_ME ;
2(
3 ?IPC_M_CONNECT_ME_TO ;
4 (
5 ( /* driver interface */
6 ?DEVMAP_DEVICE_REGISTER {
7 ?IPC_M_DATA_WRITE /* name */
8 } +
9
10 ?DEVMAP_DEVICE_GET_HANDLE {
11 ?IPC_M_DATA_WRITE /* name */
12 } +
13
14 ?DEVMAP_DEVICE_GET_NAME +
15
16 ?DEVMAP_DEVICE_UNREGISTER +
17
18 ?DEVMAP_DRIVER_UNREGISTER
19 ) +
20
21 ( /* client interface */
22 ?DEVMAP_DEVICE_GET_HANDLE {
23 ?IPC_M_DATA_WRITE /* name */
24 } +
25
26 ?DEVMAP_DEVICE_GET_NAME +
27
28 ?DEVMAP_DEVICE_NULL_CREATE +
29
30 ?DEVMAP_DEVICE_NULL_DESTROY +
31
32 ?DEVMAP_DEVICE_GET_COUNT +
33
34 ?DEVMAP_DEVICE_GET_DEVICES {
35 ?IPC_M_DATA_READ /* buffer */
36 }
37 ) +
38
39 !dev.IPC_M_CONNECT_ME_TO /* forwarded */
40 )* ;
41 ?IPC_M_PHONE_HUNGUP
42)*
Note: See TracBrowser for help on using the repository browser.