]> git.proxmox.com Git - mirror_edk2.git/blob - MdePkg/Include/Protocol/SmmCpuIo2.h
MdePkg FirmwareManagement.h: Fix typo EFI_SECURITY_VIOLATIO
[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 This program and the accompanying materials
8 are licensed and made available under the terms and conditions of the BSD License
9 which accompanies this distribution. The full text of the license may be found at
10 http://opensource.org/licenses/bsd-license.php
11
12 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
13 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
14
15 **/
16
17 #ifndef _SMM_CPU_IO2_H_
18 #define _SMM_CPU_IO2_H_
19
20 #include <Protocol/MmCpuIo.h>
21
22 #define EFI_SMM_CPU_IO2_PROTOCOL_GUID EFI_MM_CPU_IO_PROTOCOL_GUID
23
24 typedef EFI_MM_CPU_IO_PROTOCOL EFI_SMM_CPU_IO2_PROTOCOL;
25
26 ///
27 /// Width of the SMM CPU I/O operations
28 ///
29 #define SMM_IO_UINT8 MM_IO_UINT8
30 #define SMM_IO_UINT16 MM_IO_UINT16
31 #define SMM_IO_UINT32 MM_IO_UINT32
32 #define SMM_IO_UINT64 MM_IO_UINT64
33
34 typedef EFI_MM_IO_WIDTH EFI_SMM_IO_WIDTH;
35 typedef EFI_MM_CPU_IO EFI_SMM_CPU_IO2;
36
37 typedef EFI_MM_IO_ACCESS EFI_SMM_IO_ACCESS2;
38
39 extern EFI_GUID gEfiSmmCpuIo2ProtocolGuid;
40
41 #endif