]>
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 | SPDX-License-Identifier: BSD-2-Clause-Patent\r | |
8 | \r | |
9 | **/\r | |
10 | \r | |
11 | #ifndef _SMM_CPU_IO2_H_\r | |
12 | #define _SMM_CPU_IO2_H_\r | |
13 | \r | |
14 | #include <Protocol/MmCpuIo.h>\r | |
15 | \r | |
16 | #define EFI_SMM_CPU_IO2_PROTOCOL_GUID EFI_MM_CPU_IO_PROTOCOL_GUID\r | |
17 | \r | |
18 | typedef EFI_MM_CPU_IO_PROTOCOL EFI_SMM_CPU_IO2_PROTOCOL;\r | |
19 | \r | |
20 | ///\r | |
21 | /// Width of the SMM CPU I/O operations\r | |
22 | ///\r | |
23 | #define SMM_IO_UINT8 MM_IO_UINT8\r | |
24 | #define SMM_IO_UINT16 MM_IO_UINT16\r | |
25 | #define SMM_IO_UINT32 MM_IO_UINT32\r | |
26 | #define SMM_IO_UINT64 MM_IO_UINT64\r | |
27 | \r | |
28 | typedef EFI_MM_IO_WIDTH EFI_SMM_IO_WIDTH;\r | |
29 | typedef EFI_MM_CPU_IO EFI_SMM_CPU_IO2;\r | |
30 | \r | |
31 | typedef EFI_MM_IO_ACCESS EFI_SMM_IO_ACCESS2;\r | |
32 | \r | |
33 | extern EFI_GUID gEfiSmmCpuIo2ProtocolGuid;\r | |
34 | \r | |
35 | #endif\r |