uniform the sw and hw expression to avoid confusing. it does not effect hw function.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10186 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
erictian
2010-03-04 09:29:34 +00:00
parent 029f9e857e
commit 3a2f9cce7d
2 changed files with 8 additions and 3 deletions

View File

@@ -246,6 +246,10 @@ UsbHcGetPciAddressForHostMem (
Head = Pool->Head;
AllocSize = USBHC_MEM_ROUND (Size);
if (Mem == NULL) {
return 0;
}
for (Block = Head; Block != NULL; Block = Block->Next) {
//
// scan the memory block list for the memory block that