Annotation of qemu/roms/SLOF/board-qemu/slof/vio-veth.fs, revision 1.1

1.1     ! root        1: \ *****************************************************************************
        !             2: \ * Copyright (c) 2011 IBM Corporation
        !             3: \ * All rights reserved.
        !             4: \ * This program and the accompanying materials
        !             5: \ * are made available under the terms of the BSD License
        !             6: \ * which accompanies this distribution, and is available at
        !             7: \ * http://www.opensource.org/licenses/bsd-license.php
        !             8: \ *
        !             9: \ * Contributors:
        !            10: \ *     IBM Corporation - initial implementation
        !            11: \ ****************************************************************************/
        !            12: 
        !            13: ." Populating " pwd cr
        !            14: 
        !            15: " network" device-type
        !            16: 
        !            17: INSTANCE VARIABLE obp-tftp-package
        !            18: : open  ( -- okay? )
        !            19:    my-unit 1 rtas-set-tce-bypass
        !            20:    my-args s" obp-tftp" $open-package obp-tftp-package ! true
        !            21: ;
        !            22: 
        !            23: : close  ( -- )
        !            24:    s" close" obp-tftp-package @ $call-method
        !            25:    my-unit 0 rtas-set-tce-bypass
        !            26: ;
        !            27: 
        !            28: : load  ( addr -- len )
        !            29:     s" load" obp-tftp-package @ $call-method 
        !            30: ;
        !            31: 
        !            32: : ping  ( -- )
        !            33:     s" ping" obp-tftp-package @ $call-method
        !            34: ;
        !            35: 
        !            36: : setup-alias
        !            37:     " net" find-alias 0= IF
        !            38:         " net" get-node node>path set-alias
        !            39:     ELSE THEN 
        !            40: ;
        !            41: setup-alias

unix.superglobalmegacorp.com

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