VirtualBox

Changeset 97201 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Oct 18, 2022 11:52:52 AM (2 years ago)
Author:
vboxsync
Message:

VMM/IEM,EM: More CPUMCTXCORE elimination and trimming of interpret functions. [build fix]

File:
1 edited

Legend:

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

    r97200 r97201  
    883883 * @param   pCtx        Pointer to the register context for the CPU.
    884884 * @param   GCPhysFault The fault address as guest physical address.
    885  * @param   pvFault     The fault address.
    886885 * @todo VBOXSTRICTRC
    887886 */
    888887static int pgmRZPoolAccessPfHandlerFlush(PVMCC pVM, PVMCPUCC pVCpu, PPGMPOOL pPool, PPGMPOOLPAGE pPage, PDISCPUSTATE pDis,
    889                                          PCPUMCTX pCtx, RTGCPHYS GCPhysFault, RTGCPTR pvFault)
     888                                         PCPUMCTX pCtx, RTGCPHYS GCPhysFault)
    890889{
    891890    NOREF(pVM); NOREF(GCPhysFault);
     
    998997 * @param   pCtx        Pointer to the register context for the CPU.
    999998 * @param   GCPhysFault The fault address as guest physical address.
    1000  * @param   pvFault     The fault address.
    1001999 * @param   pfReused    Reused state (in/out)
    10021000 */
    10031001DECLINLINE(int) pgmRZPoolAccessPfHandlerSimple(PVMCC pVM, PVMCPUCC pVCpu, PPGMPOOL pPool, PPGMPOOLPAGE pPage, PDISCPUSTATE pDis,
    1004                                                PCPUMCTX pCtx, RTGCPHYS GCPhysFault, RTGCPTR pvFault, bool *pfReused)
     1002                                               PCPUMCTX pCtx, RTGCPHYS GCPhysFault, bool *pfReused)
    10051003{
    10061004    Log3(("pgmRZPoolAccessPfHandlerSimple\n"));
     
    10161014
    10171015    /*
    1018      * Clear all the pages. ASSUMES that pvFault is readable.
     1016     * Clear all the pages.
    10191017     */
    10201018    uint32_t cbWrite = DISGetParamSize(pDis, &pDis->Param1);
     
    12211219        if (!(pDis->fPrefix & (DISPREFIX_REP | DISPREFIX_REPNE)))
    12221220        {
    1223             rc = pgmRZPoolAccessPfHandlerSimple(pVM, pVCpu, pPool, pPage, pDis, pCtx, GCPhysFault, pvFault, &fReused);
     1221            rc = pgmRZPoolAccessPfHandlerSimple(pVM, pVCpu, pPool, pPage, pDis, pCtx, GCPhysFault, &fReused);
    12241222            if (fReused)
    12251223                goto flushPage;
     
    13911389     * the reuse detection must be fixed.
    13921390     */
    1393     rc = pgmRZPoolAccessPfHandlerFlush(pVM, pVCpu, pPool, pPage, pDis, pCtx, GCPhysFault, pvFault);
     1391    rc = pgmRZPoolAccessPfHandlerFlush(pVM, pVCpu, pPool, pPage, pDis, pCtx, GCPhysFault);
    13941392    if (    rc == VINF_EM_RAW_EMULATE_INSTR
    13951393        &&  fReused)
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