2 SMM CPU I/O 2 protocol as defined in the PI 1.2 specification.
4 This protocol provides CPU I/O and memory access within SMM.
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
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.
17 #ifndef _SMM_CPU_IO2_H_
18 #define _SMM_CPU_IO2_H_
20 #include <Protocol/MmCpuIo.h>
22 #define EFI_SMM_CPU_IO2_PROTOCOL_GUID EFI_MM_CPU_IO_PROTOCOL_GUID
24 typedef EFI_MM_CPU_IO_PROTOCOL EFI_SMM_CPU_IO2_PROTOCOL
;
27 /// Width of the SMM CPU I/O operations
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
34 typedef EFI_MM_IO_WIDTH EFI_SMM_IO_WIDTH
;
35 typedef EFI_MM_CPU_IO EFI_SMM_CPU_IO2
;
37 typedef EFI_MM_IO_ACCESS EFI_SMM_IO_ACCESS2
;
39 extern EFI_GUID gEfiSmmCpuIo2ProtocolGuid
;