Open pranjalchanda08 opened 1 year ago
Context Switch
- AVR ctx_frame needs to be updated to save only args/temp regs
- RV, AVR callee-saved frame / CSF struct needs to be created
- CSF switch will result in context switch
TCB
- TCB will be made part of cpu include files
thread.h
tcb_t
will enclosecsf_t
and other thread parameterstcb_t
will be later called inxxxxx_tcb_t
for example currentcc_sched_tcb_t
which will house other parameters tooarch_ctx_sw(tcb_t *old, tcb_t *new)
will be part of arch.c in each visors
@akashkollipara Once the TCB updates are pushed please create an issue to me so that I can incorporate the changes to HELIOS.
@akashkollipara we need to priorities this FR.
Current CC_OS only have context_swich and yield place holder function and needs to be coded for performing the same.