SCCS-vsn: sys/vax/stand/srt0.c 4.4
/*
* Startup code for standalone system
/*
* Startup code for standalone system
.set HIGH,31 # mask for total disable
.set HIGH,31 # mask for total disable
.word 0x0
mtpr $HIGH,$IPL # just in case
.word 0x0
mtpr $HIGH,$IPL # just in case
+ mtpr $_Scbbase,$SCBB
+ movl $RELOC-0x2400,sp
+ mtpr $RELOC-0x2000,$ISP /* space for interrupts
+ /* (in case we are not using that
+ /* stack already)
+ */
#if VAX==780
movl $1,PHYSUBA+4 # init
ubic:
#if VAX==780
movl $1,PHYSUBA+4 # init
ubic:
bitl $0x10000,r0 # continue;
jeql ubic
#endif
bitl $0x10000,r0 # continue;
jeql ubic
#endif
movab _edata,r0
clr:
clrl (r0)+
cmpl r0,sp
jlss clr
movab _edata,r0
clr:
clrl (r0)+
cmpl r0,sp
jlss clr