1 /******************************************************************************
2 ** File Name: sc8800g_mem_cfg.h *
3 ** Author: Steve.Zhan *
5 ** Copyright: 2010 Spreatrum, Incoporated. All Rights Reserved. *
7 ******************************************************************************/
8 /******************************************************************************
10 **---------------------------------------------------------------------------*
11 ** DATE NAME DESCRIPTION *
12 ** 06/05/2010 Steve.Zhan Create. *
13 ******************************************************************************/
14 #ifndef _SC8810_MEM_CFG_H_
15 #define _SC8810_MEM_CFG_H_
17 #include "sci_types.h"
18 #include "sc8810_reg_base.h"
19 #include "sc8810_reg_ahb.h"
22 /*----------------------------------------------------------------------------*
24 **------------------------------------------------------------------------- */
26 /**---------------------------------------------------------------------------*
28 **--------------------------------------------------------------------------*/
33 /**---------------------------------------------------------------------------*
35 **---------------------------------------------------------------------------*/
41 } MEMORY_ACCESS_INFO_T;
43 #define READ_ACC (1 << 0)
44 #define WRITE_ACC (1 << 1)
45 #define BYTE_ACC (1 << 2)
46 #define WORD_ACC (1 << 3)
47 #define DWORD_ACC (1 << 4)
50 /**----------------------------------------------------------------------------*
51 ** Function Prototype **
52 **----------------------------------------------------------------------------*/
53 MEMORY_ACCESS_INFO_T *Mem_getAccTable (uint32 *pSize);
56 /**----------------------------------------------------------------------------*
58 **----------------------------------------------------------------------------*/
62 /**---------------------------------------------------------------------------*/