Searched refs:MtrrSettings (Results 1 – 4 of 4) sorted by relevance
/device/linaro/bootloader/edk2/OvmfPkg/PlatformPei/ |
D | MemDetect.c | 417 MTRR_SETTINGS MtrrSettings; in QemuInitializeRam() local 484 MtrrGetAllMtrrs (&MtrrSettings); in QemuInitializeRam() 489 ASSERT ((MtrrSettings.MtrrDefType & BIT11) == 0); in QemuInitializeRam() 490 ASSERT ((MtrrSettings.MtrrDefType & BIT10) == 0); in QemuInitializeRam() 491 ASSERT ((MtrrSettings.MtrrDefType & 0xFF) == 0); in QemuInitializeRam() 496 SetMem (&MtrrSettings.Fixed, sizeof MtrrSettings.Fixed, 0x06); in QemuInitializeRam() 497 ZeroMem (&MtrrSettings.Variables, sizeof MtrrSettings.Variables); in QemuInitializeRam() 498 MtrrSettings.MtrrDefType |= BIT11 | BIT10 | 6; in QemuInitializeRam() 499 MtrrSetAllMtrrs (&MtrrSettings); in QemuInitializeRam()
|
/device/linaro/bootloader/edk2/QuarkPlatformPkg/Platform/Pei/PlatformInit/ |
D | MemoryCallback.c | 110 MTRR_SETTINGS MtrrSettings; in MemoryDiscoveredPpiNotifyCallback() local 135 MtrrGetAllMtrrs (&MtrrSettings); in MemoryDiscoveredPpiNotifyCallback() 140 Status = MtrrSetMemoryAttributeInMtrrSettings (&MtrrSettings, 0, MemoryLength, CacheWriteBack); in MemoryDiscoveredPpiNotifyCallback() 147 …Status = MtrrSetMemoryAttributeInMtrrSettings (&MtrrSettings, 0x30000, SIZE_64KB, CacheUncacheable… in MemoryDiscoveredPpiNotifyCallback() 153 MtrrSetAllMtrrs (&MtrrSettings); in MemoryDiscoveredPpiNotifyCallback()
|
/device/linaro/bootloader/edk2/UefiCpuPkg/CpuDxe/ |
D | CpuDxe.c | 370 MTRR_SETTINGS MtrrSettings; in CpuSetMemoryAttributes() local 436 MtrrGetAllMtrrs (&MtrrSettings); in CpuSetMemoryAttributes() 443 &MtrrSettings, // ProcedureArgument in CpuSetMemoryAttributes()
|
/device/linaro/bootloader/edk2/UefiCpuPkg/PiSmmCpuDxeSmm/ |
D | CpuS3.c | 195 MTRR_SETTINGS *MtrrSettings; in LoadMtrrData() local 197 MtrrSettings = (MTRR_SETTINGS *) (UINTN) MtrrTable; in LoadMtrrData() 198 MtrrSetAllMtrrs (MtrrSettings); in LoadMtrrData()
|