VirtualBox

Changeset 4411 in vbox for trunk/src/VBox/VMM


Ignore:
Timestamp:
Aug 29, 2007 8:06:27 AM (17 years ago)
Author:
vboxsync
Message:

Disabled string io operations for ring 0 (hangs/crashes host). Debug later; not used now anyway.

Location:
trunk/src/VBox/VMM
Files:
3 edited

Legend:

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

    r4071 r4411  
    15871587
    15881588
     1589#ifndef IN_RING0 /** @todo broken in ring 0 */
    15891590/**
    15901591 * [REP*] INSB/INSW/INSD
     
    19031904}
    19041905
     1906#endif /* IN_RING0 */
  • trunk/src/VBox/VMM/VMMR0/HWSVMR0.cpp

    r4071 r4411  
    12241224        if (IoExitInfo.n.u1STR)
    12251225        {
     1226#if 1
     1227            rc = (IoExitInfo.n.u1Type == 0) ? VINF_IOM_HC_IOPORT_WRITE : VINF_IOM_HC_IOPORT_READ;
     1228            break;
     1229#else /** @todo broken code path (hangs/crashes host) */
    12261230            /* ins/outs */
    12271231            uint32_t prefix = 0;
     
    12411245                rc = IOMInterpretINSEx(pVM, CPUMCTX2CORE(pCtx), IoExitInfo.n.u16Port, prefix, uIOSize);
    12421246            }
     1247#endif
    12431248        }
    12441249        else
  • trunk/src/VBox/VMM/VMMR0/HWVMXR0.cpp

    r4402 r4411  
    17001700        if (VMX_EXIT_QUALIFICATION_IO_STRING(exitQualification))
    17011701        {
     1702#if 1
     1703            rc = fIOWrite ? VINF_IOM_HC_IOPORT_WRITE : VINF_IOM_HC_IOPORT_READ;
     1704            break;
     1705#else /** @todo broken code path (hangs/crashes host) */
    17021706            /* ins/outs */
    17031707            uint32_t prefix = 0;
     
    17171721                rc = IOMInterpretINSEx(pVM, CPUMCTX2CORE(pCtx), uPort, prefix, cbSize);
    17181722            }
     1723#endif
    17191724        }
    17201725        else
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