PERFORCE change 73430 for review
Juli Mallett
jmallett at FreeBSD.org
Thu Mar 17 21:16:53 PST 2005
http://perforce.freebsd.org/chv.cgi?CH=73430
Change 73430 by jmallett at jmallett_windward on 2005/03/18 05:16:09
Garbage collect.
Affected files ...
.. //depot/projects/mips/sys/mips/include/param.h#16 edit
.. //depot/projects/mips/sys/mips/mips/genassym.c#14 edit
.. //depot/projects/mips/sys/mips/mips/machdep.c#48 edit
Differences ...
==== //depot/projects/mips/sys/mips/include/param.h#16 (text+ko) ====
@@ -25,7 +25,6 @@
#define KSTACK_PAGES 2 /* pages of kstack (with pcb) */
#endif
#define KSTACK_GUARD_PAGES 1 /* pages of kstack guard; 0 disables */
-#define UAREA_PAGES 1 /* pages of u-area */
/*
* Define the architecture. If no platform has been defined, fall back
==== //depot/projects/mips/sys/mips/mips/genassym.c#14 (text+ko) ====
@@ -58,8 +58,6 @@
ASSYM(TD_MD_REGS, offsetof(struct thread, td_md.md_regs));
-ASSYM(P_UAREA, offsetof(struct proc, p_uarea));
-
ASSYM(FRAME_SIZ, sizeof(struct frame));
ASSYM(FRAME_ZERO, offsetof(struct frame, f_regs[ZERO]));
ASSYM(FRAME_AST, offsetof(struct frame, f_regs[AST]));
==== //depot/projects/mips/sys/mips/mips/machdep.c#48 (text+ko) ====
@@ -67,7 +67,6 @@
static struct pcpu pcpu0;
struct pcpu *pcpup = &pcpu0;
-char uarea0[UAREA_PAGES * PAGE_SIZE];
struct cpu_info cpu_info_store;
@@ -88,9 +87,7 @@
mips_cpu_init();
pmap_bootstrap();
- proc_linkup(&proc0, &ksegrp0, &kse0, &thread0);
- proc0.p_uarea = (struct user *)uarea0;
- proc0.p_stats = &proc0.p_uarea->u_stats;
+ proc_linkup(&proc0, &ksegrp0, &thread0);
thread0.td_kstack = kstack0;
pcpu_init(pcpup, 0, sizeof(struct pcpu));
pcpup->pc_curthread = &thread0;
More information about the p4-projects
mailing list