上一页 1 2 3 4 5 6 7 8 ··· 34 下一页
摘要: https://zhuanlan.zhihu.com/p/359330607 三种情况: valid先发起请求 ready先发起请求 同时发起请求 仔细观察上述3幅时序图,我们了解valid-ready握手机制需要注意三件事: valid与ready不可过度依赖,比如valid不可以等待ready到 阅读全文
posted @ 2023-04-03 03:29 yinhuachen 阅读(872) 评论(0) 推荐(0) 编辑
摘要: asm volatile("movl %%eax, %%cr3\n" ::"a"(pde)); // 约束:在执行这行汇编代码之前,把pde的值移入eax寄存器中 阅读全文
posted @ 2023-03-27 07:13 yinhuachen 阅读(15) 评论(0) 推荐(0) 编辑
摘要: # 测试 system.bin 小于 100k,否则需要修改下面的 count 相当于 Makefile 中的 assert test -n "$$(find $(BUILD)/system.bin -size -100k)" 阅读全文
posted @ 2023-03-27 03:22 yinhuachen 阅读(13) 评论(0) 推荐(0) 编辑
摘要: 参考:https://www.qemu.org/download/#source 0. 如果之前使用 apt 安装了qemu,先使用如下命令把qemu卸载 sudo apt --purge remove "qemu-system-*" 1. git clone https://gitlab.com/ 阅读全文
posted @ 2023-03-26 21:53 yinhuachen 阅读(91) 评论(0) 推荐(0) 编辑
摘要: 答案来自chatgpt gUiw 单词转成大写 guiw 单词转成小写 阅读全文
posted @ 2023-03-26 00:15 yinhuachen 阅读(13) 评论(0) 推荐(0) 编辑
摘要: 如果可以使用 vscode,安装插件 git graph, 使用图形化git工具,直接观看所有commits log。 右键选中要 checkout 的 commit,然后点击 checkout 即可 如果不能使用 vscode,参考这个回答: https://stackoverflow.com/q 阅读全文
posted @ 2023-03-25 03:35 yinhuachen 阅读(18) 评论(0) 推荐(0) 编辑
摘要: 1. 符号表,符号-地址分布 使用 nm 处理 kernel.bin,就可以得到内核中每个符号对应的内存地址 阅读全文
posted @ 2023-03-25 02:21 yinhuachen 阅读(16) 评论(0) 推荐(0) 编辑
摘要: 这次经历对以后配环境挺有帮助的,打算记录下来 bochs 2.6 无法观看 GDT,要升级到 bochs 2.7,所以得想办法安装 bochs 2.7 学到的东西: 1. 不同的 Linux 版本,比如 ubuntu 和 ARCH,包的名字很可能是不同的,因此当使用 ubuntu apt 去下载 A 阅读全文
posted @ 2023-03-25 00:06 yinhuachen 阅读(492) 评论(0) 推荐(0) 编辑
摘要: -exec display/16xw $sp 阅读全文
posted @ 2023-03-24 11:16 yinhuachen 阅读(11) 评论(0) 推荐(0) 编辑
摘要: https://askubuntu.com/questions/87314/how-to-move-the-user-cache-directory-cache-out-of-the-home-directory-to-an 阅读全文
posted @ 2023-03-22 17:06 yinhuachen 阅读(19) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 34 下一页