diff options
author | kib <kib@FreeBSD.org> | 2010-05-08 18:54:47 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2010-05-08 18:54:47 +0000 |
commit | 21d551ae0224e62964401c9da958f37d5a6cd5bb (patch) | |
tree | c9a523664398c47ceb20c77198d8c47e2f3aef1e /sys/amd64/include | |
parent | 779c0098fa6adbcbae37867de0cd8eb4aad64e84 (diff) | |
download | FreeBSD-src-21d551ae0224e62964401c9da958f37d5a6cd5bb.zip FreeBSD-src-21d551ae0224e62964401c9da958f37d5a6cd5bb.tar.gz |
MFC r204051 (by imp):
n64 has a different size for KINFO_PROC_SIZE.
Approved by: imp
MFC r207152:
Move the constants specifying the size of struct kinfo_proc into
machine-specific header files. Add KINFO_PROC32_SIZE for struct
kinfo_proc32 for architectures providing COMPAT_FREEBSD32. Add
CTASSERT for the size of struct kinfo_proc32.
MFC r207269:
Style: use #define<TAB> instead of #define<SPACE>.
Diffstat (limited to 'sys/amd64/include')
-rw-r--r-- | sys/amd64/include/proc.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/amd64/include/proc.h b/sys/amd64/include/proc.h index 33d5181..acea4c0 100644 --- a/sys/amd64/include/proc.h +++ b/sys/amd64/include/proc.h @@ -53,6 +53,9 @@ struct mdproc { struct system_segment_descriptor md_ldt_sd; }; +#define KINFO_PROC_SIZE 1088 +#define KINFO_PROC32_SIZE 768 + #ifdef _KERNEL /* Get the current kernel thread stack usage. */ |