SCCS-vsn: sys/vax/stand/srt0.c 1.5
# Startup code for standalone system
# Non-relocating version -- for programs which are loaded by boot
# Startup code for standalone system
# Non-relocating version -- for programs which are loaded by boot
.globl _main
.globl __rtt
.globl _main
.globl __rtt
.set PHYSUBA,0x20006000 # uba 0
.set PHYSUBA,0x20006000 # uba 0
- .set PHYSUMEM,0x2013e000 # unibus memory
.set HIGH,31 # mask for total disable
.word 0x0
mtpr $HIGH,$IPL # just in case
.set HIGH,31 # mask for total disable
.word 0x0
mtpr $HIGH,$IPL # just in case
+ubic:
+ movl *$PHYSUBA,r0 # while ((up->uba_cnfgr & UBIC) == 0)
+ bitl $0x10000,r0 # continue;
+ jeql wait
+ movab _edata,r0
clr:
clrl (r0)+
cmpl r0,sp
jlss clr
start:
clr:
clrl (r0)+
cmpl r0,sp
jlss clr
start: