]> git.proxmox.com Git - mirror_edk2.git/blame - MdePkg/Include/Protocol/SmmCpuIo2.h
MdePkg: Apply uncrustify changes
[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
9344f092 7 SPDX-License-Identifier: BSD-2-Clause-Patent\r
8fc71dec 8\r
9**/\r
10\r
11#ifndef _SMM_CPU_IO2_H_\r
12#define _SMM_CPU_IO2_H_\r
13\r
2f208e59 14#include <Protocol/MmCpuIo.h>\r
8fc71dec 15\r
2f88bd3a 16#define EFI_SMM_CPU_IO2_PROTOCOL_GUID EFI_MM_CPU_IO_PROTOCOL_GUID\r
2f208e59 17\r
2f88bd3a 18typedef EFI_MM_CPU_IO_PROTOCOL EFI_SMM_CPU_IO2_PROTOCOL;\r
8fc71dec 19\r
20///\r
21/// Width of the SMM CPU I/O operations\r
22///\r
2f88bd3a
MK
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
8fc71dec 27\r
2f208e59 28typedef EFI_MM_IO_WIDTH EFI_SMM_IO_WIDTH;\r
2f88bd3a 29typedef EFI_MM_CPU_IO EFI_SMM_CPU_IO2;\r
8fc71dec 30\r
2f208e59 31typedef EFI_MM_IO_ACCESS EFI_SMM_IO_ACCESS2;\r
8fc71dec 32\r
2f88bd3a 33extern EFI_GUID gEfiSmmCpuIo2ProtocolGuid;\r
8fc71dec 34\r
35#endif\r