]> git.proxmox.com Git - mirror_edk2.git/blame - MdePkg/Include/Protocol/SmmCpuIo2.h
MdePkg: Reference new definitions for Management Mode.
[mirror_edk2.git] / MdePkg / Include / Protocol / SmmCpuIo2.h
CommitLineData
8fc71dec 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
2f208e59 6 Copyright (c) 2009 - 2017, Intel Corporation. All rights reserved.<BR>\r
9df063a0 7 This program and the accompanying materials\r
8fc71dec 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
2f208e59 20#include <Protocol/MmCpuIo.h>\r
8fc71dec 21\r
2f208e59
ED
22#define EFI_SMM_CPU_IO2_PROTOCOL_GUID EFI_MM_CPU_IO_PROTOCOL_GUID\r
23\r
24typedef EFI_MM_CPU_IO_PROTOCOL EFI_SMM_CPU_IO2_PROTOCOL;\r
8fc71dec 25\r
26///\r
27/// Width of the SMM CPU I/O operations\r
28///\r
2f208e59
ED
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
8fc71dec 33\r
2f208e59
ED
34typedef EFI_MM_IO_WIDTH EFI_SMM_IO_WIDTH;\r
35typedef EFI_MM_CPU_IO EFI_SMM_CPU_IO2;\r
8fc71dec 36\r
2f208e59 37typedef EFI_MM_IO_ACCESS EFI_SMM_IO_ACCESS2;\r
8fc71dec 38\r
39extern EFI_GUID gEfiSmmCpuIo2ProtocolGuid;\r
40\r
41#endif\r