Lines Matching defs:iBp

65         pVM->dbgf.s.aHwBreakpoints[i].iBp = i;
72 pVM->dbgf.s.aBreakpoints[i].iBp = i + RT_ELEMENTS(pVM->dbgf.s.aHwBreakpoints);
131 for (unsigned iBp = 0; iBp < cBps; iBp++)
132 if (paBps[iBp].enmType == DBGFBPTYPE_FREE)
135 paBps[iBp].cHits = 0;
136 paBps[iBp].enmType = enmType;
137 return &paBps[iBp];
151 * @param iBp The breakpoint id.
153 static PDBGFBP dbgfR3BpGet(PVM pVM, uint32_t iBp)
157 if (iBp < RT_ELEMENTS(pVM->dbgf.s.aHwBreakpoints))
158 pBp = &pVM->dbgf.s.aHwBreakpoints[iBp];
161 iBp -= RT_ELEMENTS(pVM->dbgf.s.aHwBreakpoints);
162 if (iBp >= RT_ELEMENTS(pVM->dbgf.s.aBreakpoints))
164 pBp = &pVM->dbgf.s.aBreakpoints[iBp];
224 for (unsigned iBp = 0; iBp < cBps; iBp++)
226 if ( paBps[iBp].enmType == enmType
227 && paBps[iBp].GCPtr == GCPtr)
228 return &paBps[iBp];
311 *piBp = pBp->iBp;
334 *piBp = pBp->iBp;
499 *piBp = pBp->iBp;
514 Assert(pBp->iBp == pBp->u.Reg.iReg);
525 *piBp = pBp->iBp;
650 *piBp = pBp->iBp;
677 *piBp = pBp->iBp;
716 * @param iBp The id of the breakpoint which should be removed (cleared).
720 static DECLCALLBACK(int) dbgfR3BpClear(PUVM pUVM, uint32_t iBp)
727 PDBGFBP pBp = dbgfR3BpGet(pVM, iBp);
775 * @param iBp The id of the breakpoint which should be removed (cleared).
778 VMMR3DECL(int) DBGFR3BpClear(PUVM pUVM, uint32_t iBp)
783 int rc = VMR3ReqCallWaitU(pUVM, VMCPUID_ANY, (PFNRT)dbgfR3BpClear, 2, pUVM, iBp);
794 * @param iBp The id of the breakpoint which should be enabled.
798 static DECLCALLBACK(int) dbgfR3BpEnable(PUVM pUVM, uint32_t iBp)
805 PDBGFBP pBp = dbgfR3BpGet(pVM, iBp);
853 * @param iBp The id of the breakpoint which should be enabled.
856 VMMR3DECL(int) DBGFR3BpEnable(PUVM pUVM, uint32_t iBp)
861 int rc = VMR3ReqCallWaitU(pUVM, VMCPUID_ANY, (PFNRT)dbgfR3BpEnable, 2, pUVM, iBp);
872 * @param iBp The id of the breakpoint which should be disabled.
876 static DECLCALLBACK(int) dbgfR3BpDisable(PUVM pUVM, uint32_t iBp)
883 PDBGFBP pBp = dbgfR3BpGet(pVM, iBp);
929 * @param iBp The id of the breakpoint which should be disabled.
932 VMMR3DECL(int) DBGFR3BpDisable(PUVM pUVM, uint32_t iBp)
937 int rc = VMR3ReqCallWaitU(pUVM, VMCPUID_ANY, (PFNRT)dbgfR3BpDisable, 2, pUVM, iBp);