Changes in kernel/arch/ia32/include/context.h [bac86377:7397c73] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/ia32/include/context.h
rbac86377 r7397c73 49 49 #define SP_DELTA (8 + STACK_ITEM_SIZE) 50 50 51 #define context_set(c, _pc, stack, size) \52 do { \53 (c)->pc = (uintptr_t) (_pc); \54 (c)->sp = ((uintptr_t) (stack)) + (size) - SP_DELTA; \55 (c)->ebp = 0; \56 } while (0)57 58 51 #endif /* KERNEL */ 59 52
Note:
See TracChangeset
for help on using the changeset viewer.