summaryrefslogtreecommitdiffstats
path: root/sys/arm
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2008-11-25 05:12:19 +0000
committerimp <imp@FreeBSD.org>2008-11-25 05:12:19 +0000
commit11f1051cdc607e58c13431ec18aea4dad5d0e515 (patch)
treebf8209b950f0b9e72d524dbd7c498d474d266f46 /sys/arm
parentd094f70376b2af86b5404c15d2e100bab79731d8 (diff)
downloadFreeBSD-src-11f1051cdc607e58c13431ec18aea4dad5d0e515.zip
FreeBSD-src-11f1051cdc607e58c13431ec18aea4dad5d0e515.tar.gz
more silly whitespace changes.
Diffstat (limited to 'sys/arm')
-rw-r--r--sys/arm/at91/kb920x_machdep.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/arm/at91/kb920x_machdep.c b/sys/arm/at91/kb920x_machdep.c
index 040c61b..0402f95 100644
--- a/sys/arm/at91/kb920x_machdep.c
+++ b/sys/arm/at91/kb920x_machdep.c
@@ -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.
OpenPOWER on IntegriCloud