Revision: 17459
          http://sourceforge.net/p/edk2/code/17459
Author:   lzeng14
Date:     2015-05-18 01:27:25 +0000 (Mon, 18 May 2015)
Log Message:
-----------
MdePkg UefiSpec.h: Update comments for OEM reserved memory type.

UEFI 2.5 Spec:
MemoryType values in the range 0x70000000..0x7FFFFFFF
are reserved for OEM use.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Star Zeng <[email protected]>
Reviewed-by: Liming Gao <[email protected]>

Modified Paths:
--------------
    trunk/edk2/MdePkg/Include/Uefi/UefiSpec.h

Modified: trunk/edk2/MdePkg/Include/Uefi/UefiSpec.h
===================================================================
--- trunk/edk2/MdePkg/Include/Uefi/UefiSpec.h   2015-05-18 01:21:30 UTC (rev 
17458)
+++ trunk/edk2/MdePkg/Include/Uefi/UefiSpec.h   2015-05-18 01:27:25 UTC (rev 
17459)
@@ -1,8 +1,8 @@
 /** @file
   Include file that supports UEFI.
 
-  This include file must contain things defined in the UEFI 2.4 specification.
-  If a code construct is defined in the UEFI 2.4 specification it must be 
included
+  This include file must contain things defined in the UEFI 2.5 specification.
+  If a code construct is defined in the UEFI 2.5 specification it must be 
included
   by this include file.
 
 Copyright (c) 2006 - 2015, Intel Corporation. All rights reserved.<BR>
@@ -133,6 +133,11 @@
 
   @param[in]       Type         The type of allocation to perform.
   @param[in]       MemoryType   The type of memory 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.
   @param[in]       Pages        The number of contiguous 4 KB pages to 
allocate.
   @param[in, out]  Memory       The pointer to a physical address. On input, 
the way in which the address is
                                 used depends on the value of Type.
@@ -141,9 +146,9 @@
   @retval EFI_INVALID_PARAMETER 1) Type is not AllocateAnyPages or
                                 AllocateMaxAddress or AllocateAddress.
                                 2) MemoryType is in the range
+                                EfiMaxMemoryType..0x6FFFFFFF.
                                 3) Memory is NULL.
                                 4) MemoryType was EfiPersistentMemory.
-                                EfiMaxMemoryType..0x7FFFFFFF.
   @retval EFI_OUT_OF_RESOURCES  The pages could not be allocated.
   @retval EFI_NOT_FOUND         The requested pages could not be found.
 
@@ -215,6 +220,11 @@
   Allocates pool memory.
 
   @param[in]   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.
   @param[in]   Size             The number of bytes to allocate from the pool.
   @param[out]  Buffer           A pointer to a pointer to the allocated buffer 
if the call succeeds;
                                 undefined otherwise.


------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to