Searched refs:MtrrSetting (Results 1 – 4 of 4) sorted by relevance
100 MTRR_SETTINGS MtrrSetting;165 ZeroMem (&MtrrSetting, sizeof(MTRR_SETTINGS));167 MtrrSetting.Fixed.Mtrr[Index]=0x0606060606060606;170 MtrrSetting.Fixed.Mtrr[Index]=0x0505050505050505;177 …MtrrSetting.Variables.Mtrr[0].Base = (FixedPcdGet32 (PcdFlashAreaBaseAddress) | CacheWriteProtecte…178 …MtrrSetting.Variables.Mtrr[0].Mask = ((~((UINT64)(FixedPcdGet32 (PcdFlashAreaSize) - 1))) & MTRR_L…183 …MtrrSetting.Variables.Mtrr[Index].Base = (MemOverflow & MTRR_LIB_CACHE_VALID_ADDRESS) | CacheWrite…186 …MtrrSetting.Variables.Mtrr[Index].Mask = ((~(MemoryLength - 1)) & MTRR_LIB_CACHE_VALID_ADDRESS) | …197 …MtrrSetting.Variables.Mtrr[Index].Base = ((MaxMemoryLength - MemoryLengthUc) & MTRR_LIB_CACHE_VALI…198 …MtrrSetting.Variables.Mtrr[Index].Mask= ((~(MemoryLengthUc - 1)) & MTRR_LIB_CACHE_VALID_ADDRESS)…[all …]
204 IN MTRR_SETTINGS *MtrrSetting in MtrrGetDefaultMemoryTypeWorker() argument207 if (MtrrSetting == NULL) { in MtrrGetDefaultMemoryTypeWorker()210 return (MTRR_MEMORY_CACHE_TYPE) (MtrrSetting->MtrrDefType & 0x7); in MtrrGetDefaultMemoryTypeWorker()393 IN MTRR_SETTINGS *MtrrSetting, in MtrrGetVariableMtrrWorker() argument403 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() argument1035 return MtrrGetDefaultMemoryTypeWorker (MtrrSetting); in GetMemoryCacheTypeFromMtrrType()1159 IN MTRR_SETTINGS *MtrrSetting, in MtrrGetMemoryAttributeByAddressWorker() argument[all …]
202 IN MTRR_SETTINGS *MtrrSetting in MtrrGetDefaultMemoryTypeWorker() argument205 if (MtrrSetting == NULL) { in MtrrGetDefaultMemoryTypeWorker()208 return (MTRR_MEMORY_CACHE_TYPE) (MtrrSetting->MtrrDefType & 0x7); in MtrrGetDefaultMemoryTypeWorker()391 IN MTRR_SETTINGS *MtrrSetting, in MtrrGetVariableMtrrWorker() argument401 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() argument1011 return MtrrGetDefaultMemoryTypeWorker (MtrrSetting); in GetMemoryCacheTypeFromMtrrType()1135 IN MTRR_SETTINGS *MtrrSetting, in MtrrGetMemoryAttributeByAddressWorker() argument[all …]
278 OUT MTRR_SETTINGS *MtrrSetting293 IN MTRR_SETTINGS *MtrrSetting380 IN OUT MTRR_SETTINGS *MtrrSetting,