Skip to content
Commit 566fb58e authored by Max Filippov's avatar Max Filippov
Browse files

xtensa: nommu: reserve memory below PLATFORM_DEFAULT_MEM_START



Memory accounting code can't handle pages below
PLATFORM_DEFAULT_MEM_START. Reserve those pages if they exist.
When PLATFORM_DEFAULT_MEM_START is zero reserve one page at address 0 to
make sure that successfull memory allocations don't return NULL.

Signed-off-by: default avatarMax Filippov <jcmvbkbc@gmail.com>
parent 2eabc180
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment