Home
last modified time | relevance | path

Searched refs:thread (Results 1 – 25 of 36) sorted by relevance

12

/lk-master/arch/arm/include/arch/
A Darch_ops.h118 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 Darm.h234 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 Darm64.h59 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 Darch_ops.h82 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 Dthread.h16 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 Dthread.c118 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 Darch_ops.h53 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 Darch_ops.h34 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 Darch_ops.h44 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 Darch_ops.h60 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 Darch_ops.h70 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 Dfpu.c58 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 Driscv.h166 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 Darch_ops.h28 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 Dwait.h64 struct thread;
65 status_t thread_unblock_from_wait_queue(struct thread *t, status_t wait_queue_error);
A Ddebug.h50 #define KEVLOG_THREAD_PREEMPT(thread) kernel_evlog_add(KERNEL_EVLOG_PREEMPT, (uintptr_t)thread, 0) argument
/lk-master/arch/arm64/
A Dfpu.c17 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 Drules.mk15 $(LOCAL_DIR)/thread.c \
/lk-master/arch/mips/
A Dthread.c18 struct thread *_current_thread;
/lk-master/arch/m68k/
A Dthread.c18 struct thread *_current_thread;
A Drules.mk11 $(LOCAL_DIR)/thread.c \
/lk-master/arch/or1k/
A Dthread.c19 struct thread *_current_thread;
A Drules.mk10 $(LOCAL_DIR)/thread.c \
/lk-master/arch/riscv/
A Dthread.c19 struct thread *_current_thread;
/lk-master/arch/microblaze/
A Dthread.c18 struct thread *_current_thread;

Completed in 21 milliseconds

12