pkarashchenko commented on code in PR #9330: URL: https://github.com/apache/nuttx/pull/9330#discussion_r1198587492
########## arch/arm64/src/common/arm64_head.S: ########## @@ -335,3 +337,37 @@ boot_stage_puts: .type boot_low_puts, %function; #endif /* !CONFIG_ARCH_EARLY_PRINT */ + +/*************************************************************************** + * Name: arm64_data_initialize + ***************************************************************************/ + + .type arm64_data_initialize, #function + +arm64_data_initialize: + + /* Zero BSS */ + + adr x0, .Linitparms + ldp x1, x2, [x0], #8 + + mov x0, #0 +1: + cmp x1, x2 + bge 2f + str x0, [x1], #8 Review Comment: Is 8 byte size alignment ensured by a linker script? -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
