]> git.proxmox.com Git - mirror_edk2.git/blob - MdePkg/Include/Protocol/SmmCpuIo2.h
MdePkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / MdePkg / Include / Protocol / SmmCpuIo2.h
1 /** @file
2 SMM CPU I/O 2 protocol as defined in the PI 1.2 specification.
3
4 This protocol provides CPU I/O and memory access within SMM.
5
6 Copyright (c) 2009 - 2017, Intel Corporation. All rights reserved.<BR>
7 SPDX-License-Identifier: BSD-2-Clause-Patent
8
9 **/
10
11 #ifndef _SMM_CPU_IO2_H_
12 #define _SMM_CPU_IO2_H_
13
14 #include <Protocol/MmCpuIo.h>
15
16 #define EFI_SMM_CPU_IO2_PROTOCOL_GUID EFI_MM_CPU_IO_PROTOCOL_GUID
17
18 typedef EFI_MM_CPU_IO_PROTOCOL EFI_SMM_CPU_IO2_PROTOCOL;
19
20 ///
21 /// Width of the SMM CPU I/O operations
22 ///
23 #define SMM_IO_UINT8 MM_IO_UINT8
24 #define SMM_IO_UINT16 MM_IO_UINT16
25 #define SMM_IO_UINT32 MM_IO_UINT32
26 #define SMM_IO_UINT64 MM_IO_UINT64
27
28 typedef EFI_MM_IO_WIDTH EFI_SMM_IO_WIDTH;
29 typedef EFI_MM_CPU_IO EFI_SMM_CPU_IO2;
30
31 typedef EFI_MM_IO_ACCESS EFI_SMM_IO_ACCESS2;
32
33 extern EFI_GUID gEfiSmmCpuIo2ProtocolGuid;
34
35 #endif