Fixes:
-
__free[]
is not initialized, causing infinite loop inalloc_desc()
-
desc[0](outhdr).len
is wrong, causing "qemu-system-riscv64: virtio-blk request outhdr too short" error -
__request.pending
in not volatile, causing infinite loop inlegacy_rw()