TianoCore EDK2
master
Loading...
Searching...
No Matches
MmCpuIo.h
Go to the documentation of this file.
1
11
#ifndef _MM_CPU_IO_H_
12
#define _MM_CPU_IO_H_
13
14
#define EFI_MM_CPU_IO_PROTOCOL_GUID \
15
{ \
16
0x3242A9D8, 0xCE70, 0x4AA0, { 0x95, 0x5D, 0x5E, 0x7B, 0x14, 0x0D, 0xE4, 0xD2 } \
17
}
18
19
typedef
struct
_EFI_MM_CPU_IO_PROTOCOL
EFI_MM_CPU_IO_PROTOCOL
;
20
24
typedef
enum
{
25
MM_IO_UINT8 = 0,
26
MM_IO_UINT16 = 1,
27
MM_IO_UINT32 = 2,
28
MM_IO_UINT64 = 3
29
}
EFI_MM_IO_WIDTH
;
30
53
typedef
54
EFI_STATUS
55
(EFIAPI *
EFI_MM_CPU_IO
)(
56
IN
CONST
EFI_MM_CPU_IO_PROTOCOL
*This,
57
IN
EFI_MM_IO_WIDTH
Width,
58
IN
UINT64 Address,
59
IN
UINTN
Count,
60
IN
OUT
VOID *Buffer
61
);
62
63
typedef
struct
{
67
EFI_MM_CPU_IO
Read
;
71
EFI_MM_CPU_IO
Write
;
72
}
EFI_MM_IO_ACCESS
;
73
77
struct
_EFI_MM_CPU_IO_PROTOCOL
{
81
EFI_MM_IO_ACCESS
Mem
;
85
EFI_MM_IO_ACCESS
Io
;
86
};
87
88
extern
EFI_GUID
gEfiMmCpuIoProtocolGuid;
89
90
#endif
UINTN
UINT64 UINTN
Definition:
ProcessorBind.h:112
CONST
#define CONST
Definition:
Base.h:259
IN
#define IN
Definition:
Base.h:279
OUT
#define OUT
Definition:
Base.h:284
EFI_MM_CPU_IO
EFI_STATUS(EFIAPI * EFI_MM_CPU_IO)(IN CONST EFI_MM_CPU_IO_PROTOCOL *This, IN EFI_MM_IO_WIDTH Width, IN UINT64 Address, IN UINTN Count, IN OUT VOID *Buffer)
Definition:
MmCpuIo.h:55
EFI_MM_IO_WIDTH
EFI_MM_IO_WIDTH
Definition:
MmCpuIo.h:24
EFI_STATUS
RETURN_STATUS EFI_STATUS
Definition:
UefiBaseType.h:29
_EFI_MM_CPU_IO_PROTOCOL
Definition:
MmCpuIo.h:77
_EFI_MM_CPU_IO_PROTOCOL::Mem
EFI_MM_IO_ACCESS Mem
Definition:
MmCpuIo.h:81
_EFI_MM_CPU_IO_PROTOCOL::Io
EFI_MM_IO_ACCESS Io
Definition:
MmCpuIo.h:85
EFI_MM_IO_ACCESS
Definition:
MmCpuIo.h:63
EFI_MM_IO_ACCESS::Write
EFI_MM_CPU_IO Write
Definition:
MmCpuIo.h:71
EFI_MM_IO_ACCESS::Read
EFI_MM_CPU_IO Read
Definition:
MmCpuIo.h:67
GUID
Definition:
Base.h:213
MdePkg
Include
Protocol
MmCpuIo.h
Generated on Fri Nov 15 2024 18:01:16 for TianoCore EDK2 by
1.9.6