qemu: Initial support for the qemu firmware config interface.
authorGerd Hoffmann <kraxel@redhat.com>
Thu, 30 May 2013 13:41:48 +0000 (15:41 +0200)
committerStefan Reinauer <stefan.reinauer@coreboot.org>
Wed, 5 Jun 2013 15:46:14 +0000 (17:46 +0200)
commit2b9620343bdde1055585182aeccb77726f047c8f
tree30db98215efb119e71ab0b4e82edeb378b03300e
parent019f0fc2c7ced8a7c02d5334a7ea4342aae97f55
qemu: Initial support for the qemu firmware config interface.

qemu has a special device to pass configuration information
from qemu to the firmware.  This patch adds initial support
the interface, namely some infrastructure, detection code and
a function to query the number of CPUs.

Change-Id: I43ff5f4fbf12334a91422aa38f514a82a1d5219e
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-on: http://review.coreboot.org/3343
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
src/mainboard/emulation/qemu-x86/Makefile.inc
src/mainboard/emulation/qemu-x86/fw_cfg.c [new file with mode: 0644]
src/mainboard/emulation/qemu-x86/fw_cfg.h [new file with mode: 0644]
src/mainboard/emulation/qemu-x86/fw_cfg_if.h [new file with mode: 0644]