;
; 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)
;
; ===== 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