Files
slimbootloader/BootloaderCommonPkg/Include/Library/UsbBusLib.h
T
Aiden Park b24fd2759c Cosmetic: Convert LF to CRLF
This will fully support PatchCheck.py.
- Remove all trailing whitespace
- Convert LF to CRLF by default
- Update EFI_D_* to DEBUG_*
- Re-enable CRLF check in PatchCheck.py

Signed-off-by: Aiden Park <aiden.park@intel.com>
2019-12-02 16:21:19 -08:00

34 lines
814 B
C

/** @file
Copyright (c) 2017, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#ifndef __USB_BUS_LIB_H__
#define __USB_BUS_LIB_H__
#include <Ppi/UsbIo.h>
typedef EFI_STATUS (*USB_IO_CALLBACK) (PEI_USB_IO_PPI *UsbIoPpi);
/**
Enumerate devices on the USB bus.
It will call the callback function for each device enumerated.
@param UsbHostHandle USB host controller handle.
@param UsbIoCb Callback function for each USB device detected.
@retval EFI_SUCCESS The usb is enumerated successfully.
@retval Others Other failure occurs.
**/
EFI_STATUS
EFIAPI
UsbEnumBus (
EFI_HANDLE UsbHostHandle,
USB_IO_CALLBACK UsbIoCb
);
#endif