Skip to content

提交总结blog #789

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions source/_posts/OsCamp2025-kangrali.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
---
title: OsCamp2025-kangrali
date: 2025-05-24 18:55:46
tags:
---

每日记录放在https://github.com/kangrali/oscamp-2025-blog

## 第一阶段
主要是语言学习,详细阅读了Rust Programming Language中文书,然后做练习。

因为有C++知识的积累没有遇到太大的问题

## 第二阶段
主要是阅读实验指导书,理解rCore整体的框架

个人任务需要理解的几个关键点:
- trap上下文的保存与恢复,对应了用户特权级和内核特权级的切换
- 任务上下文的保存与恢复,对应了任务(线程)的切换
- 地址空间,内核态和用户态使用不同的页表

详细报告见二阶段仓库https://github.com/LearningOS/2025s-rcore-kangrali

## 第三阶段
这一阶段主要通过看课程视频完成,关键在于理解整个项目的代码架构,代码是如何组织到各个层次的crates中的。

至于完成的练习都难度不大,了解各模块的调用关系后,做简单修改或调用api就可完成。