Skip to content
Commit d109805c authored by Shih-Wei Teng's avatar Shih-Wei Teng Committed by Carles Cufí
Browse files

RISC-V: Round up pre-populated stack frame to arch stack alignment



The stack frame size, used for context switch, is rounded up to 16-bytes
alignment. Therefore, we need round down the pointer of top of the
pre-populated stack frame so that the preserved stack frame size is also
rounded up to 16-bytes alignment.

Fixes #29535

Signed-off-by: default avatarShih-Wei Teng <swteng@andestech.com>
parent 662819c4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment