]> git.proxmox.com Git - mirror_qemu.git/commit
hw/acpi-build: Make next_base easy to follow
authorDou Liyang <douly.fnst@cn.fujitsu.com>
Thu, 14 Dec 2017 04:08:55 +0000 (12:08 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 18 Jan 2018 19:52:38 +0000 (21:52 +0200)
commit6cf6fe394acdf9b0025ae36ff75dfa8dc68d5bca
tree58d79845917efba17d84ef390e40a05b02d72e60
parentd82c4f82e0233da642c36c40ef8da781fee689bc
hw/acpi-build: Make next_base easy to follow

It may be hard to read the assignment statement of "next_base", so

S/next_base += (1ULL << 32) - pcms->below_4g_mem_size;
 /next_base = mem_base + mem_len;

... for readability.

No functionality change.

Signed-off-by: Dou Liyang <douly.fnst@cn.fujitsu.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/i386/acpi-build.c