VirtualBox

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


Ignore:
Timestamp:
Jun 15, 2020 6:58:36 AM (5 years ago)
Author:
vboxsync
Message:

VMM/DBGFTracer: Windows build fixes, bugref:9210

Location:
trunk/src/VBox/VMM
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/DBGFAllTracer.cpp

    r84766 r84823  
    5656# error "No/Invalid context specified"
    5757#endif
    58 
    59     return NULL;
    6058}
    6159
     
    311309    DBGFTRACEREVTIOPORTSTR EvtIoPortStr;
    312310    EvtIoPortStr.hIoPorts      = hIoPorts;
    313     EvtIoPortStr.cbItem        = cbItem;
     311    EvtIoPortStr.cbItem        = (uint32_t)cbItem;
    314312    EvtIoPortStr.cTransfersReq = cTransfersReq;
    315313    EvtIoPortStr.cTransfersRet = cTransfersRet;
  • trunk/src/VBox/VMM/VMMR0/DBGFR0Tracer.cpp

    r84485 r84823  
    5656DECLHIDDEN(int) dbgfR0TracerDestroy(PGVM pGVM, PDBGFTRACERINSR0 pTracer)
    5757{
     58    RT_NOREF(pGVM);
     59
    5860    /*
    5961     * Free the ring-3 mapping and instance memory.
  • trunk/src/VBox/VMM/VMMR0/PDMR0DevHlp.cpp

    r84809 r84823  
    4949RT_C_DECLS_BEGIN
    5050extern DECLEXPORT(const PDMDEVHLPR0)    g_pdmR0DevHlp;
     51extern DECLEXPORT(const PDMDEVHLPR0)    g_pdmR0DevHlpTracing;
    5152extern DECLEXPORT(const PDMPICHLP)      g_pdmR0PicHlp;
    5253extern DECLEXPORT(const PDMIOAPICHLP)   g_pdmR0IoApicHlp;
  • trunk/src/VBox/VMM/VMMR3/DBGFR3Tracer.cpp

    r84766 r84823  
    915915 */
    916916DECLHIDDEN(int) dbgfR3TracerCreate(PVM pVM, bool fR0Enabled, const char *pszTraceFilePath,
    917                                    size_t cbRingBuf, PDBGFTRACERINSR3 *ppDbgfTracerR3)
     917                                   uint32_t cbRingBuf, PDBGFTRACERINSR3 *ppDbgfTracerR3)
    918918{
    919919    PDBGFTRACERINSR3 pThis = NULL;
     
    10061006    {
    10071007        bool fR0Enabled;
    1008         uint64_t cbRingBuf = 0;
     1008        uint32_t cbRingBuf = 0;
    10091009        char *pszTraceFilePath = NULL;
    10101010        rc = CFGMR3QueryBoolDef(pDbgfNode, "TracerR0Enabled", &fR0Enabled, false);
    10111011        if (RT_SUCCESS(rc))
    1012             rc = CFGMR3QueryU64Def(pDbgfNode, "TracerRingBufSz", &cbRingBuf, _4M);
     1012            rc = CFGMR3QueryU32Def(pDbgfNode, "TracerRingBufSz", &cbRingBuf, _4M);
    10131013        if (RT_SUCCESS(rc))
    10141014            rc = CFGMR3QueryStringAlloc(pDbgfNode, "TracerFilePath", &pszTraceFilePath);
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