📄 bsp_base_reg_cfg.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.
//
//------------------------------------------------------------------------------
//
// File: bsp_base_reg_cfg.h
//
// This header file defines location for BSP on-board devices. It usually
// should contain only physical addresses. Virtual addresses should be obtain
// via OALPAtoVA function call. Base addresses for SoC are defined in similar
// file s3c2443_base_reg_cfg.h.
//
#ifndef __BSP_BASE_REG_CFG_H
#define __BSP_BASE_REG_CFG_H
#if __cplusplus
extern "C" {
#endif
//------------------------------------------------------------------------------
//
// NAMING CONVENTIONS
//
// BSP_BASE_REG_ is the standard prefix for BSP device base registers.
//
// 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
// CA - cached virtual address
// UA - uncached virtual address
//
// The naming convention for base registers is:
//
// xxx_BASE_REG_<ADDRTYPE>_<SUBSYSTEM>
//
//------------------------------------------------------------------------------
//------------------------------------------------------------------------------
//
// Define: BSP_BASE_REG_PA_CS8900A
//
// Locates CS8900A Ethernet chip. On SMDK2443 memory bank 4 is used
// to connect this device. Note that there must exist memory mapping in
// memory_cfg.h for this memory area.
//
/*
#define BSP_BASE_REG_PA_CS8900A_IOBASE 0x21000300
#define BSP_BASE_REG_PA_CS8900A_MEMBASE 0x20000000
#define BSP_BASE_REG_VA_CS8900A_IOBASE 0xA9000300
#define BSP_BASE_REG_VA_CS8900A_MEMBASE 0xA8000000
*/
#define BSP_BASE_REG_PA_CS8900A_IOBASE 0x09000300
#define BSP_BASE_REG_PA_CS8900A_MEMBASE 0x08000000
#define BSP_BASE_REG_VA_CS8900A_IOBASE 0xAD000300
#define BSP_BASE_REG_VA_CS8900A_MEMBASE 0xAC000000
//------------------------------------------------------------------------------
//
// Define: BSP_BASE_REG_PA_AM29LV800
//
// Locates the base physical address of the on-board AMD am29lv800 flash
// located in bank 0.
//
#define BSP_BASE_REG_PA_AM29LV800 0x00000000
//------------------------------------------------------------------------------
#if __cplusplus
}
#endif
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -