Changeset ec8b0dac in mainline
- Timestamp:
- 2009-07-11T15:14:56Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 4b2c458c
- Parents:
- 4c467ee
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/include/context.h
r4c467ee rec8b0dac 46 46 #endif /* context_set */ 47 47 48 extern int context_save_arch(context_t *c) ;48 extern int context_save_arch(context_t *c) __attribute__ ((returns_twice)); 49 49 extern void context_restore_arch(context_t *c) __attribute__ ((noreturn)); 50 50 -
uspace/lib/libc/generic/fibril.c
r4c467ee rec8b0dac 166 166 /* Save current state */ 167 167 if (!context_save(&srcf->ctx)) { 168 /*169 * Make sure to reload srcf with the current fibril170 * address. Its value may be invalid after171 * contex_restore() due to e.g. register recycling.172 */173 srcf = __tcb_get()->fibril_data;174 168 if (serialization_count) 175 169 srcf->flags &= ~FIBRIL_SERIALIZED; -
uspace/lib/libc/include/fibril.h
r4c467ee rec8b0dac 76 76 #define fibril_local __thread 77 77 78 extern int context_save(context_t *c) ;78 extern int context_save(context_t *c) __attribute__ ((returns_twice)); 79 79 extern void context_restore(context_t *c) __attribute__ ((noreturn)); 80 80
Note:
See TracChangeset
for help on using the changeset viewer.