add detail comments on the complicated code segment.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5954 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
eric_tian
2008-09-23 14:49:45 +00:00
parent 6fa28b758b
commit dc8d93ca0c
2 changed files with 18 additions and 9 deletions

View File

@@ -124,6 +124,10 @@ LookupPoolHead (
return &mPoolHead[MemoryType];
}
//
// MemoryType values in the range 0x80000000..0xFFFFFFFF are reserved for use by UEFI
// OS loaders that are provided by operating system vendors
//
if (MemoryType < 0) {
for (Link = mPoolHeadList.ForwardLink; Link != &mPoolHeadList; Link = Link->ForwardLink) {