]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/Library/ResourcePublicationLib.h
Code have been checked with spec
[mirror_edk2.git] / MdePkg / Include / Library / ResourcePublicationLib.h
index a62b24acd46fe0eb129b29f89c4cede37e5b8200..59d45b64a00ca457ca82fdbb163822009d6c2f5d 100644 (file)
@@ -16,13 +16,14 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 #define __RESOURCE_PUBLICATION_LIB__\r
 \r
 /**\r
-  \r
   Declares the presence of permanent system memory in the platform.\r
 \r
   Declares that the system memory buffer specified by MemoryBegin and MemoryLength\r
   as permanent memory that may be used for general purpose use by software.\r
   The amount of memory available to software may be less than MemoryLength\r
-  if published memory has alignment restrictions.  \r
+  if published memory has alignment restrictions. \r
+  If MemoryLength is 0, then ASSERT().\r
+  If MemoryLength is greater than (MAX_ADDRESS - MemoryBegin + 1), then ASSERT(). \r
 \r
   @param  MemoryBegin               The start address of the memory being declared.\r
   @param  MemoryLength              The number of bytes of memory being declared.\r