diff options
| author | Marc MarĂ | 2016-05-23 20:11:33 +0200 |
|---|---|---|
| committer | Paolo Bonzini | 2016-07-14 15:50:52 +0200 |
| commit | b2a575a1c652904600869e774e45bf4c9ed72c55 (patch) | |
| tree | 8e513030be9a11c9bc6d971812a01d2e8d1725ef /hw/nvram | |
| parent | Merge remote-tracking branch 'remotes/ehabkost/tags/x86-pull-request' into st... (diff) | |
| download | qemu-b2a575a1c652904600869e774e45bf4c9ed72c55.tar.gz qemu-b2a575a1c652904600869e774e45bf4c9ed72c55.tar.xz qemu-b2a575a1c652904600869e774e45bf4c9ed72c55.zip | |
Add optionrom compatible with fw_cfg DMA version
This optionrom is based on linuxboot.S.
Signed-off-by: Marc MarĂ <markmb@redhat.com>
Signed-off-by: Richard W.M. Jones <rjones@redhat.com>
Message-Id: <1464027093-24073-2-git-send-email-rjones@redhat.com>
[Add -fno-toplevel-reorder, support clang without -m16. - Paolo]
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/nvram')
| -rw-r--r-- | hw/nvram/fw_cfg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/nvram/fw_cfg.c b/hw/nvram/fw_cfg.c index 74a0079ca6..2873030ade 100644 --- a/hw/nvram/fw_cfg.c +++ b/hw/nvram/fw_cfg.c @@ -552,7 +552,7 @@ static bool is_version_1(void *opaque, int version_id) return version_id == 1; } -static bool fw_cfg_dma_enabled(void *opaque) +bool fw_cfg_dma_enabled(void *opaque) { FWCfgState *s = opaque; |
