Commit 0e57e07d authored by Greg Ungerer's avatar Greg Ungerer Committed by Linus Torvalds

[PATCH] reformat m68knommu 68328/pilot crt0_rom.S

This patch reformats the 68328/pilot crt_rom.S file to make it consistent
with the other m68knommu assembler files, and generally to good style
standards :-)
parent ea7dfad9
/* linux/arch/m68knommu/kernel/head.S: A startup file for the MC68332
/*
* linux/arch/m68knommu/platform/68328/pilot/crt0_rom.S
* - A startup file for the MC68332
*
* Copyright (C) 1998 D. Jeff Dionne <jeff@ryeham.ee.ryerson.ca>,
* Kenneth Albanowski <kjahds@kjahds.com>,
......@@ -16,8 +18,6 @@
#include <linux/config.h>
.global _stext
.global __bss_start
.global _start
.global _rambase
......@@ -101,10 +101,8 @@ _stext:
moveal #0x00100000, %a3
moveal #0x100ffc00, %a4
#endif /* CONFIG_PILOT */
#endif /* CONFIG_M68328 */
movew #0x2700, %sr
......@@ -126,7 +124,7 @@ L0:
movel #__ramvec, %d7
addl #16, %d7
moveal %d7, %a0
moveal #end, %a1
moveal #_ebss, %a1
lea %a1@(512), %a2
DBG_PUTC('C')
......@@ -139,9 +137,9 @@ L2:
bhi L2
/* Copy data segment from ROM to RAM */
moveal #__data_rom_start, %a0
moveal #__data_start, %a1
moveal #__data_end, %a2
moveal #_etext, %a0
moveal #_sdata, %a1
moveal #_edata, %a2
DBG_PUTC('D')
......@@ -154,8 +152,8 @@ LD1:
DBG_PUTC('E')
moveal #__bss_start, %a0
moveal #end, %a1
moveal #_sbss, %a0
moveal #_ebss, %a1
/* Copy 0 to %a0 until %a0 == %a1 */
L1:
......@@ -166,7 +164,7 @@ L1:
DBG_PUTC('F')
/* Copy command line from end of bss to command line */
moveal #end, %a0
moveal #_ebss, %a0
moveal #command_line, %a1
lea %a1@(512), %a2
......@@ -181,7 +179,7 @@ L3:
movel #_sdata, %d0
movel %d0, _rambase
movel #end, %d0
movel #_ebss, %d0
movel %d0, _ramstart
movel %a4, %d0
......@@ -200,12 +198,10 @@ L3:
DBG_PUTC('H')
#ifdef CONFIG_PILOT
movel #penguin_bits, 0xFFFFFA00
moveb #10, 0xFFFFFA05
movew #160, 0xFFFFFA08
movew #160, 0xFFFFFA0A
#endif /* CONFIG_PILOT */
DBG_PUTC('I')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment