Files | |
file | arch/ppc32/include/atomic.h |
file | arch/ppc32/include/endian.h |
file | arch/ppc32/include/limits.h |
file | arch/ppc32/include/psthread.h |
file | regname.h |
file | stackarg.h |
file | arch/ppc32/include/thread.h |
file | arch/ppc32/include/types.h |
file | syscall.c |
file | arch/ppc32/src/thread.c |
Data Structures | |
struct | __attribute__ |
struct | tcb_t |
Defines | |
#define | __BYTE_ORDER __BIG_ENDIAN |
#define | LONG_MIN MIN_INT32 |
#define | LONG_MAX MAX_INT32 |
#define | ULONG_MIN MIN_UINT32 |
#define | ULONG_MAX MAX_UINT32 |
#define | context_set(c, _pc, stack, size, ptls) |
#define | SP_DELTA 16 |
#define | cr0 0 |
#define | cr1 1 |
#define | cr2 2 |
#define | cr3 3 |
#define | cr4 4 |
#define | cr5 5 |
#define | cr6 6 |
#define | cr7 7 |
#define | r0 0 |
#define | r1 1 |
#define | r2 2 |
#define | r3 3 |
#define | r4 4 |
#define | r5 5 |
#define | r6 6 |
#define | r7 7 |
#define | r8 8 |
#define | r9 9 |
#define | r10 10 |
#define | r11 11 |
#define | r12 12 |
#define | r13 13 |
#define | r14 14 |
#define | r15 15 |
#define | r16 16 |
#define | r17 17 |
#define | r18 18 |
#define | r19 19 |
#define | r20 20 |
#define | r21 21 |
#define | r22 22 |
#define | r23 23 |
#define | r24 24 |
#define | r25 25 |
#define | r26 26 |
#define | r27 27 |
#define | r28 28 |
#define | r29 29 |
#define | r30 30 |
#define | r31 31 |
#define | sp 1 |
#define | fr0 0 |
#define | fr1 1 |
#define | fr2 2 |
#define | fr3 3 |
#define | fr4 4 |
#define | fr5 5 |
#define | fr6 6 |
#define | fr7 7 |
#define | fr8 8 |
#define | fr9 9 |
#define | fr10 10 |
#define | fr11 11 |
#define | fr12 12 |
#define | fr13 13 |
#define | fr14 14 |
#define | fr15 15 |
#define | fr16 16 |
#define | fr17 17 |
#define | fr18 18 |
#define | fr19 19 |
#define | fr20 20 |
#define | fr21 21 |
#define | fr22 22 |
#define | fr23 23 |
#define | fr24 24 |
#define | fr25 25 |
#define | fr26 26 |
#define | fr27 27 |
#define | fr28 28 |
#define | fr29 29 |
#define | fr30 30 |
#define | fr31 31 |
#define | vr0 0 |
#define | vr1 1 |
#define | vr2 2 |
#define | vr3 3 |
#define | vr4 4 |
#define | vr5 5 |
#define | vr6 6 |
#define | vr7 7 |
#define | vr8 8 |
#define | vr9 9 |
#define | vr10 10 |
#define | vr11 11 |
#define | vr12 12 |
#define | vr13 13 |
#define | vr14 14 |
#define | vr15 15 |
#define | vr16 16 |
#define | vr17 17 |
#define | vr18 18 |
#define | vr19 19 |
#define | vr20 20 |
#define | vr21 21 |
#define | vr22 22 |
#define | vr23 23 |
#define | vr24 24 |
#define | vr25 25 |
#define | vr26 26 |
#define | vr27 27 |
#define | vr28 28 |
#define | vr29 29 |
#define | vr30 30 |
#define | vr31 31 |
#define | evr0 0 |
#define | evr1 1 |
#define | evr2 2 |
#define | evr3 3 |
#define | evr4 4 |
#define | evr5 5 |
#define | evr6 6 |
#define | evr7 7 |
#define | evr8 8 |
#define | evr9 9 |
#define | evr10 10 |
#define | evr11 11 |
#define | evr12 12 |
#define | evr13 13 |
#define | evr14 14 |
#define | evr15 15 |
#define | evr16 16 |
#define | evr17 17 |
#define | evr18 18 |
#define | evr19 19 |
#define | evr20 20 |
#define | evr21 21 |
#define | evr22 22 |
#define | evr23 23 |
#define | evr24 24 |
#define | evr25 25 |
#define | evr26 26 |
#define | evr27 27 |
#define | evr28 28 |
#define | evr29 29 |
#define | evr30 30 |
#define | evr31 31 |
#define | PPC_TP_OFFSET 0x7000 |
Typedefs | |
typedef unsigned int | sysarg_t |
typedef unsigned int | size_t |
typedef signed int | ssize_t |
typedef ssize_t | off_t |
typedef char | int8_t |
typedef short int | int16_t |
typedef int | int32_t |
typedef long long int | int64_t |
typedef unsigned char | uint8_t |
typedef unsigned short int | uint16_t |
typedef unsigned int | uint32_t |
typedef unsigned long long int | uint64_t |
Functions | |
static void | atomic_inc (atomic_t *val) |
static void | atomic_dec (atomic_t *val) |
static long | atomic_postinc (atomic_t *val) |
static long | atomic_postdec (atomic_t *val) |
static long | atomic_preinc (atomic_t *val) |
static long | atomic_predec (atomic_t *val) |
static void | __tcb_set (tcb_t *tcb) |
static tcb_t * | __tcb_get (void) |
sysarg_t | __syscall (const sysarg_t p1, const sysarg_t p2, const sysarg_t p3, const sysarg_t p4, const syscall_t id) |
tcb_t * | __alloc_tls (void **data, size_t size) |
void | __free_tls_arch (tcb_t *tcb, size_t size) |
|
Definition at line 42 of file arch/ppc32/include/endian.h. |
|
Definition at line 38 of file arch/ppc32/include/limits.h. Referenced by strtol(). |
|
Definition at line 39 of file arch/ppc32/include/limits.h. Referenced by strtol(). |
|
Definition at line 40 of file arch/ppc32/include/limits.h. |
|
Definition at line 41 of file arch/ppc32/include/limits.h. Referenced by _strtoul(). |
|
Value: (c)->pc = (sysarg_t) (_pc); \ (c)->sp = ((sysarg_t) (stack)) + (size) - SP_DELTA; \ (c)->tls = ((sysarg_t) (ptls)) + 0x7000 + sizeof(tcb_t); Definition at line 45 of file arch/ppc32/include/psthread.h. Referenced by psthread_create(). |
|
Definition at line 50 of file arch/ppc32/include/psthread.h. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 49 of file regname.h. Referenced by read_stdin(). |
|
Definition at line 50 of file regname.h. Referenced by read_stdin(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 83 of file regname.h. Referenced by add_segment(), has_segment_link(), release_unused_segments(), segment_holding(), and sys_trim(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 38 of file arch/ppc32/include/thread.h. Referenced by __tcb_get(), and __tcb_set(). |
|
Definition at line 38 of file arch/ppc32/include/types.h. |
|
Definition at line 39 of file arch/ppc32/include/types.h. |
|
Definition at line 40 of file arch/ppc32/include/types.h. |
|
Definition at line 41 of file arch/ppc32/include/types.h. |
|
Definition at line 43 of file arch/ppc32/include/types.h. |
|
Definition at line 44 of file arch/ppc32/include/types.h. |
|
Definition at line 45 of file arch/ppc32/include/types.h. |
|
Definition at line 46 of file arch/ppc32/include/types.h. |
|
Definition at line 48 of file arch/ppc32/include/types.h. |
|
Definition at line 49 of file arch/ppc32/include/types.h. |
|
Definition at line 50 of file arch/ppc32/include/types.h. |
|
Definition at line 51 of file arch/ppc32/include/types.h. |
|
Definition at line 38 of file arch/ppc32/include/atomic.h. References atomic::count. Referenced by atomic_postinc(), atomic_preinc(), and futex_down_timeout(). |
|
Definition at line 53 of file arch/ppc32/include/atomic.h. References atomic::count. Referenced by atomic_postdec(), and atomic_predec(). |
|
Definition at line 68 of file arch/ppc32/include/atomic.h. References atomic_inc(), and atomic::count. Referenced by futex_up(). Here is the call graph for this function: |
|
Definition at line 74 of file arch/ppc32/include/atomic.h. References atomic_dec(), and atomic::count. Here is the call graph for this function: |
|
Definition at line 80 of file arch/ppc32/include/atomic.h. References atomic_inc(), and atomic::count. Here is the call graph for this function: |
|
Definition at line 86 of file arch/ppc32/include/atomic.h. References atomic_dec(), and atomic::count. Referenced by futex_down_timeout(). Here is the call graph for this function: |
|
Definition at line 44 of file arch/ppc32/include/thread.h. References PPC_TP_OFFSET. Referenced by __main(), and __thread_main(). |
|
Definition at line 56 of file arch/ppc32/include/thread.h. References PPC_TP_OFFSET. Referenced by __exit(), psthread_get_id(), psthread_main(), and psthread_schedule_next_adv(). |
|
|
|
Allocate TLS & TCB for initial module threads
Definition at line 44 of file arch/ppc32/src/thread.c. Referenced by __make_tls(). |
|
Definition at line 53 of file arch/ppc32/src/thread.c. Referenced by __free_tls(). |