VirtualBox

Changeset 11298 in vbox for trunk/src/VBox/VMM/CPUM.cpp


Ignore:
Timestamp:
Aug 8, 2008 10:51:22 PM (16 years ago)
Author:
vboxsync
Message:

cpum: MMHyperCCToGC -> MMHyperCCToRC.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/CPUM.cpp

    r10821 r11298  
    343343    pCPUM->aGuestCpuIdStd[1].ebx &= 0x0000ffff;
    344344
    345     /* Cpuid 2: 
     345    /* Cpuid 2:
    346346     * Intel: Cache and TLB information
    347347     * AMD:   Reserved
     
    349349     */
    350350
    351     /* Cpuid 3: 
     351    /* Cpuid 3:
    352352     * Intel: EAX, EBX - reserved
    353353     *        ECX, EDX - Processor Serial Number if available, otherwise reserved
     
    358358        pCPUM->aGuestCpuIdStd[3].ecx = pCPUM->aGuestCpuIdStd[3].edx = 0;
    359359
    360     /* Cpuid 4: 
     360    /* Cpuid 4:
    361361     * Intel: Deterministic Cache Parameters Leaf
    362362     *        Note: Depends on the ECX input! -> Feeling rather lazy now, so we just return 0
     
    393393             &pCPUM->GuestCpuIdDef.ecx, &pCPUM->GuestCpuIdDef.edx);
    394394
    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.
    396396     * Safe to pass on to the guest.
    397397     *
     
    402402     */
    403403
    404     /* Cpuid 0x800000007: 
     404    /* Cpuid 0x800000007:
    405405     * AMD:               EAX, EBX, ECX - reserved
    406406     *                    EDX: Advanced Power Management Information
     
    600600     */
    601601    pVM->cpum.s.pCPUMGC = VM_GUEST_ADDR(pVM, &pVM->cpum.s);
    602     pVM->cpum.s.pHyperCoreGC = MMHyperCCToGC(pVM, pVM->cpum.s.pHyperCoreR3);
     602    pVM->cpum.s.pHyperCoreGC = MMHyperCCToRC(pVM, pVM->cpum.s.pHyperCoreR3);
    603603    Assert(pVM->cpum.s.pHyperCoreGC != NIL_RTGCPTR);
    604604}
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette