~martin-decky/helenos/rcu

« back to all changes in this revision

Viewing changes to uspace/lib/c/arch/sparc64/include/fibril.h

MergeĀ mainlineĀ changes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
39
39
#include <sys/types.h>
40
40
#include <align.h>
41
41
 
42
 
#define SP_DELTA        (STACK_WINDOW_SAVE_AREA_SIZE + STACK_ARG_SAVE_AREA_SIZE)
 
42
#define SP_DELTA  (STACK_WINDOW_SAVE_AREA_SIZE + STACK_ARG_SAVE_AREA_SIZE)
43
43
 
44
44
#define context_set(c, _pc, stack, size, ptls) \
45
45
        do { \
49
49
                (c)->fp = -STACK_BIAS; \
50
50
                (c)->tp = (uint64_t) ptls; \
51
51
        } while (0)
52
 
        
 
52
 
53
53
/*
54
54
 * Save only registers that must be preserved across
55
55
 * function calls.