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

📄 regioninit.s

📁 oki67500系列arm工程例程源代码
💻 S
字号:
;********************************************************************************
;*                                                                              *
;*    Copyright (C) 2003 Oki Electric Industry Co., LTD.                        *
;*                                                                              *
;*    System Name    :  uPLAT                                                   *
;*    Module Name    :  uPLAT initialize region routine                         *
;*    File   Name    :  regioninit.s                                            *
;*    Revision       :  01.00                                                   *
;*    Date           :  2003/08/18                                              *
;*                                                                              *
;********************************************************************************
;
; 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 BANK10
        macro_RegionInit RAM
        LDMFD sp!,{pc}

        AREA    RegionData, DATA, READWRITE
        
        EXPORT  bank0_size
        IMPORT  |Image$$BANK0$$Length|
bank0_size      DCD     |Image$$BANK0$$Length|
        
        END

⌨️ 快捷键说明

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