diff options
author | Yanan Wang <wangyanan55@huawei.com> | 2022-01-07 16:32:29 +0800 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2022-01-20 11:47:52 +0000 |
commit | 11b9eb1b8a96510508178746b258810392849b20 (patch) | |
tree | df3888ec721249a81e3adc375817ffffce15e1ed /common-user | |
parent | 28a60a59c06a13cb8dbbdbc06029f3d2031eb45d (diff) | |
download | qemu-11b9eb1b8a96510508178746b258810392849b20.zip qemu-11b9eb1b8a96510508178746b258810392849b20.tar.gz qemu-11b9eb1b8a96510508178746b258810392849b20.tar.bz2 |
hw/acpi/aml-build: Improve scalability of PPTT generation
Use g_queue APIs to reduce the nested loops and code indentation
with the processor hierarchy levels increasing. Consenquently,
it's more scalable to add new topology level to build_pptt.
No functional change intended.
Signed-off-by: Yanan Wang <wangyanan55@huawei.com>
Reviewed-by: Andrew Jones <drjones@redhat.com>
Message-id: 20220107083232.16256-4-wangyanan55@huawei.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'common-user')
0 files changed, 0 insertions, 0 deletions