1 /******************************************************************************
2 * Copyright (c) 2004, 2008 IBM Corporation
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
10 * IBM Corporation - initial implementation
11 *****************************************************************************/
12 #include <southbridge.h>
15 // : get-nvram-base ( -- base )
16 PRIM(get_X2d_nvram_X2d_base)
21 // : get-nvram-size ( -- size )
22 PRIM(get_X2d_nvram_X2d_size)
24 TOS.u = get_nvram_size();
27 // : get-flash-base ( -- base )
28 PRIM(get_X2d_flash_X2d_base)
33 // : get-flash-size ( -- size )
34 PRIM(get_X2d_flash_X2d_size)
39 // : get-mbx-base ( -- base )
40 PRIM(get_X2d_mbx_X2d_base)
42 TOS.u = SB_MAILBOX_adr;