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

rCore-Tutorial-Book-v3/chapter9/2device-driver-4 #198

Open
utterances-bot opened this issue Oct 17, 2023 · 2 comments
Open

rCore-Tutorial-Book-v3/chapter9/2device-driver-4 #198

utterances-bot opened this issue Oct 17, 2023 · 2 comments
Labels
comments An area where readers can discuss related topics after every article.

Comments

@utterances-bot
Copy link

virtio_gpu设备驱动程序 - rCore-Tutorial-Book-v3 3.6.0-alpha.1 文档

https://rcore-os.cn/rCore-Tutorial-Book-v3/chapter9/2device-driver-4.html

Copy link

chestNutLsj commented Oct 17, 2023

最后一次捉bug:

在 virtio-drivers crate的 examples\riscv\src\main.rs 文件中的 virtio_probe 函数识别出virtio-gpu设备后

这里用成反斜杠了🤣

上述步骤的第一步 “virto-gpu基本初始化” 和第二步 :ref: 设置显存<term-virtio-driver-gpu-setupfb>是核心内容,都由 virtio-drivers中与具体操作系统无关的virtio-gpu裸机驱动实现

这里两个指向前文初始化一节内容的链接似乎出了些问题。

到目前为止,看到的操作系统支持工作还是比较简单的,但其实我们还没分析如何给应用程序提供显存虚拟地址空间的。以前章节的操作系统支持应用程序的 :ref: 用户态地址空间 ,都是在创建应用程序对应进程的初始化过程中建立

这里的链接似乎也出了问题。

至此,终于看完这本不可多得的精品OS书了,用时2023.9.16-2023.10.17,一个月多一些,完结撒花🎉

之前阅读过《精髓与设计原理》,那里面概念讲的丰富广泛,但是没有实际操作代码总是空落落的,不踏实。精读完这本tutorial后,对OS的概念理解地更加深入、细节,许多之前一笔带过的概念得到了实践的认识,非常扎实。

不过目前忙于考研,待我上岸再来作代码级的贡献🥳

@wyfcyx
Copy link
Collaborator

wyfcyx commented Oct 26, 2023

@chestNutLsj Fixed,多谢反馈。

@wyfcyx wyfcyx added the comments An area where readers can discuss related topics after every article. label Nov 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comments An area where readers can discuss related topics after every article.
Projects
None yet
Development

No branches or pull requests

3 participants