Annotation of 3BSD/cmd/lisp/vsyscall.s, revision 1.1.1.1

1.1       root        1:        .globl  _vsyscall
                      2:        .globl  cerror
                      3: _vsyscall:
                      4:        .word   0x0000
                      5:        movl    4(ap),r0                # point at arg array
                      6:        movl    (r0)+,r1                # syscall number        
                      7:        movl    $10,r2
                      8: Loop:
                      9:        pushl   (r0)[r2]                        # push argument
                     10:        sobgeq  r2,Loop                 # push 10 arguments     
                     11:        pushl   $10                             # arg count
                     12:        movl    sp,ap                   # point at args 
                     13:        chmk    r1                              # do it
                     14:        bcs             L1
                     15:        ret
                     16: L1:
                     17:        jmp             cerror

unix.superglobalmegacorp.com

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