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 eb48a96b5d49f33cad32d86f918be117941a35df
Author: Saravanan Sekar <[email protected]>
AuthorDate: Thu Nov 5 10:49:32 2026 +0530

    arch/tricore: Use the NuttX CSFR offsets in tricore_registerdump.c.
    
    Access the trap status registers with the offsets from arch/csfr.h
    instead of the iLLD CPU_* names, one step towards common TriCore code
    that does not need the iLLD.
    
    Signed-off-by: Saravanan Sekar <[email protected]>
---
 arch/tricore/src/common/tricore_registerdump.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/tricore/src/common/tricore_registerdump.c 
b/arch/tricore/src/common/tricore_registerdump.c
index 91aaa8a2776..60f5ad6badd 100644
--- a/arch/tricore/src/common/tricore_registerdump.c
+++ b/arch/tricore/src/common/tricore_registerdump.c
@@ -88,8 +88,8 @@ void tricore_dump_trapctrl(void)
 {
   _alert("PSTR:%-14.8" PRIX32 "DSTR:%-14.8" PRIX32
          "DATR:%-14.8" PRIX32 "DEADD:%-13.8" PRIX32 "\n\n",
-         tricore_mfcr(CPU_PSTR), tricore_mfcr(CPU_DSTR),
-         tricore_mfcr(CPU_DATR), tricore_mfcr(CPU_DEADD));
+         tricore_mfcr(TRICORE_CPU_PSTR), tricore_mfcr(TRICORE_CPU_DSTR),
+         tricore_mfcr(TRICORE_CPU_DATR), tricore_mfcr(TRICORE_CPU_DEADD));
 }
 
 /****************************************************************************

Reply via email to