Re: [PR] arch/arm64: generate error if context size is not aligned to 16bytes [nuttx]

2025-02-05 Thread via GitHub
anchao merged PR #15758: URL: https://github.com/apache/nuttx/pull/15758 -- 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-unsubscr...@nuttx.apach

Re: [PR] arch/arm64: generate error if context size is not aligned to 16bytes [nuttx]

2025-02-04 Thread via GitHub
XuNeo commented on code in PR #15758: URL: https://github.com/apache/nuttx/pull/15758#discussion_r1942202334 ## arch/arm64/include/irq.h: ## @@ -161,6 +161,10 @@ #define ARM64_CONTEXT_REGS (38) #define ARM64_CONTEXT_SIZE (8 * ARM64_CONTEXT_REGS) +#if ARM64_CONTEXT_SIZE % 1

Re: [PR] arch/arm64: generate error if context size is not aligned to 16bytes [nuttx]

2025-02-04 Thread via GitHub
anchao commented on code in PR #15758: URL: https://github.com/apache/nuttx/pull/15758#discussion_r1942194136 ## arch/arm64/include/irq.h: ## @@ -161,6 +161,10 @@ #define ARM64_CONTEXT_REGS (38) #define ARM64_CONTEXT_SIZE (8 * ARM64_CONTEXT_REGS) +#if ARM64_CONTEXT_SIZE %

[PR] arch/arm64: generate error if context size is not aligned to 16bytes [nuttx]

2025-02-04 Thread via GitHub
XuNeo opened a new pull request, #15758: URL: https://github.com/apache/nuttx/pull/15758 *Note: Please adhere to [Contributing Guidelines](https://github.com/apache/nuttx/blob/master/CONTRIBUTING.md).* ## Summary Make sure the registers context size is aligned to 16bytes as