📄 mx27_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) 2006, Freescale Semiconductor, Inc. All Rights Reserved.
// THIS SOURCE CODE, AND ITS USE AND DISTRIBUTION, IS SUBJECT TO THE TERMS
// AND CONDITIONS OF THE APPLICABLE LICENSE AGREEMENT
//
//------------------------------------------------------------------------------
//
// Header: mx27_base_mem.h
//
// This header file defines the Physical Addresses (PA) of
// the SoC chip selects and external memory assignments.
//
// Provides memory map definitions for MX27.
//
//------------------------------------------------------------------------------
//
// 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>
//
//-----------------------------------------------------------------------------
#ifndef __MX27_BASE_MEM_H__
#define __MX27_BASE_MEM_H__
#if __cplusplus
extern "C" {
#endif
//-----------------------------------------------------------------------------
// MX27 INTERNAL MEMORY MAP
//-----------------------------------------------------------------------------
#define CSP_BASE_MEM_PA_AIPI1 (0x10000000)
#define CSP_BASE_MEM_PA_AIPI2 (0x10020000)
#define CSP_BASE_MEM_PA_VRAM (0xFFFF4C00)
//-----------------------------------------------------------------------------
// MX27 EXTERNAL MEMORY MAP
//-----------------------------------------------------------------------------
#define CSP_BASE_MEM_PA_CSD0 (0xA0000000)
#define CSP_BASE_MEM_PA_CSD1 (0xB0000000)
#define CSP_BASE_MEM_PA_CS0 (0xC0000000)
#define CSP_BASE_MEM_PA_CS1 (0xC8000000)
#define CSP_BASE_MEM_PA_CS2 (0xD0000000)
#define CSP_BASE_MEM_PA_CS3 (0xD2000000)
#define CSP_BASE_MEM_PA_CS4 (0xD4000000)
#define CSP_BASE_MEM_PA_CS5 (0xD6000000)
#define CSP_BASE_MEM_PA_PCMCIA_CF (0xDC000000)
#if __cplusplus
}
#endif
#endif // __MX27_BASE_MEM_H__
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -