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

A completed tutorial based on yours #6

Open
siriusdemon opened this issue Jul 15, 2022 · 2 comments
Open

A completed tutorial based on yours #6

siriusdemon opened this issue Jul 15, 2022 · 2 comments

Comments

@siriusdemon
Copy link

Thanks for your kindness. You have written such a tutorial and shared your code, which encourages me to learn it and complete the tutorial.

The new project is available at here and the online book is hosted on github page.

I have used most of your code and follow the structure of yours. I hope this tutorial will be helpful for anyone who want to learn about RISC-V emulator.

@HCHogan
Copy link

HCHogan commented Nov 17, 2023

Thanks! That really helps me a lot

@HCHogan
Copy link

HCHogan commented Nov 25, 2023

@siriusdemon 你的书中说尝试自己编译xv6但遇到了一个非法指令错误,我发现是由于xv6默认使用了c拓展导致的,将xv6的编译参数中加上 -march=rv64imazicsr -mabi=lp64, 另外要去掉proc.c第488行的asm volatile("wfi");,就能成功运行了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants