VirtualBox

Changeset 44689 in vbox for trunk/src/VBox/VMM


Ignore:
Timestamp:
Feb 14, 2013 1:22:44 PM (12 years ago)
Author:
vboxsync
Message:

Expose I/O APIC registers to the debugger facilities.

File:
1 edited

Legend:

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

    r44528 r44689  
    306306                        VERR_INVALID_PARAMETER);
    307307        AssertPtrReturn(paRegisters[iDesc].pfnGet, VERR_INVALID_PARAMETER);
    308         AssertPtrReturn(paRegisters[iDesc].pfnSet, VERR_INVALID_PARAMETER);
     308        AssertReturn(RT_VALID_PTR(paRegisters[iDesc].pfnSet) || (paRegisters[iDesc].fFlags & DBGFREG_FLAGS_READ_ONLY),
     309                     VERR_INVALID_PARAMETER);
    309310
    310311        uint32_t        iAlias    = 0;
     
    529530 *                              the standard name.
    530531 */
    531 VMMR3_INT_DECL(int) DBGFR3RegRegisterDevice(PVM pVM, PCDBGFREGDESC paRegisters, PPDMDEVINS pDevIns, const char *pszPrefix,
     532VMMR3DECL(int) DBGFR3RegRegisterDevice(PVM pVM, PCDBGFREGDESC paRegisters, PPDMDEVINS pDevIns, const char *pszPrefix,
    532533                                            uint32_t iInstance)
    533534{
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