Lines Matching refs:pLeaf

549     PCPUMCPUIDLEAF pLeaf = cpumR3CpuIdGetLeaf(paLeaves, cLeaves, uLeaf, uSubLeaf);
550 if (pLeaf)
552 pLegacy->uEax = pLeaf->uEax;
553 pLegacy->uEbx = pLeaf->uEbx;
554 pLegacy->uEcx = pLeaf->uEcx;
555 pLegacy->uEdx = pLeaf->uEdx;
1023 * @param pLeaf Where to store the found leaf.
1027 VMMR3DECL(int) CPUMR3CpuIdGetLeaf(PVM pVM, PCPUMCPUIDLEAF pLeaf, uint32_t uLeaf, uint32_t uSubLeaf)
1033 memcpy(pLeaf, pcLeaf, sizeof(*pLeaf));
1492 PCCPUMCPUIDLEAF pLeaf = paLeaves;
1495 if (pLeaf->uLeaf == uLeaf)
1496 return pLeaf;
1497 pLeaf++;
1505 PCCPUMCPUIDLEAF pLeaf = cpumR3CpuIdFindLeaf(paLeaves, cLeaves, uLeaf);
1506 if ( !pLeaf
1507 || pLeaf->uSubLeaf != (uSubLeaf & pLeaf->fSubLeafMask))
1508 return pLeaf;
1511 cLeaves -= pLeaf - paLeaves;
1513 && pLeaf->uLeaf == uLeaf)
1515 if (pLeaf->uSubLeaf == (uSubLeaf & pLeaf->fSubLeafMask))
1516 return pLeaf;
1517 pLeaf++;
1548 PCCPUMCPUIDLEAF pLeaf = cpumR3CpuIdFindLeaf(paLeaves, cLeaves, 0x80000008);
1549 if (pLeaf)
1550 pFeatures->cMaxPhysAddrWidth = pLeaf->uEax & 0xff;
1857 PCCPUMCPUIDLEAF pLeaf = cpumR3CpuIdGetExactLeaf(&pVM->cpum.s, uLeaf, uSubLeaf);
1859 if (pLeaf)
1860 Leaf = *pLeaf;
1902 * @param pLeaf The leaf to load the overrides into.
1907 static int cpumR3CpuIdFetchLeafOverride(PCPUMCPUID pLeaf, PCFGMNODE pCfgNode, uint32_t iLeaf)
1915 pLeaf->uEax = u32;
1921 pLeaf->uEbx = u32;
1927 pLeaf->uEcx = u32;
1933 pLeaf->uEdx = u32;
2065 PCCPUMCPUIDLEAF pLeaf = cpumR3CpuIdGetExactLeaf(pCpum, uLeaf, 0 /* uSubLeaf */);
2066 if (pLeaf)
2068 pLegacyLeaf->uEax = pLeaf->uEax;
2069 pLegacyLeaf->uEbx = pLeaf->uEbx;
2070 pLegacyLeaf->uEcx = pLeaf->uEcx;
2071 pLegacyLeaf->uEdx = pLeaf->uEdx;
4095 PCPUMCPUIDLEAF pLeaf = cpumR3CpuIdGetLeaf(*ppaLeaves, *pcLeaves, 0, 0);
4096 if ( pLeaf
4097 && ASMIsIntelCpuEx(pLeaf->uEbx, pLeaf->uEcx, pLeaf->uEdx))