hv: remove obsolete declarations related to RDT

Since CAT support for hybrid platform is landed, let's remove some old declarations
which are no longer used.

Tracked-On: #6690
Signed-off-by: Tw <wei.tan@intel.com>
This commit is contained in:
Tw 2022-04-26 09:22:14 +08:00 committed by acrnsi-robot
parent 26cab008e8
commit e2f7b1fc51
2 changed files with 2 additions and 5 deletions

View File

@ -23,8 +23,6 @@ const uint16_t hv_clos = 0U;
* each resource's clos max value to have consistent allocation.
*/
#ifdef CONFIG_RDT_ENABLED
/* TODO: once config-tool is ready to generate this information for us, we could remove these static definitions */
extern struct rdt_type res_cap_info[RDT_NUM_RESOURCES];
/*
* @pre res == RDT_RESOURCE_L3 || res == RDT_RESOURCE_L2 || res == RDT_RESOURCE_MBA

View File

@ -11,6 +11,7 @@
#include <asm/host_pm.h>
#include <pci.h>
#include <misc_cfg.h>
#include <asm/rdt.h>
/* forward declarations */
struct acrn_vm;
@ -29,9 +30,7 @@ struct vmsix_on_msi_info {
extern struct dmar_info plat_dmar_info;
#ifdef CONFIG_RDT_ENABLED
extern union clos_config platform_l2_clos_array[MAX_CACHE_CLOS_NUM_ENTRIES];
extern union clos_config platform_l3_clos_array[MAX_CACHE_CLOS_NUM_ENTRIES];
extern union clos_config platform_mba_clos_array[MAX_MBA_CLOS_NUM_ENTRIES];
extern struct rdt_type res_cap_info[RDT_NUM_RESOURCES];
#endif
extern const struct cpu_state_table board_cpu_state_tbl;