Home | History | Annotate | Download | only in qemu

Lines Matching defs:wp

1359     CPUWatchpoint *wp;
1367 wp = qemu_malloc(sizeof(*wp));
1369 wp->vaddr = addr;
1370 wp->len_mask = len_mask;
1371 wp->flags = flags;
1375 QTAILQ_INSERT_HEAD(&env->watchpoints, wp, entry);
1377 QTAILQ_INSERT_TAIL(&env->watchpoints, wp, entry);
1382 *watchpoint = wp;
1391 CPUWatchpoint *wp;
1393 QTAILQ_FOREACH(wp, &env->watchpoints, entry) {
1394 if (addr == wp->vaddr && len_mask == wp->len_mask
1395 && flags == (wp->flags & ~BP_WATCHPOINT_HIT)) {
1396 cpu_watchpoint_remove_by_ref(env, wp);
1416 CPUWatchpoint *wp, *next;
1418 QTAILQ_FOREACH_SAFE(wp, &env->watchpoints, entry, next) {
1419 if (wp->flags & mask)
1420 cpu_watchpoint_remove_by_ref(env, wp);
1724 CPUWatchpoint *wp;
1742 QTAILQ_FOREACH(wp, &env->watchpoints, entry) {
1743 cpu_watchpoint_insert(new_env, wp->vaddr, (~wp->len_mask) + 1,
1744 wp->flags, NULL);
1989 CPUWatchpoint *wp;
2035 QTAILQ_FOREACH(wp, &env->watchpoints, entry) {
2036 if (vaddr == (wp->vaddr & TARGET_PAGE_MASK)) {
2719 CPUWatchpoint *wp;
2730 QTAILQ_FOREACH(wp, &env->watchpoints, entry) {
2731 if ((vaddr == (wp->vaddr & len_mask) ||
2732 (vaddr & wp->len_mask) == wp->vaddr) && (wp->flags & flags)) {
2733 wp->flags |= BP_WATCHPOINT_HIT;
2735 env->watchpoint_hit = wp;
2743 if (wp->flags & BP_STOP_BEFORE_ACCESS) {
2752 wp->flags &= ~BP_WATCHPOINT_HIT;