| 1 | typedef enum { |
| 2 | PS_OK, /* generic "call succeeded" */ |
| 3 | PS_ERR, /* generic. */ |
| 4 | PS_BADPID, /* bad process handle */ |
| 5 | PS_BADLID, /* bad lwp identifier */ |
| 6 | PS_BADADDR, /* bad address */ |
| 7 | PS_NOSYM, /* p_lookup() could not find given symbol */ |
| 8 | PS_NOFREGS |
| 9 | /* |
| 10 | * FPU register set not available for given |
| 11 | * lwp |
| 12 | */ |
| 13 | } ps_err_e; |
| 14 | |
| 15 | typedef unsigned int lwpid_t; |
| 16 | typedef unsigned long paddr_t; |
| 17 | typedef unsigned long psaddr_t; |
| 18 | |
| 19 | |
| 20 | typedef gregset_t prgregset_t; /* BOGUS BOGUS BOGUS */ |
| 21 | typedef fpregset_t prfpregset_t; /* BOGUS BOGUS BOGUS */ |
| 22 | |
| 23 | |
| 24 | struct ps_prochandle; /* user defined. */ |