On Jan 20, 2013, at 7:57 PM, winddy <winddy_zh...@foxmail.com> wrote:
> Hi experts, > I find in variable driver, at runtime, if remain writable NVRAM space is > not enough for caller's request, it will directly return > EFI_OUT_OF_RESOURCES. I think FaultTolerantWrite driver could work at > runtime(by SMM or others), so why we do not do it? Is there any known issue > or just to be compatible with none SMM platform? The problem is you have to erase the entire block of FLASH to do the reclaim and this can be a very slow operation on some devices. While the reclaim is in process the OS is not running and if you take the system away from the OS for a long time the OS can break. It is important to realize that SMM can break the OS. Any given OS has a maximum amount of time you can yank the system away from it before it breaks, and SMM yanks the entire system out from under the OS. Thanks, Andrew > Thanks. > > ------------------ > BR > winddy_zhang > ------------------------------------------------------------------------------ > Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, > MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current > with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft > MVPs and experts. SALE $99.99 this month only -- learn more at: > http://p.sf.net/sfu/learnmore_122412 > _______________________________________________ > edk2-devel mailing list > edk2-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/edk2-devel ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122412 _______________________________________________ edk2-devel mailing list edk2-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/edk2-devel