/lk-master/arch/arm/include/arch/ |
A D | arch_ops.h | 118 static inline struct thread *arch_get_current_thread(void) { in arch_get_current_thread() 119 return (struct thread *)arm_read_tpidrprw(); in arch_get_current_thread() 122 static inline void arch_set_current_thread(struct thread *t) { in arch_set_current_thread() 128 extern struct thread *_current_thread; 130 static inline struct thread *arch_get_current_thread(void) { in arch_get_current_thread() 134 static inline void arch_set_current_thread(struct thread *t) { in arch_set_current_thread() 187 extern struct thread *_current_thread; 189 static inline struct thread *arch_get_current_thread(void) { 193 static inline void arch_set_current_thread(struct thread *t) {
|
A D | arm.h | 234 struct thread; 235 void arm_fpu_thread_initialize(struct thread *t); 236 void arm_fpu_thread_swap(struct thread *oldthread, struct thread *newthread);
|
/lk-master/arch/arm64/include/arch/ |
A D | arm64.h | 59 struct thread; 63 void arm64_fpu_save_state(struct thread *thread); 65 static inline void arm64_fpu_pre_context_switch(struct thread *thread) { in arm64_fpu_pre_context_switch() argument 68 arm64_fpu_save_state(thread); in arm64_fpu_pre_context_switch()
|
A D | arch_ops.h | 82 static inline struct thread *arch_get_current_thread(void) { in arch_get_current_thread() 83 return (struct thread *)ARM64_READ_SYSREG(tpidr_el1); in arch_get_current_thread() 86 static inline void arch_set_current_thread(struct thread *t) { in arch_set_current_thread()
|
/lk-master/arch/include/arch/ |
A D | thread.h | 16 struct thread; 18 void arch_thread_initialize(struct thread *); 19 void arch_context_switch(struct thread *oldthread, struct thread *newthread);
|
/lk-master/arch/arm/arm-m/ |
A D | thread.c | 118 void arch_thread_initialize(struct thread *t) { in arch_thread_initialize() 196 __NAKED static void _half_save_and_svc(struct thread *oldthread, struct thread *newthread, bool fpu… in _half_save_and_svc() 198 __NAKED static void _half_save_and_svc(struct thread *oldthread, struct thread *newthread) in _half_save_and_svc() 269 __NAKED static void _arch_non_preempt_context_switch(struct thread *oldthread, struct thread *newth… in _arch_non_preempt_context_switch() 271 __NAKED static void _arch_non_preempt_context_switch(struct thread *oldthread, struct thread *newth… in _arch_non_preempt_context_switch() 371 void arch_context_switch(struct thread *oldthread, struct thread *newthread) { in arch_context_switch()
|
/lk-master/arch/microblaze/include/arch/ |
A D | arch_ops.h | 53 extern struct thread *_current_thread; 55 static inline struct thread *arch_get_current_thread(void) { in arch_get_current_thread() 59 static inline void arch_set_current_thread(struct thread *t) { in arch_set_current_thread()
|
/lk-master/arch/m68k/include/arch/ |
A D | arch_ops.h | 34 extern struct thread *_current_thread; 36 static inline struct thread *arch_get_current_thread(void) { in arch_get_current_thread() 40 static inline void arch_set_current_thread(struct thread *t) { in arch_set_current_thread()
|
/lk-master/arch/mips/include/arch/ |
A D | arch_ops.h | 44 extern struct thread *_current_thread; 46 static inline struct thread *arch_get_current_thread(void) { in arch_get_current_thread() 50 static inline void arch_set_current_thread(struct thread *t) { in arch_set_current_thread()
|
/lk-master/arch/x86/include/arch/ |
A D | arch_ops.h | 60 extern struct thread *_current_thread; 62 static inline struct thread *arch_get_current_thread(void) { in arch_get_current_thread() 66 static inline void arch_set_current_thread(struct thread *t) { in arch_set_current_thread()
|
/lk-master/arch/or1k/include/arch/ |
A D | arch_ops.h | 70 extern struct thread *_current_thread; 72 static inline struct thread *arch_get_current_thread(void) { in arch_get_current_thread() 76 static inline void arch_set_current_thread(struct thread *t) { in arch_set_current_thread()
|
/lk-master/arch/arm/arm/ |
A D | fpu.c | 58 void arm_fpu_thread_initialize(struct thread *t) { in arm_fpu_thread_initialize() 67 void arm_fpu_thread_swap(struct thread *oldthread, struct thread *newthread) { in arm_fpu_thread_swap()
|
/lk-master/arch/riscv/include/arch/ |
A D | riscv.h | 166 struct thread *curr_thread; 183 static inline struct thread *riscv_get_current_thread(void) { in riscv_get_current_thread() 184 struct thread *t; in riscv_get_current_thread() 193 static inline void riscv_set_current_thread(struct thread *t) { in riscv_set_current_thread()
|
A D | arch_ops.h | 28 static inline struct thread *arch_get_current_thread(void) { in arch_get_current_thread() 32 static inline void arch_set_current_thread(struct thread *t) { in arch_set_current_thread()
|
/lk-master/kernel/include/kernel/ |
A D | wait.h | 64 struct thread; 65 status_t thread_unblock_from_wait_queue(struct thread *t, status_t wait_queue_error);
|
A D | debug.h | 50 #define KEVLOG_THREAD_PREEMPT(thread) kernel_evlog_add(KERNEL_EVLOG_PREEMPT, (uintptr_t)thread, 0) argument
|
/lk-master/arch/arm64/ |
A D | fpu.c | 17 static void arm64_fpu_load_state(struct thread *t) { in arm64_fpu_load_state() 53 void arm64_fpu_save_state(struct thread *t) { in arm64_fpu_save_state()
|
/lk-master/kernel/ |
A D | rules.mk | 15 $(LOCAL_DIR)/thread.c \
|
/lk-master/arch/mips/ |
A D | thread.c | 18 struct thread *_current_thread;
|
/lk-master/arch/m68k/ |
A D | thread.c | 18 struct thread *_current_thread;
|
A D | rules.mk | 11 $(LOCAL_DIR)/thread.c \
|
/lk-master/arch/or1k/ |
A D | thread.c | 19 struct thread *_current_thread;
|
A D | rules.mk | 10 $(LOCAL_DIR)/thread.c \
|
/lk-master/arch/riscv/ |
A D | thread.c | 19 struct thread *_current_thread;
|
/lk-master/arch/microblaze/ |
A D | thread.c | 18 struct thread *_current_thread;
|