VirtualBox

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


Ignore:
Timestamp:
Nov 5, 2008 1:49:18 AM (16 years ago)
Author:
vboxsync
Message:

VMM: Disabled VM:pVMGC, removed VM_GUEST_ADDR.

File:
1 edited

Legend:

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

    r13829 r13830  
    634634 * @param   ppCtx       Receives the CPUMCTX GC pointer when successful.
    635635 */
    636 VMMR3DECL(int) CPUMR3QueryGuestCtxGCPtr(PVM pVM, RCPTRTYPE(PCPUMCTX) *ppCtx)
    637 {
    638     LogFlow(("CPUMR3QueryGuestCtxGCPtr\n"));
     636VMMR3DECL(int) CPUMR3QueryGuestCtxRCPtr(PVM pVM, RCPTRTYPE(PCPUMCTX) *ppCtx)
     637{
     638    LogFlow(("CPUMR3QueryGuestCtxRCPtr\n"));
    639639    /*
    640640     * Store the address. (Later we might check how's calling, thus the RC.)
    641641     */
    642     *ppCtx = VM_GUEST_ADDR(pVM, &pVM->cpum.s.Guest);
     642    *ppCtx = VM_RC_ADDR(pVM, &pVM->cpum.s.Guest);
    643643    return VINF_SUCCESS;
    644644}
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