LoanCold

Results 5 comments of LoanCold

> fat32_manager即fat32管理器模块中,对文件名的一些操作,比如拆分文件名和后缀、拆分长文件名、短文件名格式化、由长文件名生成短文件名等,我觉得这些算作“工具函数”,没有必要非要和 FAT32Manager 捆绑在一起(即作为它的implement),以至于每次使用这些工具时都需要获取对管理器的读锁。 > > 我在手动把这些函数取出 impl 块后,修改对应的报错非常快,基本只要把函数前面对结构体的引用删去即可,这一实践也说明了这些函数与FAT32Manager的关联程度并不大 Great suggestions. What you said is exactly right, and it should be done this way. I think the best way is...

It's a little close to detail. I can't remember whether it should work this way, but you can try it to prove yourself.

为什么需要额外的一个idle_task_cx,不能够直接使用之前task_cx吗,为何在前一个task和后一个task之间还要夹一个idle_task_cx

# make run [rustsbi] RustSBI version 0.1.1 .______ __ __ _______.___________. _______..______ __ | _ \ | | | | / | | / || _ \ | | |...

Found reason: qemu version not match rust-sbi don't support qemu 5.2.50, but when I use qemu 5.0.0, it works the same as mentioned in this tutorial in every single word.