VirtualBox

Ignore:
Timestamp:
Aug 19, 2024 2:20:25 AM (3 months ago)
Author:
vboxsync
Message:

VMM/IEM: Take down the FLAT PC when compiling TBs the first time. Made 'tbtop' and 'tb' display it and together with a TB id, which 'tb' now accepts as input to make it simpler to display any single entry in the 'tbtop' output. bugref:10720

File:
1 edited

Legend:

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

    r105712 r105718  
    15181518     */
    15191519    pHlp->pfnPrintf(pHlp,
    1520                     "pTb=%p: GCPhysPc=%RGp cInstructions=%u LB %#x cRanges=%u cTbLookupEntries=%u\n"
     1520                    "pTb=%p: GCPhysPc=%RGp (%RGv) cInstructions=%u LB %#x cRanges=%u cTbLookupEntries=%u\n"
    15211521                    "pTb=%p: cUsed=%u msLastUsed=%u fFlags=%#010x %s\n",
    1522                     pTb, pTb->GCPhysPc, pTb->cInstructions, pTb->cbOpcodes, pTb->cRanges, pTb->cTbLookupEntries,
     1522                    pTb, pTb->GCPhysPc, pTb->FlatPc, pTb->cInstructions, pTb->cbOpcodes, pTb->cRanges, pTb->cTbLookupEntries,
    15231523                    pTb, pTb->cUsed, pTb->msLastUsed, pTb->fFlags, iemTbFlagsToString(pTb->fFlags, szDisBuf, sizeof(szDisBuf)));
    15241524
     
    27802780        pVCpu->iem.s.pThrdCompileTbR3 = pTb;
    27812781    }
     2782    pTb->FlatPc = pVCpu->iem.s.uInstrBufPc | (GCPhysPc & GUEST_PAGE_OFFSET_MASK);
    27822783
    27832784    /* Set the current TB so iemThreadedCompileLongJumped and the CIMPL
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