1 /*
2  * Copyright (C) 2019-2022 Intel Corporation.
3  *
4  * SPDX-License-Identifier: BSD-3-Clause
5  */
6 #ifndef BOARD_H
7 #define BOARD_H
8 
9 #include <types.h>
10 #include <board_info.h>
11 #include <asm/host_pm.h>
12 #include <pci.h>
13 #include <misc_cfg.h>
14 #include <asm/rdt.h>
15 
16 /* forward declarations */
17 struct acrn_vm;
18 
19 /* user configured mask and MSR info for each CLOS*/
20 union clos_config {
21 	uint16_t mba_delay;
22 	uint32_t clos_mask;
23 };
24 
25 struct vmsix_on_msi_info {
26 	union pci_bdf bdf;
27 	uint64_t mmio_base;
28 };
29 
30 extern struct dmar_info plat_dmar_info;
31 
32 #ifdef CONFIG_RDT_ENABLED
33 extern struct rdt_type res_cap_info[RDT_NUM_RESOURCES];
34 #endif
35 
36 extern const struct cpu_state_table board_cpu_state_tbl;
37 extern struct acrn_cpufreq_limits cpufreq_limits[MAX_PCPU_NUM];
38 extern const union pci_bdf plat_hidden_pdevs[MAX_HIDDEN_PDEVS_NUM];
39 extern const struct vmsix_on_msi_info vmsix_on_msi_devs[MAX_VMSIX_ON_MSI_PDEVS_NUM];
40 
41 #endif /* BOARD_H */
42