]> git.proxmox.com Git - mirror_edk2.git/blob - MdePkg/Include/Protocol/SmmUsbDispatch2.h
MdePkg FirmwareManagement.h: Fix typo EFI_SECURITY_VIOLATIO
[mirror_edk2.git] / MdePkg / Include / Protocol / SmmUsbDispatch2.h
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 This program and the accompanying materials
9 are licensed and made available under the terms and conditions of the BSD License
10 which accompanies this distribution. The full text of the license may be found at
11 http://opensource.org/licenses/bsd-license.php
12
13 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
14 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
15
16 @par Revision Reference:
17 This protocol is from PI Version 1.1.
18
19 **/
20
21 #ifndef _SMM_USB_DISPATCH2_H_
22 #define _SMM_USB_DISPATCH2_H_
23
24 #include <Protocol/MmUsbDispatch.h>
25
26 #define EFI_SMM_USB_DISPATCH2_PROTOCOL_GUID EFI_MM_USB_DISPATCH_PROTOCOL_GUID
27
28 ///
29 /// USB SMI event types
30 ///
31 typedef EFI_USB_MMI_TYPE EFI_USB_SMI_TYPE;
32
33 ///
34 /// The dispatch function's context.
35 ///
36 typedef EFI_MM_USB_REGISTER_CONTEXT EFI_SMM_USB_REGISTER_CONTEXT;
37
38 typedef EFI_MM_USB_DISPATCH_PROTOCOL EFI_SMM_USB_DISPATCH2_PROTOCOL;
39
40 typedef EFI_MM_USB_REGISTER EFI_SMM_USB_REGISTER2;
41
42 typedef EFI_MM_USB_UNREGISTER EFI_SMM_USB_UNREGISTER2;
43
44 extern EFI_GUID gEfiSmmUsbDispatch2ProtocolGuid;
45
46 #endif
47