Files
slimbootloader/BootloaderCommonPkg/Include/Library/XhciLib.h
T
stalamudupula 6cfe319efc Support 64-bit XHCI MMIO address (#675)
If Platform code assigns 64-bit BAR address to XHCI,
get the full 64-bit address to access MMIO space.
Behavior is undefined if building IA32 and assigning
64-bit XHCI resources.

Signed-off-by: Sai Talamudupula <sai.kiran.talamudupula@intel.com>
2020-04-15 14:02:29 -07:00

30 lines
656 B
C

/** @file
Copyright (c) 2017, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#ifndef __XHCI_LIB_H__
#define __XHCI_LIB_H__
#include <Ppi/Usb2HostController.h>
/**
USB initialization interface.
@param BaseAddress Base address of the USB host controller.
@param UsbHostHandle Pointer to return the USB host controller handle.
@retval EFI_SUCCESS USB host controller was initialized successfully.
**/
EFI_STATUS
EFIAPI
UsbInitCtrl (
IN UINTN BaseAddress,
IN OUT EFI_HANDLE *UsbHostHandle
);
#endif