1*3263Swnj /* srt0.c 4.5 03/15/81 */ 2326Sbill 3*3263Swnj #include "../h/mtpr.h" 4*3263Swnj 51914Swnj /* 61914Swnj * Startup code for standalone system 71914Swnj * Non-relocating version -- for programs which are loaded by boot 81914Swnj */ 9326Sbill 101757Sbill .globl _edata 11326Sbill .globl _main 12326Sbill .globl __rtt 13*3263Swnj .globl _configure 14*3263Swnj .set reloc,RELOC 15326Sbill 16326Sbill .set HIGH,31 # mask for total disable 17326Sbill 182438Swnj entry: .globl entry 19326Sbill .word 0x0 20326Sbill mtpr $HIGH,$IPL # just in case 212438Swnj mtpr $_Scbbase,$SCBB 22*3263Swnj movl $reloc-0x2400,sp 232438Swnj start: 241757Sbill movab _edata,r0 25411Sbill clr: 26411Sbill clrl (r0)+ 27411Sbill cmpl r0,sp 28411Sbill jlss clr 29*3263Swnj calls $0,_configure 30326Sbill calls $0,_main 31326Sbill jmp start 32326Sbill 33326Sbill __rtt: 34326Sbill .word 0x0 35326Sbill jmp start 36