mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-05-02 05:34:04 +00:00
ve820.c is a common file in arch/x86/guest/ now, so move function of create_sos_vm_e820() to this file to make code structure clear; Tracked-On: #4458 Signed-off-by: Victor Sun <victor.sun@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
35 lines
828 B
C
35 lines
828 B
C
/*
|
|
* Copyright (C) 2019 Intel Corporation. All rights reserved.
|
|
*
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
*/
|
|
#ifndef BOARD_H
|
|
#define BOARD_H
|
|
|
|
#include <types.h>
|
|
#include <misc_cfg.h>
|
|
#include <host_pm.h>
|
|
#include <pci.h>
|
|
|
|
/* forward declarations */
|
|
struct acrn_vm;
|
|
|
|
struct platform_clos_info {
|
|
uint16_t mba_delay;
|
|
uint32_t clos_mask;
|
|
uint32_t msr_index;
|
|
};
|
|
|
|
extern struct dmar_info plat_dmar_info;
|
|
|
|
#ifdef CONFIG_RDT_ENABLED
|
|
extern struct platform_clos_info platform_l2_clos_array[MAX_PLATFORM_CLOS_NUM];
|
|
extern struct platform_clos_info platform_l3_clos_array[MAX_PLATFORM_CLOS_NUM];
|
|
extern struct platform_clos_info platform_mba_clos_array[MAX_PLATFORM_CLOS_NUM];
|
|
#endif
|
|
|
|
extern const struct cpu_state_table board_cpu_state_tbl;
|
|
extern const union pci_bdf plat_hidden_pdevs[MAX_HIDDEN_PDEVS_NUM];
|
|
|
|
#endif /* BOARD_H */
|