We don't do U area swapping anymore, so update some comments. Also,

prototype the new routine that creates a mock U area for a.out core
dumps.

Reviewed by:	arch@
This commit is contained in:
David Schultz 2004-11-20 02:31:46 +00:00
parent d305a6da98
commit 75b5bcbad6

View File

@ -197,15 +197,15 @@ void fill_kinfo_proc(struct proc *, struct kinfo_proc *);
#define KI_LOCKBLOCK 0x00000004 /* proc blocked on lock ki_lockname */
/*
* Per process structure containing data that isn't needed in core
* when the process isn't running (esp. when swapped out).
* This used to be the per-process structure containing data that
* isn't needed in core when the process is swapped out, but now it
* remains only for the benefit of a.out core dumps.
*/
struct user {
struct pstats u_stats; /* *p_stats */
/*
* Remaining field for a.out core dumps - not valid at other times!
*/
struct kinfo_proc u_kproc; /* eproc */
};
void fill_user(struct proc *, struct user *);
#endif