From owner-p4-projects@FreeBSD.ORG Thu Nov 22 13:29:20 2007 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 89BC816A469; Thu, 22 Nov 2007 13:29:20 +0000 (UTC) Delivered-To: perforce@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3D03A16A418 for ; Thu, 22 Nov 2007 13:29:20 +0000 (UTC) (envelope-from gonzo@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 1CB1C13C4E9 for ; Thu, 22 Nov 2007 13:29:20 +0000 (UTC) (envelope-from gonzo@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id lAMDTKWJ013230 for ; Thu, 22 Nov 2007 13:29:20 GMT (envelope-from gonzo@FreeBSD.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id lAMDTKqd013227 for perforce@freebsd.org; Thu, 22 Nov 2007 13:29:20 GMT (envelope-from gonzo@FreeBSD.org) Date: Thu, 22 Nov 2007 13:29:20 GMT Message-Id: <200711221329.lAMDTKqd013227@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to gonzo@FreeBSD.org using -f From: Oleksandr Tymoshenko To: Perforce Change Reviews Cc: Subject: PERFORCE change 129379 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Nov 2007 13:29:20 -0000 http://perforce.freebsd.org/chv.cgi?CH=129379 Change 129379 by gonzo@gonzo_jeeves on 2007/11/22 13:28:56 o Rename cpu_thread_setup to cpu_thread_alloc o Add cpu_thread_free Affected files ... .. //depot/projects/mips2/src/sys/mips/mips/vm_machdep.c#18 edit .. //depot/projects/mips2/src/sys/mips/mips32/adm5120/adm5120_machdep.c#4 edit .. //depot/projects/mips2/src/sys/mips/mips32/idt/idt_machdep.c#6 edit .. //depot/projects/mips2/src/sys/mips/mips32/malta/malta_machdep.c#6 edit .. //depot/projects/mips2/src/sys/mips/mips32/sentry5/s5_machdep.c#5 edit Differences ... ==== //depot/projects/mips2/src/sys/mips/mips/vm_machdep.c#18 (text+ko) ==== @@ -73,7 +73,7 @@ if ((flags & RFPROC) == 0) return; - cpu_thread_setup(td2); + cpu_thread_alloc(td2); /* * Preserve SP from beeing overwritten. */ @@ -239,7 +239,7 @@ } void -cpu_thread_setup(struct thread *td) +cpu_thread_alloc(struct thread *td) { pt_entry_t *pte; /* @@ -276,6 +276,11 @@ } void +cpu_thread_free(struct thread *td) +{ +} + +void cpu_thread_clean(struct thread *td) { } ==== //depot/projects/mips2/src/sys/mips/mips32/adm5120/adm5120_machdep.c#4 (text+ko) ==== @@ -102,7 +102,7 @@ thread0.td_kstack = kstack0; pcpu_init(pcpup, 0, sizeof(struct pcpu)); pcpup->pc_curthread = &thread0; - cpu_thread_setup(curthread); + cpu_thread_alloc(curthread); pcpup->pc_curpcb = curthread->td_pcb; mutex_init(); ==== //depot/projects/mips2/src/sys/mips/mips32/idt/idt_machdep.c#6 (text+ko) ==== @@ -153,7 +153,7 @@ thread0.td_kstack = kstack0; pcpu_init(pcpup, 0, sizeof(struct pcpu)); pcpup->pc_curthread = &thread0; - cpu_thread_setup(curthread); + cpu_thread_alloc(curthread); pcpup->pc_curpcb = curthread->td_pcb; mutex_init(); ==== //depot/projects/mips2/src/sys/mips/mips32/malta/malta_machdep.c#6 (text+ko) ==== @@ -184,7 +184,7 @@ thread0.td_kstack = kstack0; pcpu_init(pcpup, 0, sizeof(struct pcpu)); pcpup->pc_curthread = &thread0; - cpu_thread_setup(curthread); + cpu_thread_alloc(curthread); pcpup->pc_curpcb = curthread->td_pcb; mutex_init(); ==== //depot/projects/mips2/src/sys/mips/mips32/sentry5/s5_machdep.c#5 (text+ko) ==== @@ -140,7 +140,7 @@ thread0.td_kstack = kstack0; pcpu_init(pcpup, 0, sizeof(struct pcpu)); pcpup->pc_curthread = &thread0; - cpu_thread_setup(curthread); + cpu_thread_alloc(curthread); pcpup->pc_curpcb = curthread->td_pcb; mutex_init();