Hi all,

I have an UEFI application in which I try to allocate memory of type 
EfiBootServicesData, using the AllocatePages function. In order to find the 
next available (unallocated) memory space - of type EfiConventionalMemory - I 
use the GetMemoryMap function. The problem which I'm facing is that when I try 
to allocate memory at one particular address, the AllocatePages function 
returns EFI_NOT_FOUND. This issue happens every time, when the application is 
executed, and at the exact memory address; for all remaining free memory blocks 
the allocation performs without problems.

I am calling the allocation function as follows:
gBS->AllocatePages ( AllocateAddress, EfiBootServicesData, NumberOfPages, 
&PhysicalAddress );Is this scenario a memory access error? 
How should I interpret this?

Thanks,
Sorin
------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to