/branches/tracing/kernel/generic/include/proc/thread.h |
---|
206,6 → 206,7 |
/** Debugging stuff */ |
waitq_t go_wq; |
unative_t syscall_args[6]; |
} thread_t; |
/** Thread list lock. |
/branches/tracing/kernel/generic/include/udebug.h |
---|
7,7 → 7,12 |
#ifndef KERN_UDEBUG_H_ |
#define KERN_UDEBUG_H_ |
void udebug_syscall_event(void); |
typedef enum { |
UDEBUG_EVENT_SYSCALL |
} udebug_event_t; |
void udebug_syscall_event(unative_t a1, unative_t a2, unative_t a3, |
unative_t a4, unative_t a5, unative_t a6, unative_t id, unative_t rc); |
void udebug_stoppable_begin(void); |
void udebug_stoppable_end(void); |
/branches/tracing/kernel/generic/include/ipc/ipc.h |
---|
224,6 → 224,18 |
*/ |
#define IPC_M_DEBUG_STOP 12 |
/** Read arguments of a syscall. |
* |
* - ARG1 - thread identification |
* - ARG2 - destination address in the caller's address space |
* - ARG3 - size of receiving buffer in bytes |
* |
* on answer, the kernel will set: |
* |
* - ARG1 - actual size in bytes of data read |
*/ |
#define IPC_M_DEBUG_ARGS_READ 12 |
/* Well-known methods */ |
#define IPC_M_LAST_SYSTEM 511 |
#define IPC_M_PING 512 |