diff options
author | kib <kib@FreeBSD.org> | 2010-04-24 12:49:52 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2010-04-24 12:49:52 +0000 |
commit | e91c695f77327172ce0a6826362a20989822e97b (patch) | |
tree | f957490736ac9e2d4cf2744de79d181118b36d05 /sys/mips/include/proc.h | |
parent | 0b9b56e38ea79db375d5fe8e9d9be5e7a2b36127 (diff) | |
download | FreeBSD-src-e91c695f77327172ce0a6826362a20989822e97b.zip FreeBSD-src-e91c695f77327172ce0a6826362a20989822e97b.tar.gz |
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.
Submitted by: pluknet
Reviewed by: imp, jhb, nwhitehorn
MFC after: 2 weeks
Diffstat (limited to 'sys/mips/include/proc.h')
-rw-r--r-- | sys/mips/include/proc.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/mips/include/proc.h b/sys/mips/include/proc.h index 0491b11..1479eda 100644 --- a/sys/mips/include/proc.h +++ b/sys/mips/include/proc.h @@ -68,4 +68,10 @@ struct thread; void mips_cpu_switch(struct thread *, struct thread *, struct mtx *); void mips_cpu_throw(struct thread *, struct thread *); +#ifdef __mips_n64 +#define KINFO_PROC_SIZE 1088 +#else +#define KINFO_PROC_SIZE 816 +#endif + #endif /* !_MACHINE_PROC_H_ */ |