Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Mar 2005 05:16:52 GMT
From:      Juli Mallett <jmallett@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 73430 for review
Message-ID:  <200503180516.j2I5GqUu060311@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=73430

Change 73430 by jmallett@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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200503180516.j2I5GqUu060311>