]> xenbits.xensource.com Git - qemu-xen.git/commit
hw/loader: Restrict PC_ROM_* definitions to hw/i386/pc
authorPhilippe Mathieu-Daudé <philmd@redhat.com>
Fri, 17 Sep 2021 18:59:49 +0000 (20:59 +0200)
committerLaurent Vivier <laurent@vivier.eu>
Mon, 27 Sep 2021 08:57:21 +0000 (10:57 +0200)
commit72686c586dd655ef7b946a1295ab8cfbbbcae0ff
treede665dcddd6c4e7a168367f3f6168278f33f54fb
parentca577afc683d0380b5366bdba4c7f0fe5423d809
hw/loader: Restrict PC_ROM_* definitions to hw/i386/pc

The PC_ROM_* definitions are only used by the PC machine,
and are irrelevant to the other architectures / machines.
Reduce their scope by moving them to hw/i386/pc.c.

Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <20210917185949.2244956-1-philmd@redhat.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
hw/i386/pc.c
include/hw/loader.h