changeset 208:68184e15d92c

src/cs: sync with Magnetite (TI_PROFILER support)
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 16 Oct 2020 05:20:43 +0000
parents 4c555a7a3435
children d0547d47260a
files src/cs/riviera/rvt/ti_profiler/ti_profiler.c src/cs/system/main/int.s
diffstat 2 files changed, 6 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/cs/riviera/rvt/ti_profiler/ti_profiler.c	Fri Oct 16 05:13:01 2020 +0000
+++ b/src/cs/riviera/rvt/ti_profiler/ti_profiler.c	Fri Oct 16 05:20:43 2020 +0000
@@ -23,8 +23,10 @@
   #include "main/sys_types.h"
 
   #include "nucleus.h" 
-  #include "qu_defs.h" 
-  #include "tc_defs.h" 
+  #if (TI_NUC_MONITOR == 1)
+    #include "qu_defs.h" 
+    #include "tc_defs.h" 
+  #endif
 
   #include "rvf/rvf_api.h"
   #include "rvt/rvt_gen.h"
--- a/src/cs/system/main/int.s	Fri Oct 16 05:13:01 2020 +0000
+++ b/src/cs/system/main/int.s	Fri Oct 16 05:20:43 2020 +0000
@@ -1545,7 +1545,7 @@
 ;
      .if TI_NUC_MONITOR = 1
 ; define a new section to be mapped independently
-        .sect ".irqtext"
+;       .sect ".irqtext"
              
         .def    _INT_IRQ
 		.global _INT_IRQ
@@ -1624,7 +1624,7 @@
 ;
      .if TI_PROFILER = 1
 ; define a new section to be mapped independently
-        .sect ".fiqtext"
+;       .sect ".fiqtext"
              
         .def    _INT_FIQ
 		.global _INT_FIQ