|
|
1.1 root 1: /*
2: * Coherent.
3: * Process trace.
4: */
5: #ifndef PTRACE_H
6: #define PTRACE_H
7: #include <sys/types.h>
8:
9: /*
10: * Structure used for communication between parent and child.
11: */
12: struct ptrace {
13: int pt_req; /* Request */
14: int pt_pid; /* Process id */
15: vaddr_t pt_addr; /* Address */
16: int pt_data; /* Data */
17: int pt_errs; /* Error status */
18: int pt_rval; /* Return value */
19: int pt_busy; /* In use */
20: GATE pt_gate; /* Gate */
21: };
22:
23: #ifdef KERNEL
24: /*
25: * Global variables.
26: */
27: extern struct ptrace pts; /* Ptrace structure */
28:
29: #endif
30:
31: #endif
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.