HV: fix misra violation on platform clos array

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>
This commit is contained in:
Victor Sun
2019-11-01 15:01:52 +08:00
committed by wenlingz
parent c77d275e9d
commit 3411f00b5b
17 changed files with 30 additions and 27 deletions

View File

@@ -335,15 +335,12 @@
#define MSR_IA32_QM_EVTSEL 0x00000C8DU
#define MSR_IA32_QM_CTR 0x00000C8EU
#define MSR_IA32_PQR_ASSOC 0x00000C8FU
#define MSR_IA32_L3_MASK_0 0x00000C90U
#define MSR_IA32_L3_MASK_BASE 0x00000C90U
#define MSR_IA32_XSS 0x00000DA0U
#define MSR_IA32_PKG_HDC_CTL 0x00000DB0U
#define MSR_IA32_PM_CTL1 0x00000DB1U
#define MSR_IA32_THREAD_STALL 0x00000DB2U
#define MSR_IA32_L2_MASK_0 0x00000D10U
#define MSR_IA32_L2_MASK_1 0x00000D11U
#define MSR_IA32_L2_MASK_2 0x00000D12U
#define MSR_IA32_L2_MASK_3 0x00000D13U
#define MSR_IA32_L2_MASK_BASE 0x00000D10U
#define MSR_IA32_BNDCFGS 0x00000D90U
#define MSR_IA32_EFER 0xC0000080U
#define MSR_IA32_STAR 0xC0000081U