Andes Workshop

It is currently Fri Mar 29, 2024 5:14 am

All times are UTC + 8 hours [ DST ]




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: decide heap start/end in malloc
PostPosted: Thu Sep 29, 2016 12:15 pm 
Offline

Joined: Thu Apr 14, 2011 11:27 am
Posts: 20
If you use malloc function, system will automatically decide heap start/end address.
If you want to decide heap start/end address by yourself. Please follow below procedure:
Please add the attached file to your project and use the following statement to set the heap in the SaG file.

VAR _HEAP_MIN = 0x80800000
VAR _HEAP_MAX = 0x80900000


Attachments:
_sbrk.7z [1.52 KiB]
Downloaded 1137 times
Top
 Profile Send private message E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC + 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 11 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group