Changes in kernel/generic/include/context.h [9dae3e97:7a0359b] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/include/context.h
r9dae3e97 r7a0359b 41 41 42 42 #define context_set_generic(ctx, _pc, stack, size) \ 43 do { \ 44 (ctx)->pc = (uintptr_t) (_pc); \ 45 (ctx)->sp = ((uintptr_t) (stack)) + (size) - SP_DELTA; \ 46 } while (0) 43 (ctx)->pc = (uintptr_t) (_pc); \ 44 (ctx)->sp = ((uintptr_t) (stack)) + (size) - SP_DELTA; 47 45 48 46 extern int context_save_arch(context_t *ctx) __attribute__((returns_twice));
Note:
See TracChangeset
for help on using the changeset viewer.