Subrata Banik | 20fe24b | 2021-12-09 02:46:38 +0530 | [diff] [blame] | 1 | /** @file |
| 2 | SMM USB Dispatch2 Protocol as defined in PI 1.1 Specification |
| 3 | Volume 4 System Management Mode Core Interface. |
| 4 | |
| 5 | Provides the parent dispatch service for the USB SMI source generator. |
| 6 | |
| 7 | Copyright (c) 2009 - 2017, Intel Corporation. All rights reserved.<BR> |
| 8 | SPDX-License-Identifier: BSD-2-Clause-Patent |
| 9 | |
| 10 | @par Revision Reference: |
| 11 | This protocol is from PI Version 1.1. |
| 12 | |
| 13 | **/ |
| 14 | |
| 15 | #ifndef _SMM_USB_DISPATCH2_H_ |
| 16 | #define _SMM_USB_DISPATCH2_H_ |
| 17 | |
| 18 | #include <Protocol/MmUsbDispatch.h> |
| 19 | |
| 20 | #define EFI_SMM_USB_DISPATCH2_PROTOCOL_GUID EFI_MM_USB_DISPATCH_PROTOCOL_GUID |
| 21 | |
| 22 | /// |
| 23 | /// USB SMI event types |
| 24 | /// |
| 25 | typedef EFI_USB_MMI_TYPE EFI_USB_SMI_TYPE; |
| 26 | |
| 27 | /// |
| 28 | /// The dispatch function's context. |
| 29 | /// |
| 30 | typedef EFI_MM_USB_REGISTER_CONTEXT EFI_SMM_USB_REGISTER_CONTEXT; |
| 31 | |
| 32 | typedef EFI_MM_USB_DISPATCH_PROTOCOL EFI_SMM_USB_DISPATCH2_PROTOCOL; |
| 33 | |
| 34 | typedef EFI_MM_USB_REGISTER EFI_SMM_USB_REGISTER2; |
| 35 | |
| 36 | typedef EFI_MM_USB_UNREGISTER EFI_SMM_USB_UNREGISTER2; |
| 37 | |
| 38 | extern EFI_GUID gEfiSmmUsbDispatch2ProtocolGuid; |
| 39 | |
| 40 | #endif |
| 41 | |