📄 mx31_base_mem.h
字号:
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//
// Use of this source code is subject to the terms of the Microsoft end-user
// license agreement (EULA) under which you licensed this SOFTWARE PRODUCT.
// If you did not accept the terms of the EULA, you are not authorized to use
// this source code. For a copy of the EULA, please see the LICENSE.RTF on your
// install media.
//
//-----------------------------------------------------------------------------
//
// Copyright (C) 2004, Freescale Semiconductor, Inc. All Rights Reserved
// THIS SOURCE CODE IS CONFIDENTIAL AND PROPRIETARY AND MAY NOT
// BE USED OR DISTRIBUTED WITHOUT THE WRITTEN PERMISSION OF
// Freescale Semiconductor, Inc.
//
//------------------------------------------------------------------------------
//
// Header: mx31_base_mem.h
//
// This header file defines the Physical Addresses (PA) of
// the SoC chip selects and external memory assignments.
//
// Provides memory map definitions specific to the MX31 SoC.
//
//------------------------------------------------------------------------------
#ifndef __MX31_BASE_MEM_H
#define __MX31_BASE_MEM_H
#if __cplusplus
extern "C" {
#endif
//-----------------------------------------------------------------------------
// INFORMATION
//
// The physical addresses for SoC chip selects are fixed, hence they are
// defined in the CPU's common directory. The virtual addresses of the SoC
// chip selects are defined by the OEM and are configured in the
// platform's configuration directory by the file:
// .../PLATFORM/<NAME>/SRC/CONFIG/CPU_BASE_REG_CFG.H.
//
//-----------------------------------------------------------------------------
//-----------------------------------------------------------------------------
// NAMING CONVENTIONS
//
// CPU_BASE_MEM_ is the standard prefix for CPU chip selects.
//
// Memory ranges are accessed using physical, uncached, or cached addresses,
// depending on the system state. The following abbreviations are used for
// each addressing type:
//
// PA - physical address
// UA - uncached virtual address
// CA - cached virtual address
//
// The naming convention for CPU base registers is:
//
// CPU_BASE_MEM_<ADDRTYPE>_<SUBSYSTEM>
//
//-----------------------------------------------------------------------------
//-----------------------------------------------------------------------------
// MX31-SPECIFIC INTERNAL MEMORY MAP
//-----------------------------------------------------------------------------
#define CSP_BASE_MEM_PA_SECURE_IROM (0x00000000)
#define CSP_BASE_MEM_PA_IROM (0x00404000)
#define CSP_BASE_MEM_PA_IRAM (0x1FFFC000)
//-----------------------------------------------------------------------------
// MX31-SPECIFIC EXTERNAL MEMORY MAP
//-----------------------------------------------------------------------------
#define CSP_BASE_MEM_PA_CS5 (0xB6000000)
#define CSP_BASE_MEM_PA_PCMCIA_CF (0xBC000000)
#define CSP_BASE_MEM_PA_GACC (0xC0000000)
#if __cplusplus
}
#endif
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -