diff options
author | jhb <jhb@FreeBSD.org> | 2001-06-29 11:10:41 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2001-06-29 11:10:41 +0000 |
commit | d82893e6762433665a192f6ffe2dad2a1a6c0678 (patch) | |
tree | cb74fd6ffd13686b7602fd19e3756d344a7b64e2 /sys/sys | |
parent | 11807e464b0264daf76c2429a84420f80a6605d1 (diff) | |
download | FreeBSD-src-d82893e6762433665a192f6ffe2dad2a1a6c0678.zip FreeBSD-src-d82893e6762433665a192f6ffe2dad2a1a6c0678.tar.gz |
Add a new MI pointer to the process' trapframe p_frame instead of using
various differently named pointers buried under p_md.
Reviewed by: jake (in principle)
Diffstat (limited to 'sys/sys')
-rw-r--r-- | sys/sys/proc.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/sys/proc.h b/sys/sys/proc.h index 268925a..c8ce169 100644 --- a/sys/sys/proc.h +++ b/sys/sys/proc.h @@ -149,6 +149,7 @@ struct pargs { */ struct ithd; struct nlminfo; +struct trapframe; struct proc { TAILQ_ENTRY(proc) p_procq; /* (j) Run/mutex queue. */ @@ -275,6 +276,7 @@ struct proc { struct proc *p_leader; /* (c) */ struct pasleep p_asleep; /* (k) Used by asleep()/await(). */ void *p_emuldata; /* (c) Emulator state data. */ + struct trapframe *p_frame; /* (k) */ }; #define p_session p_pgrp->pg_session @@ -500,9 +502,6 @@ extern int lastpid; #define INVERSE_ESTCPU_WEIGHT 8 /* 1 / (priorities per estcpu level). */ #define NICE_WEIGHT 1 /* Priorities per nice level. */ -struct mtx; -struct trapframe; - struct proc *pfind __P((pid_t)); /* Find process by id. */ struct pgrp *pgfind __P((pid_t)); /* Find process group by id. */ struct proc *zpfind __P((pid_t)); /* Find zombie process by id. */ |