#include "acpi.h"
#include "accommon.h"
#include "acnamesp.h"
Go to the source code of this file.
◆ _COMPONENT
◆ AcpiUtCreateUpdateStateAndPush()
Definition at line 219 of file utmisc.c.
223{
225
226
228
229
230
231
233 {
235 }
236
239 {
241 }
242
245}
#define ACPI_FUNCTION_ENTRY()
ACPI_GENERIC_STATE * AcpiUtCreateUpdateState(ACPI_OPERAND_OBJECT *Object, UINT16 Action)
void AcpiUtPushGenericState(ACPI_GENERIC_STATE **ListHead, ACPI_GENERIC_STATE *State)
_Must_inspect_result_ _In_ WDFCOLLECTION _In_ WDFOBJECT Object
_In_ WDFIOTARGET _In_ _Strict_type_match_ WDF_IO_TARGET_SENT_IO_ACTION Action
Referenced by AcpiUtUpdateObjectReference().
◆ AcpiUtDwordByteSwap()
Definition at line 136 of file utmisc.c.
138{
139 union
140 {
144 union
145 {
149
150
152
153
155
156 Out.Bytes[0] =
In.Bytes[3];
157 Out.Bytes[1] =
In.Bytes[2];
158 Out.Bytes[2] =
In.Bytes[1];
159 Out.Bytes[3] =
In.Bytes[0];
160
162}
_Must_inspect_result_ _In_ WDFKEY _In_ PCUNICODE_STRING _Out_opt_ PUSHORT _Inout_opt_ PUNICODE_STRING Value
Referenced by AcpiExEisaIdToString().
◆ AcpiUtIsPciRootBridge()
◆ AcpiUtSetIntegerWidth()
Definition at line 181 of file utmisc.c.
183{
184
186 {
187
188
189 AcpiGbl_IntegerBitWidth = 32;
190 AcpiGbl_IntegerNybbleWidth = 8;
191 AcpiGbl_IntegerByteWidth = 4;
192 }
193 else
194 {
195
196
197 AcpiGbl_IntegerBitWidth = 64;
198 AcpiGbl_IntegerNybbleWidth = 16;
199 AcpiGbl_IntegerByteWidth = 8;
200 }
201}
Referenced by AcpiTbInstallTableWithOverride().
◆ AcpiUtWalkPackageTree()
Definition at line 264 of file utmisc.c.
269{
275
276
278
279
282 {
284 }
285
287 {
288
289
290 ThisIndex =
State->Pkg.Index;
291 ThisSourceObj =
292 State->Pkg.SourceObject->Package.Elements[ThisIndex];
293 State->Pkg.ThisTargetObj =
294 &
State->Pkg.SourceObject->Package.Elements[ThisIndex];
295
296
297
298
299
300
301
302
303
304 if ((!ThisSourceObj) ||
308 {
312 {
314 }
315
317 while (
State->Pkg.Index >=
318 State->Pkg.SourceObject->Package.Count)
319 {
320
321
322
323
324
325
326
329
330
331
333 {
334
335
336
337
338
340 }
341
342
343
344
345
347 }
348 }
349 else
350 {
351
352
356 {
358 }
359
360
361
362
363
366 ThisSourceObj,
State->Pkg.ThisTargetObj, 0);
368 {
369
370
371 while (StateList)
372 {
375 }
377 }
378 }
379 }
380
381
382
384 "State list did not terminate correctly"));
385
387}
#define ACPI_COPY_TYPE_PACKAGE
#define ACPI_COPY_TYPE_SIMPLE
#define ACPI_GET_DESCRIPTOR_TYPE(d)
#define ACPI_DESC_TYPE_OPERAND
#define return_ACPI_STATUS(s)
#define ACPI_FUNCTION_TRACE(a)
#define ACPI_ERROR(plist)
#define ACPI_TYPE_PACKAGE
ACPI_GENERIC_STATE * AcpiUtCreatePkgState(void *InternalObject, void *ExternalObject, UINT32 Index)
ACPI_GENERIC_STATE * AcpiUtPopGenericState(ACPI_GENERIC_STATE **ListHead)
void AcpiUtDeleteGenericState(ACPI_GENERIC_STATE *State)
ACPI_OBJECT_COMMON Common
Referenced by AcpiNsInitOnePackage(), AcpiUtCopyIpackageToEpackage(), AcpiUtCopyIpackageToIpackage(), and AcpiUtGetPackageObjectSize().