From owner-svn-src-head@FreeBSD.ORG Tue Nov 25 05:12:19 2008 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 80630106564A; Tue, 25 Nov 2008 05:12:19 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 6AE588FC14; Tue, 25 Nov 2008 05:12:19 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id mAP5CJqx009399; Tue, 25 Nov 2008 05:12:19 GMT (envelope-from imp@svn.freebsd.org) Received: (from imp@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id mAP5CJea009398; Tue, 25 Nov 2008 05:12:19 GMT (envelope-from imp@svn.freebsd.org) Message-Id: <200811250512.mAP5CJea009398@svn.freebsd.org> From: Warner Losh Date: Tue, 25 Nov 2008 05:12:19 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r185287 - head/sys/arm/at91 X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Nov 2008 05:12:19 -0000 Author: imp Date: Tue Nov 25 05:12:19 2008 New Revision: 185287 URL: http://svn.freebsd.org/changeset/base/185287 Log: more silly whitespace changes. Modified: head/sys/arm/at91/kb920x_machdep.c Modified: head/sys/arm/at91/kb920x_machdep.c ============================================================================== --- head/sys/arm/at91/kb920x_machdep.c Tue Nov 25 04:33:02 2008 (r185286) +++ head/sys/arm/at91/kb920x_machdep.c Tue Nov 25 05:12:19 2008 (r185287) @@ -301,6 +301,7 @@ initarm(void *arg, void *arg2) valloc_pages(undstack, UND_STACK_SIZE); valloc_pages(kernelstack, KSTACK_PAGES); valloc_pages(msgbufpv, round_page(MSGBUF_SIZE) / PAGE_SIZE); + /* * Now we start construction of the L1 page table * We start by mapping the L2 page tables into the L1. @@ -341,7 +342,6 @@ initarm(void *arg, void *arg2) pmap_map_chunk(l1pagetable, msgbufpv.pv_va, msgbufpv.pv_pa, MSGBUF_SIZE, VM_PROT_READ|VM_PROT_WRITE, PTE_CACHE); - for (loop = 0; loop < NUM_KERNEL_PTS; ++loop) { pmap_map_chunk(l1pagetable, kernel_pt_table[loop].pv_va, kernel_pt_table[loop].pv_pa, L2_TABLE_SIZE, @@ -365,7 +365,6 @@ initarm(void *arg, void *arg2) * Since the ARM stacks use STMFD etc. we must set r13 to the top end * of the stack memory. */ - cpu_control(CPU_CONTROL_MMU_ENABLE, CPU_CONTROL_MMU_ENABLE); set_stackptr(PSR_IRQ32_MODE, irqstack.pv_va + IRQ_STACK_SIZE * PAGE_SIZE); @@ -374,8 +373,6 @@ initarm(void *arg, void *arg2) set_stackptr(PSR_UND32_MODE, undstack.pv_va + UND_STACK_SIZE * PAGE_SIZE); - - /* * We must now clean the cache again.... * Cleaning may be done by reading new data to displace any @@ -406,6 +403,7 @@ initarm(void *arg, void *arg2) arm_vector_init(ARM_VECTORS_HIGH, ARM_VEC_ALL); pmap_curmaxkvaddr = afterkern + L1_S_SIZE * (KERNEL_PT_KERN_NUM - 1); + /* * ARM_USE_SMALL_ALLOC uses dump_avail, so it must be filled before * calling pmap_bootstrap.