Annotation of qemu/roms/SLOF/clients/net-snk/oflib/entry.S, revision 1.1.1.2

1.1       root        1: /******************************************************************************
1.1.1.2 ! root        2:  * Copyright (c) 2004, 2011 IBM Corporation
1.1       root        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: 
1.1.1.2 ! root       13: #include <macros.h>
1.1       root       14: 
1.1.1.2 ! root       15:        .section        ".toc","aw"     # TOC entries are needed for relocation
        !            16: .prom_entry_toc:
        !            17:        .tc             _prom_entry[TC],_prom_entry
        !            18: 
        !            19: 
        !            20: C_ENTRY(call_client_interface)
        !            21:        ld      r4, .prom_entry_toc@toc(r2)     # Load prom entry point
1.1       root       22:        mflr    r0
                     23:        ld      r4, 0(r4)
                     24:        stdu    r1, -16(r1)
                     25:        mtctr   r4
                     26:        std     r0, 8(r1)
                     27:        bctrl
                     28:        ld      r0, 8(r1)
                     29:        mtlr    r0
                     30:        addi    r1, r1, 16
                     31:        blr
                     32: 
                     33: 
1.1.1.2 ! root       34: C_ENTRY(rtas_call_entry)
        !            35:        mtctr   r5
        !            36:        bctr

unix.superglobalmegacorp.com

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