Remove references to U area and garbage collect includes.
Reviewed by: arch@
This commit is contained in:
parent
6aebc04f23
commit
475ee07a1d
@ -50,14 +50,12 @@ __FBSDID("$FreeBSD$");
|
||||
#include <sys/socket.h>
|
||||
#include <sys/resourcevar.h>
|
||||
#include <sys/ucontext.h>
|
||||
#include <sys/user.h>
|
||||
#include <machine/tss.h>
|
||||
#include <sys/vmmeter.h>
|
||||
#include <vm/vm.h>
|
||||
#include <vm/vm_param.h>
|
||||
#include <vm/pmap.h>
|
||||
#include <vm/vm_map.h>
|
||||
#include <sys/user.h>
|
||||
#include <sys/proc.h>
|
||||
#include <net/if.h>
|
||||
#include <netinet/in.h>
|
||||
@ -67,6 +65,7 @@ __FBSDID("$FreeBSD$");
|
||||
#include <nfsclient/nfsdiskless.h>
|
||||
#include <machine/apicreg.h>
|
||||
#include <machine/cpu.h>
|
||||
#include <machine/pcb.h>
|
||||
#include <machine/sigframe.h>
|
||||
#include <machine/proc.h>
|
||||
#include <machine/specialreg.h>
|
||||
@ -76,7 +75,6 @@ ASSYM(P_VMSPACE, offsetof(struct proc, p_vmspace));
|
||||
ASSYM(VM_PMAP, offsetof(struct vmspace, vm_pmap));
|
||||
ASSYM(PM_ACTIVE, offsetof(struct pmap, pm_active));
|
||||
ASSYM(P_SFLAG, offsetof(struct proc, p_sflag));
|
||||
ASSYM(P_UAREA, offsetof(struct proc, p_uarea));
|
||||
|
||||
ASSYM(TD_FLAGS, offsetof(struct thread, td_flags));
|
||||
ASSYM(TD_PCB, offsetof(struct thread, td_pcb));
|
||||
@ -88,7 +86,6 @@ ASSYM(TDF_NEEDRESCHED, TDF_NEEDRESCHED);
|
||||
ASSYM(V_TRAP, offsetof(struct vmmeter, v_trap));
|
||||
ASSYM(V_SYSCALL, offsetof(struct vmmeter, v_syscall));
|
||||
ASSYM(V_INTR, offsetof(struct vmmeter, v_intr));
|
||||
ASSYM(UAREA_PAGES, UAREA_PAGES);
|
||||
ASSYM(KSTACK_PAGES, KSTACK_PAGES);
|
||||
ASSYM(PAGE_SIZE, PAGE_SIZE);
|
||||
ASSYM(NPTEPG, NPTEPG);
|
||||
|
@ -31,7 +31,6 @@ __FBSDID("$FreeBSD$");
|
||||
#include <sys/systm.h>
|
||||
#include <sys/assym.h>
|
||||
#include <sys/proc.h>
|
||||
#include <sys/user.h>
|
||||
#include <sys/mbuf.h>
|
||||
#include <sys/vmmeter.h>
|
||||
#include <vm/vm.h>
|
||||
@ -42,6 +41,7 @@ __FBSDID("$FreeBSD$");
|
||||
#include <machine/cpu.h>
|
||||
#include <machine/proc.h>
|
||||
#include <machine/cpufunc.h>
|
||||
#include <machine/pcb.h>
|
||||
#include <machine/pte.h>
|
||||
#include <machine/intr.h>
|
||||
#include <netinet/in.h>
|
||||
@ -94,7 +94,6 @@ ASSYM(TD_FRAME, offsetof(struct thread, td_frame));
|
||||
ASSYM(TF_R0, offsetof(struct trapframe, tf_r0));
|
||||
ASSYM(TF_R1, offsetof(struct trapframe, tf_r1));
|
||||
ASSYM(TF_PC, offsetof(struct trapframe, tf_pc));
|
||||
ASSYM(P_UAREA, offsetof(struct proc, p_uarea));
|
||||
ASSYM(P_PID, offsetof(struct proc, p_pid));
|
||||
ASSYM(P_FLAG, offsetof(struct proc, p_flag));
|
||||
|
||||
@ -105,7 +104,6 @@ ASSYM(PMAP_INCLUDE_PTE_SYNC, 1);
|
||||
#endif
|
||||
ASSYM(TDF_ASTPENDING, TDF_ASTPENDING);
|
||||
ASSYM(TDF_NEEDRESCHED, TDF_NEEDRESCHED);
|
||||
ASSYM(USER_SIZE, sizeof(struct user));
|
||||
ASSYM(P_TRACED, P_TRACED);
|
||||
ASSYM(P_SIGEVENT, P_SIGEVENT);
|
||||
ASSYM(P_PROFIL, P_PROFIL);
|
||||
|
@ -50,8 +50,8 @@ __FBSDID("$FreeBSD$");
|
||||
#include <sys/mutex.h>
|
||||
#include <sys/socket.h>
|
||||
#include <sys/resourcevar.h>
|
||||
#include <sys/signalvar.h>
|
||||
#include <sys/ucontext.h>
|
||||
#include <sys/user.h>
|
||||
#include <machine/bootinfo.h>
|
||||
#include <machine/tss.h>
|
||||
#include <sys/vmmeter.h>
|
||||
@ -59,7 +59,6 @@ __FBSDID("$FreeBSD$");
|
||||
#include <vm/vm_param.h>
|
||||
#include <vm/pmap.h>
|
||||
#include <vm/vm_map.h>
|
||||
#include <sys/user.h>
|
||||
#include <sys/proc.h>
|
||||
#include <net/if.h>
|
||||
#include <netinet/in.h>
|
||||
@ -71,6 +70,7 @@ __FBSDID("$FreeBSD$");
|
||||
#include <machine/apicreg.h>
|
||||
#endif
|
||||
#include <machine/cpu.h>
|
||||
#include <machine/pcb.h>
|
||||
#include <machine/sigframe.h>
|
||||
#include <machine/vm86.h>
|
||||
#include <machine/proc.h>
|
||||
@ -79,7 +79,6 @@ ASSYM(P_VMSPACE, offsetof(struct proc, p_vmspace));
|
||||
ASSYM(VM_PMAP, offsetof(struct vmspace, vm_pmap));
|
||||
ASSYM(PM_ACTIVE, offsetof(struct pmap, pm_active));
|
||||
ASSYM(P_SFLAG, offsetof(struct proc, p_sflag));
|
||||
ASSYM(P_UAREA, offsetof(struct proc, p_uarea));
|
||||
|
||||
ASSYM(TD_FLAGS, offsetof(struct thread, td_flags));
|
||||
ASSYM(TD_PCB, offsetof(struct thread, td_pcb));
|
||||
@ -96,7 +95,6 @@ ASSYM(V_TRAP, offsetof(struct vmmeter, v_trap));
|
||||
ASSYM(V_SYSCALL, offsetof(struct vmmeter, v_syscall));
|
||||
ASSYM(V_INTR, offsetof(struct vmmeter, v_intr));
|
||||
/* ASSYM(UPAGES, UPAGES);*/
|
||||
ASSYM(UAREA_PAGES, UAREA_PAGES);
|
||||
ASSYM(KSTACK_PAGES, KSTACK_PAGES);
|
||||
ASSYM(PAGE_SIZE, PAGE_SIZE);
|
||||
ASSYM(NPTEPG, NPTEPG);
|
||||
|
@ -41,7 +41,6 @@
|
||||
#include <sys/smp.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/ucontext.h>
|
||||
#include <sys/user.h>
|
||||
#include <sys/ucontext.h>
|
||||
#include <sys/vmmeter.h>
|
||||
|
||||
@ -81,7 +80,6 @@ ASSYM(ENAMETOOLONG, ENAMETOOLONG);
|
||||
ASSYM(KSTACK_PAGES, KSTACK_PAGES);
|
||||
ASSYM(KSTACK_GUARD_PAGES, KSTACK_GUARD_PAGES);
|
||||
ASSYM(PCPU_PAGES, PCPU_PAGES);
|
||||
ASSYM(UAREA_PAGES, UAREA_PAGES);
|
||||
|
||||
ASSYM(PIL_TICK, PIL_TICK);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user