On May 16, 2014, at 6:56 AM, André Dantas <[email protected]> wrote:
> Anybody can help me?
>
>
> On Tue, May 13, 2014 at 5:05 PM, André Dantas <[email protected]>
> wrote:
> Hi guys,
>
> I'm working with the mkramdisk.efi application of Efi Toolkit 2.0. However I
> can't see a way to free
> the resources used by the ram disk after I don't need it anymore. I took a
> look into the source code
> and I saw that the mkramdisk.efi loads the ramdisk.efi driver to create a
> blockIo protocol that exposes the access functions for the ram disk, but it
> does not provide an unload function to free its
> resources.
>
> Is it advisable to extend the ramdisk driver with an unload function, or is
> there another way to do this?
>
You could add an unload function. It would be good to do a
DisconnectControoler() call to the ImageHandle to Stop the DiskIo/Fat32 drivers
from using the ramdisk prior to uninstalling the protocols, and freeing back
the memory.
Thanks,
Andrew Fish
> Best Regards,
>
> --
>
> André Dantas
> Developer
> GTalk: [email protected]
> Skype: andre.hp.dantas
>
>
>
> --
>
> André Dantas
> Developer
> GTalk: [email protected]
> Skype: andre.hp.dantas
> ------------------------------------------------------------------------------
> "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
> Instantly run your Selenium tests across 300+ browser/OS combos.
> Get unparalleled scalability from the best Selenium testing platform available
> Simple to use. Nothing to install. Get started now for free."
> http://p.sf.net/sfu/SauceLabs_______________________________________________
> edk2-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/edk2-devel
------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-devel