VirtualBox

Changeset 56056 in vbox for trunk/src


Ignore:
Timestamp:
May 24, 2015 5:49:19 PM (10 years ago)
Author:
vboxsync
Message:

PGMPhysRead/Write: Enabled ring-0 and raw-mode access handlers for IEM. (will only be used in ring-0 atm, and then only in bad CRx moves)

File:
1 edited

Legend:

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

    r56055 r56056  
    134134 * @callback_method_impl{FNPGMPHYSHANDLER,
    135135 *      Dummy for forcing ring-3 handling of the access.}
    136  *
    137  * @remarks The @a pvUser argument points to the PGMROMRANGE.
    138136 */
    139137DECLEXPORT(VBOXSTRICTRC)
     
    143141    NOREF(pVM); NOREF(pVCpu); NOREF(GCPhys); NOREF(pvPhys); NOREF(pvBuf); NOREF(cbBuf);
    144142    NOREF(enmAccessType); NOREF(enmOrigin); NOREF(pvUser);
     143AssertFailed(); /// dont commit me!!!
    145144    return VINF_EM_RAW_EMULATE_INSTR;
    146145}
     
    150149 * @callback_method_impl{FNPGMRZPHYSPFHANDLER,
    151150 *      Dummy for forcing ring-3 handling of the access.}
    152  *
    153  * @remarks The @a pvUser argument points to the PGMROMRANGE.
    154151 */
    155152VMMDECL(VBOXSTRICTRC) pgmPhysPfHandlerRedirectToHC(PVM pVM, PVMCPU pVCpu, RTGCUINT uErrorCode, PCPUMCTXCORE pRegFrame,
     
    23072304        Assert((pPhys->Core.KeyLast & PAGE_OFFSET_MASK) == PAGE_OFFSET_MASK);
    23082305#ifndef IN_RING3
    2309         //if (enmOrigin != PGMACCESSORIGIN_IOM)
     2306        if (enmOrigin != PGMACCESSORIGIN_IOM)
    23102307        {
    23112308            /* Cannot reliably handle informational status codes in this context */
     
    23572354
    23582355# ifndef IN_RING3
    2359         //if (enmOrigin != PGMACCESSORIGIN_IOM)
     2356        if (enmOrigin != PGMACCESSORIGIN_IOM)
    23602357        {
    23612358            /* Cannot reliably handle informational status codes in this context */
     
    26002597            Assert(GCPhys >= pCur->Core.Key && GCPhys <= pCur->Core.KeyLast);
    26012598#ifndef IN_RING3
    2602             //if (enmOrigin != PGMACCESSORIGIN_IOM)
     2599            if (enmOrigin != PGMACCESSORIGIN_IOM)
    26032600                /* Cannot reliably handle informational status codes in this context */
    26042601                return VERR_PGM_PHYS_WR_HIT_HANDLER;
     
    26772674        {
    26782675# ifndef IN_RING3
    2679             //if (enmOrigin != PGMACCESSORIGIN_IOM)
     2676            if (enmOrigin != PGMACCESSORIGIN_IOM)
    26802677                /* Cannot reliably handle informational status codes in this context */
    26812678                return VERR_PGM_PHYS_WR_HIT_HANDLER;
     
    28512848        {
    28522849#ifndef IN_RING3
    2853             //if (enmOrigin != PGMACCESSORIGIN_IOM)
     2850            if (enmOrigin != PGMACCESSORIGIN_IOM)
    28542851                /* Cannot reliably handle informational status codes in this context */
    28552852                return VERR_PGM_PHYS_WR_HIT_HANDLER;
     
    28902887        {
    28912888# ifndef IN_RING3
    2892             //if (enmOrigin != PGMACCESSORIGIN_IOM)
     2889            if (enmOrigin != PGMACCESSORIGIN_IOM)
    28932890                /* Cannot reliably handle informational status codes in this context */
    28942891                return VERR_PGM_PHYS_WR_HIT_HANDLER;
     
    29202917        {
    29212918# ifndef IN_RING3
    2922             //if (enmOrigin != PGMACCESSORIGIN_IOM)
     2919            if (enmOrigin != PGMACCESSORIGIN_IOM)
    29232920                /* Cannot reliably handle informational status codes in this context */
    29242921                return VERR_PGM_PHYS_WR_HIT_HANDLER;
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