You've already forked slimbootloader
mirror of
https://github.com/Dasharo/slimbootloader.git
synced 2026-03-06 15:26:20 -08:00
6cfe319efc
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>
30 lines
656 B
C
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
|