# HG changeset patch # User Mychaela Falconia # Date 1602825643 0 # Node ID 68184e15d92c06eda35cd385065e2dfb0a374a09 # Parent 4c555a7a3435c4c68a834ca309597301334515ca src/cs: sync with Magnetite (TI_PROFILER support) diff -r 4c555a7a3435 -r 68184e15d92c src/cs/riviera/rvt/ti_profiler/ti_profiler.c --- 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" diff -r 4c555a7a3435 -r 68184e15d92c src/cs/system/main/int.s --- 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