diff options
author | Yang Zhong <yang.zhong@intel.com> | 2017-03-30 18:32:53 +0800 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2017-03-30 10:47:29 +0200 |
commit | ac9488f26528394856b94bda0797f5bd9c69a26a (patch) | |
tree | b014a3d8bb551b6c63f9e6954e76500fe1508448 /include/pci.h | |
parent | ea7d0e304775e81c07269e22b4412d328c3fb2fa (diff) | |
download | qboot-ac9488f26528394856b94bda0797f5bd9c69a26a.zip qboot-ac9488f26528394856b94bda0797f5bd9c69a26a.tar.gz qboot-ac9488f26528394856b94bda0797f5bd9c69a26a.tar.bz2 |
qboot: enable mmconfig
Need to enable mmconfig in qboot and also need to reserve
mmconfig space in bios.
Signed-off-by: Yang Zhong <yang.zhong@intel.com>
Message-Id: <1490869973-4562-1-git-send-email-yang.zhong@intel.com>
[Do not affect e820 memory map on i440FX chipset. - Paolo]
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/pci.h')
-rw-r--r-- | include/pci.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/pci.h b/include/pci.h index bb37b86..7f40f38 100644 --- a/include/pci.h +++ b/include/pci.h @@ -72,4 +72,7 @@ static inline uint8_t pci_config_readb(uint16_t bdf, uint32_t addr) #define PCI_DEVICE_ID_INTEL_82371SB_1 0x7010 #define PCI_DEVICE_ID_INTEL_82371AB 0x7111 +#define PCIE_MMCONFIG_BASE 0xb0000000 +#define PCIE_MMCONFIG_SIZE (256 * 1024 * 1024) + #endif |