]>
Commit | Line | Data |
---|---|---|
1 | /** @file\r | |
2 | SMM CPU I/O 2 protocol as defined in the PI 1.2 specification.\r | |
3 | \r | |
4 | This protocol provides CPU I/O and memory access within SMM.\r | |
5 | \r | |
6 | Copyright (c) 2009 - 2017, Intel Corporation. All rights reserved.<BR>\r | |
7 | This program and the accompanying materials\r | |
8 | are licensed and made available under the terms and conditions of the BSD License\r | |
9 | which accompanies this distribution. The full text of the license may be found at\r | |
10 | http://opensource.org/licenses/bsd-license.php\r | |
11 | \r | |
12 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
13 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
14 | \r | |
15 | **/\r | |
16 | \r | |
17 | #ifndef _SMM_CPU_IO2_H_\r | |
18 | #define _SMM_CPU_IO2_H_\r | |
19 | \r | |
20 | #include <Protocol/MmCpuIo.h>\r | |
21 | \r | |
22 | #define EFI_SMM_CPU_IO2_PROTOCOL_GUID EFI_MM_CPU_IO_PROTOCOL_GUID\r | |
23 | \r | |
24 | typedef EFI_MM_CPU_IO_PROTOCOL EFI_SMM_CPU_IO2_PROTOCOL;\r | |
25 | \r | |
26 | ///\r | |
27 | /// Width of the SMM CPU I/O operations\r | |
28 | ///\r | |
29 | #define SMM_IO_UINT8 MM_IO_UINT8\r | |
30 | #define SMM_IO_UINT16 MM_IO_UINT16\r | |
31 | #define SMM_IO_UINT32 MM_IO_UINT32\r | |
32 | #define SMM_IO_UINT64 MM_IO_UINT64\r | |
33 | \r | |
34 | typedef EFI_MM_IO_WIDTH EFI_SMM_IO_WIDTH;\r | |
35 | typedef EFI_MM_CPU_IO EFI_SMM_CPU_IO2;\r | |
36 | \r | |
37 | typedef EFI_MM_IO_ACCESS EFI_SMM_IO_ACCESS2;\r | |
38 | \r | |
39 | extern EFI_GUID gEfiSmmCpuIo2ProtocolGuid;\r | |
40 | \r | |
41 | #endif\r |