|
Files |
file | atomic.h |
file | config.h |
file | ddi.h |
| ,
|
file | dynamic.c |
file | faddr.h |
file | fibril.h |
file | reloc.c |
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...
|
Defines |
#define | __32_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 4 |
#define | LIBC_ARCH_ATOMIC_H_ |
#define | PAGE_SIZE (1 << PAGE_WIDTH) |
#define | PAGE_WIDTH 12 |
#define | PRIdn PRId32 |
| Format for native_t.
|
#define | PRIua PRIu32 |
| Format for atomic_count_t.
|
#define | PRIun PRIu32 |
| Format for sysarg_t.
|
#define | PRIxn PRIx32 |
| Format for hexadecimal sysarg_t.
|
#define | SIZE_MAX UINT32_MAX |
#define | SIZE_MIN UINT32_MIN |
#define | SP_DELTA 12 |
#define | SSIZE_MAX INT32_MAX |
#define | SSIZE_MIN INT32_MIN |
#define | USER_ADDRESS_SPACE_END_ARCH UINT32_C(0x7fffffff) |
#define | USER_ADDRESS_SPACE_START_ARCH UINT32_C(0x00000000) |
Typedefs |
typedef uint32_t | atomic_count_t |
typedef int32_t | atomic_signed_t |
typedef uint32_t | size_t |
typedef int32_t | ssize_t |
typedef uint32_t | sysarg_t |
typedef uint32_t | uintptr_t |
Functions |
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) |
void | dyn_parse_arch (elf_dyn_t *dp, size_t bias, dyn_info_t *info) |
void | module_process_pre_arch (module_t *m) |
void | rel_table_process (module_t *m, elf_rel_t *rt, size_t rt_size) |
| Process (fixup) all relocations in a relocation table.
|
void | rela_table_process (module_t *m, elf_rela_t *rt, size_t rt_size) |
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) |