Annotation of qemu/roms/SLOF/llfw/boot_abort.h, revision 1.1

1.1     ! root        1: /******************************************************************************
        !             2:  * Copyright (c) 2004, 2008 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: #ifndef BOOT_ABORT_H
        !            13: #define BOOT_ABORT_H
        !            14: 
        !            15: /* boot abort function suitable for assembly */
        !            16: #define BOOT_ABORT(cap, action, msg, numhint)          \
        !            17:                li      r3, cap;                        \
        !            18:                li      r4, action;                     \
        !            19:                LOAD32(r5, msg);                        \
        !            20:                LOAD32(r6, numhint);                    \
        !            21:                bl      boot_abort
        !            22: 
        !            23: /* boot abort function suitable called from c (takes r3 as hint) */
        !            24: #define BOOT_ABORT_R3HINT(cap, action, msg)            \
        !            25:                mr      r6, r3;                         \
        !            26:                li      r3, cap;                        \
        !            27:                li      r4, action;                     \
        !            28:                LOAD32(r5, msg);                        \
        !            29:                bl      boot_abort
        !            30: 
        !            31: #define ABORT_CANIO    (1 << 0)
        !            32: #define ABORT_NOIO     (1 << 1)
        !            33: 
        !            34: #define ALTBOOT                (1 << 0)
        !            35: #define HALT           (1 << 1)
        !            36: 
        !            37: #endif

unix.superglobalmegacorp.com

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