zhangyu981027 commented on code in PR #21951:
URL: https://github.com/apache/nuttx/pull/21951#discussion_r4642320164
##########
arch/tricore/src/common/tasking/tricore_vectors.asm:
##########
@@ -19,110 +19,146 @@
; under the License.
;
;****************************************************************************
-;
-; TASKING (astc) version of gnu/tricore_vectors.S, same code and layout; see
-; there for the description. astc does not run the C preprocessor, so the
-; CORE_ID offset (TRICORE_CPU_CORE_ID in arch/csfr.h) is written out. The
-; tables are protected, as nothing references them by symbol.
-;
+
+;****************************************************************************
+; Trap vector table (BTV) in .text.traptab and interrupt vector table (BIV)
+; in .text.inttab; the linker script places both sections.
+;****************************************************************************
+
+;****************************************************************************
+; Included Files
+;****************************************************************************
+
+#include <nuttx/config.h>
+#include <arch/irq.h>
+
+;****************************************************************************
+; Pre-processor Definitions
;****************************************************************************
.extern tricore_trapcall
.extern tricore_svcall
+ .extern tricore_fcutrap_recover
+ .extern g_fcu_csa_base
.extern tricore_doirq
- .extern tricore_fcu_recover
- .extern g_tricore_fcu_pool
+
+JUMPABS .macro reg, target
Review Comment:
good point
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]