Annotation of coherent/d/286_KERNEL/USRSRC/ldrv/ldrts0.s, revision 1.1.1.1

1.1       root        1: / $Header: /usr/src/sys/ldrv/RCS/ldrts0.s,v 1.1 88/03/24 16:30:47 src Exp $
                      2: / 
                      3: /      The  information  contained herein  is a trade secret  of INETCO
                      4: /      Systems, and is confidential information.   It is provided under
                      5: /      a license agreement,  and may be copied or disclosed  only under
                      6: /      the terms of that agreement.   Any reproduction or disclosure of
                      7: /      this  material  without  the express  written  authorization  of
                      8: /      INETCO Systems or persuant to the license agreement is unlawful.
                      9: / 
                     10: /      Copyright (c) 1987
                     11: /      An unpublished work by INETCO Systems, Ltd.
                     12: /      All rights reserved.
                     13: /
                     14: 
                     15: ////////
                     16: /
                     17: / Loadable Driver Run Time Startup
                     18: /
                     19: / Notes:       This function MUST be at offset 0 in driver code segment.
                     20: /
                     21: / $Log:        /usr/src/sys/ldrv/RCS/ldrts0.s,v $
                     22: / Revision 1.1 88/03/24  16:30:47      src
                     23: / Initial revision
                     24: / 
                     25: /
                     26: ////////
                     27: 
                     28:        .globl  main_
                     29:        call    main_
                     30:        xret
                     31: 
                     32: ////////
                     33: /
                     34: /      Invocation mechanism for local driver functions by kernel code.
                     35: /
                     36: /      Input:  AX      = pointer to local function to be invoked.
                     37: /              4(BP)   = 1st parameter to be passed to local function.
                     38: /              6(BP)   = 2nd parameter to be passed to local function.
                     39: /              8(BP)   = 3rd parameter to be passed to local function.
                     40: /
                     41: /      Action: Invoke local function whose address is given in register AX,
                     42: /              passing parameters at offset 4,6,8 relative to register BP.
                     43: /              Perform a far return to operating system.
                     44: /
                     45: /      Notes:  Parameter passing convention specified by kernel.
                     46: /              This function MUST be at offset 4 in driver code segment.
                     47: /
                     48: ////////
                     49: 
                     50:        push    8(bp)
                     51:        push    6(bp)
                     52:        push    4(bp)
                     53:        icall   ax
                     54:        add     sp, $6
                     55:        xret

unix.superglobalmegacorp.com

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