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

@@ -337,7 +337,7 @@ void init_msr_emulation(struct acrn_vcpu *vcpu)
}
/* RDT-A disabled: CPUID.07H.EBX[12], CPUID.10H */
for (msr = MSR_IA32_L3_MASK_0; msr < MSR_IA32_BNDCFGS; msr++) {
for (msr = MSR_IA32_L3_MASK_BASE; msr < MSR_IA32_BNDCFGS; msr++) {
enable_msr_interception(msr_bitmap, msr, INTERCEPT_READ_WRITE);
}