Home
last modified time | relevance | path

Searched refs:SmrrSize (Results 1 – 8 of 8) sorted by relevance

/device/linaro/bootloader/edk2/QuarkSocPkg/QuarkNorthCluster/Library/SmmCpuFeaturesLib/
DSmmCpuFeaturesLib.c71 if ((CpuHotPlugData->SmrrSize < SIZE_4KB) || in SmmCpuFeaturesInitializeProcessor()
72 (CpuHotPlugData->SmrrSize != GetPowerOfTwo32 (CpuHotPlugData->SmrrSize)) || in SmmCpuFeaturesInitializeProcessor()
73 ((CpuHotPlugData->SmrrBase & ~(CpuHotPlugData->SmrrSize - 1)) != CpuHotPlugData->SmrrBase)) { in SmmCpuFeaturesInitializeProcessor()
82 …RT_ID, QUARK_NC_HOST_BRIDGE_IA32_MTRR_SMRR_PHYSMASK, (~(CpuHotPlugData->SmrrSize - 1) & EFI_MSR_SM… in SmmCpuFeaturesInitializeProcessor()
/device/linaro/bootloader/edk2/UefiCpuPkg/Library/SmmCpuFeaturesLib/
DSmmCpuFeaturesLib.c263 if ((CpuHotPlugData->SmrrSize < SIZE_4KB) || in SmmCpuFeaturesInitializeProcessor()
264 (CpuHotPlugData->SmrrSize != GetPowerOfTwo32 (CpuHotPlugData->SmrrSize)) || in SmmCpuFeaturesInitializeProcessor()
265 … ((CpuHotPlugData->SmrrBase & ~(CpuHotPlugData->SmrrSize - 1)) != CpuHotPlugData->SmrrBase)) { in SmmCpuFeaturesInitializeProcessor()
275 AsmWriteMsr64 (mSmrrPhysMaskMsr, (~(CpuHotPlugData->SmrrSize - 1) & EFI_MSR_SMRR_MASK)); in SmmCpuFeaturesInitializeProcessor()
/device/linaro/bootloader/edk2/UefiCpuPkg/Include/
DCpuHotPlugData.h30 UINT32 SmrrSize; member
/device/linaro/bootloader/edk2/UefiCpuPkg/PiSmmCpuDxeSmm/
DPiSmmCpuDxeSmm.c575 FindSmramInfo (&mCpuHotPlugData.SmrrBase, &mCpuHotPlugData.SmrrSize); in PiCpuSmmEntry()
953 OUT UINT32 *SmrrSize in FindSmramInfo() argument
1012 *SmrrSize = (UINT32)CurrentSmramRange->PhysicalSize; in FindSmramInfo()
1019 *SmrrSize = (UINT32)(*SmrrSize + SmramRanges[Index].PhysicalSize); in FindSmramInfo()
1021 …} else if ((*SmrrBase + *SmrrSize) == SmramRanges[Index].CpuStart && SmramRanges[Index].PhysicalSi… in FindSmramInfo()
1022 *SmrrSize = (UINT32)(*SmrrSize + SmramRanges[Index].PhysicalSize); in FindSmramInfo()
1029 DEBUG ((EFI_D_INFO, "SMRR Base: 0x%x, SMRR Size: 0x%x\n", *SmrrBase, *SmrrSize)); in FindSmramInfo()
DSmmProfile.c278 (Address >= mCpuHotPlugData.SmrrBase + mCpuHotPlugData.SmrrSize)) { in IsAddressValid()
312 } else if (Address > (mCpuHotPlugData.SmrrBase + mCpuHotPlugData.SmrrSize - BASE_2MB)) { in IsAddressSplit()
313 if ((Address - (mCpuHotPlugData.SmrrBase + mCpuHotPlugData.SmrrSize - BASE_2MB)) < BASE_2MB) { in IsAddressSplit()
870 mSmmProfileBase->TsegSize = mCpuHotPlugData.SmrrSize; in InitSmmProfileInternal()
909 mProtectionMemRange[0].Range.Top = mCpuHotPlugData.SmrrBase + mCpuHotPlugData.SmrrSize; in InitSmmProfileInternal()
DPiSmmCpuDxeSmm.h661 OUT UINT32 *SmrrSize
/device/linaro/bootloader/edk2/UefiCpuPkg/PiSmmCpuDxeSmm/Ia32/
DPageTbl.c108 (PFAddress < (mCpuHotPlugData.SmrrBase + mCpuHotPlugData.SmrrSize))) { in SmiPFHandler()
144 (PFAddress >= mCpuHotPlugData.SmrrBase + mCpuHotPlugData.SmrrSize)) { in SmiPFHandler()
/device/linaro/bootloader/edk2/UefiCpuPkg/PiSmmCpuDxeSmm/X64/
DPageTbl.c826 (PFAddress < (mCpuHotPlugData.SmrrBase + mCpuHotPlugData.SmrrSize))) { in SmiPFHandler()
862 (PFAddress >= mCpuHotPlugData.SmrrBase + mCpuHotPlugData.SmrrSize)) { in SmiPFHandler()