svn commit: r185287 - head/sys/arm/at91
Warner Losh
imp at FreeBSD.org
Mon Nov 24 21:12:19 PST 2008
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.
More information about the svn-src-all
mailing list