[edk2-devel] [PATCH v1 1/1] MdePkg: Add AML FieldList OpCode definitions
Liming Gao
liming.gao at intel.com
Fri Apr 10 03:19:00 UTC 2020
Reviewed-by: Liming Gao <liming.gao at intel.com>
> -----Original Message-----
> From: Liu, Zhiguang <zhiguang.liu at intel.com>
> Sent: Friday, April 10, 2020 9:44 AM
> To: devel at edk2.groups.io; pierre.gondois at arm.com
> Cc: Kinney, Michael D <michael.d.kinney at intel.com>; Gao, Liming <liming.gao at intel.com>; Sami.Mujawar at arm.com; nd at arm.com
> Subject: RE: [edk2-devel] [PATCH v1 1/1] MdePkg: Add AML FieldList OpCode definitions
>
> Reviewed-by: Zhiguang Liu <zhiguang.liu at intel.com>
>
> -----Original Message-----
> From: devel at edk2.groups.io [mailto:devel at edk2.groups.io] On Behalf Of PierreGondois
> Sent: Monday, March 30, 2020 4:53 PM
> To: devel at edk2.groups.io
> Cc: Pierre Gondois <Pierre.Gondois at arm.com>; Kinney, Michael D <michael.d.kinney at intel.com>; Gao, Liming
> <liming.gao at intel.com>; Sami.Mujawar at arm.com; nd at arm.com
> Subject: [edk2-devel] [PATCH v1 1/1] MdePkg: Add AML FieldList OpCode definitions
>
> From: Pierre Gondois <pierre.gondois at arm.com>
>
> The ACPI specification, version 6.3, January 2019,
> defines the Named Objects Encoding for FieldElements
> in section '20.2.5.2 Named Objects Encoding'.
> FieldElements can be one of the following:
> NamedField | ReservedField | AccessField |
> ExtendedAccessField | ConnectField
>
> Some of these keywords are starting with an opcode,
> allowing to identify their type.
> E.g.: ReservedField := 0x00 PkgLength
>
> This patch adds these FieldElement opcodes definitions to
> the list of AML Opcode definitions.
>
> Signed-off-by: Pierre Gondois <pierre.gondois at arm.com>
> ---
>
> The changes can be seen at https://github.com/PierreARM/edk2/commits/695_Add_FieldElement_OpCode_v1
>
> Notes:
> v1:
> - Add AML Field Element OpCodes [Pierre]
>
> MdePkg/Include/IndustryStandard/AcpiAml.h | 8 ++++++++
> 1 file changed, 8 insertions(+)
>
> diff --git a/MdePkg/Include/IndustryStandard/AcpiAml.h b/MdePkg/Include/IndustryStandard/AcpiAml.h
> index 3dd5408b359f9192e2fa9cedd0260a0f6bb5603a..74622e912ea42c2a04379362843473cac5ea5856 100644
> --- a/MdePkg/Include/IndustryStandard/AcpiAml.h
> +++ b/MdePkg/Include/IndustryStandard/AcpiAml.h
> @@ -168,4 +168,12 @@
> #define AML_EXT_BANK_FIELD_OP 0x87
> #define AML_EXT_DATA_REGION_OP 0x88
>
> +//
> +// FieldElement OpCode
> +//
> +#define AML_FIELD_RESERVED_OP 0x00
> +#define AML_FIELD_ACCESS_OP 0x01
> +#define AML_FIELD_CONNECTION_OP 0x02
> +#define AML_FIELD_EXT_ACCESS_OP 0x03
> +
> #endif
> --
> 'Guid(CE165669-3EF3-493F-B85D-6190EE5B9759)'
>
>
>
-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#57179): https://edk2.groups.io/g/devel/message/57179
Mute This Topic: https://groups.io/mt/72648021/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-
More information about the edk2-devel-archive
mailing list