Skip to content
Commit 356d37fb authored by Martin Åberg's avatar Martin Åberg Committed by Ioannis Glaropoulos
Browse files

SPARC: optimized interrupt stack frame size



With this change we allocate stack space only for the registers we
actually store in the thread interrupt stack frame.

Furthermore, no function is called on with the interrupt context save
frame %sp so no full frame is needed here. ABI functions are called
later in the interrupt trap handler, but that is after the dedicated
interrupt stack has been installed.

This saves 96 bytes of stack space for each interrupted context.

Signed-off-by: default avatarMartin Åberg <martin.aberg@gaisler.com>
parent 37344653
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment