rcore-os / rcore-os/rCore-Tutorial-v3

ch3-lab分支代码缺失,需要完善实验框架及相应测试用例

Open
#91 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
2.1k
Forks
560
PR merge metrics
No merged PRs in 30d

Description

ch3-lab分支代码缺失,需要完善实验框架及相应测试用例

在 rCore-Tutorial-Book-v3 中关于第三章实践作业有如下引用所示的表述,但是查看rCore-Tutorial-v3 ch3-lab分支,发现并没有给出同rCore-Tutorial-Code-2022S/ch3rust-based-os-comp2022 main/os3-ref/一样的框架

  • 说明:
    • 相关结构已在框架中给出,只需添加逻辑实现功能需求即可。

且也没有测试任务中要求的新增系统调用fn sys_task_info(ti: *mut TaskInfo) -> isize相关的测试用例,
需要添加测试用例包括但不限于如rCore-Tutorial-Test-2022A main/user/src/bin/ch3_taskinfo.rs等。

feat(lab3/Time-sharing OS): Add an syscall named sys_task_info这是我在ch3 TimeSharing OS的基础上完成第三章Lab的 commit,希望在ch3-lab分支需要哪些文件新增哪些内容方面有所帮助

相关issue:第三章实验的文档表述相关问题

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Compare the ch3-lab branch with the referenced ch3 process.rs implementations to identify the missing framework around sys_task_info. Review the referenced user/src/bin/ch3_taskinfo.rs test and the linked commit for expected behavior. Done means the lab branch contains the required framework and corresponding syscall tests, including task-info coverage.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
operating-systems, testing
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.