TianoCore EDK2 master
Loading...
Searching...
No Matches
CpuIo.h
Go to the documentation of this file.
1
13#ifndef __PEI_CPUIO_PPI_H__
14#define __PEI_CPUIO_PPI_H__
15
16#define EFI_PEI_CPU_IO_PPI_INSTALLED_GUID \
17 { 0xe6af1f7b, 0xfc3f, 0x46da, {0xa8, 0x28, 0xa3, 0xb4, 0x57, 0xa4, 0x42, 0x82 } }
18
20
24typedef enum {
25 EfiPeiCpuIoWidthUint8,
26 EfiPeiCpuIoWidthUint16,
27 EfiPeiCpuIoWidthUint32,
28 EfiPeiCpuIoWidthUint64,
29 EfiPeiCpuIoWidthFifoUint8,
30 EfiPeiCpuIoWidthFifoUint16,
31 EfiPeiCpuIoWidthFifoUint32,
32 EfiPeiCpuIoWidthFifoUint64,
33 EfiPeiCpuIoWidthFillUint8,
34 EfiPeiCpuIoWidthFillUint16,
35 EfiPeiCpuIoWidthFillUint32,
36 EfiPeiCpuIoWidthFillUint64,
37 EfiPeiCpuIoWidthMaximum
39
55typedef
58 IN CONST EFI_PEI_SERVICES **PeiServices,
61 IN UINT64 Address,
62 IN UINTN Count,
63 IN OUT VOID *Buffer
64 );
65
69typedef struct {
79
91typedef
92UINT8
94 IN CONST EFI_PEI_SERVICES **PeiServices,
96 IN UINT64 Address
97 );
98
110typedef
111UINT16
113 IN CONST EFI_PEI_SERVICES **PeiServices,
115 IN UINT64 Address
116 );
117
129typedef
130UINT32
132 IN CONST EFI_PEI_SERVICES **PeiServices,
134 IN UINT64 Address
135 );
136
148typedef
149UINT64
151 IN CONST EFI_PEI_SERVICES **PeiServices,
153 IN UINT64 Address
154 );
155
166typedef
167VOID
169 IN CONST EFI_PEI_SERVICES **PeiServices,
171 IN UINT64 Address,
172 IN UINT8 Data
173 );
174
185typedef
186VOID
188 IN CONST EFI_PEI_SERVICES **PeiServices,
190 IN UINT64 Address,
191 IN UINT16 Data
192 );
193
204typedef
205VOID
207 IN CONST EFI_PEI_SERVICES **PeiServices,
209 IN UINT64 Address,
210 IN UINT32 Data
211 );
212
223typedef
224VOID
226 IN CONST EFI_PEI_SERVICES **PeiServices,
228 IN UINT64 Address,
229 IN UINT64 Data
230 );
231
243typedef
244UINT8
246 IN CONST EFI_PEI_SERVICES **PeiServices,
248 IN UINT64 Address
249 );
250
262typedef
263UINT16
265 IN CONST EFI_PEI_SERVICES **PeiServices,
267 IN UINT64 Address
268 );
269
281typedef
282UINT32
284 IN CONST EFI_PEI_SERVICES **PeiServices,
286 IN UINT64 Address
287 );
288
300typedef
301UINT64
303 IN CONST EFI_PEI_SERVICES **PeiServices,
305 IN UINT64 Address
306 );
307
318typedef
319VOID
321 IN CONST EFI_PEI_SERVICES **PeiServices,
323 IN UINT64 Address,
324 IN UINT8 Data
325 );
326
337typedef
338VOID
340 IN CONST EFI_PEI_SERVICES **PeiServices,
342 IN UINT64 Address,
343 IN UINT16 Data
344 );
345
356typedef
357VOID
359 IN CONST EFI_PEI_SERVICES **PeiServices,
361 IN UINT64 Address,
362 IN UINT32 Data
363 );
364
375typedef
376VOID
378 IN CONST EFI_PEI_SERVICES **PeiServices,
380 IN UINT64 Address,
381 IN UINT64 Data
382 );
383
398
403
408
413
418};
419
420extern EFI_GUID gEfiPeiCpuIoPpiInstalledGuid;
421
422#endif
UINT64 UINTN
UINT32(EFIAPI * EFI_PEI_CPU_IO_PPI_IO_READ32)(IN CONST EFI_PEI_SERVICES **PeiServices, IN CONST EFI_PEI_CPU_IO_PPI *This, IN UINT64 Address)
Definition: CpuIo.h:131
UINT32(EFIAPI * EFI_PEI_CPU_IO_PPI_MEM_READ32)(IN CONST EFI_PEI_SERVICES **PeiServices, IN CONST EFI_PEI_CPU_IO_PPI *This, IN UINT64 Address)
Definition: CpuIo.h:283
UINT64(EFIAPI * EFI_PEI_CPU_IO_PPI_MEM_READ64)(IN CONST EFI_PEI_SERVICES **PeiServices, IN CONST EFI_PEI_CPU_IO_PPI *This, IN UINT64 Address)
Definition: CpuIo.h:302
VOID(EFIAPI * EFI_PEI_CPU_IO_PPI_IO_WRITE8)(IN CONST EFI_PEI_SERVICES **PeiServices, IN CONST EFI_PEI_CPU_IO_PPI *This, IN UINT64 Address, IN UINT8 Data)
Definition: CpuIo.h:168
VOID(EFIAPI * EFI_PEI_CPU_IO_PPI_IO_WRITE32)(IN CONST EFI_PEI_SERVICES **PeiServices, IN CONST EFI_PEI_CPU_IO_PPI *This, IN UINT64 Address, IN UINT32 Data)
Definition: CpuIo.h:206
VOID(EFIAPI * EFI_PEI_CPU_IO_PPI_IO_WRITE64)(IN CONST EFI_PEI_SERVICES **PeiServices, IN CONST EFI_PEI_CPU_IO_PPI *This, IN UINT64 Address, IN UINT64 Data)
Definition: CpuIo.h:225
VOID(EFIAPI * EFI_PEI_CPU_IO_PPI_MEM_WRITE32)(IN CONST EFI_PEI_SERVICES **PeiServices, IN CONST EFI_PEI_CPU_IO_PPI *This, IN UINT64 Address, IN UINT32 Data)
Definition: CpuIo.h:358
UINT16(EFIAPI * EFI_PEI_CPU_IO_PPI_MEM_READ16)(IN CONST EFI_PEI_SERVICES **PeiServices, IN CONST EFI_PEI_CPU_IO_PPI *This, IN UINT64 Address)
Definition: CpuIo.h:264
UINT8(EFIAPI * EFI_PEI_CPU_IO_PPI_MEM_READ8)(IN CONST EFI_PEI_SERVICES **PeiServices, IN CONST EFI_PEI_CPU_IO_PPI *This, IN UINT64 Address)
Definition: CpuIo.h:245
UINT16(EFIAPI * EFI_PEI_CPU_IO_PPI_IO_READ16)(IN CONST EFI_PEI_SERVICES **PeiServices, IN CONST EFI_PEI_CPU_IO_PPI *This, IN UINT64 Address)
Definition: CpuIo.h:112
UINT8(EFIAPI * EFI_PEI_CPU_IO_PPI_IO_READ8)(IN CONST EFI_PEI_SERVICES **PeiServices, IN CONST EFI_PEI_CPU_IO_PPI *This, IN UINT64 Address)
Definition: CpuIo.h:93
VOID(EFIAPI * EFI_PEI_CPU_IO_PPI_IO_WRITE16)(IN CONST EFI_PEI_SERVICES **PeiServices, IN CONST EFI_PEI_CPU_IO_PPI *This, IN UINT64 Address, IN UINT16 Data)
Definition: CpuIo.h:187
EFI_PEI_CPU_IO_PPI_WIDTH
Definition: CpuIo.h:24
VOID(EFIAPI * EFI_PEI_CPU_IO_PPI_MEM_WRITE64)(IN CONST EFI_PEI_SERVICES **PeiServices, IN CONST EFI_PEI_CPU_IO_PPI *This, IN UINT64 Address, IN UINT64 Data)
Definition: CpuIo.h:377
UINT64(EFIAPI * EFI_PEI_CPU_IO_PPI_IO_READ64)(IN CONST EFI_PEI_SERVICES **PeiServices, IN CONST EFI_PEI_CPU_IO_PPI *This, IN UINT64 Address)
Definition: CpuIo.h:150
VOID(EFIAPI * EFI_PEI_CPU_IO_PPI_MEM_WRITE8)(IN CONST EFI_PEI_SERVICES **PeiServices, IN CONST EFI_PEI_CPU_IO_PPI *This, IN UINT64 Address, IN UINT8 Data)
Definition: CpuIo.h:320
VOID(EFIAPI * EFI_PEI_CPU_IO_PPI_MEM_WRITE16)(IN CONST EFI_PEI_SERVICES **PeiServices, IN CONST EFI_PEI_CPU_IO_PPI *This, IN UINT64 Address, IN UINT16 Data)
Definition: CpuIo.h:339
EFI_STATUS(EFIAPI * EFI_PEI_CPU_IO_PPI_IO_MEM)(IN CONST EFI_PEI_SERVICES **PeiServices, IN CONST EFI_PEI_CPU_IO_PPI *This, IN EFI_PEI_CPU_IO_PPI_WIDTH Width, IN UINT64 Address, IN UINTN Count, IN OUT VOID *Buffer)
Definition: CpuIo.h:57
#define CONST
Definition: Base.h:259
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29
EFI_PEI_CPU_IO_PPI_ACCESS Mem
Definition: CpuIo.h:393
EFI_PEI_CPU_IO_PPI_ACCESS Io
Definition: CpuIo.h:397
EFI_PEI_CPU_IO_PPI_IO_MEM Write
Definition: CpuIo.h:77
EFI_PEI_CPU_IO_PPI_IO_MEM Read
Definition: CpuIo.h:73
Definition: Base.h:213