gpt4 book ai didi

linux - Pintos 编程项目 2

转载 作者:可可西里 更新时间:2023-11-01 11:49:21 27 4
gpt4 key购买 nike

第二个项目(用户程序)是否必须以不同的方式安装 Pintos?每当我尝试在我的安装上运行 pintos -f -q 时,我都会收到 Pintos 无法识别参数“-f”的错误。

Back to tcg accelerator.
PiLo hda1
Loading..........
Kernel command line: -f -q
Kernel PANIC at ../../threads/init.c:264 in parse_options(): unknown option `-f' (use -h for help)
Call stack: 0xc00283de.
The `backtrace' program can make call stacks useful.
Read "Backtraces" in the "Debugging Tools" chapter
of the Pintos documentation for more information.

这是 Pintos 处理所有参数的地方: http://www.cse.iitd.ernet.in/~sbansal/csl373/pintos/doc/pintos_html/init_8c-source.html我也无法在任何地方找到 FILESYS 的定义。有人可以帮我解决这个问题吗?

最佳答案

utils/pintos更改行号 259/home/<your home username>/<pintos dir>/src/userprog/build/kernel.bin

utils/Pintos.pm更改行号 362/home/<your home username>/<pintos dir>/src/userprog/build/loader.bin

运行 makeuserprog , utils再次。

关于linux - Pintos 编程项目 2,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20822969/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com