aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThanos Makatos <thanos.makatos@nutanix.com>2020-12-02 04:44:02 -0500
committerThanos Makatos <thanos.makatos@nutanix.com>2020-12-02 04:44:02 -0500
commita623866f21bdc102f0d96cbd196a3080439caa30 (patch)
tree2c0d3c4e3250e4fefac06eb8436aa3d8ad736ddf
parent892de236f336f5cee84a864da2639e7c64998e98 (diff)
downloadlibvfio-user-a623866f21bdc102f0d96cbd196a3080439caa30.zip
libvfio-user-a623866f21bdc102f0d96cbd196a3080439caa30.tar.gz
libvfio-user-a623866f21bdc102f0d96cbd196a3080439caa30.tar.bz2
resue PCI config space size from system header
Signed-off-by: Thanos Makatos <thanos.makatos@nutanix.com>
-rw-r--r--include/pci.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/include/pci.h b/include/pci.h
index 2bf82b1..9511ba9 100644
--- a/include/pci.h
+++ b/include/pci.h
@@ -42,13 +42,6 @@ extern "C" {
#endif
/*
- * These are already defined in include/uapi/linux/pci_regs.h, however that
- * file doesn't seem to installed.
- */
-#define PCI_CFG_SPACE_SIZE 256
-#define PCI_CFG_SPACE_EXP_SIZE 4096
-
-/*
* TODO lots of the sizes of each member are defined in pci_regs.h, use those
* instead?
*/