]> rtime.felk.cvut.cz Git - arc.git/blobdiff - arch/arm/arm_cm3/kernel/arch_krn.sx
Again, loads of refactoring and removing and adding files.
[arc.git] / arch / arm / arm_cm3 / kernel / arch_krn.sx
index 14337e4e3d68c39ba39b07abd321d1becfb0f581..193a2debb317d65d4d5fc23c6302a5e0a8b9a0df 100644 (file)
@@ -26,7 +26,7 @@ Irq_Handler:
     mov.w   r4,#LC_PATTERN\r
     str     r4,[sp,#C_CONTEXT_OFFS]    \r
     mov        r0,sp                   // stack as first arg\r
-    bl      IntCtrl_Entry\r
+    bl      Irq_Entry\r
     mov     sp, r0                     // pop from returned stack\r
     b          os_lc_restore\r
        \r
@@ -42,9 +42,9 @@ Irq_Handler:
  * ----------    <- JABBA\r
  *\r
  */\r
-       .global os_arch_swap_context\r
-       .type   os_arch_swap_context, %function\r
-os_arch_swap_context:\r
+       .global Os_ArchSwapContext\r
+       .type   Os_ArchSwapContext, %function\r
+Os_ArchSwapContext:\r
 //    mov     r2, sp\r
     push    {r4-r8,r10,r11,lr}\r
 \r
@@ -61,9 +61,9 @@ os_arch_swap_context:
     str     r4,[r0,#PCB_STACK_CURR_P]\r
 \r
 // R1 - new PCB\r
-       .global os_arch_swap_context_to\r
-       .type   os_arch_swap_context_to, %function\r
-os_arch_swap_context_to:\r
+       .global Os_ArchSwapContextTo\r
+       .type   Os_ArchSwapContextTo, %function\r
+Os_ArchSwapContextTo:\r
 \r
     // Get stack for new task\r
     ldr        r2,[r1,#PCB_STACK_CURR_P]\r