mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-28 20:16:09 +00:00
is not set This patch does the following, 1. Removes RDT code if CONFIG_RDT_ENABLED flag is not set. 2. Set the CONFIG_RDT_ENABLED flag only on platforms that support RDT so that build scripts will automatically reflect the config. Tracked-On: #3715 Signed-off-by: Yin Fengwei <fengwei.yin@intel.com> Signed-off-by: Vijay Dhanraj <vijay.dhanraj@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
25 lines
678 B
C
25 lines
678 B
C
/*
|
|
* Copyright (C) 2019 Intel Corporation. All rights reserved.
|
|
*
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
*/
|
|
|
|
#include <board.h>
|
|
#include <vtd.h>
|
|
#include <pci.h>
|
|
|
|
#ifndef CONFIG_ACPI_PARSE_ENABLED
|
|
#error "DMAR info is not available, please set ACPI_PARSE_ENABLED to y in Kconfig. \
|
|
Or use acrn-config tool to generate platform DMAR info."
|
|
#endif
|
|
|
|
struct dmar_info plat_dmar_info;
|
|
|
|
#ifdef CONFIG_RDT_ENABLED
|
|
struct platform_clos_info platform_l2_clos_array[MAX_PLATFORM_CLOS_NUM];
|
|
struct platform_clos_info platform_l3_clos_array[MAX_PLATFORM_CLOS_NUM];
|
|
#endif
|
|
|
|
const struct cpu_state_table board_cpu_state_tbl;
|
|
const union pci_bdf plat_hidden_pdevs[MAX_HIDDEN_PDEVS_NUM];
|