Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/arch/ia64/include/fibril.h

    r2902e1bb r9d58539  
    4949#define PFM_MASK  (~0x3fffffffff)
    5050
     51#define PSTHREAD_INITIAL_STACK_PAGES_NO  2
     52
    5153/* Stack is divided into two equal parts (for memory stack and register stack). */
    52 #define FIBRIL_INITIAL_STACK_DIVISION  2
     54#define PSTHREAD_INITIAL_STACK_DIVISION  2
    5355
    5456#define context_set(c, _pc, stack, size, tls) \
     
    5658                (c)->pc = (uint64_t) _pc; \
    5759                (c)->bsp = ((uint64_t) stack) + \
    58                     size / FIBRIL_INITIAL_STACK_DIVISION; \
     60                    size / PSTHREAD_INITIAL_STACK_DIVISION; \
    5961                (c)->ar_pfs &= PFM_MASK; \
    6062                (c)->sp = ((uint64_t) stack) + \
    61                     ALIGN_UP((size / FIBRIL_INITIAL_STACK_DIVISION), STACK_ALIGNMENT) - \
     63                    ALIGN_UP((size / PSTHREAD_INITIAL_STACK_DIVISION), STACK_ALIGNMENT) - \
    6264                    SP_DELTA; \
    6365                (c)->tp = (uint64_t) tls; \
Note: See TracChangeset for help on using the changeset viewer.