HeyiSun
HeyiSun
The function is here: https://github.com/SimpCosm/6.828/blob/6a0a24dce33484f545f7a883b9b99fc190f25c3f/lab4/code/kern/syscall.c#L314-L357 I think you need `e->env_tf.tf_regs.reg_eax = 0;`. This makes sure that the _sys_ipc_recv_ called by destination Env returns 0 on success IPC.
在阅读chapter5的时候发现几个翻译的问题,有大有小 1. 第210行,根据xv6中piperead的代码以及原文的意思, 这里的falls through to应该是落入for循环,而不是跳出 代码: https://github.com/mit-pdos/xv6-public/blob/eeb7b415dbcb12cc362d0783e41c3d1f44066b17/pipe.c#L100-L121 原文:  2. 第218行,此处按我理解,"未标记当前进程为ZOMBIE"是"看似为时过早"的原因,而”这样并不会出错“的原因是在冒号后面。但此处关联词表达的是, "未标记当前进程为ZOMBIE"是”这样并不会出错“的原因,进而否定了”看似为时过早"。这导致我读的时候没读懂 原文:  Exit代码: https://github.com/mit-pdos/xv6-public/blob/eeb7b415dbcb12cc362d0783e41c3d1f44066b17/proc.c#L224-L268 3. 第228行,此处按原文,”它在等待一个磁盘中断“是”确保能被唤醒“的原因,并且”确保能被唤醒“是"直接调用sleep"的原因。但是翻译只表达了后半个因果关系,让我读的时候产生了疑惑(小问题,可能是我的理解能力问题) 原文:  4. 第236和238行,condition variable的翻译应该是条件变量 5. 第242行,EINTR应该是一个错误码而不是一个存放错误码的地方 以上都是我的个人理解, 不一定对,仅供参考。。。。另外不知道这种程度的校对能否署名译者?
After parsing the statement and constructing the 'between operator', there is no need to call statement.skip(). This bug may cause the query ignores the eq filter when both eq and...
### Describe the bug For some specific QR Codes that the WeChat scanner can recognize, qr-verify says no but qrcode.atifu.me says yes. QRCode: https://cdn.discordapp.com/attachments/1121837799054778460/1126803629219786866/mid02.png?ex=65c5ed28&is=65b37828&hm=6b1c1295c6ed83fb77b9c7dff6f9251df75950bbb9cccd14e81ccb42b19f9c43& Also, the qr-verify doesn't support set...