Changeset 44691 in vbox for trunk/src/VBox/VMM/VMMR3
- Timestamp:
- Feb 14, 2013 3:33:24 PM (12 years ago)
- Location:
- trunk/src/VBox/VMM/VMMR3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR3/DBGFReg.cpp
r44689 r44691 525 525 * 526 526 * @returns VBox status code. 527 * @param enmReg The register identifier. 528 * @param enmType The register type. This is for sort out 529 * aliases. Pass DBGFREGVALTYPE_INVALID to get 530 * the standard name. 531 */ 532 VMMR3DECL(int) DBGFR3RegRegisterDevice(PVM pVM, PCDBGFREGDESC paRegisters, PPDMDEVINS pDevIns, const char *pszPrefix, 533 uint32_t iInstance) 527 * @param pVM Pointer to the VM. 528 * @param paRegisters The register descriptors. 529 * @param pDevIns The device instance. This will be the callback user 530 * argument. 531 * @param pszPrefix The device name. 532 * @param iInstance The device instance. 533 */ 534 VMMR3_INT_DECL(int) DBGFR3RegRegisterDevice(PVM pVM, PCDBGFREGDESC paRegisters, PPDMDEVINS pDevIns, 535 const char *pszPrefix, uint32_t iInstance) 534 536 { 535 537 AssertPtrReturn(paRegisters, VERR_INVALID_POINTER); -
trunk/src/VBox/VMM/VMMR3/PDMDevHlp.cpp
r44528 r44691 1006 1006 1007 1007 LogFlow(("pdmR3DevHlp_DBGFInfoRegister: caller='%s'/%d: returns %Rrc\n", pDevIns->pReg->szName, pDevIns->iInstance, rc)); 1008 return rc; 1009 } 1010 1011 1012 /** @interface_method_impl{PDMDEVHLPR3,pfnDBGFRegRegister} */ 1013 static DECLCALLBACK(int) pdmR3DevHlp_DBGFRegRegister(PPDMDEVINS pDevIns, PCDBGFREGDESC paRegisters) 1014 { 1015 PDMDEV_ASSERT_DEVINS(pDevIns); 1016 LogFlow(("pdmR3DevHlp_DBGFRegRegister: caller='%s'/%d: paRegisters=%p\n", 1017 pDevIns->pReg->szName, pDevIns->iInstance, paRegisters)); 1018 1019 PVM pVM = pDevIns->Internal.s.pVMR3; 1020 VM_ASSERT_EMT(pVM); 1021 int rc = DBGFR3RegRegisterDevice(pVM, paRegisters, pDevIns, pDevIns->pReg->szName, pDevIns->iInstance); 1022 1023 LogFlow(("pdmR3DevHlp_DBGFRegRegister: caller='%s'/%d: returns %Rrc\n", pDevIns->pReg->szName, pDevIns->iInstance, rc)); 1008 1024 return rc; 1009 1025 } … … 3375 3391 pdmR3DevHlp_DBGFStopV, 3376 3392 pdmR3DevHlp_DBGFInfoRegister, 3393 pdmR3DevHlp_DBGFRegRegister, 3377 3394 pdmR3DevHlp_DBGFTraceBuf, 3378 3395 pdmR3DevHlp_STAMRegister, … … 3605 3622 pdmR3DevHlp_DBGFStopV, 3606 3623 pdmR3DevHlp_DBGFInfoRegister, 3624 pdmR3DevHlp_DBGFRegRegister, 3607 3625 pdmR3DevHlp_DBGFTraceBuf, 3608 3626 pdmR3DevHlp_STAMRegister,
Note:
See TracChangeset
for help on using the changeset viewer.