mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-01-04 15:14:27 +00:00
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:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user