Files | |
file | atomic.h |
file | config.h |
file | ddi.h |
, | |
file | faddr.h |
file | fibril.h |
file | istate.h |
file | stackarg.h |
file | stacktrace.c |
file | thread.h |
file | tls.c |
file | tls.c |
file | tls.h |
file | types.h |
Data Structures | |
struct | context_t |
Fibril context. More... | |
struct | tcb_t |
TCB (Thread Control Block) struct. More... | |
struct | tls_index |
Defines | |
#define | __64_BITS__ |
#define | atomic_predec(val) (atomic_postdec(val) - 1) |
#define | atomic_preinc(val) (atomic_postinc(val) + 1) |
#define | CONFIG_TLS_VARIANT_2 |
#define | context_set(c, _pc, stack, size, ptls) |
#define | FADDR(fptr) ((uintptr_t) (fptr)) |
#define | FRAME_OFFSET_FP_PREV 0 |
#define | FRAME_OFFSET_RA 8 |
#define | LIBC_ARCH_ATOMIC_H_ |
#define | PAGE_SIZE (1 << PAGE_WIDTH) |
#define | PAGE_WIDTH 12 |
#define | PRIdn PRId64 |
Format for native_t. | |
#define | PRIua PRIu64 |
Format for atomic_count_t. | |
#define | PRIun PRIu64 |
Format for sysarg_t. | |
#define | PRIxn PRIx64 |
Format for hexadecimal sysarg_t. | |
#define | SIZE_MAX UINT64_MAX |
#define | SIZE_MIN UINT64_MIN |
#define | SP_DELTA 16 |
#define | SSIZE_MAX INT64_MAX |
#define | SSIZE_MIN INT64_MIN |
Typedefs | |
typedef uint64_t | atomic_count_t |
typedef int64_t | atomic_signed_t |
typedef uint64_t | size_t |
typedef int64_t | ssize_t |
typedef uint64_t | sysarg_t |
typedef uint64_t | uintptr_t |
Functions | |
void * | ___tls_get_addr (tls_index *ti) |
tcb_t * | __alloc_tls (void **data, size_t size) |
void | __free_tls_arch (tcb_t *tcb, size_t size) |
static tcb_t * | __tcb_get (void) |
static void | __tcb_set (tcb_t *tcb) |
static void | atomic_dec (atomic_t *val) |
static void | atomic_inc (atomic_t *val) |
static atomic_count_t | atomic_postdec (atomic_t *val) |
static atomic_count_t | atomic_postinc (atomic_t *val) |
static uintptr_t | context_get_fp (context_t *ctx) |
int | stacktrace_fp_prev (stacktrace_t *st, uintptr_t fp, uintptr_t *prev) |
bool | stacktrace_fp_valid (stacktrace_t *st, uintptr_t fp) |
int | stacktrace_ra_get (stacktrace_t *st, uintptr_t fp, uintptr_t *ra) |