* Copyright (c) 1991 The Regents of the University of California.
* This code is derived from software contributed to Berkeley by
* %sccs.include.proprietary.c%
* @(#)srt0.c 7.2 (Berkeley) %G%
#include "../include/mtpr.h"
* Startup code for standalone system
.set HIGH
,31 # mask for total disable
_device_space
: # Tapemaster config block, etc.
.word
0x00 # 'call' by relsrt0.
mtpr $HIGH
,$IPL
# just in case
movl $RELOC
,r0
/* source address to copy from */
movl $BOOTRELOC
,r1
/* destination address */
movl tdlen
,r2
/* length to copy */
movl aedata
,r1
/* destination address */
subl3 $_edata
,$_end
,r2
/* length to zero */
tdlen
: .long _edata
-BOOTRELOC