rcore-os / rCore-Tutorial-deploy

Tutorial Doc for rCore OS step by step (3rd edition)
https://rcore-os.github.io/rCore-Tutorial-deploy/
GNU General Public License v3.0
3 stars 1 forks source link

状态的保存与恢复 · GitBook #31

Open LyricZhao opened 4 years ago

LyricZhao commented 4 years ago

https://rcore-os.github.io/rCore-Tutorial-deploy/docs/lab-1/guide/part-4.html

buhe commented 3 years ago

line 39 应该是 SAVE x2, 2 ?

wyfcyx commented 3 years ago

@buhe x1里面保存分配完栈帧之后的x2的值,所以实际上保存到栈上的还是x2

buhe commented 3 years ago

@wyfcyx @buhe x1里面保存分配完栈帧之后的x2的值,所以实际上保存到栈上的还是x2

谢谢~

hjs99 commented 3 years ago
error: unknown directive note: instantiated into assembly here --> :21:5
21 .globl_interrupt
^
error: unknown directive note: instantiated into assembly here --> :44:5
44 .global_restore
^

error: aborting due to 2 previous errors; 4 warnings emitted

error: could not compile os.

To learn more, run the command again with --verbose.

在下一小节运行的时候报错,找不到原因

hjs99 commented 3 years ago

刚才的问题解决了