VirtualBox

Ignore:
Timestamp:
Apr 28, 2009 8:50:31 AM (16 years ago)
Author:
vboxsync
Message:

Implemented VMMGetCpu in ring 0. (SMP guests)

File:
1 edited

Legend:

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

    r18927 r19227  
    7373
    7474#else  /* IN_RING0 */
    75     return HWACCMGetVMCPUId(pVM);
     75    return HWACCMR0GetVMCPUId(pVM);
    7676#endif /* IN_RING0 */
    7777}
     
    101101
    102102#else  /* IN_RING0 */
    103     return &pVM->aCpus[HWACCMGetVMCPUId(pVM)];
     103    return HWACCMR0GetVMCPU(pVM);
    104104#endif /* IN_RING0 */
    105105}
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