]> rtime.felk.cvut.cz Git - arc.git/blobdiff - system/kernel/testsystem/test_sup_05.c
Again, loads of refactoring and removing and adding files.
[arc.git] / system / kernel / testsystem / test_sup_05.c
index a8c7e580c70aea49e9aec66c83d62da630d8c20a..67d2d1e6709acc07ec68e76180fb308c2f7a8f90 100644 (file)
@@ -27,7 +27,7 @@
 //#include <stdio.h>\r
 #include <assert.h>\r
 #include "os_test.h"\r
-#include "int_ctrl.h"\r
+#include "irq.h"\r
 \r
 #if 0\r
 void isr_l(void ) {\r
@@ -38,7 +38,7 @@ void isr_l(void ) {
        case 5:\r
                test_nr++;\r
                /* Trigger higher prio interrupt */\r
-               IntCtrl_GenerateSoftInt(EXTI1_IRQn);\r
+               Irq_GenerateSoftInt(EXTI1_IRQn);\r
                TEST_ASSERT(test_nr==8);\r
                break;\r
        default:\r
@@ -54,7 +54,7 @@ void isr_m(void ) {
        case 6:\r
                test_nr++;\r
                /* Trigger higher prio interrupt */\r
-               IntCtrl_GenerateSoftInt(EXTI2_IRQn);\r
+               Irq_GenerateSoftInt(EXTI2_IRQn);\r
                TEST_ASSERT(test_nr==7);\r
                test_nr++;\r
                break;\r
@@ -156,7 +156,7 @@ void etask_sup_m_04( void ) {
  * Example: Two tasks, main with prio 2 and slave with prio 1,activate 2.
  */\r
 \r
-void ActivationQuee(void) {\r
+void ActivationQueue(void) {\r
        {\r
          StatusType rv;\r
          /* Queue up */\r