TianoCore EDK2 master
Loading...
Searching...
No Matches
QemuFwCfgLibMmioInternal.h
Go to the documentation of this file.
1
12#ifndef QEMU_FW_CFG_LIB_MMIO_INTERNAL_H_
13#define QEMU_FW_CFG_LIB_MMIO_INTERNAL_H_
14
15typedef struct {
16 UINTN FwCfgSelectorAddress;
17 UINTN FwCfgDataAddress;
18 UINTN FwCfgDmaAddress;
20
28typedef
29VOID(EFIAPI READ_BYTES_FUNCTION)(
30 IN UINTN Size,
31 IN VOID *Buffer OPTIONAL
32 );
33
41typedef
42VOID(EFIAPI WRITE_BYTES_FUNCTION)(
43 IN UINTN Size,
44 IN VOID *Buffer OPTIONAL
45 );
46
53typedef
54VOID(EFIAPI SKIP_BYTES_FUNCTION)(
55 IN UINTN Size
56 );
57
65extern
66VOID (EFIAPI *InternalQemuFwCfgReadBytes)(
67 IN UINTN Size,
68 IN VOID *Buffer OPTIONAL
69 );
70
78extern
79VOID (EFIAPI *InternalQemuFwCfgWriteBytes)(
80 IN UINTN Size,
81 IN VOID *Buffer OPTIONAL
82 );
83
90extern
91VOID (EFIAPI *InternalQemuFwCfgSkipBytes)(
92 IN UINTN Size
93 );
94
102VOID
104 IN QEMU_FW_CFG_RESOURCE *FwCfgResource
105 );
106
116 VOID
117 );
118
126UINTN
127EFIAPI
129 VOID
130 );
131
139UINTN
140EFIAPI
142 VOID
143 );
144
152UINTN
153EFIAPI
155 VOID
156 );
157
161VOID
162EFIAPI
164 IN UINTN Size,
165 IN VOID *Buffer OPTIONAL
166 );
167
171VOID
172EFIAPI
174 IN UINTN Size,
175 IN VOID *Buffer OPTIONAL
176 );
177
181VOID
182EFIAPI
184 IN UINTN Size
185 );
186
190VOID
191EFIAPI
193 IN UINTN Size,
194 IN VOID *Buffer OPTIONAL
195 );
196
200VOID
201EFIAPI
203 IN UINTN Size,
204 IN VOID *Buffer OPTIONAL
205 );
206
210VOID
211EFIAPI
213 IN UINTN Size
214 );
215
231VOID
233 IN UINTN Size,
234 IN OUT VOID *Buffer OPTIONAL,
235 IN UINT32 Control
236 );
237
238#endif
UINT64 UINTN
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284
UINTN EFIAPI QemuGetFwCfgDmaAddress(VOID)
VOID EFIAPI DmaSkipBytes(IN UINTN Size)
UINTN EFIAPI QemuGetFwCfgDataAddress(VOID)
QEMU_FW_CFG_RESOURCE * QemuGetFwCfgResourceHob(VOID)
VOID EFIAPI DmaReadBytes(IN UINTN Size, IN VOID *Buffer OPTIONAL)
VOID QemuBuildFwCfgResourceHob(IN QEMU_FW_CFG_RESOURCE *FwCfgResource)
UINTN EFIAPI QemuGetFwCfgSelectorAddress(VOID)
VOID DmaTransferBytes(IN UINTN Size, IN OUT VOID *Buffer OPTIONAL, IN UINT32 Control)
VOID EFIAPI MmioReadBytes(IN UINTN Size, IN VOID *Buffer OPTIONAL)
VOID EFIAPI MmioWriteBytes(IN UINTN Size, IN VOID *Buffer OPTIONAL)
VOID EFIAPI DmaWriteBytes(IN UINTN Size, IN VOID *Buffer OPTIONAL)
VOID EFIAPI MmioSkipBytes(IN UINTN Size)