Files
slimbootloader/BootloaderCommonPkg/Library/UsbDeviceLib/UsbDeviceMode.h
T
Guo Dong 5e10bd1e07 Update BSD license to BSD+Patent license
To align with EDK2, update file license
to use BSD+Patent license

Signed-off-by: Guo Dong <guo.dong@intel.com>
2019-06-13 10:46:49 -07:00

40 lines
843 B
C

/** @file
Copyright (c) 2006 - 2017, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#ifndef _USB_DEVICE_MODE_H_
#define _USB_DEVICE_MODE_H_
#include <PiPei.h>
#include <Library/DebugLib.h>
#include <Library/UsbDeviceLib.h>
#include <Protocol/UsbDeviceModeProtocol.h>
#include "UsbDeviceLibPrivate.h"
#include "XdciCommon.h"
#include "XdciDevice.h"
/**
Handles Setup device requests. Standard requests are immediately
handled here, and any Class/Vendor specific requests are forwarded
to the class driver.
@param CtrlRequest Pointer to a device request
@return EFI_SUCCESS if request successfully handled, FALSE otherwise
**/
EFI_STATUS
UsbdSetupHdlr (
IN EFI_USB_DEVICE_REQUEST *CtrlRequest
);
extern EFI_USB_DEVICE_MODE_PROTOCOL mUsbDeviceModeProtocol;
#endif