arch/risc-v/src/mpfs/mpfs_opensbi.c: Ensure stack alignment of 16 bytes

Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
This commit is contained in:
Jukka Laitinen 2022-01-12 12:21:02 +02:00 committed by Xiang Xiao
parent 338b122b2b
commit 36b73fd0a3

View File

@ -213,7 +213,7 @@ static sbi_scratch_holder_t g_scratches[MPFS_MAX_NUM_HARTS] \
uint8_t g_hart_stacks[SBI_PLATFORM_DEFAULT_HART_STACK_SIZE * \
MPFS_HART_COUNT] \
__attribute__((section(".ddrstorage")));
__attribute__((section(".ddrstorage"), aligned(16)));
/****************************************************************************
* Private Functions