Lines Matching defs:index
962 void hw_breakpoint_insert(CPUState *env, int index)
966 switch (hw_breakpoint_type(env->dr[7], index)) {
968 if (hw_breakpoint_enabled(env->dr[7], index))
969 err = cpu_breakpoint_insert(env, env->dr[index], BP_CPU,
970 &env->cpu_breakpoint[index]);
981 err = cpu_watchpoint_insert(env, env->dr[index],
982 hw_breakpoint_len(env->dr[7], index),
983 type, &env->cpu_watchpoint[index]);
987 env->cpu_breakpoint[index] = NULL;
990 void hw_breakpoint_remove(CPUState *env, int index)
992 if (!env->cpu_breakpoint[index])
994 switch (hw_breakpoint_type(env->dr[7], index)) {
996 if (hw_breakpoint_enabled(env->dr[7], index))
997 cpu_breakpoint_remove_by_ref(env, env->cpu_breakpoint[index]);
1001 cpu_watchpoint_remove_by_ref(env, env->cpu_watchpoint[index]);
1141 int index;
1147 index = selector & ~7;
1148 ptr = dt->base + index;
1149 if ((index + 7) > dt->limit