This is an automated email from the ASF dual-hosted git repository.

xiaoxiang781216 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git

commit 24c8bd45c048663894d95db0fa4d3d9399a41b68
Author: raiden00pl <[email protected]>
AuthorDate: Wed Oct 7 12:33:46 2026 +0200

    arch/x86_64/x86_64_hwdebug.c: fix nxstyle issues.
    
    Add the blank lines after declarations that nxstyle requires.
    
    Assisted-by: Claude:claude-opus-5-5
    Signed-off-by: raiden00pl <[email protected]>
---
 arch/x86_64/src/common/x86_64_hwdebug.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/arch/x86_64/src/common/x86_64_hwdebug.c 
b/arch/x86_64/src/common/x86_64_hwdebug.c
index 89302dc4f89..7022501f0ac 100644
--- a/arch/x86_64/src/common/x86_64_hwdebug.c
+++ b/arch/x86_64/src/common/x86_64_hwdebug.c
@@ -152,6 +152,7 @@ static inline void set_dr0(uint64_t dr0)
 static inline uint64_t get_dr0(void)
 {
   uint64_t regval;
+
   __asm__ volatile("\tmov %%dr0, %0\n" : "=r" (regval));
   return regval;
 }
@@ -164,6 +165,7 @@ static inline void set_dr1(uint64_t dr1)
 static inline uint64_t get_dr1(void)
 {
   uint64_t regval;
+
   __asm__ volatile("\tmov %%dr1, %0\n" : "=r" (regval));
   return regval;
 }
@@ -176,6 +178,7 @@ static inline void set_dr2(uint64_t dr2)
 static inline uint64_t get_dr2(void)
 {
   uint64_t regval;
+
   __asm__ volatile("\tmov %%dr2, %0\n" : "=r" (regval));
   return regval;
 }
@@ -188,6 +191,7 @@ static inline void set_dr3(uint64_t dr3)
 static inline uint64_t get_dr3(void)
 {
   uint64_t regval;
+
   __asm__ volatile("\tmov %%dr3, %0\n" : "=r" (regval));
   return regval;
 }
@@ -200,6 +204,7 @@ static inline void set_dr6(uint64_t dr6)
 static inline uint64_t get_dr6(void)
 {
   uint64_t regval;
+
   __asm__ volatile("\tmov %%dr6, %0\n" : "=r" (regval));
   return regval;
 }
@@ -212,6 +217,7 @@ static inline void set_dr7(uint64_t dr7)
 static inline uint64_t get_dr7(void)
 {
   uint64_t regval;
+
   __asm__ volatile("\tmov %%dr7, %0\n" : "=r" (regval));
   return regval;
 }

Reply via email to