VirtualBox

Changeset 8503 in vbox for trunk/src/VBox/VMM/VMMAll


Ignore:
Timestamp:
Apr 30, 2008 11:25:42 AM (17 years ago)
Author:
vboxsync
Message:

Fall back to the recompiler when the guest tries to access invalid physical memory (e.g. probing RAM or accessing remapping MMIO memory)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/PGMAllBth.h

    r8191 r8503  
    542542# endif /* PGM_WITH_PAGING(PGM_GST_TYPE) */
    543543            }
     544            else
     545            {
     546                /* When the guest accesses invalid physical memory (e.g. probing of RAM or accessing a remapped MMIO range), then we'll fall
     547                 * back to the recompiler to emulate the instruction.
     548                 */
     549                LogFlow(("pgmPhysGetPageEx %VGp failed with %Vrc\n", GCPhys, rc));
     550                STAM_COUNTER_INC(&pVM->pgm.s.StatHandlersInvalid);
     551                STAM_PROFILE_STOP(&pVM->pgm.s.StatHandlers, b);
     552                return VINF_EM_RAW_EMULATE_INSTR;
     553            }
     554
    544555            STAM_PROFILE_STOP(&pVM->pgm.s.StatHandlers, b);
    545556
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