Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/libcfa/concurrency/invoke.h

    rf7d6bb0 r82c948c  
    1010// Created On       : Tue Jan 17 12:27:26 2016
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Fri Jul 21 22:28:56 2017
    13 // Update Count     : 1
     12// Last Modified On : Tue Jan 23 14:55:46 2018
     13// Update Count     : 3
    1414//
    1515
     
    121121                // coroutine body used to store context
    122122                struct coroutine_desc  self_cor;
     123
     124                // current active context
     125                struct coroutine_desc * curr_cor;
    123126
    124127                // monitor body used for mutual exclusion
     
    209212                        "movl %%ebp,%1\n"   \
    210213                : "=rm" (ctx.SP), "=rm" (ctx.FP) )
     214        #elif defined( __ARM_ARCH )
     215        #define CtxGet( ctx ) __asm__ ( \
     216                        "mov %0,%%sp\n"   \
     217                        "mov %1,%%r11\n"   \
     218                : "=rm" (ctx.SP), "=rm" (ctx.FP) )
    211219        #endif
    212220
Note: See TracChangeset for help on using the changeset viewer.