3

对于第二个项目(用户程序),是否必须以不同的方式安装 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 的定义任何地方。有人可以帮我吗?

4

2 回答 2

5

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

再跑make进去。userprog_utils

于 2015-09-30T22:34:28.287 回答
1

有同样的问题您需要将内核和加载程序指向 userprog/build 中的内核和加载程序,而不是像安装 pintos 时那样执行线程/构建

于 2014-01-05T12:13:51.050 回答