summaryrefslogtreecommitdiffstats
path: root/MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.c
diff options
context:
space:
mode:
authorjji4 <jji4@6f19259b-4bc3-4df7-8a09-765794883524>2008-11-21 07:03:12 +0000
committerjji4 <jji4@6f19259b-4bc3-4df7-8a09-765794883524>2008-11-21 07:03:12 +0000
commite934a7413b97ba9eb472becbc915d386172f521f (patch)
treeb91d3a593a418fc9291147a7e64550b811f54c7d /MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.c
parentf4113e1fdb95c35145a86067c82267610625de74 (diff)
downloadedk2-e934a7413b97ba9eb472becbc915d386172f521f.tar.gz
edk2-e934a7413b97ba9eb472becbc915d386172f521f.tar.bz2
edk2-e934a7413b97ba9eb472becbc915d386172f521f.zip
Function comments have been checked with spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6663 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.c')
-rw-r--r--MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.c b/MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.c
index 96c60e3733..175c2e9402 100644
--- a/MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.c
+++ b/MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.c
@@ -29,7 +29,9 @@
Declares that the system memory buffer specified by MemoryBegin and MemoryLength
as permanent memory that may be used for general purpose use by software.
The amount of memory available to software may be less than MemoryLength
- if published memory has alignment restrictions.
+ if published memory has alignment restrictions.
+ If MemoryLength is 0, then ASSERT().
+ If MemoryLength is greater than (MAX_ADDRESS - MemoryBegin + 1), then ASSERT().
@param MemoryBegin The start address of the memory being declared.
@param MemoryLength The number of bytes of memory being declared.