VirtualBox

Changeset 46155 in vbox for trunk/include/VBox


Ignore:
Timestamp:
May 18, 2013 12:30:13 AM (12 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
85855
Message:

List near, unassemble, hyper register and more tiny debugger fixes.

Location:
trunk/include/VBox/vmm
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/vmm/dbgf.h

    r45993 r46155  
    671671VMMR3DECL(int)          DBGFR3AsLinkModule(PUVM pUVM, RTDBGAS hDbgAs, RTDBGMOD hMod, PCDBGFADDRESS pModAddress, RTDBGSEGIDX iModSeg, uint32_t fFlags);
    672672
    673 VMMR3DECL(int)          DBGFR3AsSymbolByAddr(PUVM pUVM, RTDBGAS hDbgAs, PCDBGFADDRESS pAddress, PRTGCINTPTR poffDisp, PRTDBGSYMBOL pSymbol, PRTDBGMOD phMod);
    674 VMMR3DECL(PRTDBGSYMBOL) DBGFR3AsSymbolByAddrA(PUVM pUVM, RTDBGAS hDbgAs, PCDBGFADDRESS pAddress, PRTGCINTPTR poffDisp, PRTDBGMOD phMod);
     673VMMR3DECL(int)          DBGFR3AsSymbolByAddr(PUVM pUVM, RTDBGAS hDbgAs, PCDBGFADDRESS pAddress, uint32_t fFlags,
     674                                             PRTGCINTPTR poffDisp, PRTDBGSYMBOL pSymbol, PRTDBGMOD phMod);
     675VMMR3DECL(PRTDBGSYMBOL) DBGFR3AsSymbolByAddrA(PUVM pUVM, RTDBGAS hDbgAs, PCDBGFADDRESS pAddress, uint32_t Flags,
     676                                              PRTGCINTPTR poffDisp, PRTDBGMOD phMod);
    675677VMMR3DECL(int)          DBGFR3AsSymbolByName(PUVM pUVM, RTDBGAS hDbgAs, const char *pszSymbol, PRTDBGSYMBOL pSymbol, PRTDBGMOD phMod);
    676678
     
    882884/** No address in the output. */
    883885#define DBGF_DISAS_FLAGS_NO_ADDRESS         RT_BIT(5)
     886/** Probably a hypervisor instruction. */
     887#define DBGF_DISAS_FLAGS_HYPER              RT_BIT(6)
    884888/** Disassemble in the default mode of the specific context. */
    885889#define DBGF_DISAS_FLAGS_DEFAULT_MODE       UINT32_C(0x00000000)
  • trunk/include/VBox/vmm/vm.h

    r45870 r46155  
    758758                        (rc))
    759759
     760/** @def VM_IS_VALID_EXT
     761 * Asserts a the VM handle is valid for external access, i.e. not being destroy
     762 * or terminated. */
     763#define VM_IS_VALID_EXT(pVM) \
     764        (    RT_VALID_ALIGNED_PTR(pVM, PAGE_SIZE) \
     765         &&  (   (unsigned)(pVM)->enmVMState < (unsigned)VMSTATE_DESTROYING \
     766              || (   (unsigned)(pVM)->enmVMState == (unsigned)VMSTATE_DESTROYING \
     767                  && VM_IS_EMT(pVM))) )
     768
    760769/** @def VM_ASSERT_VALID_EXT_RETURN
    761770 * Asserts a the VM handle is valid for external access, i.e. not being
     
    763772 */
    764773#define VM_ASSERT_VALID_EXT_RETURN(pVM, rc) \
    765         AssertMsgReturn(    RT_VALID_ALIGNED_PTR(pVM, PAGE_SIZE) \
    766                         &&  (   (unsigned)(pVM)->enmVMState < (unsigned)VMSTATE_DESTROYING \
    767                              || (   (unsigned)(pVM)->enmVMState == (unsigned)VMSTATE_DESTROYING \
    768                                  && VM_IS_EMT(pVM))), \
     774        AssertMsgReturn(VM_IS_VALID_EXT(pVM), \
    769775                        ("pVM=%p state %s\n", (pVM), RT_VALID_ALIGNED_PTR(pVM, PAGE_SIZE) \
    770776                         ? VMGetStateName(pVM->enmVMState) : ""), \
Note: See TracChangeset for help on using the changeset viewer.

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