]>
Commit | Line | Data |
---|---|---|
1a42a56f | 1 | /** @file\r |
2 | SMM USB Dispatch2 Protocol as defined in PI 1.1 Specification\r | |
3 | Volume 4 System Management Mode Core Interface.\r | |
4 | \r | |
5 | Provides the parent dispatch service for the USB SMI source generator.\r | |
6 | \r | |
2f208e59 | 7 | Copyright (c) 2009 - 2017, Intel Corporation. All rights reserved.<BR>\r |
9df063a0 | 8 | This program and the accompanying materials\r |
1a42a56f | 9 | are licensed and made available under the terms and conditions of the BSD License\r |
10 | which accompanies this distribution. The full text of the license may be found at\r | |
11 | http://opensource.org/licenses/bsd-license.php\r | |
12 | \r | |
13 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
14 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
15 | \r | |
16 | @par Revision Reference:\r | |
17 | This protocol is from PI Version 1.1.\r | |
18 | \r | |
19 | **/\r | |
20 | \r | |
21 | #ifndef _SMM_USB_DISPATCH2_H_\r | |
22 | #define _SMM_USB_DISPATCH2_H_\r | |
23 | \r | |
2f208e59 | 24 | #include <Protocol/MmUsbDispatch.h>\r |
1a42a56f | 25 | \r |
2f208e59 | 26 | #define EFI_SMM_USB_DISPATCH2_PROTOCOL_GUID EFI_MM_USB_DISPATCH_PROTOCOL_GUID\r |
1a42a56f | 27 | \r |
28 | ///\r | |
29 | /// USB SMI event types\r | |
30 | ///\r | |
2f208e59 | 31 | typedef EFI_USB_MMI_TYPE EFI_USB_SMI_TYPE;\r |
1a42a56f | 32 | \r |
33 | ///\r | |
34 | /// The dispatch function's context.\r | |
35 | ///\r | |
2f208e59 | 36 | typedef EFI_MM_USB_REGISTER_CONTEXT EFI_SMM_USB_REGISTER_CONTEXT;\r |
1a42a56f | 37 | \r |
2f208e59 | 38 | typedef EFI_MM_USB_DISPATCH_PROTOCOL EFI_SMM_USB_DISPATCH2_PROTOCOL;\r |
1a42a56f | 39 | \r |
2f208e59 ED |
40 | typedef EFI_MM_USB_REGISTER EFI_SMM_USB_REGISTER2;\r |
41 | \r | |
42 | typedef EFI_MM_USB_UNREGISTER EFI_SMM_USB_UNREGISTER2;\r | |
1a42a56f | 43 | \r |
44 | extern EFI_GUID gEfiSmmUsbDispatch2ProtocolGuid;\r | |
45 | \r | |
46 | #endif\r | |
47 | \r |