Changeset 11298 in vbox for trunk/src/VBox/VMM/CPUM.cpp
- Timestamp:
- Aug 8, 2008 10:51:22 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/CPUM.cpp
r10821 r11298 343 343 pCPUM->aGuestCpuIdStd[1].ebx &= 0x0000ffff; 344 344 345 /* Cpuid 2: 345 /* Cpuid 2: 346 346 * Intel: Cache and TLB information 347 347 * AMD: Reserved … … 349 349 */ 350 350 351 /* Cpuid 3: 351 /* Cpuid 3: 352 352 * Intel: EAX, EBX - reserved 353 353 * ECX, EDX - Processor Serial Number if available, otherwise reserved … … 358 358 pCPUM->aGuestCpuIdStd[3].ecx = pCPUM->aGuestCpuIdStd[3].edx = 0; 359 359 360 /* Cpuid 4: 360 /* Cpuid 4: 361 361 * Intel: Deterministic Cache Parameters Leaf 362 362 * Note: Depends on the ECX input! -> Feeling rather lazy now, so we just return 0 … … 393 393 &pCPUM->GuestCpuIdDef.ecx, &pCPUM->GuestCpuIdDef.edx); 394 394 395 /* Cpuid 0x800000005 & 0x800000006 contain information about L1, L2 & L3 cache and TLB identifiers. 395 /* Cpuid 0x800000005 & 0x800000006 contain information about L1, L2 & L3 cache and TLB identifiers. 396 396 * Safe to pass on to the guest. 397 397 * … … 402 402 */ 403 403 404 /* Cpuid 0x800000007: 404 /* Cpuid 0x800000007: 405 405 * AMD: EAX, EBX, ECX - reserved 406 406 * EDX: Advanced Power Management Information … … 600 600 */ 601 601 pVM->cpum.s.pCPUMGC = VM_GUEST_ADDR(pVM, &pVM->cpum.s); 602 pVM->cpum.s.pHyperCoreGC = MMHyperCCTo GC(pVM, pVM->cpum.s.pHyperCoreR3);602 pVM->cpum.s.pHyperCoreGC = MMHyperCCToRC(pVM, pVM->cpum.s.pHyperCoreR3); 603 603 Assert(pVM->cpum.s.pHyperCoreGC != NIL_RTGCPTR); 604 604 }
Note:
See TracChangeset
for help on using the changeset viewer.