OP-TEE/optee_os — pull request #108 by z08053520 (2014-11-07 08:46:10+00:00)
Title: Fix usr_params location and remove heap&stack 1MB limitation

1.Fix user heap corruption by usr_params
Avoids corruption of heap by usr_params, and vice versa, when
stack_size+heap_size is a multiple of 1 MiB. usr_params was
previously unintentionally stored just outside the allocated
stack. If there is not enough padding between stack and heap,
usr_params will overwrite a part of the heap.

2.remove the 1MB limitation of heap_size+stack_size

Signed-off-by: "Rock P. Zhang"
Reviewed-by: Jens Wiklander
Reviewed-by: Pascal Brand
Tested-by: Pascal Brand (STM platform)