Annotation of qemu/roms/SLOF/lib/libbases/libbases.code, revision 1.1.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: #include <southbridge.h>
                     13: 
                     14: // : get-nvram-base ( -- base )
                     15: PRIM(get_X2d_nvram_X2d_base)
                     16:        PUSH;
                     17:        TOS.u = SB_NVRAM_adr;
                     18: MIRP
                     19: 
                     20: // : get-nvram-size ( -- size )
                     21: PRIM(get_X2d_nvram_X2d_size)
                     22:        PUSH;
                     23:        TOS.u = NVRAM_LENGTH;
                     24: MIRP
                     25: 
                     26: // : get-flash-base ( -- base )
                     27: PRIM(get_X2d_flash_X2d_base)
                     28:        PUSH;
                     29:        TOS.u = SB_FLASH_adr;
                     30: MIRP
                     31: 
                     32: // : get-flash-size ( -- size )
                     33: PRIM(get_X2d_flash_X2d_size)
                     34:        PUSH;
                     35:        TOS.u = FLASH_LENGTH;
                     36: MIRP
                     37: 
                     38: // : get-mbx-base ( -- base )
                     39: PRIM(get_X2d_mbx_X2d_base)
                     40:        PUSH;
                     41:        TOS.u = SB_MAILBOX_adr;
                     42: MIRP

unix.superglobalmegacorp.com

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