On Apr 7, 2014, at 4:55 AM, Itay Sali <[email protected]> wrote:
> Hi,
>
> Does anyone have an example of writing text to file on usb storage.
> I am using DXE_DRIVER and shell is not relevant.
>
In general this is a bad/risky thing to do from a driver. In UEFI drivers are
designed to be simple and policy choices are moved into the platform.
In the fast boot case only drivers needed to boot will be started, so the USB
storage device may not even be available. So there can be performance and
stability issues if you driver pokes around the system and tries to read/write
to a usb storage device. Hopefully you are just doing this to debug some
problem….
Thanks,
Andrew Fish
> I am trying to figure out how can I get the simple file protocol, then open
> the volume and then open the file.
>
> I would appreciate if I can get cookbook for that or detailed example.
>
> Thanks, Itay
> ------------------------------------------------------------------------------
> Put Bad Developers to Shame
> Dominate Development with Jenkins Continuous Integration
> Continuously Automate Build, Test & Deployment
> Start a new project now. Try Jenkins in the cloud.
> http://p.sf.net/sfu/13600_Cloudbees_APR_______________________________________________
> edk2-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/edk2-devel
------------------------------------------------------------------------------
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-devel