Discussion:
[edk2] FIle IO in Dxe Driver
Saiprasad Chavali
2015-06-16 03:33:26 UTC
Permalink
Hi,

I am using "LocateProtocol" to install the SIMPLE_FILE_SYSTEM_PROTOCOL and trying open/read/write. The "read" doesn't work, always comes back with "0" bytes, whereas write appears to be working, but the data inside the file is not complete. I tried with flush/close, but still no change.

I am wondering if "locate protocol" is a bad choice, instead try with LocateHandle/device path etc.. I am trying to implement in both app as well as driver for Duetpkg.

Also I couldn't find any supported libraries that implements open/read/write. I believe these should be followed by Block IO calls for writing/reading to the Disk Volume.

Any insight into these will be of great help.

Thanks
Sai

Loading...