TianoCore EDK2 master
Loading...
Searching...
No Matches
IoLibTdx.h
Go to the documentation of this file.
1
8#ifndef IOLIB_TDX_H_
9#define IOLIB_TDX_H_
10
18BOOLEAN
19EFIAPI
21 VOID
22 );
23
34UINT8
35EFIAPI
37 IN UINTN Port
38 );
39
50UINT16
51EFIAPI
53 IN UINTN Port
54 );
55
66UINT32
67EFIAPI
69 IN UINTN Port
70 );
71
83UINT8
84EFIAPI
86 IN UINTN Port,
87 IN UINT8 Value
88 );
89
101UINT16
102EFIAPI
104 IN UINTN Port,
105 IN UINT16 Value
106 );
107
119UINT32
120EFIAPI
122 IN UINTN Port,
123 IN UINT32 Value
124 );
125
136UINT8
137EFIAPI
139 IN UINTN Address
140 );
141
153UINT8
154EFIAPI
156 IN UINTN Address,
157 IN UINT8 Val
158 );
159
170UINT16
171EFIAPI
173 IN UINTN Address
174 );
175
187UINT16
188EFIAPI
190 IN UINTN Address,
191 IN UINT16 Val
192 );
193
204UINT32
205EFIAPI
207 IN UINTN Address
208 );
209
221UINT32
222EFIAPI
224 IN UINTN Address,
225 IN UINT32 Val
226 );
227
238UINT64
239EFIAPI
241 IN UINTN Address
242 );
243
253UINT64
254EFIAPI
256 IN UINTN Address,
257 IN UINT64 Value
258 );
259
277VOID
278EFIAPI
280 IN UINTN Port,
281 IN UINTN Count,
282 OUT VOID *Buffer
283 );
284
302VOID
303EFIAPI
305 IN UINTN Port,
306 IN UINTN Count,
307 IN VOID *Buffer
308 );
309
327VOID
328EFIAPI
330 IN UINTN Port,
331 IN UINTN Count,
332 OUT VOID *Buffer
333 );
334
352VOID
353EFIAPI
355 IN UINTN Port,
356 IN UINTN Count,
357 IN VOID *Buffer
358 );
359
377VOID
378EFIAPI
380 IN UINTN Port,
381 IN UINTN Count,
382 OUT VOID *Buffer
383 );
384
402VOID
403EFIAPI
405 IN UINTN Port,
406 IN UINTN Count,
407 IN VOID *Buffer
408 );
409
410#endif
UINT64 UINTN
UINT32 EFIAPI TdMmioRead32(IN UINTN Address)
UINT64 EFIAPI TdMmioRead64(IN UINTN Address)
UINT8 EFIAPI TdMmioRead8(IN UINTN Address)
VOID EFIAPI TdIoWriteFifo32(IN UINTN Port, IN UINTN Count, IN VOID *Buffer)
UINT16 EFIAPI TdIoRead16(IN UINTN Port)
VOID EFIAPI TdIoWriteFifo16(IN UINTN Port, IN UINTN Count, IN VOID *Buffer)
VOID EFIAPI TdIoReadFifo16(IN UINTN Port, IN UINTN Count, OUT VOID *Buffer)
UINT32 EFIAPI TdIoWrite32(IN UINTN Port, IN UINT32 Value)
UINT16 EFIAPI TdMmioRead16(IN UINTN Address)
UINT64 EFIAPI TdMmioWrite64(IN UINTN Address, IN UINT64 Value)
UINT16 EFIAPI TdIoWrite16(IN UINTN Port, IN UINT16 Value)
UINT8 EFIAPI TdMmioWrite8(IN UINTN Address, IN UINT8 Val)
UINT16 EFIAPI TdMmioWrite16(IN UINTN Address, IN UINT16 Val)
UINT32 EFIAPI TdMmioWrite32(IN UINTN Address, IN UINT32 Val)
VOID EFIAPI TdIoReadFifo8(IN UINTN Port, IN UINTN Count, OUT VOID *Buffer)
UINT32 EFIAPI TdIoRead32(IN UINTN Port)
VOID EFIAPI TdIoWriteFifo8(IN UINTN Port, IN UINTN Count, IN VOID *Buffer)
VOID EFIAPI TdIoReadFifo32(IN UINTN Port, IN UINTN Count, OUT VOID *Buffer)
BOOLEAN EFIAPI IsTdxGuest(VOID)
UINT8 EFIAPI TdIoWrite8(IN UINTN Port, IN UINT8 Value)
UINT8 EFIAPI TdIoRead8(IN UINTN Port)
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284