lfn
serial
ticket/834-toolchain-update
topic/fix-logger-deadlock
topic/msim-upgrade
topic/simplify-dev-export
|
Last change
on this file since 936ece7 was 96b02eb9, checked in by Martin Decky <martin@…>, 15 years ago |
|
more unification of basic types
- use sysarg_t and native_t (unsigned and signed variant) in both kernel and uspace
- remove ipcarg_t in favour of sysarg_t
(no change in functionality)
|
-
Property mode
set to
100644
|
|
File size:
605 bytes
|
| Line | |
|---|
| 1 | interface kbd extends service {
|
|---|
| 2 | /* Callback connection */
|
|---|
| 3 | sysarg_t ipc_m_connect_to_me(void);
|
|---|
| 4 |
|
|---|
| 5 | /* Yield hardware */
|
|---|
| 6 | sysarg_t yield(void);
|
|---|
| 7 |
|
|---|
| 8 | /* Reclaim hardware */
|
|---|
| 9 | sysarg_t reclaim(void);
|
|---|
| 10 | protocol:
|
|---|
| 11 | [kbd.bp]
|
|---|
| 12 | };
|
|---|
| 13 |
|
|---|
| 14 | interface event {
|
|---|
| 15 | /* Send keyboard event */
|
|---|
| 16 | sysarg_t event(in sysarg_t type, in sysarg_t key, in sysarg_t mods, in sysarg_t char);
|
|---|
| 17 | protocol:
|
|---|
| 18 | [event.bp]
|
|---|
| 19 | };
|
|---|
| 20 |
|
|---|
| 21 | frame kbd {
|
|---|
| 22 | provides:
|
|---|
| 23 | kbd kbd;
|
|---|
| 24 | requires:
|
|---|
| 25 | [/uspace/lib/libc/requires]
|
|---|
| 26 | event event;
|
|---|
| 27 | ns ns;
|
|---|
| 28 | initialization:
|
|---|
| 29 | !ns.ipc_m_connect_to_me /* kbd */ ;
|
|---|
| 30 | !event.event*
|
|---|
| 31 | protocol:
|
|---|
| 32 | [/uspace/lib/libc/protocol]
|
|---|
| 33 | };
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.