Skip to content
Commit 2c3b4ba5 authored by Stephanos Ioannidis's avatar Stephanos Ioannidis Committed by Marti Bolivar
Browse files

lib: libc: newlib: Initialise libc heap during POST_KERNEL phase



This commit changes the invocation of the newlib malloc heap
initialisation function such that it is executed during the POST_KERNEL
phase instead of the APPLICATION phase.

This is necessary in order to ensure that the application
initialisation functions (i.e. the functions called during the
APPLICATIION phase) can make use of the libc heap.

Signed-off-by: default avatarStephanos Ioannidis <root@stephanos.io>
(cherry picked from commit 43e1c28a)
parent 0a5feb68
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment