]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.c
Comments have been checked with spec
[mirror_edk2.git] / MdePkg / Library / PeiResourcePublicationLib / PeiResourcePublicationLib.c
index 96c60e373300aed402c7a8550d2f7e65f147704c..68e4f6acec40355a6aa3bcc5843d03d6066dc51c 100644 (file)
 \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