]> git.proxmox.com Git - mirror_qemu.git/commit - hw/i386/pc.c
hw/i386/pc: Extract the x86 generic fw_cfg code
authorPhilippe Mathieu-Daudé <philmd@redhat.com>
Mon, 16 Sep 2019 10:49:28 +0000 (12:49 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 16 Sep 2019 15:13:09 +0000 (17:13 +0200)
commit149c50cabcc4ea46a460d35fc876346ed441304c
tree740d2b527d961244c78d7b2192bbb5f30c5a9b2c
parent367607f9132e97614e7da0e6a45576c51e9db68c
hw/i386/pc: Extract the x86 generic fw_cfg code

Extract all the functions that are not PC-machine specific into
the (arch-specific) fw_cfg.c file. This will allow other X86-machine
to reuse these functions.

Suggested-by: Samuel Ortiz <sameo@linux.intel.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20190818225414.22590-16-philmd@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/i386/fw_cfg.c
hw/i386/fw_cfg.h
hw/i386/pc.c