From f18039718631a4e548350d9e2eb59874fca35015 Mon Sep 17 00:00:00 2001 From: Shixiong Zhang Date: Fri, 4 Sep 2020 02:31:48 -0400 Subject: [PATCH] acrn-config: add MACROs for mmcfg bus number add 2 MACROs: DEFAULT_PCI_MMCFG_START_BUS and DEFAULT_PCI_MMCFG_END_BUS in platform_acpi_info.h. Tracked-On: #5233 Signed-off-by: Shixiong Zhang Acked-by: Victor Sun --- misc/vm_configs/boards/ehl-crb-b/platform_acpi_info.h | 4 ++++ misc/vm_configs/boards/nuc7i7dnb/platform_acpi_info.h | 4 ++++ misc/vm_configs/boards/whl-ipc-i5/platform_acpi_info.h | 4 ++++ misc/vm_configs/boards/whl-ipc-i7/platform_acpi_info.h | 4 ++++ 4 files changed, 16 insertions(+) diff --git a/misc/vm_configs/boards/ehl-crb-b/platform_acpi_info.h b/misc/vm_configs/boards/ehl-crb-b/platform_acpi_info.h index 5ac5f6e4f..82fb15688 100644 --- a/misc/vm_configs/boards/ehl-crb-b/platform_acpi_info.h +++ b/misc/vm_configs/boards/ehl-crb-b/platform_acpi_info.h @@ -82,4 +82,8 @@ /* PCI mmcfg base of MCFG */ #define DEFAULT_PCI_MMCFG_BASE 0xc0000000UL +/* PCI mmcfg bus number of MCFG */ +#define DEFAULT_PCI_MMCFG_START_BUS 0x0U +#define DEFAULT_PCI_MMCFG_END_BUS 0xFFU + #endif /* PLATFORM_ACPI_INFO_H */ diff --git a/misc/vm_configs/boards/nuc7i7dnb/platform_acpi_info.h b/misc/vm_configs/boards/nuc7i7dnb/platform_acpi_info.h index 4f2a84492..17c20cccd 100644 --- a/misc/vm_configs/boards/nuc7i7dnb/platform_acpi_info.h +++ b/misc/vm_configs/boards/nuc7i7dnb/platform_acpi_info.h @@ -65,4 +65,8 @@ /* PCI mmcfg base of MCFG */ #define DEFAULT_PCI_MMCFG_BASE 0xe0000000UL +/* PCI mmcfg bus number of MCFG */ +#define DEFAULT_PCI_MMCFG_START_BUS 0x0U +#define DEFAULT_PCI_MMCFG_END_BUS 0xFFU + #endif /* PLATFORM_ACPI_INFO_H */ diff --git a/misc/vm_configs/boards/whl-ipc-i5/platform_acpi_info.h b/misc/vm_configs/boards/whl-ipc-i5/platform_acpi_info.h index bf6b1c3e5..8c63f7a37 100644 --- a/misc/vm_configs/boards/whl-ipc-i5/platform_acpi_info.h +++ b/misc/vm_configs/boards/whl-ipc-i5/platform_acpi_info.h @@ -69,4 +69,8 @@ /* PCI mmcfg base of MCFG */ #define DEFAULT_PCI_MMCFG_BASE 0xe0000000UL +/* PCI mmcfg bus number of MCFG */ +#define DEFAULT_PCI_MMCFG_START_BUS 0x0U +#define DEFAULT_PCI_MMCFG_END_BUS 0xFFU + #endif /* PLATFORM_ACPI_INFO_H */ diff --git a/misc/vm_configs/boards/whl-ipc-i7/platform_acpi_info.h b/misc/vm_configs/boards/whl-ipc-i7/platform_acpi_info.h index bf6b1c3e5..8c63f7a37 100644 --- a/misc/vm_configs/boards/whl-ipc-i7/platform_acpi_info.h +++ b/misc/vm_configs/boards/whl-ipc-i7/platform_acpi_info.h @@ -69,4 +69,8 @@ /* PCI mmcfg base of MCFG */ #define DEFAULT_PCI_MMCFG_BASE 0xe0000000UL +/* PCI mmcfg bus number of MCFG */ +#define DEFAULT_PCI_MMCFG_START_BUS 0x0U +#define DEFAULT_PCI_MMCFG_END_BUS 0xFFU + #endif /* PLATFORM_ACPI_INFO_H */