Home
last modified time | relevance | path

Searched refs:Cpuid_RegEax (Results 1 – 2 of 2) sorted by relevance

/device/linaro/bootloader/edk2/IntelFsp2Pkg/Library/BaseCacheLib/
DCacheLib.c391 UINT32 Cpuid_RegEax; in SetCacheAttributes() local
393 AsmCpuid (CPUID_EXTENDED_FUNCTION, &Cpuid_RegEax, NULL, NULL, NULL); in SetCacheAttributes()
394 if (Cpuid_RegEax >= CPUID_VIR_PHY_ADDRESS_SIZE) { in SetCacheAttributes()
395 AsmCpuid (CPUID_VIR_PHY_ADDRESS_SIZE, &Cpuid_RegEax, NULL, NULL, NULL); in SetCacheAttributes()
396 ValidMtrrAddressMask = (LShiftU64((UINT64) 1, (Cpuid_RegEax & 0xFF)) - 1) & (~(UINT64)0x0FFF); in SetCacheAttributes()
/device/linaro/bootloader/edk2/IntelFspPkg/Library/BaseCacheLib/
DCacheLib.c391 UINT32 Cpuid_RegEax; in SetCacheAttributes() local
393 AsmCpuid (CPUID_EXTENDED_FUNCTION, &Cpuid_RegEax, NULL, NULL, NULL); in SetCacheAttributes()
394 if (Cpuid_RegEax >= CPUID_VIR_PHY_ADDRESS_SIZE) { in SetCacheAttributes()
395 AsmCpuid (CPUID_VIR_PHY_ADDRESS_SIZE, &Cpuid_RegEax, NULL, NULL, NULL); in SetCacheAttributes()
396 ValidMtrrAddressMask = (LShiftU64((UINT64) 1, (Cpuid_RegEax & 0xFF)) - 1) & (~(UINT64)0x0FFF); in SetCacheAttributes()