⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 memory.s

📁 一种基于ARM7的嵌入式Webserver
💻 S
字号:
/*************************************************************************/
/*                                                                       */
/* FILE NAME                                            VERSION          */
/*                                                                       */
/*      memory.a                            SNDS100 Board version 1.0    */
/*                                                                       */
/* COMPONENT                                                             */
/*                                                                       */
/*                                                                       */
/* DESCRIPTION                                                           */
/*                                                                       */
/*     Memory MAP to run diagnostic code on SNDS100 Evaluation board.    */
/*                                                                       */
/*     * Change this file for fitting your applications.                 */
/*                                                                       */
/* AUTHOR                                                                */
/*                                                                       */
/*                                                                       */
/* DATA STRUCTURES                                                       */
/*                                                                       */
/*                                                                       */
/* FUNCTIONS                                                             */
/*                                                                       */
/*                                                                       */
/* DEPENDENCIES                                                          */
/*                                                                       */
/*      snds.a                              System constants             */
/*                                                                       */
/* HISTORY                                                               */
/*                                                                       */
/*************************************************************************/
# Internal SRAM area

                .struct       0x3FE0000
InterSramArea:   .struct       0x3FE0000 + 8192


/*************************************************************************/
/*  DRAM Memory Bank 0 area MAP for Exception vector table */
/*  and Stack, User code area.                             */
/*************************************************************************/
.equ DRAM_BASE,  0x0100000
/*.equ DRAM_LIMIT     0x1800000*/
.equ DRAM_LIMIT,      0x0e00000

 
/*-------------------------------------------------*/
.equ ExceptionSize,        0x50            /* exception vector addr pointer space*/
.equ SysStackSize,         1024 * 8        /* Define 8K System stack*/
.equ ExceptionTable,       DRAM_BASE + ExceptionSize

/* EXCEPTION HANDLER VECTOR TABLE */

	        .struct	DRAM_BASE
HandleReset:	.struct	DRAM_BASE + 4
HandleUndef:	.struct	DRAM_BASE + 8
HandleSwi:   	.struct	DRAM_BASE + 12
HandlePrefetch:	.struct	DRAM_BASE + 16
HandleAbort:	.struct	DRAM_BASE + 20
HandleReserv:	.struct	DRAM_BASE + 24
HandleIrq:   	.struct	DRAM_BASE + 28
HandleFiq:	    .struct	DRAM_BASE + 32

/* SYSTEM USER CODE AREA  */

		.struct	DRAM_BASE+ExceptionSize                 /*=0x1000050*/
UserCodeArea:	.struct	DRAM_BASE+ExceptionSize + 4


/*************************************************************************/
/* DRAM Memory Bank 1 area(NonCacheable region) */
/*  for DMA(Direct Memory Access) function      */
/*************************************************************************/

                .struct      0x1400000
DmaCodeArea:     .struct      0x1400000 + 4

                .struct      0x1700000
UserFreeArea:    .struct      0x1700000 + 4 
 

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -