This is an automated email from the ASF dual-hosted git repository. acassis pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git
commit a79f9bac76b687691b8b92c9c453b61926170210 Author: Marco Casaroli <[email protected]> AuthorDate: Tue Oct 20 14:28:12 2026 +0200 arch/arm64: Fix the style of arm64_cache.c. Add the blank line after the declarations that nxstyle asks for. The errors are older than the next change; there is no other change. Assisted-by: Claude Code:claude-opus-5-5 Signed-off-by: Marco Casaroli <[email protected]> --- arch/arm64/src/common/arm64_cache.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm64/src/common/arm64_cache.c b/arch/arm64/src/common/arm64_cache.c index 71cac0f274e..0ae9ba57b8a 100644 --- a/arch/arm64/src/common/arm64_cache.c +++ b/arch/arm64/src/common/arm64_cache.c @@ -443,6 +443,7 @@ void up_invalidate_icache(uintptr_t start, uintptr_t end) void up_enable_icache(void) { uint64_t value = read_sysreg(sctlr_el1); + write_sysreg((value | SCTLR_I_BIT), sctlr_el1); UP_ISB(); } @@ -464,6 +465,7 @@ void up_enable_icache(void) void up_disable_icache(void) { uint64_t value = read_sysreg(sctlr_el1); + write_sysreg((value & ~SCTLR_I_BIT), sctlr_el1); UP_ISB(); } @@ -676,6 +678,7 @@ void up_enable_dcache(void) void up_disable_dcache(void) { uint64_t value = read_sysreg(sctlr_el1); + write_sysreg((value & ~SCTLR_C_BIT), sctlr_el1); UP_ISB(); }
