mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-01-04 15:14:27 +00:00
hv: mod: do not use explicit arch name when including headers
Instead of "#include <x86/foo.h>", use "#include <asm/foo.h>". In other words, we are adopting the same practice in Linux kernel. Tracked-On: #5920 Signed-off-by: Liang Yi <yi.liang@intel.com> Reviewed-by: Jason Chen CJ <jason.cj.chen@intel.com>
This commit is contained in:
43
hypervisor/include/arch/x86/asm/board.h
Normal file
43
hypervisor/include/arch/x86/asm/board.h
Normal file
@@ -0,0 +1,43 @@
|
||||
/*
|
||||
* Copyright (C) 2019 Intel Corporation. All rights reserved.
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
#ifndef BOARD_H
|
||||
#define BOARD_H
|
||||
|
||||
#include <types.h>
|
||||
#include <board_info.h>
|
||||
#include <asm/host_pm.h>
|
||||
#include <pci.h>
|
||||
#include <misc_cfg.h>
|
||||
|
||||
/* forward declarations */
|
||||
struct acrn_vm;
|
||||
|
||||
struct platform_clos_info {
|
||||
union {
|
||||
uint16_t mba_delay;
|
||||
uint32_t clos_mask;
|
||||
}value;
|
||||
uint32_t msr_index;
|
||||
};
|
||||
|
||||
struct vmsix_on_msi_info {
|
||||
union pci_bdf bdf;
|
||||
uint64_t mmio_base;
|
||||
};
|
||||
|
||||
extern struct dmar_info plat_dmar_info;
|
||||
|
||||
#ifdef CONFIG_RDT_ENABLED
|
||||
extern struct platform_clos_info platform_l2_clos_array[MAX_CACHE_CLOS_NUM_ENTRIES];
|
||||
extern struct platform_clos_info platform_l3_clos_array[MAX_CACHE_CLOS_NUM_ENTRIES];
|
||||
extern struct platform_clos_info platform_mba_clos_array[MAX_MBA_CLOS_NUM_ENTRIES];
|
||||
#endif
|
||||
|
||||
extern const struct cpu_state_table board_cpu_state_tbl;
|
||||
extern const union pci_bdf plat_hidden_pdevs[MAX_HIDDEN_PDEVS_NUM];
|
||||
extern const struct vmsix_on_msi_info vmsix_on_msi_devs[MAX_VMSIX_ON_MSI_PDEVS_NUM];
|
||||
|
||||
#endif /* BOARD_H */
|
||||
Reference in New Issue
Block a user