Changeset 2595dab in mainline for uspace/lib/libc/include/fibril.h
- Timestamp:
- 2009-06-03T19:26:28Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- d00ae4c
- Parents:
- ca3ba3a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/libc/include/fibril.h
rca3ba3a r2595dab 41 41 42 42 #ifndef context_set 43 #define context_set(c, _pc, stack, size, ptls) 44 (c)->pc = (sysarg_t) (_pc); 45 (c)->sp = ((sysarg_t) (stack)) + (size) - SP_DELTA; 46 43 #define context_set(c, _pc, stack, size, ptls) \ 44 (c)->pc = (sysarg_t) (_pc); \ 45 (c)->sp = ((sysarg_t) (stack)) + (size) - SP_DELTA; \ 46 (c)->tls = (sysarg_t) (ptls); 47 47 #endif /* context_set */ 48 48 49 #define FIBRIL_SERIALIZED 49 #define FIBRIL_SERIALIZED 1 50 50 51 51 typedef enum {
Note:
See TracChangeset
for help on using the changeset viewer.