Go to the source code of this file.
◆ NHLTQuery
| Enumerator |
|---|
| NHLTSupportQuery | |
| NHLTMemoryAddress | |
Definition at line 5 of file nhlt.h.
◆ NHLTQueryRevision
Definition at line 1 of file nhlt.h.
◆ NHLTCheckSupported()
Definition at line 146 of file nhlt.cpp.
146 {
147 WDFMEMORY outputBufferMemory;
151 }
152 if (!outputBufferMemory) {
154 }
155
157 if (outputBuffer->Count < 1) {
160 }
161
162 {
164
165 UCHAR supportedQueries = argument->Data[0];
166
167 if ((supportedQueries & 0x3) == 0) {
169 }
170 }
171
173 if (outputBufferMemory !=
NULL) {
174 WdfObjectDelete(outputBufferMemory);
175 outputBufferMemory =
NULL;
176 }
178}
ACPI_METHOD_ARGUMENT UNALIGNED * PACPI_METHOD_ARGUMENT
ACPI_EVAL_OUTPUT_BUFFER UNALIGNED * PACPI_EVAL_OUTPUT_BUFFER
#define STATUS_NOT_SUPPORTED
#define NT_SUCCESS(StatCode)
#define STATUS_INVALID_DEVICE_OBJECT_PARAMETER
Referenced by Fdo_EvtDevicePrepareHardware().
◆ NHLTQueryTableAddress()
Definition at line 182 of file nhlt.cpp.
182 {
183 WDFMEMORY outputBufferMemory;
187 }
188 if (!outputBufferMemory) {
190 }
191
193 if (outputBuffer->Count < 1) {
196 }
197
198 {
200
202 UINT32 sz = argument->DataLength;
203
204 *nhltAddr = 0;
205 *nhltSz = 0;
207 }
208
209 if (nhltAddr == 0 || nhltSz == 0) {
211 }
212
214 if (outputBufferMemory !=
NULL) {
215 WdfObjectDelete(outputBufferMemory);
216 outputBufferMemory =
NULL;
217 }
219}
void parseACPI(UINT8 *res, UINT32 offset, UINT32 sz, UINT64 *nhltAddr, UINT64 *nhltSz)
#define STATUS_UNSUCCESSFUL
Referenced by Fdo_EvtDevicePrepareHardware().