- if (AllocateCommonBuffer) {\r
- ASSERT (Data == NULL);\r
- Status = Ehc->PciIo->AllocateBuffer (\r
- Ehc->PciIo,\r
- AllocateAnyPages,\r
- EfiBootServicesData,\r
- EFI_SIZE_TO_PAGES (DataLen),\r
- &Data,\r
- 0\r
- );\r
- if (EFI_ERROR (Status) || (Data == NULL)) {\r
- FreePool (Urb);\r
- return NULL;\r
- }\r
- }\r