diff options
Diffstat (limited to 'MdeModulePkg/Bus/Pci/XhciPei/UsbHcMem.h')
-rw-r--r-- | MdeModulePkg/Bus/Pci/XhciPei/UsbHcMem.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/MdeModulePkg/Bus/Pci/XhciPei/UsbHcMem.h b/MdeModulePkg/Bus/Pci/XhciPei/UsbHcMem.h index 2b4c8b19fc..8f760e084e 100644 --- a/MdeModulePkg/Bus/Pci/XhciPei/UsbHcMem.h +++ b/MdeModulePkg/Bus/Pci/XhciPei/UsbHcMem.h @@ -68,6 +68,7 @@ typedef struct _USBHC_MEM_POOL { @param Pool The memory pool of the host controller.
@param Mem The pointer to host memory.
@param Size The size of the memory region.
+ @param Alignment Alignment the size to USBHC_MEM_UNIT bytes.
@return The pci memory address
@@ -76,7 +77,8 @@ EFI_PHYSICAL_ADDRESS UsbHcGetPciAddrForHostAddr (
IN USBHC_MEM_POOL *Pool,
IN VOID *Mem,
- IN UINTN Size
+ IN UINTN Size,
+ IN BOOLEAN Alignment
);
/**
@@ -85,6 +87,7 @@ UsbHcGetPciAddrForHostAddr ( @param Pool The memory pool of the host controller.
@param Mem The pointer to pci memory.
@param Size The size of the memory region.
+ @param Alignment Alignment the size to USBHC_MEM_UNIT bytes.
@return The host memory address
@@ -93,7 +96,8 @@ EFI_PHYSICAL_ADDRESS UsbHcGetHostAddrForPciAddr (
IN USBHC_MEM_POOL *Pool,
IN VOID *Mem,
- IN UINTN Size
+ IN UINTN Size,
+ IN BOOLEAN Alignment
);
/**
|