UEFI BlockIo impl

I have written a linux block device driver (using dm) for mounting Microsoft Storage Spaces logical volumes. I’d like to rewrite it in zig as a UEFI BlockIo driver to test booting Windows from a storage spaces logical volume as the Surface Pro 7 demonstrates is possible.

I’ve never written anything in zig, but from the docs and tutorials, I already like it better than rust.

Can anyone help me get started with a minimal functioning BlockIo implementation? It can be read-only and the write implementation can just fill the output buffer with zeros.

I’d be willing to pay a bit for this if that helps motivate somebody to assist me.



I don’t have the specific knowledge you’re looking for, but I can suggest maybe asking the #os-dev channel in the main Zig Discord server if you don’t have any luck here.