diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2024-11-21 16:48:12 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2024-11-21 17:06:21 +0100 |
commit | edd88a99f6f5468840054d06cc002bafb84b875f (patch) | |
tree | 49e8c97f04881758847dc4884bfd4eb6a21a60c5 /src/fw/pciinit.c | |
parent | 1be8d771d57fb9c892d5a1958c94734b12d3dda5 (diff) | |
download | seabios-pci64-cfg.tar.gz |
add fwcfg override for pci_pad_mem64pci64-cfg
Allow setting pci_pad_mem64 via fw_cfg.
Usage: qemu -fw_cfg name=opt/org.seabios/pci64,string={yes,no}
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'src/fw/pciinit.c')
-rw-r--r-- | src/fw/pciinit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fw/pciinit.c b/src/fw/pciinit.c index df63acc1..5b4cf3bd 100644 --- a/src/fw/pciinit.c +++ b/src/fw/pciinit.c @@ -55,7 +55,7 @@ u64 pcimem64_end = BUILD_PCIMEM64_END; // Resource allocation limits static u64 pci_io_low_end = 0xa000; static u64 pci_mem64_top = 0; -static u32 pci_pad_mem64 = -1; +u32 pci_pad_mem64 = -1; struct pci_region_entry { struct pci_device *dev; |