diff options
Diffstat (limited to 'MdeModulePkg/Bus/Pci/XhciDxe/UsbHcMem.h')
-rw-r--r-- | MdeModulePkg/Bus/Pci/XhciDxe/UsbHcMem.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/MdeModulePkg/Bus/Pci/XhciDxe/UsbHcMem.h b/MdeModulePkg/Bus/Pci/XhciDxe/UsbHcMem.h index c85b0b919f..b21bf9da3e 100644 --- a/MdeModulePkg/Bus/Pci/XhciDxe/UsbHcMem.h +++ b/MdeModulePkg/Bus/Pci/XhciDxe/UsbHcMem.h @@ -129,6 +129,7 @@ UsbHcFreeMem ( @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
@@ -137,7 +138,8 @@ EFI_PHYSICAL_ADDRESS UsbHcGetPciAddrForHostAddr (
IN USBHC_MEM_POOL *Pool,
IN VOID *Mem,
- IN UINTN Size
+ IN UINTN Size,
+ IN BOOLEAN Alignment
);
/**
@@ -146,6 +148,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
@@ -154,7 +157,8 @@ EFI_PHYSICAL_ADDRESS UsbHcGetHostAddrForPciAddr (
IN USBHC_MEM_POOL *Pool,
IN VOID *Mem,
- IN UINTN Size
+ IN UINTN Size,
+ IN BOOLEAN Alignment
);
/**
|