Home
last modified time | relevance | path

Searched refs:Mtrr (Results 1 – 7 of 7) sorted by relevance

/device/linaro/bootloader/edk2/AppPkg/Applications/Sockets/WebServer/
DMtrr.c257 MTRR_SETTINGS Mtrr; in MemoryTypeRegistersPage() local
410 MtrrGetAllMtrrs ( &Mtrr ); in MemoryTypeRegistersPage()
434 for ( Count = 0; DIM ( Mtrr.Fixed.Mtrr ) > Count; Count++ ) { in MemoryTypeRegistersPage()
466 Mtrr.Fixed.Mtrr[ Count ]); in MemoryTypeRegistersPage()
542 PreviousType = Mtrr.Fixed.Mtrr[ 0 ] & 0xff; in MemoryTypeRegistersPage()
545 for ( Count = 0; DIM ( Mtrr.Fixed.Mtrr ) > Count; Count++ ) { in MemoryTypeRegistersPage()
549 Type = Mtrr.Fixed.Mtrr[ Count ]; in MemoryTypeRegistersPage()
667 Mtrr.Variables.Mtrr[ Count ].Base ); in MemoryTypeRegistersPage()
683 Mtrr.Variables.Mtrr[ Count ].Mask ); in MemoryTypeRegistersPage()
691 bValid = ( Mtrr.Variables.Mtrr[ Count ].Mask & VARIABLE_MTRR_VALID ) ? TRUE : FALSE; in MemoryTypeRegistersPage()
[all …]
DWebServer.inf51 Mtrr.c
54 Mtrr.c
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/PlatformInitPei/
DMemoryPeim.c167 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)…
205 …MtrrSetting.Variables.Mtrr[Index].Base = (MemOverflow & MTRR_LIB_CACHE_VALID_ADDRESS) | CacheWrite…
213 …MtrrSetting.Variables.Mtrr[Index].Mask = ((~(MemoryLength - 1)) & MTRR_LIB_CACHE_VALID_ADDRESS) | …
[all …]
/device/linaro/bootloader/edk2/UefiCpuPkg/Library/MtrrLib/
DMtrrLib.c347 FixedSettings->Mtrr[Index] = in MtrrGetFixedMtrrWorker()
404 VariableSettings->Mtrr[Index].Base = in MtrrGetVariableMtrrWorker()
406 VariableSettings->Mtrr[Index].Mask = 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()
585 if ((VariableSettings->Mtrr[Index].Mask & MTRR_LIB_CACHE_MTRR_ENABLED) != 0) { in MtrrGetMemoryAttributeInVariableMtrrWorker()
587 VariableMtrr[Index].BaseAddress = (VariableSettings->Mtrr[Index].Base & MtrrValidAddressMask); in MtrrGetMemoryAttributeInVariableMtrrWorker()
588 …VariableMtrr[Index].Length = ((~(VariableSettings->Mtrr[Index].Mask & MtrrValidAddressMask)) … in MtrrGetMemoryAttributeInVariableMtrrWorker()
589 VariableMtrr[Index].Type = (VariableSettings->Mtrr[Index].Base & 0x0ff); in MtrrGetMemoryAttributeInVariableMtrrWorker()
953 VariableSettings->Mtrr[Index].Base = 0; in InvalidateMtrr()
[all …]
/device/linaro/bootloader/edk2/QuarkSocPkg/QuarkNorthCluster/Library/MtrrLib/
DMtrrLib.c345 FixedSettings->Mtrr[Index] = in MtrrGetFixedMtrrWorker()
402 VariableSettings->Mtrr[Index].Base = in MtrrGetVariableMtrrWorker()
404 VariableSettings->Mtrr[Index].Mask = 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()
561 if ((VariableSettings->Mtrr[Index].Mask & MTRR_LIB_CACHE_MTRR_ENABLED) != 0) { in MtrrGetMemoryAttributeInVariableMtrrWorker()
563 VariableMtrr[Index].BaseAddress = (VariableSettings->Mtrr[Index].Base & MtrrValidAddressMask); in MtrrGetMemoryAttributeInVariableMtrrWorker()
564 …VariableMtrr[Index].Length = ((~(VariableSettings->Mtrr[Index].Mask & MtrrValidAddressMask)) … in MtrrGetMemoryAttributeInVariableMtrrWorker()
565 VariableMtrr[Index].Type = (VariableSettings->Mtrr[Index].Base & 0x0ff); in MtrrGetMemoryAttributeInVariableMtrrWorker()
929 VariableSettings->Mtrr[Index].Base = 0; in InvalidateMtrr()
[all …]
/device/linaro/bootloader/edk2/UefiCpuPkg/Include/Library/
DMtrrLib.h95 MTRR_VARIABLE_SETTING Mtrr[MTRR_NUMBER_OF_VARIABLE_MTRR]; member
102 UINT64 Mtrr[MTRR_NUMBER_OF_FIXED_MTRR]; member
/device/linaro/bootloader/edk2/UefiCpuPkg/CpuDxe/
DCpuDxe.c776 RegValue = MtrrFixedSettings.Mtrr[Index]; in RefreshGcdMemoryAttributes()