hw/i386/pc: move shared x86 functions to x86.c and export them
commit549e984e67d8b3ea868be4ba935cecb9c1e753dc
authorSergio Lopez <slp@redhat.com>
Tue, 8 Oct 2019 09:56:49 +0000 (8 11:56 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 22 Oct 2019 07:38:42 +0000 (22 09:38 +0200)
treeca3d3bda8ff3619f79a1ee356de497ac07577dfa
parent86a9a7916b6b69e429f078dd9c89c2907ff43308
hw/i386/pc: move shared x86 functions to x86.c and export them

Move x86 functions that will be shared between PC and non-PC machine
types to x86.c, along with their helpers.

Signed-off-by: Sergio Lopez <slp@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Stefano Garzarella <sgarzare@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
hw/i386/Makefile.objs
hw/i386/pc.c
hw/i386/pc_piix.c
hw/i386/pc_q35.c
hw/i386/pc_sysfw.c
hw/i386/x86.c [new file with mode: 0644]
include/hw/i386/pc.h
include/hw/i386/x86.h [new file with mode: 0644]