Subversion Repositories HelenOS

Rev

Rev 2809 | Rev 3425 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2809 Rev 2812
Line 193... Line 193...
193
 * - ARG1 - source virtual address in the destination address space
193
 * - ARG1 - source virtual address in the destination address space
194
 * - ARG2 - final size of data to be copied
194
 * - ARG2 - final size of data to be copied
195
 */
195
 */
196
#define IPC_M_DATA_READ     7
196
#define IPC_M_DATA_READ     7
197
 
197
 
198
/** Start debugging the recipient.
198
/** Debug the recipient.
199
 * Causes all threads in the receiving task to stop. When they
199
 * - ARG1 - specifies the debug method (from udebug_method_t)
200
 * are all stoped, an answer with retval 0 is generated.
200
 * - other arguments are specific to the debug method
201
 */
201
 */
202
#define IPC_M_DEBUG_BEGIN   8
-
 
203
 
-
 
204
/** Finish debugging the recipient.
-
 
205
 * Answers all pending GO and GUARD messages.
-
 
206
 */
-
 
207
#define IPC_M_DEBUG_END     9
202
#define IPC_M_DEBUG_ALL     8
208
 
-
 
209
/** Make sure the debugged task is still there.
-
 
210
 * This message is answered when the debugged task dies
-
 
211
 * or the debugging session ends.
-
 
212
 */
-
 
213
#define IPC_M_DEBUG_GUARD   10
-
 
214
 
-
 
215
/** Run a thread until a debugging event occurs.
-
 
216
 * This message is answered when the thread stops
-
 
217
 * in a debugging event.
-
 
218
 *
-
 
219
 * - ARG1 - id of the thread to run
-
 
220
 */
-
 
221
#define IPC_M_DEBUG_GO      11
-
 
222
 
-
 
223
/** Stop a thread being debugged.
-
 
224
 * Creates a special STOP event in the thread, causing
-
 
225
 * it to answer a pending GO message (if any).
-
 
226
 */
-
 
227
#define IPC_M_DEBUG_STOP    12
-
 
228
 
-
 
229
/** Read arguments of a syscall.
-
 
230
 *
-
 
231
 * - ARG1 - thread identification
-
 
232
 * - ARG2 - destination address in the caller's address space
-
 
233
 * - ARG3 - size of receiving buffer in bytes
-
 
234
 *
-
 
235
 * on answer, the kernel will set:
-
 
236
 *
-
 
237
 * - ARG1 - actual size in bytes of data read
-
 
238
 */
-
 
239
#define IPC_M_DEBUG_ARGS_READ   12
-
 
240
 
-
 
241
/** Read the list of the debugged tasks's threads.
-
 
242
 *
-
 
243
 * - ARG1 - destination address in the caller's address space
-
 
244
 * - ARG2 - size of receiving buffer in bytes
-
 
245
 *
-
 
246
 * The kernel fills the buffer with a series of sysarg_t values
-
 
247
 * (thread ids). On answer, the kernel will set:
-
 
248
 *
-
 
249
 * - ARG1 - number of bytes that were actually copied
-
 
250
 * - ARG2 - number of bytes of the complete data
-
 
251
 *
-
 
252
 */
-
 
253
#define IPC_M_DEBUG_THREAD_READ 13
-
 
254
 
-
 
255
/** Read the list of the debugged tasks's memory.
-
 
256
 *
-
 
257
 * - ARG1 - destination address in the caller's address space
-
 
258
 * - ARG2 - source address in the recipient's address space
-
 
259
 * - ARG3 - size of receiving buffer in bytes
-
 
260
 *
-
 
261
 */
-
 
262
#define IPC_M_DEBUG_MEM_READ    14
-
 
263
 
203
 
264
/* Well-known methods */
204
/* Well-known methods */
265
#define IPC_M_LAST_SYSTEM   511
205
#define IPC_M_LAST_SYSTEM   511
266
#define IPC_M_PING      512
206
#define IPC_M_PING      512
267
/* User methods */
207
/* User methods */