-\r
- Allocates pages that are suitable for a common buffer mapping.\r
-\r
- @param This - Pointer to EFI_ROOT_BRIDGE_IO_PROTOCOL instance.\r
- @param Type - Not used and can be ignored.\r
- @param MemoryType - Type of memory to allocate.\r
- @param Pages - Number of pages to allocate.\r
- @param HostAddress - Pointer to store the base system memory address\r
- of the allocated range.\r
- @param Attributes - Requested bit mask of attributes of the allocated\r
- range.\r
-\r
- @retval EFI_SUCCESS - The requested memory range were allocated.\r
- @retval EFI_INVALID_PARAMETER - Invalid parameter found.\r
- @retval EFI_UNSUPPORTED - Attributes is unsupported.\r
-\r
+ Allocates pages that are suitable for an EfiPciOperationBusMasterCommonBuffer\r
+ or EfiPciOperationBusMasterCommonBuffer64 mapping.\r
+\r
+ @param This A pointer to the EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL.\r
+ @param Type This parameter is not used and must be ignored.\r
+ @param MemoryType The type of memory to allocate, EfiBootServicesData or\r
+ EfiRuntimeServicesData.\r
+ @param Pages The number of pages to allocate.\r
+ @param HostAddress A pointer to store the base system memory address of the\r
+ allocated range.\r
+ @param Attributes The requested bit mask of attributes for the allocated\r
+ range. Only the attributes\r
+ EFI_PCI_ATTRIBUTE_MEMORY_WRITE_COMBINE,\r
+ EFI_PCI_ATTRIBUTE_MEMORY_CACHED, and\r
+ EFI_PCI_ATTRIBUTE_DUAL_ADDRESS_CYCLE may be used with this\r
+ function.\r
+\r
+ @retval EFI_SUCCESS The requested memory pages were allocated.\r
+ @retval EFI_INVALID_PARAMETER MemoryType is invalid.\r
+ @retval EFI_INVALID_PARAMETER HostAddress is NULL.\r
+ @retval EFI_UNSUPPORTED Attributes is unsupported. The only legal\r
+ attribute bits are MEMORY_WRITE_COMBINE,\r
+ MEMORY_CACHED, and DUAL_ADDRESS_CYCLE.\r
+ @retval EFI_OUT_OF_RESOURCES The memory pages could not be allocated.\r