procfs.h (0c21a60cf61c61c3a136a803b9c7645c128c6982) | procfs.h (dbee5c671aa8cf7673e92ca7ce6d227f52cb185c) |
---|---|
1/*- 2 * Copyright (c) 1998 John D. Polstra. 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 75 unchanged lines hidden (view full) --- 84 85typedef struct thrmisc { 86 char pr_tname[MAXCOMLEN+1]; /* Thread name, null terminated (1) */ 87 u_int _pad; /* Convenience pad, 0-filled (1) */ 88} thrmisc_t; 89 90typedef uint64_t psaddr_t; /* An address in the target process. */ 91 | 1/*- 2 * Copyright (c) 1998 John D. Polstra. 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 75 unchanged lines hidden (view full) --- 84 85typedef struct thrmisc { 86 char pr_tname[MAXCOMLEN+1]; /* Thread name, null terminated (1) */ 87 u_int _pad; /* Convenience pad, 0-filled (1) */ 88} thrmisc_t; 89 90typedef uint64_t psaddr_t; /* An address in the target process. */ 91 |
92#ifdef __HAVE_REG32 93typedef struct prstatus32 { 94 int32_t pr_version; 95 uint32_t pr_statussz; 96 uint32_t pr_gregsetsz; 97 uint32_t pr_fpregsetsz; 98 int32_t pr_osreldate; 99 int32_t pr_cursig; 100 int32_t pr_pid; 101 struct reg32 pr_reg; 102} prstatus32_t; 103 104typedef struct prpsinfo32 { 105 int32_t pr_version; 106 uint32_t pr_psinfosz; 107 char pr_fname[PRFNAMESZ+1]; 108 char pr_psargs[PRARGSZ+1]; 109} prpsinfo32_t; 110 111struct thrmisc32 { 112 char pr_tname[MAXCOMLEN+1]; 113 uint32_t _pad; 114}; 115#endif /* __HAVE_REG32 */ 116 |
|
92#endif /* _SYS_PROCFS_H_ */ | 117#endif /* _SYS_PROCFS_H_ */ |