regioninit.s
来自「oki67500系列arm工程例程源代码」· S 代码 · 共 34 行
S
34 行
;********************************************************************************
;* *
;* Copyright (C) 2003 Oki Electric Industry Co., LTD. *
;* *
;* System Name : ML675001 series *
;* Module Name : ML675001 initialize region routine *
;* File Name : regioninit.s *
;* Revision : 01.00 *
;* Date : 2003/03/09 initial version *
;* *
;********************************************************************************
;
; This file contains the macro and supporting subroutines to
; copy RO code and RW data from ROM to RAM and zero-initialize
; the ZI data areas in RAM.
AREA RegionInit, CODE, READONLY
INCLUDE macro_regioninit.s
EXPORT InitRegions
; InitRegions is called from boot.s to initialize the specified execution regions.
; In this example, the regions are called 32bitRAM and 16bitRAM.
; These execution region names should match those given in the scatter description file.
InitRegions
STMFD sp!,{lr}
macro_RegionInit RAM_CODE
macro_RegionInit RW_DATA
macro_RegionInit ZI_DATA
LDMFD sp!,{pc}
END
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?