diff src/cs/riviera/rvf/rvf_task.c @ 69:478dc66469b7

src/cs/riviera/rvf/rvf_task.c: missed some TMS470 asm code
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 20 Jul 2018 01:06:17 +0000
parents b6a5e36de839
children
line wrap: on
line diff
--- a/src/cs/riviera/rvf/rvf_task.c	Fri Jul 20 00:51:15 2018 +0000
+++ b/src/cs/riviera/rvf/rvf_task.c	Fri Jul 20 01:06:17 2018 +0000
@@ -874,6 +874,8 @@
 /* Declaration of ASM INT_Check_IRQ_Mask function */
 UINT32 INT_Check_IRQ_Mask(void);
 
+#ifndef __GNUC__
+
 asm("           .def	$INT_Check_IRQ_Mask");
 asm("$INT_Check_IRQ_Mask  ");			    
 asm("           .ref _INT_32_Check_IRQ_Mask");
@@ -890,6 +892,7 @@
 asm("	BX	lr  ");        // return to caller
 
 #endif
+#endif
 
 
 /*******************************************************************************