Home
last modified time | relevance | path

Searched refs:MtrrSetting (Results 1 – 4 of 4) sorted by relevance

/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/PlatformInitPei/
DMemoryPeim.c100 MTRR_SETTINGS MtrrSetting;
165 ZeroMem (&MtrrSetting, sizeof(MTRR_SETTINGS));
167 MtrrSetting.Fixed.Mtrr[Index]=0x0606060606060606;
170 MtrrSetting.Fixed.Mtrr[Index]=0x0505050505050505;
177MtrrSetting.Variables.Mtrr[0].Base = (FixedPcdGet32 (PcdFlashAreaBaseAddress) | CacheWriteProtecte…
178MtrrSetting.Variables.Mtrr[0].Mask = ((~((UINT64)(FixedPcdGet32 (PcdFlashAreaSize) - 1))) & MTRR_L…
183MtrrSetting.Variables.Mtrr[Index].Base = (MemOverflow & MTRR_LIB_CACHE_VALID_ADDRESS) | CacheWrite…
186MtrrSetting.Variables.Mtrr[Index].Mask = ((~(MemoryLength - 1)) & MTRR_LIB_CACHE_VALID_ADDRESS) | …
197MtrrSetting.Variables.Mtrr[Index].Base = ((MaxMemoryLength - MemoryLengthUc) & MTRR_LIB_CACHE_VALI…
198MtrrSetting.Variables.Mtrr[Index].Mask= ((~(MemoryLengthUc - 1)) & MTRR_LIB_CACHE_VALID_ADDRESS)…
[all …]
/device/linaro/bootloader/edk2/UefiCpuPkg/Library/MtrrLib/
DMtrrLib.c204 IN MTRR_SETTINGS *MtrrSetting in MtrrGetDefaultMemoryTypeWorker() argument
207 if (MtrrSetting == NULL) { in MtrrGetDefaultMemoryTypeWorker()
210 return (MTRR_MEMORY_CACHE_TYPE) (MtrrSetting->MtrrDefType & 0x7); in MtrrGetDefaultMemoryTypeWorker()
393 IN MTRR_SETTINGS *MtrrSetting, in MtrrGetVariableMtrrWorker() argument
403 if (MtrrSetting == NULL) { in MtrrGetVariableMtrrWorker()
409 VariableSettings->Mtrr[Index].Base = MtrrSetting->Variables.Mtrr[Index].Base; in MtrrGetVariableMtrrWorker()
410 VariableSettings->Mtrr[Index].Mask = MtrrSetting->Variables.Mtrr[Index].Mask; in MtrrGetVariableMtrrWorker()
1015 IN MTRR_SETTINGS *MtrrSetting, in GetMemoryCacheTypeFromMtrrType() argument
1035 return MtrrGetDefaultMemoryTypeWorker (MtrrSetting); in GetMemoryCacheTypeFromMtrrType()
1159 IN MTRR_SETTINGS *MtrrSetting, in MtrrGetMemoryAttributeByAddressWorker() argument
[all …]
/device/linaro/bootloader/edk2/QuarkSocPkg/QuarkNorthCluster/Library/MtrrLib/
DMtrrLib.c202 IN MTRR_SETTINGS *MtrrSetting in MtrrGetDefaultMemoryTypeWorker() argument
205 if (MtrrSetting == NULL) { in MtrrGetDefaultMemoryTypeWorker()
208 return (MTRR_MEMORY_CACHE_TYPE) (MtrrSetting->MtrrDefType & 0x7); in MtrrGetDefaultMemoryTypeWorker()
391 IN MTRR_SETTINGS *MtrrSetting, in MtrrGetVariableMtrrWorker() argument
401 if (MtrrSetting == NULL) { in MtrrGetVariableMtrrWorker()
407 VariableSettings->Mtrr[Index].Base = MtrrSetting->Variables.Mtrr[Index].Base; in MtrrGetVariableMtrrWorker()
408 VariableSettings->Mtrr[Index].Mask = MtrrSetting->Variables.Mtrr[Index].Mask; in MtrrGetVariableMtrrWorker()
991 IN MTRR_SETTINGS *MtrrSetting, in GetMemoryCacheTypeFromMtrrType() argument
1011 return MtrrGetDefaultMemoryTypeWorker (MtrrSetting); in GetMemoryCacheTypeFromMtrrType()
1135 IN MTRR_SETTINGS *MtrrSetting, in MtrrGetMemoryAttributeByAddressWorker() argument
[all …]
/device/linaro/bootloader/edk2/UefiCpuPkg/Include/Library/
DMtrrLib.h278 OUT MTRR_SETTINGS *MtrrSetting
293 IN MTRR_SETTINGS *MtrrSetting
380 IN OUT MTRR_SETTINGS *MtrrSetting,