lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
Last change
on this file since ea5f46d was ea5f46d, checked in by Martin Decky <martin@…>, 16 years ago |
|
hierarchical composition of components
(tmpfs, fat, devfs are logical subcomponents of vfs, kbd and fb are subcomponents of console, rd is subcomponent of bd)
|
-
Property mode
set to
100644
|
|
File size:
855 bytes
|
| Line | |
|---|
| 1 | interface bd extends service {
|
|---|
| 2 | /* Establish connection */
|
|---|
| 3 | ipcarg_t ipc_m_connect_me_to(void);
|
|---|
| 4 |
|
|---|
| 5 | /* Share out data buffer */
|
|---|
| 6 | ipcarg_t ipc_m_share_out(in ipcarg_t as_area_base, in ipcarg_t as_area_size, in ipcarg_t flags, out ipcarg_t dst_as_area_base);
|
|---|
| 7 |
|
|---|
| 8 | /* Get block size */
|
|---|
| 9 | ipcarg_t get_block_size(out ipcarg_t block_size);
|
|---|
| 10 |
|
|---|
| 11 | /* Read blocks via shared data buffer */
|
|---|
| 12 | ipcarg_t read_blocks(in ipcarg_t index_lower, in ipcarg_t index_upper, in ipcarg_t count);
|
|---|
| 13 |
|
|---|
| 14 | /* Write blocks via shared data buffer */
|
|---|
| 15 | ipcarg_t write_blocks(in ipcarg_t index_lower, in ipcarg_t index_upper, in ipcarg_t count);
|
|---|
| 16 |
|
|---|
| 17 | /* Close connection */
|
|---|
| 18 | ipcarg_t ipc_m_phone_hungup(void);
|
|---|
| 19 | protocol:
|
|---|
| 20 | [bd.bp]
|
|---|
| 21 | };
|
|---|
| 22 |
|
|---|
| 23 | architecture bd {
|
|---|
| 24 | inst rd rd;
|
|---|
| 25 |
|
|---|
| 26 | [/uspace/lib/libc/subsume%rd]
|
|---|
| 27 |
|
|---|
| 28 | delegate bd to rd:bd;
|
|---|
| 29 |
|
|---|
| 30 | subsume rd:ns to ns;
|
|---|
| 31 | subsume rd:devmap to devmap;
|
|---|
| 32 | };
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.