* Copyright (c) 1982 Regents of the University of California.
* All rights reserved. The Berkeley software License Agreement
* specifies the terms and conditions for redistribution.
* @(#)srt0.c 6.2 (Berkeley) %G%
* Startup code for standalone system
* Non-relocating version -- for programs which are loaded by boot
.set HIGH
,31 # mask for total disable
mtpr $HIGH
,$IPL
# just in case
* Reclear bss segment separately from text and data
* since movc3 can't move more than 64K bytes
/* this loop shouldn't be necessary, but is when booting from an ra81 */
aedata
: .long _edata
-RELOC
1: clrl r0
# made it w/o machine checks
addl2 (sp
)+,sp
# discard mchchk trash