diff options
author | jji4 <jji4@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-11-21 07:03:12 +0000 |
---|---|---|
committer | jji4 <jji4@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-11-21 07:03:12 +0000 |
commit | e934a7413b97ba9eb472becbc915d386172f521f (patch) | |
tree | b91d3a593a418fc9291147a7e64550b811f54c7d /MdePkg/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.c | |
parent | f4113e1fdb95c35145a86067c82267610625de74 (diff) | |
download | edk2-platforms-e934a7413b97ba9eb472becbc915d386172f521f.tar.xz |
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.c | 4 |
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.
|