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 9ffe7625cb187004cf209f113b3cd96472c92ab2
Author: Saravanan Sekar <[email protected]>
AuthorDate: Thu Nov 5 12:45:53 2026 +0530

    arch/tricore: Drop the iLLD headers from tricore_internal.h.
    
    Only the interrupt entry and the trap handler still use the iLLD, until
    they get their own native steps.  Include the iLLD headers in those two
    files and drop them from tricore_internal.h, so the other common files
    no longer see them.
    
    Signed-off-by: Saravanan Sekar <[email protected]>
---
 arch/tricore/src/common/tricore_doirq.c    | 7 +++++++
 arch/tricore/src/common/tricore_internal.h | 5 -----
 arch/tricore/src/common/tricore_trapcall.c | 7 +++++++
 3 files changed, 14 insertions(+), 5 deletions(-)

diff --git a/arch/tricore/src/common/tricore_doirq.c 
b/arch/tricore/src/common/tricore_doirq.c
index d538aa070f9..b0388f80b1d 100644
--- a/arch/tricore/src/common/tricore_doirq.c
+++ b/arch/tricore/src/common/tricore_doirq.c
@@ -41,6 +41,13 @@
 
 #include "tricore_internal.h"
 
+/* The interrupt entry still uses the iLLD until it is native */
+
+#include <IfxCpu_reg.h>
+#include <Ifx_Ssw_Compilers.h>
+#include <Compilers/Compilers.h>
+#include <IfxCpu_Intrinsics.h>
+
 /****************************************************************************
  * Public Functions
  ****************************************************************************/
diff --git a/arch/tricore/src/common/tricore_internal.h 
b/arch/tricore/src/common/tricore_internal.h
index 1724d6ff449..c16c3572bf2 100644
--- a/arch/tricore/src/common/tricore_internal.h
+++ b/arch/tricore/src/common/tricore_internal.h
@@ -35,11 +35,6 @@
 #  include <sys/types.h>
 #  include <stdint.h>
 #  include <syscall.h>
-
-#  include <IfxCpu_reg.h>
-#  include <Ifx_Ssw_Compilers.h>
-#  include <Compilers/Compilers.h>
-#  include <IfxCpu_Intrinsics.h>
 #endif
 
 /****************************************************************************
diff --git a/arch/tricore/src/common/tricore_trapcall.c 
b/arch/tricore/src/common/tricore_trapcall.c
index df12db04fcd..7b0b148c4ad 100644
--- a/arch/tricore/src/common/tricore_trapcall.c
+++ b/arch/tricore/src/common/tricore_trapcall.c
@@ -39,6 +39,13 @@
 
 #include "tricore_internal.h"
 
+/* The trap handler still uses the iLLD until it is native */
+
+#include <IfxCpu_reg.h>
+#include <Ifx_Ssw_Compilers.h>
+#include <Compilers/Compilers.h>
+#include <IfxCpu_Intrinsics.h>
+
 #include "IfxCpu_Trap.h"
 
 /****************************************************************************

Reply via email to