VirtualBox

Changeset 1792 in vbox for trunk/src/VBox/VMM/PATM


Ignore:
Timestamp:
Mar 29, 2007 11:47:32 AM (18 years ago)
Author:
vboxsync
Message:

Proper interrupt redirection bitmap sync

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

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/PATM/PATM.cpp

    r1625 r1792  
    44804480            /* Increase by instruction size. */
    44814481            uint32_t size = patmGetInstrSize(pVM, pPatch, pPatchPage->pHighestAddrGC);
    4482             Assert(size);
     4482////            Assert(size);
    44834483            pPatchPage->pHighestAddrGC += size;
    44844484        }
  • trunk/src/VBox/VMM/PATM/PATMA.asm

    r1595 r1792  
    4141; Noisy, but useful for debugging certain problems
    4242;;;%define PATM_LOG_PATCHINSTR
    43 ;;%define PATM_LOG_PATCHIRET
     43%define PATM_LOG_PATCHIRET
    4444%endif
    4545
  • trunk/src/VBox/VMM/PATM/VMMGC/PATMGC.cpp

    r1438 r1792  
    107107#ifdef LOG_ENABLED
    108108    if (pPatchPage)
    109         Log(("PATMIsWriteToPatchPage: Found page %VGv for write to %VGv %d bytes\n", pPatchPage->Core.Key, GCPtr, cbWrite));
     109        Log2(("PATMIsWriteToPatchPage: Found page %VGv for write to %VGv %d bytes\n", pPatchPage->Core.Key, GCPtr, cbWrite));
    110110#endif
    111111
     
    296296                    /* We are no longer executing PATM code; set PIF again. */
    297297                    pVM->patm.s.CTXSUFF(pGCState)->fPIF = 1;
     298
     299#ifndef VBOX_RAW_V86
     300                    return VINF_EM_RESCHEDULE;
     301#else
    298302                    CPUMGCCallV86Code(pRegFrame);
     303#endif
    299304                    /* does not return */
    300305                }
     
    407412                                Log(("PATMGC: GATE->VM stack frame: DS=%04X ES=%04X FS=%04X GS=%04X\n", selDS, selES, selFS, selGS));
    408413                            }
     414if (eip == 0x690)
     415{
     416   pRegFrame->eip += PATM_ILLEGAL_INSTR_SIZE;
     417   return VINF_EM_RESCHEDULE;
     418}
    409419                        }
    410420                        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