hw/acpi/aml-build: Add Processor hierarchy node structure
authorYanan Wang <wangyanan55@huawei.com>
Wed, 20 Oct 2021 14:21:21 +0000 (22:21 +0800)
committerRichard Henderson <richard.henderson@linaro.org>
Thu, 21 Oct 2021 01:17:54 +0000 (18:17 -0700)
commit9de36ef87270b669219b973362a948347ab382f4
tree48065adcb181c86a62b8b614ce7362e76a127903
parent72b0527ff6ab09502e0b320050eb086fc4d61d26
hw/acpi/aml-build: Add Processor hierarchy node structure

Add a generic API to build Processor hierarchy node structure (Type 0),
which is strictly consistent with descriptions in ACPI 6.3: 5.2.29.1.

This function will be used to build ACPI PPTT table for cpu topology.

Co-developed-by: Ying Fang <fangying1@huawei.com>
Co-developed-by: Henglong Fan <fanhenglong@huawei.com>
Co-developed-by: Yanan Wang <wangyanan55@huawei.com>
Signed-off-by: Yanan Wang <wangyanan55@huawei.com>
Reviewed-by: Andrew Jones <drjones@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Message-Id: <20211020142125.7516-5-wangyanan55@huawei.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
hw/acpi/aml-build.c