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
33
37typedef 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
52
95typedef
100 IN UINT64 Address,
101 IN UINTN Count,
102 IN OUT VOID *Buffer
103 );
104
108typedef struct {
118
132};
133
134extern EFI_GUID gEfiCpuIo2ProtocolGuid;
135
136#endif
UINT64 UINTN
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
Definition: CpuIo2.h:37
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29
EFI_CPU_IO_PROTOCOL_ACCESS Io
Definition: CpuIo2.h:131
EFI_CPU_IO_PROTOCOL_ACCESS Mem
Definition: CpuIo2.h:127
EFI_CPU_IO_PROTOCOL_IO_MEM Read
Definition: CpuIo2.h:112
EFI_CPU_IO_PROTOCOL_IO_MEM Write
Definition: CpuIo2.h:116
Definition: Base.h:213