mirror of
https://github.com/reactos/reactos.git
synced 2024-05-29 08:41:42 +00:00
[ACPICA] Update to version 20220331. CORE-17905
This commit is contained in:
parent
8129fee128
commit
03b24380a7
|
@ -6,7 +6,7 @@
|
|||
*****************************************************************************/
|
||||
|
||||
/*
|
||||
* Copyright (C) 2000 - 2021, Intel Corp.
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
*****************************************************************************/
|
||||
|
||||
/*
|
||||
* Copyright (C) 2000 - 2021, Intel Corp.
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
*****************************************************************************/
|
||||
|
||||
/*
|
||||
* Copyright (C) 2000 - 2021, Intel Corp.
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
*****************************************************************************/
|
||||
|
||||
/*
|
||||
* Copyright (C) 2000 - 2021, Intel Corp.
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
*****************************************************************************/
|
||||
|
||||
/*
|
||||
* Copyright (C) 2000 - 2021, Intel Corp.
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
*****************************************************************************/
|
||||
|
||||
/*
|
||||
* Copyright (C) 2000 - 2021, Intel Corp.
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
******************************************************************************/
|
||||
|
||||
/*
|
||||
* Copyright (C) 2000 - 2021, Intel Corp.
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
*****************************************************************************/
|
||||
|
||||
/*
|
||||
* Copyright (C) 2000 - 2021, Intel Corp.
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
*****************************************************************************/
|
||||
|
||||
/*
|
||||
* Copyright (C) 2000 - 2021, Intel Corp.
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
*****************************************************************************/
|
||||
|
||||
/*
|
||||
* Copyright (C) 2000 - 2021, Intel Corp.
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
******************************************************************************/
|
||||
|
||||
/*
|
||||
* Copyright (C) 2000 - 2021, Intel Corp.
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
*****************************************************************************/
|
||||
|
||||
/*
|
||||
* Copyright (C) 2000 - 2021, Intel Corp.
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
@ -65,7 +65,7 @@ static ACPI_EXECUTE_OP AcpiGbl_OpTypeDispatch [] =
|
|||
AcpiExOpcode_0A_0T_1R,
|
||||
AcpiExOpcode_1A_0T_0R,
|
||||
AcpiExOpcode_1A_0T_1R,
|
||||
AcpiExOpcode_1A_1T_0R,
|
||||
NULL, /* Was: AcpiExOpcode_1A_0T_0R (Was for Load operator) */
|
||||
AcpiExOpcode_1A_1T_1R,
|
||||
AcpiExOpcode_2A_0T_0R,
|
||||
AcpiExOpcode_2A_0T_1R,
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
*****************************************************************************/
|
||||
|
||||
/*
|
||||
* Copyright (C) 2000 - 2021, Intel Corp.
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
*****************************************************************************/
|
||||
|
||||
/*
|
||||
* Copyright (C) 2000 - 2021, Intel Corp.
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
*****************************************************************************/
|
||||
|
||||
/*
|
||||
* Copyright (C) 2000 - 2021, Intel Corp.
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
*****************************************************************************/
|
||||
|
||||
/*
|
||||
* Copyright (C) 2000 - 2021, Intel Corp.
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
*****************************************************************************/
|
||||
|
||||
/*
|
||||
* Copyright (C) 2000 - 2021, Intel Corp.
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
*****************************************************************************/
|
||||
|
||||
/*
|
||||
* Copyright (C) 2000 - 2021, Intel Corp.
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
*****************************************************************************/
|
||||
|
||||
/*
|
||||
* Copyright (C) 2000 - 2021, Intel Corp.
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
*****************************************************************************/
|
||||
|
||||
/*
|
||||
* Copyright (C) 2000 - 2021, Intel Corp.
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
*****************************************************************************/
|
||||
|
||||
/*
|
||||
* Copyright (C) 2000 - 2021, Intel Corp.
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
*****************************************************************************/
|
||||
|
||||
/*
|
||||
* Copyright (C) 2000 - 2021, Intel Corp.
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
*****************************************************************************/
|
||||
|
||||
/*
|
||||
* Copyright (C) 2000 - 2021, Intel Corp.
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
*****************************************************************************/
|
||||
|
||||
/*
|
||||
* Copyright (C) 2000 - 2021, Intel Corp.
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
*****************************************************************************/
|
||||
|
||||
/*
|
||||
* Copyright (C) 2000 - 2021, Intel Corp.
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
@ -212,14 +212,14 @@ AcpiEvAddressSpaceDispatch (
|
|||
return_ACPI_STATUS (AE_NOT_EXIST);
|
||||
}
|
||||
|
||||
if (RegionObj->Region.SpaceId == ACPI_ADR_SPACE_PLATFORM_COMM)
|
||||
{
|
||||
ACPI_PCC_INFO *Ctx = HandlerDesc->AddressSpace.Context;
|
||||
if (RegionObj->Region.SpaceId == ACPI_ADR_SPACE_PLATFORM_COMM)
|
||||
{
|
||||
ACPI_PCC_INFO *Ctx = HandlerDesc->AddressSpace.Context;
|
||||
|
||||
Ctx->InternalBuffer = FieldObj->Field.InternalPccBuffer;
|
||||
Ctx->Length = (UINT16) RegionObj->Region.Length;
|
||||
Ctx->SubspaceId = (UINT8) RegionObj->Region.Address;
|
||||
}
|
||||
Ctx->InternalBuffer = FieldObj->Field.InternalPccBuffer;
|
||||
Ctx->Length = (UINT16) RegionObj->Region.Length;
|
||||
Ctx->SubspaceId = (UINT8) RegionObj->Region.Address;
|
||||
}
|
||||
|
||||
/*
|
||||
* We must exit the interpreter because the region setup will
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
*****************************************************************************/
|
||||
|
||||
/*
|
||||
* Copyright (C) 2000 - 2021, Intel Corp.
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
******************************************************************************/
|
||||
|
||||
/*
|
||||
* Copyright (C) 2000 - 2021, Intel Corp.
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
*****************************************************************************/
|
||||
|
||||
/*
|
||||
* Copyright (C) 2000 - 2021, Intel Corp.
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
*****************************************************************************/
|
||||
|
||||
/*
|
||||
* Copyright (C) 2000 - 2021, Intel Corp.
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
*****************************************************************************/
|
||||
|
||||
/*
|
||||
* Copyright (C) 2000 - 2021, Intel Corp.
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
*****************************************************************************/
|
||||
|
||||
/*
|
||||
* Copyright (C) 2000 - 2021, Intel Corp.
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
*****************************************************************************/
|
||||
|
||||
/*
|
||||
* Copyright (C) 2000 - 2021, Intel Corp.
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
*****************************************************************************/
|
||||
|
||||
/*
|
||||
* Copyright (C) 2000 - 2021, Intel Corp.
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
@ -135,6 +135,7 @@ AcpiExLoadTableOp (
|
|||
ACPI_NAMESPACE_NODE *ParentNode;
|
||||
ACPI_NAMESPACE_NODE *StartNode;
|
||||
ACPI_NAMESPACE_NODE *ParameterNode = NULL;
|
||||
ACPI_OPERAND_OBJECT *ReturnObj;
|
||||
ACPI_OPERAND_OBJECT *DdbHandle;
|
||||
UINT32 TableIndex;
|
||||
|
||||
|
@ -142,6 +143,16 @@ AcpiExLoadTableOp (
|
|||
ACPI_FUNCTION_TRACE (ExLoadTableOp);
|
||||
|
||||
|
||||
/* Create the return object */
|
||||
|
||||
ReturnObj = AcpiUtCreateIntegerObject ((UINT64) 0);
|
||||
if (!ReturnObj)
|
||||
{
|
||||
return_ACPI_STATUS (AE_NO_MEMORY);
|
||||
}
|
||||
|
||||
*ReturnDesc = ReturnObj;
|
||||
|
||||
/* Find the ACPI table in the RSDT/XSDT */
|
||||
|
||||
AcpiExExitInterpreter ();
|
||||
|
@ -159,13 +170,6 @@ AcpiExLoadTableOp (
|
|||
|
||||
/* Table not found, return an Integer=0 and AE_OK */
|
||||
|
||||
DdbHandle = AcpiUtCreateIntegerObject ((UINT64) 0);
|
||||
if (!DdbHandle)
|
||||
{
|
||||
return_ACPI_STATUS (AE_NO_MEMORY);
|
||||
}
|
||||
|
||||
*ReturnDesc = DdbHandle;
|
||||
return_ACPI_STATUS (AE_OK);
|
||||
}
|
||||
|
||||
|
@ -256,7 +260,13 @@ AcpiExLoadTableOp (
|
|||
}
|
||||
}
|
||||
|
||||
*ReturnDesc = DdbHandle;
|
||||
/* Remove the reference to DdbHandle created by AcpiExAddTable above */
|
||||
|
||||
AcpiUtRemoveReference (DdbHandle);
|
||||
|
||||
/* Return -1 (non-zero) indicates success */
|
||||
|
||||
ReturnObj->Integer.Value = 0xFFFFFFFFFFFFFFFF;
|
||||
return_ACPI_STATUS (Status);
|
||||
}
|
||||
|
||||
|
@ -314,7 +324,7 @@ AcpiExRegionRead (
|
|||
*
|
||||
* PARAMETERS: ObjDesc - Region or Buffer/Field where the table will be
|
||||
* obtained
|
||||
* Target - Where a handle to the table will be stored
|
||||
* Target - Where the status of the load will be stored
|
||||
* WalkState - Current state
|
||||
*
|
||||
* RETURN: Status
|
||||
|
@ -346,6 +356,18 @@ AcpiExLoadOp (
|
|||
ACPI_FUNCTION_TRACE (ExLoadOp);
|
||||
|
||||
|
||||
if (Target->Common.DescriptorType == ACPI_DESC_TYPE_NAMED)
|
||||
{
|
||||
Target = AcpiNsGetAttachedObject (ACPI_CAST_PTR (ACPI_NAMESPACE_NODE, Target));
|
||||
}
|
||||
if (Target->Common.Type != ACPI_TYPE_INTEGER)
|
||||
{
|
||||
fprintf (stderr, "Type not integer: %X\n", Target->Common.Type);
|
||||
return_ACPI_STATUS (AE_AML_OPERAND_TYPE);
|
||||
}
|
||||
|
||||
Target->Integer.Value = 0;
|
||||
|
||||
/* Source Object can be either an OpRegion or a Buffer/Field */
|
||||
|
||||
switch (ObjDesc->Common.Type)
|
||||
|
@ -507,8 +529,6 @@ AcpiExLoadOp (
|
|||
Status = AcpiExAddTable (TableIndex, &DdbHandle);
|
||||
if (ACPI_FAILURE (Status))
|
||||
{
|
||||
/* On error, TablePtr was deallocated above */
|
||||
|
||||
return_ACPI_STATUS (Status);
|
||||
}
|
||||
|
||||
|
@ -518,22 +538,13 @@ AcpiExLoadOp (
|
|||
AcpiNsInitializeObjects ();
|
||||
AcpiExEnterInterpreter ();
|
||||
|
||||
/* Store the DdbHandle into the Target operand */
|
||||
|
||||
Status = AcpiExStore (DdbHandle, Target, WalkState);
|
||||
if (ACPI_FAILURE (Status))
|
||||
{
|
||||
(void) AcpiExUnloadTable (DdbHandle);
|
||||
|
||||
/* TablePtr was deallocated above */
|
||||
|
||||
AcpiUtRemoveReference (DdbHandle);
|
||||
return_ACPI_STATUS (Status);
|
||||
}
|
||||
|
||||
/* Remove the reference by added by AcpiExStore above */
|
||||
/* Remove the reference to DdbHandle created by AcpiExAddTable above */
|
||||
|
||||
AcpiUtRemoveReference (DdbHandle);
|
||||
|
||||
/* Return -1 (non-zero) indicates success */
|
||||
|
||||
Target->Integer.Value = 0xFFFFFFFFFFFFFFFF;
|
||||
return_ACPI_STATUS (Status);
|
||||
}
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
*****************************************************************************/
|
||||
|
||||
/*
|
||||
* Copyright (C) 2000 - 2021, Intel Corp.
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
*****************************************************************************/
|
||||
|
||||
/*
|
||||
* Copyright (C) 2000 - 2021, Intel Corp.
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
*****************************************************************************/
|
||||
|
||||
/*
|
||||
* Copyright (C) 2000 - 2021, Intel Corp.
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
*****************************************************************************/
|
||||
|
||||
/*
|
||||
* Copyright (C) 2000 - 2021, Intel Corp.
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
*****************************************************************************/
|
||||
|
||||
/*
|
||||
* Copyright (C) 2000 - 2021, Intel Corp.
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
*****************************************************************************/
|
||||
|
||||
/*
|
||||
* Copyright (C) 2000 - 2021, Intel Corp.
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
@ -154,7 +154,7 @@ AcpiExSetupRegion (
|
|||
#ifdef ACPI_UNDER_DEVELOPMENT
|
||||
/*
|
||||
* If the Field access is AnyAcc, we can now compute the optimal
|
||||
* access (because we know know the length of the parent region)
|
||||
* access (because we know the length of the parent region)
|
||||
*/
|
||||
if (!(ObjDesc->Common.Flags & AOPOBJ_DATA_VALID))
|
||||
{
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
*****************************************************************************/
|
||||
|
||||
/*
|
||||
* Copyright (C) 2000 - 2021, Intel Corp.
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
*****************************************************************************/
|
||||
|
||||
/*
|
||||
* Copyright (C) 2000 - 2021, Intel Corp.
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
*****************************************************************************/
|
||||
|
||||
/*
|
||||
* Copyright (C) 2000 - 2021, Intel Corp.
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
*****************************************************************************/
|
||||
|
||||
/*
|
||||
* Copyright (C) 2000 - 2021, Intel Corp.
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
@ -215,6 +215,7 @@ AcpiExOpcode_1A_0T_0R (
|
|||
}
|
||||
|
||||
|
||||
#ifdef _OBSOLETE_CODE /* Was originally used for Load() operator */
|
||||
/*******************************************************************************
|
||||
*
|
||||
* FUNCTION: AcpiExOpcode_1A_1T_0R
|
||||
|
@ -244,10 +245,12 @@ AcpiExOpcode_1A_1T_0R (
|
|||
|
||||
switch (WalkState->Opcode)
|
||||
{
|
||||
#ifdef _OBSOLETE_CODE
|
||||
case AML_LOAD_OP:
|
||||
|
||||
Status = AcpiExLoadOp (Operand[0], Operand[1], WalkState);
|
||||
break;
|
||||
#endif
|
||||
|
||||
default: /* Unknown opcode */
|
||||
|
||||
|
@ -262,7 +265,7 @@ Cleanup:
|
|||
|
||||
return_ACPI_STATUS (Status);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
/*******************************************************************************
|
||||
*
|
||||
|
@ -274,6 +277,8 @@ Cleanup:
|
|||
*
|
||||
* DESCRIPTION: Execute opcode with one argument, one target, and a
|
||||
* return value.
|
||||
* January 2022: Added Load operator, with new ACPI 6.4
|
||||
* semantics.
|
||||
*
|
||||
******************************************************************************/
|
||||
|
||||
|
@ -303,6 +308,7 @@ AcpiExOpcode_1A_1T_1R (
|
|||
case AML_FIND_SET_LEFT_BIT_OP:
|
||||
case AML_FIND_SET_RIGHT_BIT_OP:
|
||||
case AML_FROM_BCD_OP:
|
||||
case AML_LOAD_OP:
|
||||
case AML_TO_BCD_OP:
|
||||
case AML_CONDITIONAL_REF_OF_OP:
|
||||
|
||||
|
@ -404,6 +410,18 @@ AcpiExOpcode_1A_1T_1R (
|
|||
}
|
||||
break;
|
||||
|
||||
case AML_LOAD_OP: /* Result1 = Load (Operand[0], Result1) */
|
||||
|
||||
ReturnDesc->Integer.Value = 0;
|
||||
Status = AcpiExLoadOp (Operand[0], ReturnDesc, WalkState);
|
||||
if (ACPI_SUCCESS (Status))
|
||||
{
|
||||
/* Return -1 (non-zero) indicates success */
|
||||
|
||||
ReturnDesc->Integer.Value = 0xFFFFFFFFFFFFFFFF;
|
||||
}
|
||||
break;
|
||||
|
||||
case AML_TO_BCD_OP: /* ToBcd (Operand, Result) */
|
||||
|
||||
ReturnDesc->Integer.Value = 0;
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
*****************************************************************************/
|
||||
|
||||
/*
|
||||
* Copyright (C) 2000 - 2021, Intel Corp.
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
*****************************************************************************/
|
||||
|
||||
/*
|
||||
* Copyright (C) 2000 - 2021, Intel Corp.
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
*****************************************************************************/
|
||||
|
||||
/*
|
||||
* Copyright (C) 2000 - 2021, Intel Corp.
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
*****************************************************************************/
|
||||
|
||||
/*
|
||||
* Copyright (C) 2000 - 2021, Intel Corp.
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
*****************************************************************************/
|
||||
|
||||
/*
|
||||
* Copyright (C) 2000 - 2021, Intel Corp.
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
*****************************************************************************/
|
||||
|
||||
/*
|
||||
* Copyright (C) 2000 - 2021, Intel Corp.
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
*****************************************************************************/
|
||||
|
||||
/*
|
||||
* Copyright (C) 2000 - 2021, Intel Corp.
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
*****************************************************************************/
|
||||
|
||||
/*
|
||||
* Copyright (C) 2000 - 2021, Intel Corp.
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
*****************************************************************************/
|
||||
|
||||
/*
|
||||
* Copyright (C) 2000 - 2021, Intel Corp.
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
*****************************************************************************/
|
||||
|
||||
/*
|
||||
* Copyright (C) 2000 - 2021, Intel Corp.
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
*****************************************************************************/
|
||||
|
||||
/*
|
||||
* Copyright (C) 2000 - 2021, Intel Corp.
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
*****************************************************************************/
|
||||
|
||||
/*
|
||||
* Copyright (C) 2000 - 2021, Intel Corp.
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
*****************************************************************************/
|
||||
|
||||
/*
|
||||
* Copyright (C) 2000 - 2021, Intel Corp.
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
@ -157,7 +157,7 @@ AcpiExSystemWaitMutex (
|
|||
*
|
||||
* FUNCTION: AcpiExSystemDoStall
|
||||
*
|
||||
* PARAMETERS: HowLong - The amount of time to stall,
|
||||
* PARAMETERS: HowLongUs - The amount of time to stall,
|
||||
* in microseconds
|
||||
*
|
||||
* RETURN: Status
|
||||
|
@ -172,7 +172,7 @@ AcpiExSystemWaitMutex (
|
|||
|
||||
ACPI_STATUS
|
||||
AcpiExSystemDoStall (
|
||||
UINT32 HowLong)
|
||||
UINT32 HowLongUs)
|
||||
{
|
||||
ACPI_STATUS Status = AE_OK;
|
||||
|
||||
|
@ -180,21 +180,26 @@ AcpiExSystemDoStall (
|
|||
ACPI_FUNCTION_ENTRY ();
|
||||
|
||||
|
||||
if (HowLong > 255) /* 255 microseconds */
|
||||
if (HowLongUs > 255)
|
||||
{
|
||||
/*
|
||||
* Longer than 255 usec, this is an error
|
||||
* Longer than 255 microseconds, this is an error
|
||||
*
|
||||
* (ACPI specifies 100 usec as max, but this gives some slack in
|
||||
* order to support existing BIOSs)
|
||||
*/
|
||||
ACPI_ERROR ((AE_INFO,
|
||||
"Time parameter is too large (%u)", HowLong));
|
||||
"Time parameter is too large (%u)", HowLongUs));
|
||||
Status = AE_AML_OPERAND_VALUE;
|
||||
}
|
||||
else
|
||||
{
|
||||
AcpiOsStall (HowLong);
|
||||
if (HowLongUs > 100)
|
||||
{
|
||||
ACPI_WARNING ((AE_INFO,
|
||||
"Time parameter %u us > 100 us violating ACPI spec, please fix the firmware.", HowLongUs));
|
||||
}
|
||||
AcpiOsStall (HowLongUs);
|
||||
}
|
||||
|
||||
return (Status);
|
||||
|
@ -205,7 +210,7 @@ AcpiExSystemDoStall (
|
|||
*
|
||||
* FUNCTION: AcpiExSystemDoSleep
|
||||
*
|
||||
* PARAMETERS: HowLong - The amount of time to sleep,
|
||||
* PARAMETERS: HowLongMs - The amount of time to sleep,
|
||||
* in milliseconds
|
||||
*
|
||||
* RETURN: None
|
||||
|
@ -216,7 +221,7 @@ AcpiExSystemDoStall (
|
|||
|
||||
ACPI_STATUS
|
||||
AcpiExSystemDoSleep (
|
||||
UINT64 HowLong)
|
||||
UINT64 HowLongMs)
|
||||
{
|
||||
ACPI_FUNCTION_ENTRY ();
|
||||
|
||||
|
@ -225,16 +230,28 @@ AcpiExSystemDoSleep (
|
|||
|
||||
AcpiExExitInterpreter ();
|
||||
|
||||
/*
|
||||
* Warn users about excessive sleep times, so ASL code can be improved to
|
||||
* use polling or similar techniques.
|
||||
*/
|
||||
if (HowLongMs > 10)
|
||||
{
|
||||
ACPI_WARNING ((AE_INFO,
|
||||
"Firmware issue: Excessive sleep time (0x%8.8X%8.8X ms > 10 ms)"
|
||||
" in ACPI Control Method",
|
||||
ACPI_FORMAT_UINT64 (HowLongMs)));
|
||||
}
|
||||
|
||||
/*
|
||||
* For compatibility with other ACPI implementations and to prevent
|
||||
* accidental deep sleeps, limit the sleep time to something reasonable.
|
||||
*/
|
||||
if (HowLong > ACPI_MAX_SLEEP)
|
||||
if (HowLongMs > ACPI_MAX_SLEEP)
|
||||
{
|
||||
HowLong = ACPI_MAX_SLEEP;
|
||||
HowLongMs = ACPI_MAX_SLEEP;
|
||||
}
|
||||
|
||||
AcpiOsSleep (HowLong);
|
||||
AcpiOsSleep (HowLongMs);
|
||||
|
||||
/* And now we must get the interpreter again */
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
*****************************************************************************/
|
||||
|
||||
/*
|
||||
* Copyright (C) 2000 - 2021, Intel Corp.
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
*****************************************************************************/
|
||||
|
||||
/*
|
||||
* Copyright (C) 2000 - 2021, Intel Corp.
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
*****************************************************************************/
|
||||
|
||||
/*
|
||||
* Copyright (C) 2000 - 2021, Intel Corp.
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
*****************************************************************************/
|
||||
|
||||
/*
|
||||
* Copyright (C) 2000 - 2021, Intel Corp.
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
*****************************************************************************/
|
||||
|
||||
/*
|
||||
* Copyright (C) 2000 - 2021, Intel Corp.
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
******************************************************************************/
|
||||
|
||||
/*
|
||||
* Copyright (C) 2000 - 2021, Intel Corp.
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
******************************************************************************/
|
||||
|
||||
/*
|
||||
* Copyright (C) 2000 - 2021, Intel Corp.
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
@ -525,7 +525,7 @@ AcpiHwGetBitRegisterInfo (
|
|||
* RETURN: Status
|
||||
*
|
||||
* DESCRIPTION: Write the PM1 A/B control registers. These registers are
|
||||
* different than than the PM1 A/B status and enable registers
|
||||
* different than the PM1 A/B status and enable registers
|
||||
* in that different values can be written to the A/B registers.
|
||||
* Most notably, the SLP_TYP bits can be different, as per the
|
||||
* values returned from the _Sx predefined methods.
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
*****************************************************************************/
|
||||
|
||||
/*
|
||||
* Copyright (C) 2000 - 2021, Intel Corp.
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
*****************************************************************************/
|
||||
|
||||
/*
|
||||
* Copyright (C) 2000 - 2021, Intel Corp.
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
*****************************************************************************/
|
||||
|
||||
/*
|
||||
* Copyright (C) 2000 - 2021, Intel Corp.
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
*****************************************************************************/
|
||||
|
||||
/*
|
||||
* Copyright (C) 2000 - 2021, Intel Corp.
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
*****************************************************************************/
|
||||
|
||||
/*
|
||||
* Copyright (C) 2000 - 2021, Intel Corp.
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
*****************************************************************************/
|
||||
|
||||
/*
|
||||
* Copyright (C) 2000 - 2021, Intel Corp.
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
@ -51,7 +51,7 @@
|
|||
/* Common info for tool signons */
|
||||
|
||||
#define ACPICA_NAME "Intel ACPI Component Architecture"
|
||||
#define ACPICA_COPYRIGHT "Copyright (c) 2000 - 2021 Intel Corporation"
|
||||
#define ACPICA_COPYRIGHT "Copyright (c) 2000 - 2022 Intel Corporation"
|
||||
|
||||
#if ACPI_MACHINE_WIDTH == 64
|
||||
#define ACPI_WIDTH " (64-bit version)"
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
*****************************************************************************/
|
||||
|
||||
/*
|
||||
* Copyright (C) 2000 - 2021, Intel Corp.
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
*****************************************************************************/
|
||||
|
||||
/*
|
||||
* Copyright (C) 2000 - 2021, Intel Corp.
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
*****************************************************************************/
|
||||
|
||||
/*
|
||||
* Copyright (C) 2000 - 2021, Intel Corp.
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
*****************************************************************************/
|
||||
|
||||
/*
|
||||
* Copyright (C) 2000 - 2021, Intel Corp.
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
*****************************************************************************/
|
||||
|
||||
/*
|
||||
* Copyright (C) 2000 - 2021, Intel Corp.
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
*****************************************************************************/
|
||||
|
||||
/*
|
||||
* Copyright (C) 2000 - 2021, Intel Corp.
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
*****************************************************************************/
|
||||
|
||||
/*
|
||||
* Copyright (C) 2000 - 2021, Intel Corp.
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
@ -98,6 +98,7 @@ typedef enum
|
|||
ACPI_DMT_FLAGS0,
|
||||
ACPI_DMT_FLAGS1,
|
||||
ACPI_DMT_FLAGS2,
|
||||
ACPI_DMT_FLAGS8_2,
|
||||
ACPI_DMT_FLAGS4,
|
||||
ACPI_DMT_FLAGS4_0,
|
||||
ACPI_DMT_FLAGS4_4,
|
||||
|
@ -280,6 +281,7 @@ extern ACPI_DMTABLE_INFO AcpiDmTableInfoAestGicError[];
|
|||
extern ACPI_DMTABLE_INFO AcpiDmTableInfoAestXface[];
|
||||
extern ACPI_DMTABLE_INFO AcpiDmTableInfoAestXrupt[];
|
||||
extern ACPI_DMTABLE_INFO AcpiDmTableInfoAgdi[];
|
||||
extern ACPI_DMTABLE_INFO AcpiDmTableInfoApmtNode[];
|
||||
extern ACPI_DMTABLE_INFO AcpiDmTableInfoAsf0[];
|
||||
extern ACPI_DMTABLE_INFO AcpiDmTableInfoAsf1[];
|
||||
extern ACPI_DMTABLE_INFO AcpiDmTableInfoAsf1a[];
|
||||
|
@ -294,6 +296,8 @@ extern ACPI_DMTABLE_INFO AcpiDmTableInfoBert[];
|
|||
extern ACPI_DMTABLE_INFO AcpiDmTableInfoBgrt[];
|
||||
extern ACPI_DMTABLE_INFO AcpiDmTableInfoCedtHdr[];
|
||||
extern ACPI_DMTABLE_INFO AcpiDmTableInfoCedt0[];
|
||||
extern ACPI_DMTABLE_INFO AcpiDmTableInfoCedt1[];
|
||||
extern ACPI_DMTABLE_INFO AcpiDmTableInfoCedt1_te[];
|
||||
extern ACPI_DMTABLE_INFO AcpiDmTableInfoCpep[];
|
||||
extern ACPI_DMTABLE_INFO AcpiDmTableInfoCpep0[];
|
||||
extern ACPI_DMTABLE_INFO AcpiDmTableInfoCsrt0[];
|
||||
|
@ -315,6 +319,7 @@ extern ACPI_DMTABLE_INFO AcpiDmTableInfoDmar1[];
|
|||
extern ACPI_DMTABLE_INFO AcpiDmTableInfoDmar2[];
|
||||
extern ACPI_DMTABLE_INFO AcpiDmTableInfoDmar3[];
|
||||
extern ACPI_DMTABLE_INFO AcpiDmTableInfoDmar4[];
|
||||
extern ACPI_DMTABLE_INFO AcpiDmTableInfoDmar5[];
|
||||
extern ACPI_DMTABLE_INFO AcpiDmTableInfoDrtm[];
|
||||
extern ACPI_DMTABLE_INFO AcpiDmTableInfoDrtm0[];
|
||||
extern ACPI_DMTABLE_INFO AcpiDmTableInfoDrtm0a[];
|
||||
|
@ -421,6 +426,7 @@ extern ACPI_DMTABLE_INFO AcpiDmTableInfoMadt13[];
|
|||
extern ACPI_DMTABLE_INFO AcpiDmTableInfoMadt14[];
|
||||
extern ACPI_DMTABLE_INFO AcpiDmTableInfoMadt15[];
|
||||
extern ACPI_DMTABLE_INFO AcpiDmTableInfoMadt16[];
|
||||
extern ACPI_DMTABLE_INFO AcpiDmTableInfoMadt17[];
|
||||
extern ACPI_DMTABLE_INFO AcpiDmTableInfoMadtHdr[];
|
||||
extern ACPI_DMTABLE_INFO AcpiDmTableInfoMcfg[];
|
||||
extern ACPI_DMTABLE_INFO AcpiDmTableInfoMcfg0[];
|
||||
|
@ -463,7 +469,6 @@ extern ACPI_DMTABLE_INFO AcpiDmTableInfoNhlt6b[];
|
|||
extern ACPI_DMTABLE_INFO AcpiDmTableInfoNhlt7[];
|
||||
extern ACPI_DMTABLE_INFO AcpiDmTableInfoNhlt7a[];
|
||||
extern ACPI_DMTABLE_INFO AcpiDmTableInfoNhlt7b[];
|
||||
extern ACPI_DMTABLE_INFO AcpiDmTableInfoNhlt8[];
|
||||
extern ACPI_DMTABLE_INFO AcpiDmTableInfoNhlt9[];
|
||||
extern ACPI_DMTABLE_INFO AcpiDmTableInfoPhatHdr[];
|
||||
extern ACPI_DMTABLE_INFO AcpiDmTableInfoPhat0[];
|
||||
|
@ -626,6 +631,10 @@ void
|
|||
AcpiDmDumpAest (
|
||||
ACPI_TABLE_HEADER *Table);
|
||||
|
||||
void
|
||||
AcpiDmDumpApmt (
|
||||
ACPI_TABLE_HEADER *Table);
|
||||
|
||||
void
|
||||
AcpiDmDumpAsf (
|
||||
ACPI_TABLE_HEADER *Table);
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
*****************************************************************************/
|
||||
|
||||
/*
|
||||
* Copyright (C) 2000 - 2021, Intel Corp.
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
*****************************************************************************/
|
||||
|
||||
/*
|
||||
* Copyright (C) 2000 - 2021, Intel Corp.
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
*****************************************************************************/
|
||||
|
||||
/*
|
||||
* Copyright (C) 2000 - 2021, Intel Corp.
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
*****************************************************************************/
|
||||
|
||||
/*
|
||||
* Copyright (C) 2000 - 2021, Intel Corp.
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
*****************************************************************************/
|
||||
|
||||
/*
|
||||
* Copyright (C) 2000 - 2021, Intel Corp.
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
*****************************************************************************/
|
||||
|
||||
/*
|
||||
* Copyright (C) 2000 - 2021, Intel Corp.
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
*****************************************************************************/
|
||||
|
||||
/*
|
||||
* Copyright (C) 2000 - 2021, Intel Corp.
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
*****************************************************************************/
|
||||
|
||||
/*
|
||||
* Copyright (C) 2000 - 2021, Intel Corp.
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
*****************************************************************************/
|
||||
|
||||
/*
|
||||
* Copyright (C) 2000 - 2021, Intel Corp.
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
*****************************************************************************/
|
||||
|
||||
/*
|
||||
* Copyright (C) 2000 - 2021, Intel Corp.
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
*****************************************************************************/
|
||||
|
||||
/*
|
||||
* Copyright (C) 2000 - 2021, Intel Corp.
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
*****************************************************************************/
|
||||
|
||||
/*
|
||||
* Copyright (C) 2000 - 2021, Intel Corp.
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
*****************************************************************************/
|
||||
|
||||
/*
|
||||
* Copyright (C) 2000 - 2021, Intel Corp.
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
*****************************************************************************/
|
||||
|
||||
/*
|
||||
* Copyright (C) 2000 - 2021, Intel Corp.
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
*****************************************************************************/
|
||||
|
||||
/*
|
||||
* Copyright (C) 2000 - 2021, Intel Corp.
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
*****************************************************************************/
|
||||
|
||||
/*
|
||||
* Copyright (C) 2000 - 2021, Intel Corp.
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
*****************************************************************************/
|
||||
|
||||
/*
|
||||
* Copyright (C) 2000 - 2021, Intel Corp.
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
@ -46,7 +46,7 @@
|
|||
|
||||
/* Current ACPICA subsystem version in YYYYMMDD format */
|
||||
|
||||
#define ACPI_CA_VERSION 0x20211217
|
||||
#define ACPI_CA_VERSION 0x20220331
|
||||
|
||||
#include "acconfig.h"
|
||||
#include "actypes.h"
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
*****************************************************************************/
|
||||
|
||||
/*
|
||||
* Copyright (C) 2000 - 2021, Intel Corp.
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
*****************************************************************************/
|
||||
|
||||
/*
|
||||
* Copyright (C) 2000 - 2021, Intel Corp.
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
*****************************************************************************/
|
||||
|
||||
/*
|
||||
* Copyright (C) 2000 - 2021, Intel Corp.
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
*****************************************************************************/
|
||||
|
||||
/*
|
||||
* Copyright (C) 2000 - 2021, Intel Corp.
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
*****************************************************************************/
|
||||
|
||||
/*
|
||||
* Copyright (C) 2000 - 2021, Intel Corp.
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
*****************************************************************************/
|
||||
|
||||
/*
|
||||
* Copyright (C) 2000 - 2021, Intel Corp.
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
@ -117,6 +117,7 @@
|
|||
#define ACPI_AEST4_OFFSET(f) (UINT16) ACPI_OFFSET (ACPI_AEST_GIC,f)
|
||||
#define ACPI_AEST0D_OFFSET(f) (UINT16) ACPI_OFFSET (ACPI_AEST_NODE_INTERFACE,f)
|
||||
#define ACPI_AEST0E_OFFSET(f) (UINT16) ACPI_OFFSET (ACPI_AEST_NODE_INTERRUPT,f)
|
||||
#define ACPI_APMTN_OFFSET(f) (UINT16) ACPI_OFFSET (ACPI_APMT_NODE,f)
|
||||
#define ACPI_ASF0_OFFSET(f) (UINT16) ACPI_OFFSET (ACPI_ASF_INFO,f)
|
||||
#define ACPI_ASF1_OFFSET(f) (UINT16) ACPI_OFFSET (ACPI_ASF_ALERT,f)
|
||||
#define ACPI_ASF1a_OFFSET(f) (UINT16) ACPI_OFFSET (ACPI_ASF_ALERT_DATA,f)
|
||||
|
@ -126,6 +127,8 @@
|
|||
#define ACPI_ASF4_OFFSET(f) (UINT16) ACPI_OFFSET (ACPI_ASF_ADDRESS,f)
|
||||
#define ACPI_CEDT_OFFSET(f) (UINT16) ACPI_OFFSET (ACPI_CEDT_HEADER, f)
|
||||
#define ACPI_CEDT0_OFFSET(f) (UINT16) ACPI_OFFSET (ACPI_CEDT_CHBS, f)
|
||||
#define ACPI_CEDT1_OFFSET(f) (UINT16) ACPI_OFFSET (ACPI_CEDT_CFMWS, f)
|
||||
#define ACPI_CEDT1_TE_OFFSET(f) (UINT16) ACPI_OFFSET (ACPI_CEDT_CFMWS_TARGET_ELEMENT, f)
|
||||
#define ACPI_CPEP0_OFFSET(f) (UINT16) ACPI_OFFSET (ACPI_CPEP_POLLING,f)
|
||||
#define ACPI_CSRT0_OFFSET(f) (UINT16) ACPI_OFFSET (ACPI_CSRT_GROUP,f)
|
||||
#define ACPI_CSRT1_OFFSET(f) (UINT16) ACPI_OFFSET (ACPI_CSRT_SHARED_INFO,f)
|
||||
|
@ -137,6 +140,7 @@
|
|||
#define ACPI_DMAR2_OFFSET(f) (UINT16) ACPI_OFFSET (ACPI_DMAR_ATSR,f)
|
||||
#define ACPI_DMAR3_OFFSET(f) (UINT16) ACPI_OFFSET (ACPI_DMAR_RHSA,f)
|
||||
#define ACPI_DMAR4_OFFSET(f) (UINT16) ACPI_OFFSET (ACPI_DMAR_ANDD,f)
|
||||
#define ACPI_DMAR5_OFFSET(f) (UINT16) ACPI_OFFSET (ACPI_DMAR_SATC,f)
|
||||
#define ACPI_DRTM0_OFFSET(f) (UINT16) ACPI_OFFSET (ACPI_DRTM_VTABLE_LIST,f)
|
||||
#define ACPI_DRTM1_OFFSET(f) (UINT16) ACPI_OFFSET (ACPI_DRTM_RESOURCE_LIST,f)
|
||||
#define ACPI_DRTM1a_OFFSET(f) (UINT16) ACPI_OFFSET (ACPI_DRTM_RESOURCE,f)
|
||||
|
@ -206,6 +210,7 @@
|
|||
#define ACPI_MADT14_OFFSET(f) (UINT16) ACPI_OFFSET (ACPI_MADT_GENERIC_REDISTRIBUTOR,f)
|
||||
#define ACPI_MADT15_OFFSET(f) (UINT16) ACPI_OFFSET (ACPI_MADT_GENERIC_TRANSLATOR,f)
|
||||
#define ACPI_MADT16_OFFSET(f) (UINT16) ACPI_OFFSET (ACPI_MADT_MULTIPROC_WAKEUP,f)
|
||||
#define ACPI_MADT17_OFFSET(f) (UINT16) ACPI_OFFSET (ACPI_MADT_OEM_DATA,f)
|
||||
#define ACPI_MADTH_OFFSET(f) (UINT16) ACPI_OFFSET (ACPI_SUBTABLE_HEADER,f)
|
||||
#define ACPI_MCFG0_OFFSET(f) (UINT16) ACPI_OFFSET (ACPI_MCFG_ALLOCATION,f)
|
||||
#define ACPI_MPST0_OFFSET(f) (UINT16) ACPI_OFFSET (ACPI_MPST_POWER_NODE,f)
|
||||
|
@ -235,10 +240,8 @@
|
|||
#define ACPI_NHLT6_OFFSET(f) (UINT16) ACPI_OFFSET (ACPI_NHLT_VENDOR_MIC_CONFIG,f)
|
||||
#define ACPI_NHLT6A_OFFSET(f) (UINT16) ACPI_OFFSET (ACPI_NHLT_VENDOR_MIC_COUNT,f)
|
||||
#define ACPI_NHLT6B_OFFSET(f) (UINT16) ACPI_OFFSET (ACPI_NHLT_RENDER_FEEDBACK_DEVICE_SPECIFIC_CONFIG,f)
|
||||
#define ACPI_NHLT7_OFFSET(f) (UINT16) ACPI_OFFSET (ACPI_NHLT_LINUX_SPECIFIC_COUNT,f)
|
||||
#define ACPI_NHLT7A_OFFSET(f) (UINT16) ACPI_OFFSET (ACPI_NHLT_LINUX_SPECIFIC_DATA,f)
|
||||
#define ACPI_NHLT7B_OFFSET(f) (UINT16) ACPI_OFFSET (ACPI_NHLT_LINUX_SPECIFIC_DATA_B,f)
|
||||
#define ACPI_NHLT8_OFFSET(f) (UINT16) ACPI_OFFSET (ACPI_NHLT_TABLE_TERMINATOR,f)
|
||||
#define ACPI_NHLT7_OFFSET(f) (UINT16) ACPI_OFFSET (ACPI_NHLT_DEVICE_INFO_COUNT,f)
|
||||
#define ACPI_NHLT7A_OFFSET(f) (UINT16) ACPI_OFFSET (ACPI_NHLT_DEVICE_INFO,f)
|
||||
#define ACPI_NHLT9_OFFSET(f) (UINT16) ACPI_OFFSET (ACPI_NHLT_MIC_SNR_SENSITIVITY_EXTENSION,f)
|
||||
#define ACPI_PCCT0_OFFSET(f) (UINT16) ACPI_OFFSET (ACPI_PCCT_SUBSPACE,f)
|
||||
#define ACPI_PCCT1_OFFSET(f) (UINT16) ACPI_OFFSET (ACPI_PCCT_HW_REDUCED,f)
|
||||
|
@ -307,6 +310,7 @@
|
|||
#define ACPI_AEST0D_FLAG_OFFSET(f,o) ACPI_FLAG_OFFSET (ACPI_AEST_NODE_INTERFACE,f,o)
|
||||
#define ACPI_AEST0E_FLAG_OFFSET(f,o) ACPI_FLAG_OFFSET (ACPI_AEST_NODE_INTERRUPT,f,o)
|
||||
#define ACPI_AGDI_FLAG_OFFSET(f,o) ACPI_FLAG_OFFSET (ACPI_TABLE_AGDI,f,o)
|
||||
#define ACPI_APMTN_FLAG_OFFSET(f,o) ACPI_FLAG_OFFSET (ACPI_APMT_NODE,f,o)
|
||||
#define ACPI_BGRT_FLAG_OFFSET(f,o) ACPI_FLAG_OFFSET (ACPI_TABLE_BGRT,f,o)
|
||||
#define ACPI_DRTM_FLAG_OFFSET(f,o) ACPI_FLAG_OFFSET (ACPI_TABLE_DRTM,f,o)
|
||||
#define ACPI_DRTM1a_FLAG_OFFSET(f,o) ACPI_FLAG_OFFSET (ACPI_DRTM_RESOURCE,f,o)
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
*****************************************************************************/
|
||||
|
||||
/*
|
||||
* Copyright (C) 2000 - 2021, Intel Corp.
|
||||
* Copyright (C) 2000 - 2022, Intel Corp.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue