From 3f7786a50bc4810f360ddafd9ee54224511beb95 Mon Sep 17 00:00:00 2001 From: kiyohara Date: Tue, 20 Feb 2007 17:50:43 +0000 Subject: [PATCH] Indentation. Move macro MMU_INIT. --- sys/arch/evbarm/gumstix/gumstix_start.S | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/sys/arch/evbarm/gumstix/gumstix_start.S b/sys/arch/evbarm/gumstix/gumstix_start.S index 813e4637b8b8..39f476ce7fc6 100644 --- a/sys/arch/evbarm/gumstix/gumstix_start.S +++ b/sys/arch/evbarm/gumstix/gumstix_start.S @@ -1,4 +1,4 @@ -/* $NetBSD: gumstix_start.S,v 1.1 2006/10/16 16:40:14 kiyohara Exp $ */ +/* $NetBSD: gumstix_start.S,v 1.2 2007/02/20 17:50:43 kiyohara Exp $ */ /* * Copyright (C) 2005, 2006 WIDE Project and SOUM Corporation. * All rights reserved. @@ -143,19 +143,21 @@ _C_LABEL(gumstix_start): Lstart: .word start +#ifndef STARTUP_PAGETABLE_ADDR +#define STARTUP_PAGETABLE_ADDR 0xa0000000 /* aligned 16kByte */ +#endif +Lstartup_pagetable: + .word STARTUP_PAGETABLE_ADDR + + .globl _C_LABEL(u_boot_args) +u_boot_args: + .space 16 /* r3, r4, r5, r6 */ + + #define MMU_INIT(va,pa,n_sec,attr) \ .word n_sec ; \ .word 4*((va)>>L1_S_SHIFT) ; \ .word (pa)|(attr) ; - -#ifndef STARTUP_PAGETABLE_ADDR -#define STARTUP_PAGETABLE_ADDR 0xa0000000 /* aligned 16kByte */ -#endif -Lstartup_pagetable: .word STARTUP_PAGETABLE_ADDR - .globl _C_LABEL(u_boot_args) -u_boot_args: - .space 16 /* r3, r4, r5, r6 */ - mmu_init_table: /* fill all table VA==PA */ MMU_INIT(0x00000000, 0x00000000,