Lines Matching defs:Leaf

971         /* 3. Leaf 0xb level type 0 check. */
1828 rc = CFGMR3QueryU32(pNode, "Leaf", &uLeaf);
1837 return VMSetError(pVM, rc, RT_SRC_POS, "Invalid %s entry '%s': Error querying 'Leaf' value: %Rrc\n",
1858 CPUMCPUIDLEAF Leaf;
1860 Leaf = *pLeaf;
1862 RT_ZERO(Leaf);
1863 Leaf.uLeaf = uLeaf;
1864 Leaf.uSubLeaf = uSubLeaf;
1865 Leaf.fSubLeafMask = fSubLeafMask;
1867 rc = CFGMR3QueryU32Def(pNode, "eax", &Leaf.uEax, Leaf.uEax);
1871 rc = CFGMR3QueryU32Def(pNode, "ebx", &Leaf.uEbx, Leaf.uEbx);
1875 rc = CFGMR3QueryU32Def(pNode, "ecx", &Leaf.uEcx, Leaf.uEcx);
1879 rc = CFGMR3QueryU32Def(pNode, "edx", &Leaf.uEdx, Leaf.uEdx);
1888 &Leaf);
2733 * Intel: Deterministic Cache Parameters Leaf.
2758 /* Cpuid 5: Monitor/mwait Leaf
4056 CPUMCPUIDLEAF Leaf;
4057 rc = SSMR3GetMem(pSSM, &Leaf, sizeof(Leaf));
4061 || Leaf.uLeaf >= uPrev)
4063 rc = cpumR3CpuIdInsert(NULL /* pVM */, ppaLeaves, pcLeaves, &Leaf);
4064 uPrev = Leaf.uLeaf;
4099 CPUMCPUIDLEAF Leaf;
4100 Leaf.uLeaf = 4;
4101 Leaf.fSubLeafMask = UINT32_MAX;
4102 Leaf.uSubLeaf = 0;
4103 Leaf.uEdx = UINT32_C(0); /* 3 flags, 0 is fine. */
4104 Leaf.uEcx = UINT32_C(63); /* sets - 1 */
4105 Leaf.uEbx = (UINT32_C(7) << 22) /* associativity -1 */
4108 Leaf.uEax = (RT_MIN(pVM->cCpus - 1, UINT32_C(0x3f)) << 26) /* cores per package - 1 */
4112 Leaf.fFlags = 0;
4113 rc = cpumR3CpuIdInsert(NULL /* pVM */, ppaLeaves, pcLeaves, &Leaf);
4116 Leaf.uSubLeaf = 1; /* Should've been cache type 2 (code), but buggy code made it data. */
4117 rc = cpumR3CpuIdInsert(NULL /* pVM */, ppaLeaves, pcLeaves, &Leaf);
4121 Leaf.uSubLeaf = 2; /* Should've been cache type 3 (unified), but buggy code made it data. */
4122 Leaf.uEcx = 4095; /* sets - 1 */
4123 Leaf.uEbx &= UINT32_C(0x003fffff); /* associativity - 1 */
4124 Leaf.uEbx |= UINT32_C(23) << 22;
4125 Leaf.uEax &= UINT32_C(0xfc003fff); /* threads per cache - 1 */
4126 Leaf.uEax |= RT_MIN(pVM->cCpus - 1, UINT32_C(0xfff)) << 14;
4127 Leaf.uEax &= UINT32_C(0xffffff1f); /* level */
4128 Leaf.uEax |= UINT32_C(2) << 5;
4129 rc = cpumR3CpuIdInsert(NULL /* pVM */, ppaLeaves, pcLeaves, &Leaf);
5491 " Leaf/sub-leaf eax ebx ecx edx\n", pszTitle);
5550 " Leaf/sub-leaf eax ebx ecx edx\n");
5656 " Leaf/sub-leaf eax ebx ecx edx\n");