Skip to content
GitLab
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
HFUT666
OSKernel2024-ROS666
Merge requests
!4
feat: task switch and collaborative scheduling
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Gerrnperl Lu
requested to merge
feat/task-switch
into
main
Dec 04, 2024
Overview
1
Commits
6
Pipelines
0
Changes
16
将应用程序加载移至 app_loader
将用户程序栈和内核栈初始化及相关操作移至 app_loader
分离 AppManager 为 AppLoader 和 TaskManager, 实现任务协作式调度
AppLoader 负责加载应用程序, 存放应用程序的信息
TaskManager 负责管理应用程序的运行调度
将静态全局变量 APP_LOADER 和 TASK_MANAGER 移至各自模块
实现应用程序任务上下文, 保存切换前的寄存器状态
sched_yield 系统调用