Lines Matching refs:pGCStateHC
192 pVM->patm.s.pGCStateHC = (PPATMGCSTATE)((uint8_t *)pVM->patm.s.pGCStackHC + PATM_STACK_TOTAL_SIZE);
193 pVM->patm.s.pGCStateGC = MMHyperR3ToRC(pVM, pVM->patm.s.pGCStateHC);
196 pVM->patm.s.pStatsHC = (PSTAMRATIOU32)((uint8_t *)pVM->patm.s.pGCStateHC + PAGE_SIZE);
253 STAMR3RegisterF(pVM, &pVM->patm.s.pGCStateHC->uPatchCalls, STAMTYPE_U32, STAMVISIBILITY_ALWAYS, STAMUNIT_OCCURENCES, NULL, "/PATM/Patch/Run/Normal");
398 Assert(pVM->patm.s.pGCStateHC);
399 memset(pVM->patm.s.pGCStateHC, 0, PAGE_SIZE);
403 pVM->patm.s.pGCStateHC->uVMFlags = X86_EFL_IF;
408 pVM->patm.s.pGCStateHC->Psp = PATM_STACK_SIZE;
409 pVM->patm.s.pGCStateHC->fPIF = 1; /* PATM Interrupt Flag */
493 RTRCPTR GCPtrNew = MMHyperR3ToRC(pVM, pVM->patm.s.pGCStateHC);
1034 return pVM->patm.s.pGCStateHC;
6092 if (pVM->patm.s.pGCStateHC->GCPtrInhibitInterrupts == pPrivInstrGC)
6411 pVM->patm.s.pGCStateHC->fPIF = 1;
6421 pVM->patm.s.pGCStateHC->fPIF = 1;
6443 AssertReleaseMsg(pVM->patm.s.pGCStateHC->fPIF == 0, ("PATMR3HandleTrap: Unable to find translation record for %RRv (PIF=0)\n", pEip));
6446 if (pVM->patm.s.pGCStateHC->fPIF == 0)
6473 pVM->patm.s.pGCStateHC->fPIF = 1;
6510 pVM->patm.s.pGCStateHC->fPIF = 1;
6524 AssertLogRelMsg(pVM->patm.s.pGCStateHC->fPIF == 1,
6530 AssertLogRelMsg(pVM->patm.s.pGCStateHC->fPIF == 1,
6547 Assert(pVM->patm.s.pGCStateHC->fPIF == 1);
6595 Log(("Expected return address %RRv found address %RRv Psp=%x\n", pVM->patm.s.pGCStackHC[(pVM->patm.s.pGCStateHC->Psp+PATM_STACK_SIZE)/sizeof(RTRCPTR)], retaddr, pVM->patm.s.pGCStateHC->Psp));
6606 if (pVM->patm.s.pGCStateHC->GCPtrInhibitInterrupts == pNewEip)
6634 pVM->patm.s.pGCStateHC->GCPtrInhibitInterrupts = 0;