Searched defs:iGate (Results 1 - 4 of 4) sorted by relevance

/vbox/src/VBox/VMM/VMMRC/
H A DTRPMRC.cpp112 uint32_t iGate = ((RTGCUINTPTR)pvFault - (RTGCUINTPTR)GCPtrIDT)/sizeof(VBOXIDTE); local
122 if ( iGate != 3 /* Gate 3 is handled differently; could do it here as well, but let ring 3 handle this case for now. */
123 && !ASMBitTest(&pVM->trpm.s.au32IdtPatched[0], iGate)) /* Passthru gates need special attention too. */
131 Log(("trpmRCGuestIDTWriteHandler: write to gate %x (%x) offset %x cb=%d\n", iGate, iGate1, offRange, cb));
133 trpmClearGuestTrapHandler(pVM, iGate);
134 if (iGate != iGate1)
142 NOREF(iGate);
145 Log(("trpmRCGuestIDTWriteHandler: eip=%RGv write to gate %x offset %x\n", pRegFrame->eip, iGate, offRange));
/vbox/src/VBox/VMM/VMMAll/
H A DTRPMAll.cpp435 * @param iGate Trap or interrupt gate number
442 VMMDECL(int) TRPMForwardTrap(PVMCPU pVCpu, PCPUMCTXCORE pRegFrame, uint32_t iGate, uint32_t cbInstr, argument
455 Log(("TRPMForwardTrap-VM: eip=%04X:%04X iGate=%d\n", pRegFrame->cs.Sel, pRegFrame->eip, iGate));
457 Log(("TRPMForwardTrap: eip=%04X:%08X iGate=%d\n", pRegFrame->cs.Sel, pRegFrame->eip, iGate));
459 switch (iGate) {
503 if ( pVM->trpm.s.aGuestTrapHandler[iGate]
521 if (GCPtrIDT && iGate * sizeof(VBOXIDTE) >= cbIDT)
533 pIDTEntry = (RTGCPTR)((RTGCUINTPTR)GCPtrIDT + sizeof(VBOXIDTE) * iGate);
[all...]
/vbox/src/VBox/VMM/VMMR3/
H A DCSAM.cpp2496 * @param iGate Start gate
2499 VMMR3_INT_DECL(int) CSAMR3CheckGates(PVM pVM, uint32_t iGate, uint32_t cGates) argument
2565 Assert(iGate < maxGates);
2566 if (iGate > maxGates)
2569 if (iGate + cGates > maxGates)
2570 cGates = maxGates - iGate;
2572 GCPtrIDT = GCPtrIDT + iGate * sizeof(VBOXIDTE);
2573 iGateEnd = iGate + cGates;
2589 for (/*iGate*/; iGate<iGateEn
[all...]
H A DPATM.cpp5248 uint32_t iGate; local
5250 iGate = TRPMR3QueryGateByHandler(pVM, PATCHCODE_PTR_GC(pPatch));
5251 if (iGate != (uint32_t)~0)
5253 TRPMR3SetGuestTrapHandler(pVM, iGate, TRPM_INVALID_HANDLER);
5255 LogRel(("PATM: Disabling IDT %x patch handler %RRv\n", iGate, pInstrGC));
6731 uint32_t iGate; local
6733 iGate = TRPMR3QueryGateByHandler(pVM, PATCHCODE_PTR_GC(pPatch));
6734 if (iGate < 256)
6735 RTStrPrintf(szTrap, sizeof(szTrap), (pPatch->flags & PATMFL_INTHANDLER) ? "INT-%2X" : "TRAP-%2X", iGate);

Completed in 64 milliseconds