You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2022/01/21 11:40:30 UTC

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on a change in pull request #5289: Mpfs bootloader entrypoints

xiaoxiang781216 commented on a change in pull request #5289:
URL: https://github.com/apache/incubator-nuttx/pull/5289#discussion_r789588325



##########
File path: arch/risc-v/src/mpfs/mpfs_opensbi.c
##########
@@ -184,7 +184,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)));

Review comment:
       should we use aligned_data and locate_data




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org