Rev 2918 | Rev 2921 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 2918 | Rev 2919 | ||
|---|---|---|---|
| Line 82... | Line 82... | ||
| 82 | 82 | ||
| 83 | /** Read thread's userspace register state (istate_t). |
83 | /** Read thread's userspace register state (istate_t). |
| 84 | * |
84 | * |
| 85 | * - ARG2 - thread identification |
85 | * - ARG2 - thread identification |
| 86 | * - ARG3 - destination address in the caller's address space |
86 | * - ARG3 - destination address in the caller's address space |
| 87 | * - ARG4 - size of receiving buffer in bytes |
- | |
| 88 | * |
- | |
| 89 | * on answer, the kernel will set: |
- | |
| 90 | * |
- | |
| 91 | * - ARG1 - actual size in bytes of data read |
- | |
| 92 | * - ARG2 - total size in bytes of data available |
- | |
| 93 | * |
87 | * |
| 94 | * or, on error, retval will be |
88 | * or, on error, retval will be |
| 95 | * - ENOENT - thread does not exist |
89 | * - ENOENT - thread does not exist |
| 96 | * - EBUSY - register state not available |
90 | * - EBUSY - register state not available |
| 97 | */ |
91 | */ |
| Line 99... | Line 93... | ||
| 99 | 93 | ||
| 100 | /** Write thread's userspace register state (istate_t). |
94 | /** Write thread's userspace register state (istate_t). |
| 101 | * |
95 | * |
| 102 | * - ARG2 - thread identification |
96 | * - ARG2 - thread identification |
| 103 | * - ARG3 - source address in the caller's address space |
97 | * - ARG3 - source address in the caller's address space |
| 104 | * - ARG4 - size of source data in bytes |
- | |
| 105 | * |
- | |
| 106 | * on answer, the kernel will set: |
- | |
| 107 | * |
- | |
| 108 | * - ARG1 - actual size in bytes of data copied |
- | |
| 109 | * - ARG2 - max size in bytes that could have been copied |
- | |
| 110 | * |
98 | * |
| 111 | * or, on error, retval will be |
99 | * or, on error, retval will be |
| 112 | * - ENOENT - thread does not exist |
100 | * - ENOENT - thread does not exist |
| 113 | * - EBUSY - register state not available |
101 | * - EBUSY - register state not available |
| 114 | */ |
102 | */ |