1: #include "DEFS.h" 2: ENTRY(_splclock) 3: movb $40*6,177776 4: rts pc 5: 6: / C call "_splclock();" will set processor priority to 6 7: 8: / The entry is not implemented in 2.11BSD by an explicit routine but 9: / translated into inline code equivalent to the routine above by a sed 10: / script during the compilation of kernel code. 11: 12: ENTRY(splclock) 13: movb 177776,r0 14: movb $40*6,177776 15: rts pc 16: 17: / C call "opri = splclock();" will set processor priority to 6 18: / and return the current processor priority 19: 20: / The entry is not implemented in 2.11BSD by an explicit routine but 21: / translated into inline code equivalent to the routine above by a sed 22: / script during the compilation of kernel code.