📄 startup.s
字号:
;
; Copyright (c) Microsoft Corporation. All rights reserved.
;
;
; Use of this sample source code is subject to the terms of the Microsoft
; license agreement under which you licensed this sample source code. If
; you did not accept the terms of the license agreement, you are not
; authorized to use this sample source code. For the terms of the license,
; please see the license agreement between you and Microsoft or, if applicable,
; see the LICENSE.RTF on your install media or the root of your tools installation.
; THE SAMPLE SOURCE CODE IS PROVIDED "AS IS", WITH NO WARRANTIES.
;
;
; Portions Copyright (c) Texas Instruments. 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.
;
; Portions Copyright (c) Intrinsyc Software. All rights reserved.
;------------------------------------------------------------------------------
;
; File: startup.s
;
; Boot startup routine for OMAP2420 H4-Sample board.
;
INCLUDE kxarm.h
INCLUDE image_cfg.inc
INCLUDE bsp_cfg.inc
IMPORT BootloaderMain
STARTUPTEXT
;-------------------------------------------------------------------------------
;
; Function: StartUp
;
; This function is entry point to Windows CE EBOOT. It should be called
; in state with deactivated MMU and disabled caches.
;
; Note that g_oalAddressTable is needed for OEMMapMemAddr because
; downloaded image is placed on virtual addresses (but EBOOT runs without
; MMU).
;
LEAF_ENTRY StartUp
;---------------------------------------------------------------
; Jump to BootMain
;---------------------------------------------------------------
ldr sp, =(IMAGE_EBOOT_STACK_PA + IMAGE_EBOOT_STACK_SIZE)
b BootloaderMain
; Include memory configuration file with g_oalAddressTable
INCLUDE addrtab_cfg.inc
ENTRY_END
END
;------------------------------------------------------------------------------
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -