MemoryType values in the range 0x70000000..0x7FFFFFFF\r
are reserved for OEM use. MemoryType values in the range\r
0x80000000..0xFFFFFFFF are reserved for use by UEFI OS loaders\r
- that are provided by operating system vendors. The only illegal\r
- memory type values are those in the range EfiMaxMemoryType..0x6FFFFFFF.\r
+ that are provided by operating system vendors.\r
@param[in] Pages The number of contiguous 4 KB pages to allocate.\r
@param[in, out] Memory The pointer to a physical address. On input, the way in which the address is\r
used depends on the value of Type.\r
2) MemoryType is in the range\r
EfiMaxMemoryType..0x6FFFFFFF.\r
3) Memory is NULL.\r
- 4) MemoryType was EfiPersistentMemory.\r
+ 4) MemoryType is EfiPersistentMemory.\r
@retval EFI_OUT_OF_RESOURCES The pages could not be allocated.\r
@retval EFI_NOT_FOUND The requested pages could not be found.\r
\r
MemoryType values in the range 0x70000000..0x7FFFFFFF\r
are reserved for OEM use. MemoryType values in the range\r
0x80000000..0xFFFFFFFF are reserved for use by UEFI OS loaders\r
- that are provided by operating system vendors. The only illegal\r
- memory type values are those in the range EfiMaxMemoryType..0x6FFFFFFF.\r
+ that are provided by operating system vendors.\r
@param[in] Size The number of bytes to allocate from the pool.\r
@param[out] Buffer A pointer to a pointer to the allocated buffer if the call succeeds;\r
undefined otherwise.\r
\r
@retval EFI_SUCCESS The requested number of bytes was allocated.\r
@retval EFI_OUT_OF_RESOURCES The pool requested could not be allocated.\r
- @retval EFI_INVALID_PARAMETER PoolType was invalid or Buffer is NULL.\r
- PoolType was EfiPersistentMemory.\r
+ @retval EFI_INVALID_PARAMETER Buffer is NULL.\r
+ PoolType is in the range EfiMaxMemoryType..0x6FFFFFFF.\r
+ PoolType is EfiPersistentMemory.\r
\r
**/\r
typedef\r