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