VirtualBox

Changeset 56062 in vbox


Ignore:
Timestamp:
May 25, 2015 3:46:04 PM (10 years ago)
Author:
vboxsync
Message:

PGMAllPhys.cpp: Fixed a couple of typos - IEM not IOM is OK with access handler returns, return the right serious status code in PGMPhysRead/Write.

File:
1 edited

Legend:

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

    r56056 r56062  
    141141    NOREF(pVM); NOREF(pVCpu); NOREF(GCPhys); NOREF(pvPhys); NOREF(pvBuf); NOREF(cbBuf);
    142142    NOREF(enmAccessType); NOREF(enmOrigin); NOREF(pvUser);
    143 AssertFailed(); /// dont commit me!!!
    144143    return VINF_EM_RAW_EMULATE_INSTR;
    145144}
     
    23042303        Assert((pPhys->Core.KeyLast & PAGE_OFFSET_MASK) == PAGE_OFFSET_MASK);
    23052304#ifndef IN_RING3
    2306         if (enmOrigin != PGMACCESSORIGIN_IOM)
     2305        if (enmOrigin != PGMACCESSORIGIN_IEM)
    23072306        {
    23082307            /* Cannot reliably handle informational status codes in this context */
     
    23542353
    23552354# ifndef IN_RING3
    2356         if (enmOrigin != PGMACCESSORIGIN_IOM)
     2355        if (enmOrigin != PGMACCESSORIGIN_IEM)
    23572356        {
    23582357            /* Cannot reliably handle informational status codes in this context */
     
    25132512                    {
    25142513                        pgmUnlock(pVM);
    2515                         return rcStrict;
     2514                        return rcStrict2;
    25162515                    }
    25172516                }
     
    25972596            Assert(GCPhys >= pCur->Core.Key && GCPhys <= pCur->Core.KeyLast);
    25982597#ifndef IN_RING3
    2599             if (enmOrigin != PGMACCESSORIGIN_IOM)
     2598            if (enmOrigin != PGMACCESSORIGIN_IEM)
    26002599                /* Cannot reliably handle informational status codes in this context */
    26012600                return VERR_PGM_PHYS_WR_HIT_HANDLER;
     
    26742673        {
    26752674# ifndef IN_RING3
    2676             if (enmOrigin != PGMACCESSORIGIN_IOM)
     2675            if (enmOrigin != PGMACCESSORIGIN_IEM)
    26772676                /* Cannot reliably handle informational status codes in this context */
    26782677                return VERR_PGM_PHYS_WR_HIT_HANDLER;
     
    28482847        {
    28492848#ifndef IN_RING3
    2850             if (enmOrigin != PGMACCESSORIGIN_IOM)
     2849            if (enmOrigin != PGMACCESSORIGIN_IEM)
    28512850                /* Cannot reliably handle informational status codes in this context */
    28522851                return VERR_PGM_PHYS_WR_HIT_HANDLER;
     
    28872886        {
    28882887# ifndef IN_RING3
    2889             if (enmOrigin != PGMACCESSORIGIN_IOM)
     2888            if (enmOrigin != PGMACCESSORIGIN_IEM)
    28902889                /* Cannot reliably handle informational status codes in this context */
    28912890                return VERR_PGM_PHYS_WR_HIT_HANDLER;
     
    29172916        {
    29182917# ifndef IN_RING3
    2919             if (enmOrigin != PGMACCESSORIGIN_IOM)
     2918            if (enmOrigin != PGMACCESSORIGIN_IEM)
    29202919                /* Cannot reliably handle informational status codes in this context */
    29212920                return VERR_PGM_PHYS_WR_HIT_HANDLER;
     
    31363135                    {
    31373136                        pgmUnlock(pVM);
    3138                         return rcStrict;
     3137                        return rcStrict2;
    31393138                    }
    31403139                }
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