mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-05-02 21:46:58 +00:00
IF CAT is supported, and we want setup initial values to IA32_Type_MASK_n MSRs, We can define a global structure platform_clos_array[PLATFORM_CLOS_NUM], it has 2 members: 1.msr_index, the MSR address of IA32_Type_MASK_n 2.clos_masky, the initial valuses Global varible platform_clos_num is the number of IA32_Type_MASK_n, from IA32_Type_MASK_0 to IA32_Type_MASK_<CLOS_MAX_NUM - 1> Tracked-On: #2462 Signed-off-by: Tao Yuhong <yuhong.tao@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
20 lines
353 B
C
20 lines
353 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>
|
|
|
|
struct platform_clos_info {
|
|
uint32_t clos_mask;
|
|
uint32_t msr_index;
|
|
};
|
|
|
|
extern struct platform_clos_info platform_clos_array[];
|
|
extern uint16_t platform_clos_num;
|
|
|
|
#endif /* BOARD_H */
|