@paramin PoolType The type of pool to allocate.
MemoryType values in the range 0x70000000..0x7FFFFFFF
are reserved for OEM use. MemoryType values in the range
0x80000000..0xFFFFFFFF are reserved for use by UEFI OS loaders
that are provided by operating system vendors. The only illegal
memory type values are those in the range EfiMaxMemoryType..0x6FFFFFFF.
@paramin Size The number of bytes to allocate from the pool.
@paramout Buffer A pointer to a pointer to the allocated buffer if the call succeeds;
undefined otherwise.
@retval EFI_SUCCESS The requested number of bytes was allocated.
@retval EFI_OUT_OF_RESOURCES The pool requested could not be allocated.
@retval EFI_INVALID_PARAMETER PoolType was invalid or Buffer is NULL.
PoolType was EfiPersistentMemory.
Allocates pool memory.
@paramin PoolType The type of pool to allocate. MemoryType values in the range 0x70000000..0x7FFFFFFF are reserved for OEM use. MemoryType values in the range 0x80000000..0xFFFFFFFF are reserved for use by UEFI OS loaders that are provided by operating system vendors. The only illegal memory type values are those in the range EfiMaxMemoryType..0x6FFFFFFF. @paramin Size The number of bytes to allocate from the pool. @paramout Buffer A pointer to a pointer to the allocated buffer if the call succeeds; undefined otherwise.
@retval EFI_SUCCESS The requested number of bytes was allocated. @retval EFI_OUT_OF_RESOURCES The pool requested could not be allocated. @retval EFI_INVALID_PARAMETER PoolType was invalid or Buffer is NULL. PoolType was EfiPersistentMemory.