heap.s

来自「4200_boot 这个程序很重要」· S 代码 · 共 46 行

S
46
字号
;
;   Start of Zoran Standard Header
;   Copyright (c) 2003 Zoran Corporation
;   
;   
;   All rights reserved.  Proprietary and confidential.
;   
;   DESCRIPTION for heap.s
;   	Support for heap (library malloc) functions
;   
;   NEW HISTORY COMMENT (description must be followed by a blank line)
;   <Enter change description here>

;   ===== HISTORY of changes in //depot/misc/projects/tps/boot/heap.s
;   
;   3/Oct/03 #1 jgregor Created it
;   
;   End of Zoran Standard Header
;
;;; Copyright ARM Ltd 2002. All rights reserved.

        AREA   Heap, DATA, NOINIT

        EXPORT bottom_of_heap

; Create dummy variable used to locate bottom of heap

bottom_of_heap    SPACE   1

        AREA HEAPCODE, CODE, READONLY

; Below is an equivalent example assembler version of __user_initial_stackheap.

; It will be entered with the value of the stackpointer in r1
; (as set in init.s). This does not need to be changed and so can be 
; passed unmodified out of the function.

    EXPORT __user_initial_stackheap

__user_initial_stackheap
    LDR   r0,=bottom_of_heap
    MOV   pc,lr

    END

⌨️ 快捷键说明

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