Changeset 15d0046 in mainline for uspace/lib/c/arch/arm32/include/libarch/fibril.h
- Timestamp:
- 2014-09-12T13:22:33Z (10 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 9b20126
- Parents:
- 8db09e4 (diff), 105d8d6 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/arch/arm32/include/libarch/fibril.h
r8db09e4 r15d0046 40 40 #include <align.h> 41 41 #include <thread.h> 42 #include <libarch/fibril_context.h> 42 43 43 44 /** Size of a stack item */ … … 66 67 } while (0) 67 68 68 /** Fibril context.69 *70 * Only registers preserved accross function calls are included. r9 is used71 * to store a TLS address. -ffixed-r9 gcc forces gcc not to use this72 * register. -mtp=soft forces gcc to use #__aeabi_read_tp to obtain73 * TLS address.74 */75 typedef struct {76 uint32_t sp;77 uint32_t pc;78 uint32_t r4;79 uint32_t r5;80 uint32_t r6;81 uint32_t r7;82 uint32_t r8;83 uint32_t tls; /* r9 */84 uint32_t r10;85 uint32_t fp; /* r11 */86 } context_t;87 88 69 static inline uintptr_t context_get_fp(context_t *ctx) 89 70 {
Note:
See TracChangeset
for help on using the changeset viewer.