VirtualBox

Changeset 45753 in vbox for trunk


Ignore:
Timestamp:
Apr 26, 2013 1:33:30 AM (12 years ago)
Author:
vboxsync
Message:

Don't call MMHyperIsInsideArea if we're using HM to execute code, it will return bogus results!

Location:
trunk/src/VBox/VMM/VMMR3
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR3/DBGFAddr.cpp

    r45752 r45753  
    2525#include <VBox/vmm/selm.h>
    2626#include <VBox/vmm/mm.h>
     27#include <VBox/vmm/hm.h>
    2728#include "DBGFInternal.h"
    2829#include <VBox/vmm/vm.h>
     
    4748DECLINLINE(bool) dbgfR3IsHMA(PUVM pUVM, RTGCUINTPTR FlatPtr)
    4849{
    49     return !HMIsEnabled(pVM)
     50    return !HMIsEnabled(pUVM->pVM)
    5051        && MMHyperIsInsideArea(pUVM->pVM, FlatPtr);
    5152}
  • trunk/src/VBox/VMM/VMMR3/DBGFDisas.cpp

    r45752 r45753  
    2323#include <VBox/vmm/selm.h>
    2424#include <VBox/vmm/mm.h>
     25#include <VBox/vmm/hm.h>
    2526#include <VBox/vmm/pgm.h>
    2627#include <VBox/vmm/cpum.h>
  • trunk/src/VBox/VMM/VMMR3/DBGFSym.cpp

    r45752 r45753  
    3030#include <VBox/vmm/dbgf.h>
    3131#include <VBox/vmm/mm.h>
     32#include <VBox/vmm/hm.h>
    3233#include <VBox/vmm/pdmapi.h>
    3334#include "DBGFInternal.h"
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