TianoCore EDK2
master
Loading...
Searching...
No Matches
CpuIo2.h
Go to the documentation of this file.
1
24
#ifndef __CPU_IO2_H__
25
#define __CPU_IO2_H__
26
27
#define EFI_CPU_IO2_PROTOCOL_GUID \
28
{ \
29
0xad61f191, 0xae5f, 0x4c0e, {0xb9, 0xfa, 0xe8, 0x69, 0xd2, 0x88, 0xc6, 0x4f} \
30
}
31
32
typedef
struct
_EFI_CPU_IO2_PROTOCOL
EFI_CPU_IO2_PROTOCOL
;
33
37
typedef
enum
{
38
EfiCpuIoWidthUint8,
39
EfiCpuIoWidthUint16,
40
EfiCpuIoWidthUint32,
41
EfiCpuIoWidthUint64,
42
EfiCpuIoWidthFifoUint8,
43
EfiCpuIoWidthFifoUint16,
44
EfiCpuIoWidthFifoUint32,
45
EfiCpuIoWidthFifoUint64,
46
EfiCpuIoWidthFillUint8,
47
EfiCpuIoWidthFillUint16,
48
EfiCpuIoWidthFillUint32,
49
EfiCpuIoWidthFillUint64,
50
EfiCpuIoWidthMaximum
51
}
EFI_CPU_IO_PROTOCOL_WIDTH
;
52
95
typedef
96
EFI_STATUS
97
(EFIAPI *
EFI_CPU_IO_PROTOCOL_IO_MEM
)(
98
IN
EFI_CPU_IO2_PROTOCOL
*This,
99
IN
EFI_CPU_IO_PROTOCOL_WIDTH
Width,
100
IN
UINT64 Address,
101
IN
UINTN
Count,
102
IN
OUT
VOID *Buffer
103
);
104
108
typedef
struct
{
112
EFI_CPU_IO_PROTOCOL_IO_MEM
Read
;
116
EFI_CPU_IO_PROTOCOL_IO_MEM
Write
;
117
}
EFI_CPU_IO_PROTOCOL_ACCESS
;
118
123
struct
_EFI_CPU_IO2_PROTOCOL
{
127
EFI_CPU_IO_PROTOCOL_ACCESS
Mem
;
131
EFI_CPU_IO_PROTOCOL_ACCESS
Io
;
132
};
133
134
extern
EFI_GUID
gEfiCpuIo2ProtocolGuid;
135
136
#endif
UINTN
UINT64 UINTN
Definition:
ProcessorBind.h:112
EFI_CPU_IO_PROTOCOL_IO_MEM
EFI_STATUS(EFIAPI * EFI_CPU_IO_PROTOCOL_IO_MEM)(IN EFI_CPU_IO2_PROTOCOL *This, IN EFI_CPU_IO_PROTOCOL_WIDTH Width, IN UINT64 Address, IN UINTN Count, IN OUT VOID *Buffer)
Definition:
CpuIo2.h:97
EFI_CPU_IO_PROTOCOL_WIDTH
EFI_CPU_IO_PROTOCOL_WIDTH
Definition:
CpuIo2.h:37
IN
#define IN
Definition:
Base.h:279
OUT
#define OUT
Definition:
Base.h:284
EFI_STATUS
RETURN_STATUS EFI_STATUS
Definition:
UefiBaseType.h:29
_EFI_CPU_IO2_PROTOCOL
Definition:
CpuIo2.h:123
_EFI_CPU_IO2_PROTOCOL::Io
EFI_CPU_IO_PROTOCOL_ACCESS Io
Definition:
CpuIo2.h:131
_EFI_CPU_IO2_PROTOCOL::Mem
EFI_CPU_IO_PROTOCOL_ACCESS Mem
Definition:
CpuIo2.h:127
EFI_CPU_IO_PROTOCOL_ACCESS
Definition:
CpuIo2.h:108
EFI_CPU_IO_PROTOCOL_ACCESS::Read
EFI_CPU_IO_PROTOCOL_IO_MEM Read
Definition:
CpuIo2.h:112
EFI_CPU_IO_PROTOCOL_ACCESS::Write
EFI_CPU_IO_PROTOCOL_IO_MEM Write
Definition:
CpuIo2.h:116
GUID
Definition:
Base.h:213
MdePkg
Include
Protocol
CpuIo2.h
Generated on Fri Nov 15 2024 18:01:15 for TianoCore EDK2 by
1.9.6