aboutsummaryrefslogtreecommitdiff
path: root/sys/sys
diff options
context:
space:
mode:
authorMarcel Moolenaar <marcel@FreeBSD.org>2004-06-25 23:06:20 +0000
committerMarcel Moolenaar <marcel@FreeBSD.org>2004-06-25 23:06:20 +0000
commitcfdb160e3181f671ac7d9519329b9ff268f5ac28 (patch)
tree34710a124008489aa7763b1b848d64004361b67f /sys/sys
parent21da5727431ba999c628a55b8299e5f3ec55d028 (diff)
downloadsrc-cfdb160e3181f671ac7d9519329b9ff268f5ac28.tar.gz
src-cfdb160e3181f671ac7d9519329b9ff268f5ac28.zip
Add type definitions for prgregset_t and psaddr_t. Both are used by
the proc services API. The prfpregset_t type already existed.
Notes
Notes: svn path=/head/; revision=131119
Diffstat (limited to 'sys/sys')
-rw-r--r--sys/sys/procfs.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/sys/procfs.h b/sys/sys/procfs.h
index a7d49c160fe7..1b861df12159 100644
--- a/sys/sys/procfs.h
+++ b/sys/sys/procfs.h
@@ -65,6 +65,7 @@ typedef struct prstatus {
gregset_t pr_reg; /* General purpose registers (1) */
} prstatus_t;
+typedef gregset_t prgregset_t;
typedef fpregset_t prfpregset_t;
#define PRFNAMESZ 16 /* Maximum command length saved */
@@ -79,4 +80,6 @@ typedef struct prpsinfo {
char pr_psargs[PRARGSZ+1]; /* Arguments, null terminated (1) */
} prpsinfo_t;
+typedef void *psaddr_t; /* An address in the target process. */
+
#endif /* _SYS_PROCFS_H_ */