Add alignment for the direct mode handler (#449)

It is still possible to further relax the alignment using linker script
if needed.

Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
This commit is contained in:
Gaurav-Aggarwal-AWS 2022-02-08 11:51:25 -08:00 committed by GitHub
parent cf248aec2d
commit d5a10e4595
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -320,6 +320,7 @@ exit_without_context_switch:
/*-----------------------------------------------------------*/ /*-----------------------------------------------------------*/
.section .text.freertos_risc_v_trap_handler .section .text.freertos_risc_v_trap_handler
.align 8
freertos_risc_v_trap_handler: freertos_risc_v_trap_handler:
portcontextSAVE_CONTEXT_INTERNAL portcontextSAVE_CONTEXT_INTERNAL