Changeset a5c78a18 in mainline for uspace/lib/c/arch/abs32le
- Timestamp:
- 2019-02-03T14:35:44Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- b4f1171
- Parents:
- 67ca359
- Location:
- uspace/lib/c/arch/abs32le
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/arch/abs32le/include/libarch/fibril_context.h
r67ca359 ra5c78a18 36 36 * need to be preserved across function calls. 37 37 */ 38 typedef struct context {38 typedef struct __context { 39 39 uintptr_t sp; 40 40 uintptr_t fp; 41 41 uintptr_t pc; 42 42 uintptr_t tls; 43 } context_t;43 } __context_t; 44 44 45 45 #endif -
uspace/lib/c/arch/abs32le/src/fibril.c
r67ca359 ra5c78a18 33 33 #include <stdbool.h> 34 34 35 int __setjmp( context_t *ctx)35 int __setjmp(__context_t *ctx) 36 36 { 37 37 return 0; 38 38 } 39 39 40 void __longjmp( context_t *ctx, int val)40 void __longjmp(__context_t *ctx, int val) 41 41 { 42 42 while (true)
Note:
See TracChangeset
for help on using the changeset viewer.