mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-06-16 10:47:26 +00:00
MISRA C requires specified bounds for arrays declaration, previous declaration of platform_clos_array in board.h does not meet the requirement. Tracked-On: #3987 Signed-off-by: Victor Sun <victor.sun@intel.com>
18 lines
489 B
C
18 lines
489 B
C
/*
|
|
* Copyright (C) 2019 Intel Corporation. All rights reserved.
|
|
*
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
*/
|
|
|
|
#include <board.h>
|
|
#include <vtd.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;
|
|
struct platform_clos_info platform_clos_array[MAX_PLATFORM_CLOS_NUM];
|
|
const struct cpu_state_table board_cpu_state_tbl;
|