VirtualBox

Changeset 1929 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Apr 4, 2007 1:17:07 PM (18 years ago)
Author:
vboxsync
Message:

We can encounter 16 bits code in raw mode too now; always refuse to emulate such instructions

Location:
trunk/src/VBox/VMM/VMMAll
Files:
4 edited

Legend:

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

    r1828 r1929  
    18531853    }
    18541854
    1855     /* In HWACCM mode we can execute 16 bits code. Our emulation above can't cope with that yet. */
    1856     /** @note if not in HWACCM mode, then we will never execute 16 bits code, so don't bother checking. */
    1857     if (HWACCMIsEnabled(pVM) && !SELMIsSelector32Bit(pVM, pRegFrame->eflags, pRegFrame->cs, &pRegFrame->csHid))
     1855    /* Out emulation above can't cope with 16 bits code yet. */
     1856    if (!SELMIsSelector32Bit(pVM, pRegFrame->eflags, pRegFrame->cs, &pRegFrame->csHid))
    18581857        return VERR_EM_INTERPRETER;
    18591858
  • trunk/src/VBox/VMM/VMMAll/PGMAll.cpp

    r1310 r1929  
    3232#include <VBox/stam.h>
    3333#include <VBox/csam.h>
     34#include <VBox/patm.h>
    3435#include <VBox/trpm.h>
    3536#include <VBox/rem.h>
     
    255256PGMDECL(int)     PGMTrap0eHandler(PVM pVM, RTGCUINT uErr, PCPUMCTXCORE pRegFrame, RTGCPTR pvFault)
    256257{
    257     LogFlow(("PGMTrap0eHandler: uErr=%#x pvFault=%VGv eip=%VGv\n", uErr, pvFault, pRegFrame->eip));
     258    Log(("PGMTrap0eHandler: uErr=%#x pvFault=%VGv eip=%VGv\n", uErr, pvFault, pRegFrame->eip));
    258259    STAM_PROFILE_START(&pVM->pgm.s.StatGCTrap0e, a);
    259260    STAM_STATS({ pVM->pgm.s.CTXSUFF(pStatTrap0eAttribution) = NULL; } );
  • trunk/src/VBox/VMM/VMMAll/PGMAllShw.h

    r23 r1929  
    308308            {
    309309                pPT->a[iPTE].u = (pPT->a[iPTE].u & (fMask | SHW_PTE_PG_MASK)) | (fFlags & ~SHW_PTE_PG_MASK);
    310                 Assert(pPT->a[iPTE].n.u1Present);
     310////                Assert(pPT->a[iPTE].n.u1Present);
    311311                PGM_INVL_PG(GCPtr);
    312312            }
  • trunk/src/VBox/VMM/VMMAll/TRPMAll.cpp

    r1828 r1929  
    423423#endif
    424424        && !PATMIsPatchGCAddr(pVM, (RTGCPTR)pRegFrame->eip)
     425//testestset
     426//        && iGate != 0xef
    425427       )
    426428    {
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