From owner-p4-projects@FreeBSD.ORG Fri Mar 18 05:16:53 2005 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 10D1D16A4D0; Fri, 18 Mar 2005 05:16:53 +0000 (GMT) Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C8A3316A4CE for ; Fri, 18 Mar 2005 05:16:52 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id A5E9E43D2F for ; Fri, 18 Mar 2005 05:16:52 +0000 (GMT) (envelope-from jmallett@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j2I5Gqmp060314 for ; Fri, 18 Mar 2005 05:16:52 GMT (envelope-from jmallett@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j2I5GqUu060311 for perforce@freebsd.org; Fri, 18 Mar 2005 05:16:52 GMT (envelope-from jmallett@freebsd.org) Date: Fri, 18 Mar 2005 05:16:52 GMT Message-Id: <200503180516.j2I5GqUu060311@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to jmallett@freebsd.org using -f From: Juli Mallett To: Perforce Change Reviews Subject: PERFORCE change 73430 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Mar 2005 05:16:53 -0000 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;