mit-pdos / xv6-riscv

Xv6 for RISC-V
Other
6.58k stars 2.38k forks source link

Broken or deprecated file `kernel/ramdisk.c` #188

Open phosphagos opened 1 year ago

phosphagos commented 1 year ago

I'm new to xv6-riscv project and recently reading the source code. While reading and debugging, I found the source file kernel/ramdisk.c is dependent on the flags field of struct buf and a series of constants like B_DIRTY, B_VALID, etc., which has been removed in This Commit. However, this file is never compiled in Makefile, so I wonder if it is deprecated and should be deleted now.