Lines Matching defs:pUVM

46 static int dbgfR3BpInt3Arm(PUVM pUVM, PDBGFBP pBp);
273 * @param pUVM The user mode VM handle.
282 static DECLCALLBACK(int) dbgfR3BpSetInt3(PUVM pUVM, PCDBGFADDRESS pAddress, uint64_t *piHitTrigger,
288 PVM pVM = pUVM->pVM;
290 if (!DBGFR3AddrIsValid(pUVM, pAddress))
306 rc = dbgfR3BpInt3Arm(pUVM, pBp);
330 int rc = dbgfR3BpInt3Arm(pUVM, pBp);
347 * @param pUVM The user mode VM handle.
356 VMMR3DECL(int) DBGFR3BpSet(PUVM pUVM, PCDBGFADDRESS pAddress, uint64_t iHitTrigger, uint64_t iHitDisable, uint32_t *piBp)
362 int rc = VMR3ReqCallWaitU(pUVM, VMCPUID_ANY, (PFNRT)dbgfR3BpSetInt3, 5,
363 pUVM, pAddress, &iHitTrigger, &iHitDisable, piBp);
374 * @param pUVM The user mode VM handle.
377 static int dbgfR3BpInt3Arm(PUVM pUVM, PDBGFBP pBp)
388 DBGFR3AddrFromFlat(pUVM, &Addr, pBp->GCPtr);
389 int rc = DBGFR3MemRead(pUVM, idCpu, &Addr, &pBp->u.Int3.bOrg, 1);
393 rc = DBGFR3MemWrite(pUVM, idCpu, &Addr, &s_bInt3, 1);
404 * @param pUVM The user mode VM handle.
407 static int dbgfR3BpInt3Disarm(PUVM pUVM, PDBGFBP pBp)
417 DBGFR3AddrFromFlat(pUVM, &Addr, pBp->GCPtr);
419 int rc = DBGFR3MemRead(pUVM, idCpu, &Addr, &bCurrent, 1);
421 rc = DBGFR3MemWrite(pUVM, idCpu, &Addr, &pBp->u.Int3.bOrg, 1);
430 * @param pUVM The user mode VM handle.
443 static DECLCALLBACK(int) dbgfR3BpSetReg(PUVM pUVM, PCDBGFADDRESS pAddress, uint64_t *piHitTrigger, uint64_t *piHitDisable,
449 PVM pVM = pUVM->pVM;
451 if (!DBGFR3AddrIsValid(pUVM, pAddress))
538 * @param pUVM The user mode VM handle.
550 VMMR3DECL(int) DBGFR3BpSetReg(PUVM pUVM, PCDBGFADDRESS pAddress, uint64_t iHitTrigger, uint64_t iHitDisable,
556 int rc = VMR3ReqCallWaitU(pUVM, VMCPUID_ANY, (PFNRT)dbgfR3BpSetReg, 7,
557 pUVM, pAddress, &iHitTrigger, &iHitDisable, fType, cb, piBp);
577 * @param pUVM The user mode VM handle.
592 * @param pUVM The user mode VM handle.
606 * @param pUVM The user mode VM handle.
616 static DECLCALLBACK(int) dbgfR3BpSetREM(PUVM pUVM, PCDBGFADDRESS pAddress, uint64_t *piHitTrigger,
622 PVM pVM = pUVM->pVM;
624 if (!DBGFR3AddrIsValid(pUVM, pAddress))
690 * @param pUVM The user mode VM handle.
699 VMMR3DECL(int) DBGFR3BpSetREM(PUVM pUVM, PCDBGFADDRESS pAddress, uint64_t iHitTrigger, uint64_t iHitDisable, uint32_t *piBp)
704 int rc = VMR3ReqCallWaitU(pUVM, VMCPUID_ANY, (PFNRT)dbgfR3BpSetREM, 5,
705 pUVM, pAddress, &iHitTrigger, &iHitDisable, piBp);
715 * @param pUVM The user mode VM handle.
720 static DECLCALLBACK(int) dbgfR3BpClear(PUVM pUVM, uint32_t iBp)
725 PVM pVM = pUVM->pVM;
745 rc = dbgfR3BpInt3Disarm(pUVM, pBp);
774 * @param pUVM The user mode VM handle.
778 VMMR3DECL(int) DBGFR3BpClear(PUVM pUVM, uint32_t iBp)
783 int rc = VMR3ReqCallWaitU(pUVM, VMCPUID_ANY, (PFNRT)dbgfR3BpClear, 2, pUVM, iBp);
793 * @param pUVM The user mode VM handle.
798 static DECLCALLBACK(int) dbgfR3BpEnable(PUVM pUVM, uint32_t iBp)
803 PVM pVM = pUVM->pVM;
827 rc = dbgfR3BpInt3Arm(pUVM, pBp);
852 * @param pUVM The user mode VM handle.
856 VMMR3DECL(int) DBGFR3BpEnable(PUVM pUVM, uint32_t iBp)
861 int rc = VMR3ReqCallWaitU(pUVM, VMCPUID_ANY, (PFNRT)dbgfR3BpEnable, 2, pUVM, iBp);
871 * @param pUVM The user mode VM handle.
876 static DECLCALLBACK(int) dbgfR3BpDisable(PUVM pUVM, uint32_t iBp)
881 PVM pVM = pUVM->pVM;
905 rc = dbgfR3BpInt3Disarm(pUVM, pBp);
928 * @param pUVM The user mode VM handle.
932 VMMR3DECL(int) DBGFR3BpDisable(PUVM pUVM, uint32_t iBp)
937 int rc = VMR3ReqCallWaitU(pUVM, VMCPUID_ANY, (PFNRT)dbgfR3BpDisable, 2, pUVM, iBp);
947 * @param pUVM The user mode VM handle.
953 static DECLCALLBACK(int) dbgfR3BpEnum(PUVM pUVM, PFNDBGFBPENUM pfnCallback, void *pvUser)
958 PVM pVM = pUVM->pVM;
969 int rc = pfnCallback(pUVM, pvUser, &pVM->dbgf.s.aHwBreakpoints[i]);
980 int rc = pfnCallback(pUVM, pvUser, &pVM->dbgf.s.aBreakpoints[i]);
993 * @param pUVM The user mode VM handle.
998 VMMR3DECL(int) DBGFR3BpEnum(PUVM pUVM, PFNDBGFBPENUM pfnCallback, void *pvUser)
1003 int rc = VMR3ReqPriorityCallWaitU(pUVM, VMCPUID_ANY, (PFNRT)dbgfR3BpEnum, 3, pUVM, pfnCallback, pvUser);