summaryrefslogtreecommitdiffstats
path: root/newlib/libc/argz/argz_replace.c
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2015-05-26 15:30:30 -0400
committerJeff Johnston <jjohnstn@redhat.com>2015-05-26 15:30:30 -0400
commit569c0eb731bb62187175bf9ff0eafbce17fd578b (patch)
treeafa460a9efde5ca7b018326af90f8c7e26b23299 /newlib/libc/argz/argz_replace.c
parentc6d4802435a1705f48107b3ae275b8e941598828 (diff)
downloadcygnal-569c0eb731bb62187175bf9ff0eafbce17fd578b.tar.gz
cygnal-569c0eb731bb62187175bf9ff0eafbce17fd578b.tar.bz2
cygnal-569c0eb731bb62187175bf9ff0eafbce17fd578b.zip
or1k: set heap start for optimsoc-gzll
- With the gzll kernel we have two different loading options: - If the image is loaded to the global memory, the bootstrapping loads the kernel to local memory. Applications are loaded on demand. The heap then starts right after bss. - If the image is pre-loaded to the local memory it includes the application binaries right after bss. The heap then starts after the application objects. - We can check if this is a gzll kernel as it has the string "gzll" at 0x2000. At 0x200c we then find the end of the application objects in the image. If there is no global memory we set _or1k_heap_start to this value. * or1k/boards/optimsoc.S: Heap for gzll kernel
Diffstat (limited to 'newlib/libc/argz/argz_replace.c')
0 files changed, 0 insertions, 0 deletions