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

📄 regioninit.s

📁 oki67500系列arm工程例程源代码
💻 S
字号:
;********************************************************************************
;*                                                                              *
;*    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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -