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

rt-thread-nano移植到RISC-VSweRV #8

Open
Richard2088 opened this issue Sep 17, 2020 · 1 comment
Open

rt-thread-nano移植到RISC-VSweRV #8

Richard2088 opened this issue Sep 17, 2020 · 1 comment

Comments

@Richard2088
Copy link

No description provided.

@Richard2088
Copy link
Author

rt-thread-nano移植到RISC-V SweRV核心后任务调度失败。
SweRV是硬件计数,需要在timer终端中做线程切换,在调用rt_hw_context_switch_interrupt后不知道如何做线程切换。
参考picorv32的移植,请问:
1、irq_entry: 是什么时候触发的
2、中断中做线程切换需要保存哪些东西,有什么注意的点吗。
谢谢!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant