2 PTQ_HEAD(thread_queue_t
, td_thread_st
);
3 PTQ_HEAD(sync_queue_t
, td_sync_st
);
6 struct td_proc_callbacks_t
*cb
;
18 caddr_t stacksizeaddr
;
23 struct fpreg
*fpregbuf
;
25 struct thread_queue_t threads
;
33 PTQ_ENTRY(td_thread_st
) list
;
40 PTQ_ENTRY(td_sync_st
) list
;
43 #define READ(proc, addr, buf, size) ((proc)->cb->proc_read((proc)->arg, (addr), (buf), (size)))
44 #define WRITE(proc, addr, buf, size) ((proc)->cb->proc_write((proc)->arg, (addr), (buf), (size)))
45 #define LOOKUP(proc, sym, addr) ((proc)->cb->proc_lookup((proc)->arg, (sym), (addr)))
46 #define REGSIZE(proc, regset, size) ((proc)->cb->proc_regsize((proc)->arg, (regset), (size)))
47 #define GETREGS(proc, regset, lwp, buf) ((proc)->cb->proc_getregs((proc)->arg, (regset), (lwp), (buf)))
48 #define SETREGS(proc, regset, lwp, buf) ((proc)->cb->proc_setregs((proc)->arg, (regset), (lwp), (buf)))