aboutsummaryrefslogtreecommitdiff
path: root/hw/misc/pvpanic-pci.c
diff options
context:
space:
mode:
authorAni Sinha <ani@anisinha.ca>2022-02-23 20:03:20 +0530
committerMichael S. Tsirkin <mst@redhat.com>2022-03-04 08:30:52 -0500
commit3818acf56480ae07f8801f9255b82fe587ef39c1 (patch)
tree5f79f446f93cea37fd91684fe9b92016d46b492b /hw/misc/pvpanic-pci.c
parentf8bdfbdba9082f20b414fe0b768c4e2882b31059 (diff)
downloadqemu-3818acf56480ae07f8801f9255b82fe587ef39c1.zip
qemu-3818acf56480ae07f8801f9255b82fe587ef39c1.tar.gz
qemu-3818acf56480ae07f8801f9255b82fe587ef39c1.tar.bz2
hw/smbios: code cleanup - use macro definitions for table header handles
This is a minor cleanup. Using macro definitions makes the code more readable. It is at once clear which tables use which handle numbers in their header. It also makes it easy to calculate the gaps between the numbers and update them if needed. Reviewed-by: Igor Mammedov <imammedo@redhat.com> Signed-off-by: Ani Sinha <ani@anisinha.ca> Message-Id: <20220223143322.927136-6-ani@anisinha.ca> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Diffstat (limited to 'hw/misc/pvpanic-pci.c')
0 files changed, 0 insertions, 0 deletions