Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

<HELIOS> Context Switch mechanism and Yeild #180

Open
pranjalchanda08 opened this issue Dec 29, 2022 · 3 comments
Open

<HELIOS> Context Switch mechanism and Yeild #180

pranjalchanda08 opened this issue Dec 29, 2022 · 3 comments
Assignees
Labels
critical update This is a critical update cyancore framework Cyancore framework feature request enhancement Upgrading feature or request helios Related to CC Kernel Development
Milestone

Comments

@pranjalchanda08
Copy link
Contributor

Current CC_OS only have context_swich and yield place holder function and needs to be coded for performing the same.

@pranjalchanda08 pranjalchanda08 added cyancore framework Cyancore framework feature request FR Add new feature or request labels Dec 29, 2022
@pranjalchanda08 pranjalchanda08 added this to the Boron milestone Dec 29, 2022
@pranjalchanda08 pranjalchanda08 added enhancement Upgrading feature or request critical update This is a critical update helios Related to CC Kernel Development and removed FR Add new feature or request labels Dec 29, 2022
@akashkollipara
Copy link
Member

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 enclose csf_t and other thread parameters
  • tcb_t will be later called in xxxxx_tcb_t for example current cc_sched_tcb_t which will house other parameters too
  • arch_ctx_sw(tcb_t *old, tcb_t *new) will be part of arch.c in each visors

akashkollipara added a commit that referenced this issue Jan 25, 2023
pranjalchanda08 pushed a commit that referenced this issue Jan 31, 2023
@pranjalchanda08 pranjalchanda08 changed the title <CC_OS> Context Switch mechanism and Yeild <HELIOS> Context Switch mechanism and Yeild Jan 31, 2023
@pranjalchanda08
Copy link
Contributor Author

pranjalchanda08 commented Feb 2, 2023

@akashkollipara Once the TCB updates are pushed please create an issue to me so that I can incorporate the changes to HELIOS.

@pranjalchanda08
Copy link
Contributor Author

@akashkollipara we need to priorities this FR.

pranjalchanda08 pushed a commit that referenced this issue Feb 26, 2023
@akashkollipara akashkollipara removed this from the Boron milestone Nov 20, 2023
@akashkollipara akashkollipara added this to the Carbon milestone Feb 25, 2024
@akashkollipara akashkollipara modified the milestones: Carbon, Nitrogen Jul 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
critical update This is a critical update cyancore framework Cyancore framework feature request enhancement Upgrading feature or request helios Related to CC Kernel Development
Projects
None yet
Development

No branches or pull requests

3 participants