comparison 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
comparison
equal deleted inserted replaced
68:be5b218f0765 69:478dc66469b7
872 /* */ 872 /* */
873 /*-------------------------------------------------------*/ 873 /*-------------------------------------------------------*/
874 /* Declaration of ASM INT_Check_IRQ_Mask function */ 874 /* Declaration of ASM INT_Check_IRQ_Mask function */
875 UINT32 INT_Check_IRQ_Mask(void); 875 UINT32 INT_Check_IRQ_Mask(void);
876 876
877 #ifndef __GNUC__
878
877 asm(" .def $INT_Check_IRQ_Mask"); 879 asm(" .def $INT_Check_IRQ_Mask");
878 asm("$INT_Check_IRQ_Mask "); 880 asm("$INT_Check_IRQ_Mask ");
879 asm(" .ref _INT_32_Check_IRQ_Mask"); 881 asm(" .ref _INT_32_Check_IRQ_Mask");
880 asm(".state16"); 882 asm(".state16");
881 asm(" ADR r0,_INT_32_Check_IRQ_Mask "); 883 asm(" ADR r0,_INT_32_Check_IRQ_Mask ");
887 asm("_INT_32_Check_IRQ_Mask "); 889 asm("_INT_32_Check_IRQ_Mask ");
888 890
889 asm(" MRS r0,CPSR "); // pick up CPSR 891 asm(" MRS r0,CPSR "); // pick up CPSR
890 asm(" BX lr "); // return to caller 892 asm(" BX lr "); // return to caller
891 893
894 #endif
892 #endif 895 #endif
893 896
894 897
895 /******************************************************************************* 898 /*******************************************************************************
896 ** 899 **