/*1* This file is subject to the terms and conditions of the GNU General Public2* License. See the file "COPYING" in the main directory of this archive3* for more details.4*5* Copyright (C) 1994, 1995 Waldorf Electronics6* Written by Ralf Baechle and Andreas Busse7* Copyright (C) 1995 - 1999 Ralf Baechle8* Copyright (C) 1996 Paul M. Antoine9* Modified for DECStation and hence R3000 support by Paul M. Antoine10* Further modifications by David S. Miller and Harald Koerfgen11* Copyright (C) 1999 Silicon Graphics, Inc.12*/1314#include <asm/asm.h>15#include <asm/regdef.h>1617LEAF(start)18/* Save boot rom start args */19move s0, a020move s1, a121move s2, a222move s3, a32324/* Clear BSS */25PTR_LA a0, _edata26PTR_LA a2, _end271: PTR_S zero, 0(a0)28PTR_ADDIU a0, a0, PTRSIZE29bne a2, a0, 1b3031PTR_LA a0, (.heap) /* heap address */32PTR_LA sp, (.stack + 8192) /* stack address */3334PTR_LA t9, decompress_kernel35jalr t936372:38move a0, s039move a1, s140move a2, s241move a3, s342PTR_LI t9, KERNEL_ENTRY43jalr t944453:46b 3b4748END(start)4950.comm .heap,BOOT_HEAP_SIZE,451.comm .stack,4096*2,4525354