You've already forked slimbootloader
mirror of
https://github.com/Dasharo/slimbootloader.git
synced 2026-03-06 15:26:20 -08:00
5e10bd1e07
To align with EDK2, update file license to use BSD+Patent license Signed-off-by: Guo Dong <guo.dong@intel.com>
40 lines
843 B
C
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
|
|
|