rust-based-os-comp2022 icon indicating copy to clipboard operation
rust-based-os-comp2022 copied to clipboard

[2022开源操作系统训练营](https://learningos.github.io/rust-based-os-comp2022/)

Results 102 rust-based-os-comp2022 issues
Sort by recently updated
recently updated
newest added

姓名:邱志磊 单位:河北大学 电邮:[email protected] 微信id:QZL2503687 github id:QIUZHILEI 个人目标(期望):学习操作系统底层技术

feature

推荐的步骤: 1. [Github Classroom方式进行在线OS 环境配置](https://learningos.github.io/rust-based-os-comp2022/0setup-devel-env.html#github-classroomos)中的:1->2->3->4 2. [Rust 开发环境配置](https://learningos.github.io/rust-based-os-comp2022/0setup-devel-env.html#rust) - 通过`rustc --version`你会发现rust应该处于nightly版本,请不要切换为stable版本,否则无法中[试运行 rCore-Tutorial](https://learningos.github.io/rust-based-os-comp2022/0setup-devel-env.html#rcore-tutorial)中执行`LOG=DEBUG make run` - 若切换为 stable 版本,请使用 `rustup override set nightly` 与 `rustup default nightly`切换回nightly版本 3. [Qemu 模拟器安装](https://learningos.github.io/rust-based-os-comp2022/0setup-devel-env.html#qemu) 4....

note

**Describe the bug** `cd os`之后进行`make run`,遇到以下报错 ``` error[E0107]: this struct takes 1 generic argument but 0 generic arguments were supplied --> src/drivers/block/virtio_blk.rs:18:32 | 18 | virtio_blk: UPIntrFreeCell { | ^^^^^^^^^...

bug

**Chapter** e.g. 基础学习 **Study Note** 终于赶上末班车,rust ci go

note

**Describe the bug** commintID `d64c592e50daa5d7af9971f18705f6d5feab6256`(add vscode debug support.)之后拉取的仓库里, lab1 测试无法通过问题 **To Reproduce** Steps to reproduce the behavior: 1. 拉取最新 template repo 2. cd repo根目录 3. `cd -r os3-ref/* os3` 4....

bug

在 https://learningos.github.io/rust-based-os-comp2022/chapter8/4condition-variable.html 中, conditional variable 的wakeup函数是不带任何参数的,例如: ```rust unsafe fn first() -> ! { mutex.lock(); A=1; condvar.wakup(); mutex.unlock(); } ``` 为什么不直接设计成下面的样子呢? ```rust unsafe fn first() -> ! { mutex.lock(); A=1; /*...

question

# 引言 - Open-Source-OS-Training-Camp-2022 文档 [https://learningos.github.io/rust-based-os-comp2022/chapter2/0intro.html](https://learningos.github.io/rust-based-os-comp2022/chapter2/0intro.html)

老版本的Qemu-5.0.0不支持新的代码,需要按实验指导书来更新为qumu-7.0.0,但是需要安装依赖ninja,可以按照https://blog.csdn.net/qq_19707521/article/details/111176909的指导来完成,但是根据本人实测,命令“git clone git://github.com/ninja-build/ninja.git && cd ninja”中的“git:”需要改为“https”才能clone完成。

note

## 1.replace_rangede的范围问题 代码: fn main() { let mut string_replace_range = String::from("I like rust!"); string_replace_range.replace_range(7..8, "R"); dbg!(string_replace_range); } **(7..8,“R”)的范围是指(7,8)吗?,替换掉的字符为第8个字符,也就是说7..8只替换了第7位置的字符?** ## 2.千万不能在自己的setting里leave掉点击classroom的链接生成的repositories,目前没有任何办法补救 问题记录: 1.点击github classroom在线邀请链接,点击update仍未更新,显示之前的链接 2.进入后出现404页面,无法访问之前的repo 3.在setting的repositories中LearningOS目录下已经没有了lab0-0的目录 **问题具体链接:https://github.com/github-community/community/discussions/13423**

note