Annotation of xinu/sys/pssfuncts.s, revision 1.1.1.1

1.1       root        1: DISABLE        =       0x2700
                      2:        .data
                      3:        .text
                      4:        .globl  __disable
                      5: __disable:
                      6:        movl    a0,     sp@-
                      7:        movl    sp@(8), a0
                      8:        movw    sr,     a0@
                      9:        movw    #DISABLE,sr
                     10:        movl    sp@+,   a0
                     11:        rts
                     12: 
                     13:        .globl __restore
                     14: __restore:
                     15:        movl    a0,     sp@-
                     16:        movl    sp@(8), a0
                     17:        movw    a0@,    sr
                     18:        movl    sp@+,   a0
                     19:        rts
                     20: 
                     21: |for initial lowering of priority, after device initialization--
                     22: 
                     23: LOWPRI =       0x2000
                     24: 
                     25:        .globl  _setlowpri
                     26: 
                     27: _setlowpri:
                     28:        movw    #LOWPRI,sr      | set CPU SR register to 0x2000
                     29:        rts
                     30: 

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.