]> git.proxmox.com Git - mirror_qemu.git/commit
tests: acpi: make pointer to RSDP 64bit
authorIgor Mammedov <imammedo@redhat.com>
Thu, 2 May 2019 14:51:52 +0000 (16:51 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 20 May 2019 22:40:02 +0000 (18:40 -0400)
commit9c0418852b6ed8fc677211767b11e4fdecc51a6e
tree9699c8b85faaac47f34029bd7928a3b4c4fa05b4
parentf2f616cea44018c8280795f40ce66b04a164dfa8
tests: acpi: make pointer to RSDP 64bit

In case of UEFI, RSDP doesn't have to be located in lowmem,
it could be placed at any address. Make sure that test won't
break if it is placed above the first 4Gb of address space.

PS:
While at it cleanup some local variables as we don't really
need them.

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <1556808723-226478-5-git-send-email-imammedo@redhat.com>
Reviewed-by: Wei Yang <richardw.yang@linux.intel.com>
Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
tests/acpi-utils.c
tests/acpi-utils.h
tests/bios-tables-test.c