Annotation of Gnu-Mach/chips/spans.c, revision 1.1

1.1     ! root        1: /* 
        !             2:  * Mach Operating System
        !             3:  * Copyright (c) 1991,1990,1989,1988,1987 Carnegie Mellon University
        !             4:  * All Rights Reserved.
        !             5:  * 
        !             6:  * Permission to use, copy, modify and distribute this software and its
        !             7:  * documentation is hereby granted, provided that both the copyright
        !             8:  * notice and this permission notice appear in all copies of the
        !             9:  * software, derivative works or modified versions, and any portions
        !            10:  * thereof, and that both notices appear in supporting documentation.
        !            11:  * 
        !            12:  * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
        !            13:  * CONDITION.  CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR
        !            14:  * ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
        !            15:  * 
        !            16:  * Carnegie Mellon requests users of this software to return to
        !            17:  * 
        !            18:  *  Software Distribution Coordinator  or  [email protected]
        !            19:  *  School of Computer Science
        !            20:  *  Carnegie Mellon University
        !            21:  *  Pittsburgh PA 15213-3890
        !            22:  * 
        !            23:  * any improvements or extensions that they make and grant Carnegie Mellon
        !            24:  * the rights to redistribute these changes.
        !            25:  */
        !            26: 
        !            27: /*** SPANS SIGNALING  ***/
        !            28: 
        !            29: #ifndef STUB
        !            30: #include <chips/spans.h>
        !            31: #include <chips/tca100_if.h>
        !            32: #else
        !            33: #include "spans.h"
        !            34: #include "tca100_if.h"
        !            35: #endif
        !            36: 
        !            37: nw_result spans_initialize(int dev) {
        !            38: 
        !            39: #if !PERMANENT_VIRTUAL_CONNECTIONS
        !            40: #endif
        !            41: 
        !            42: }
        !            43: 
        !            44: 
        !            45: void spans_input(nw_buffer_t msg) {
        !            46: 
        !            47: #if !PERMANENT_VIRTUAL_CONNECTIONS
        !            48: #endif
        !            49: 
        !            50: }
        !            51: 
        !            52: nw_result spans_open(nw_ep ep, nw_address_1 rem_addr_1,
        !            53:                     nw_address_2 rem_addr_2, nw_ep remote_ep) {
        !            54:   nw_result rc;
        !            55: 
        !            56: #if PERMANENT_VIRTUAL_CONNECTIONS
        !            57:   rc = NW_FAILURE;
        !            58: #else
        !            59: #endif
        !            60: 
        !            61:   return rc;
        !            62: }
        !            63: 
        !            64: nw_result spans_accept(nw_ep ep, nw_buffer_t msg, nw_ep_t new_epp) {
        !            65:   nw_result rc;
        !            66: 
        !            67: #if PERMANENT_VIRTUAL_CONNECTIONS
        !            68:   rc = NW_FAILURE;
        !            69: #else
        !            70: #endif
        !            71: 
        !            72:   return rc;
        !            73: }
        !            74: 
        !            75: nw_result spans_close(nw_ep ep) {
        !            76:   nw_result rc;
        !            77: 
        !            78:   tct[ep].rx_sar_header = 0;
        !            79:   rc = NW_SUCCESS;
        !            80:   return rc;
        !            81: }
        !            82: 
        !            83: nw_result spans_add(nw_ep ep, nw_address_1 rem_addr_1,
        !            84:                    nw_address_2 rem_addr_2, nw_ep remote_ep) {
        !            85:   nw_result rc;
        !            86: 
        !            87: #if PERMANENT_VIRTUAL_CONNECTIONS
        !            88:   rc = NW_FAILURE;
        !            89: #else
        !            90: #endif
        !            91: 
        !            92:   return rc;
        !            93: }
        !            94: 
        !            95: nw_result spans_drop(nw_ep ep, nw_address_1 rem_addr_1,
        !            96:                     nw_address_2 rem_addr_2, nw_ep remote_ep) {
        !            97:   nw_result rc;
        !            98: 
        !            99: #if PERMANENT_VIRTUAL_CONNECTIONS
        !           100:   rc = NW_FAILURE;
        !           101: #else
        !           102: #endif
        !           103: 
        !           104:   return rc;
        !           105: }
        !           106: 
        !           107: void spans_timer_sweep() {
        !           108: 
        !           109: #if !PERMANENT_VIRTUAL_CONNECTIONS
        !           110: #endif
        !           111: 
        !           112: }
        !           113: 
        !           114: 

unix.superglobalmegacorp.com

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