Gabriel L. Somlo 3a5c76baf3 fw_cfg: factor out initialization of FW_CFG_ID (rev. number)
The fw_cfg documentation says this of the revision key (0x0001, FW_CFG_ID):

> A 32-bit little-endian unsigned int, this item is used as an interface
> revision number, and is currently set to 1 by all QEMU architectures
> which expose a fw_cfg device.

arm/virt doesn't.  It could be argued that that's an error in
"hw/arm/virt.c"; on the other hand, all of the other fw_cfg providing
boards set the interface version to 1 manually, despite the device
coming from the same, shared implementation. Therefore, instead of
adding

    fw_cfg_add_i32(fw_cfg, FW_CFG_ID, 1);

to arm/virt, consolidate all such existing calls in the fw_cfg
initialization code.

Signed-off-by: Gabriel Somlo <somlo@cmu.edu>
Message-Id: <1426789244-26318-1-git-send-email-somlo@cmu.edu>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2015-03-25 13:37:10 +01:00
2015-03-04 13:00:36 -05:00
…
2015-02-06 16:11:38 +00:00
2015-03-19 11:30:37 +03:00
2015-03-19 11:39:18 +03:00
2015-03-19 11:11:55 +03:00
…
2014-06-16 13:24:35 +02:00
…
2015-02-23 10:56:09 -05:00
2015-03-16 12:10:30 -04:00
…
…
…
2015-03-19 11:17:27 +03:00
…
2015-03-18 12:07:34 +01:00
2015-02-16 17:30:19 +01:00
…
2015-03-19 11:35:52 +03:00
2015-03-17 14:31:15 +01:00
2015-02-05 17:16:14 +01:00
2015-02-16 15:07:19 +00:00
2014-05-24 00:07:29 +04:00
…
2015-03-10 11:33:35 +01:00
…
2015-01-14 10:38:57 +01:00
2015-02-12 21:21:38 -08:00
…
2015-03-10 09:26:22 +01:00
2015-03-17 18:58:33 +00:00

Read the documentation in qemu-doc.html or on http://wiki.qemu-project.org

- QEMU team
S
Description
Original Xbox Emulator for Windows, macOS, and Linux (Active Development)
Readme GPL-2.0
721 MiB
0 Stars 1 Watchers 0 Forks
Languages
C 82.3%
C++ 6.9%
Python 3.5%
Dylan 2.7%
Shell 1.5%
Other 2.9%