Home
last modified time | relevance | path

Searched refs:new_dr7 (Results 1 – 18 of 18) sorted by relevance

/dports/emulators/qemu-devel/qemu-de8ed1055c2ce18c95f597eb10df360dcb534f99/target/i386/tcg/sysemu/
H A Dbpt_helper.c124 void cpu_x86_update_dr7(CPUX86State *env, uint32_t new_dr7) in cpu_x86_update_dr7() argument
130 new_dr7 |= DR7_FIXED_1; in cpu_x86_update_dr7()
134 if (((old_dr7 ^ new_dr7) & ~0xff) == 0) { in cpu_x86_update_dr7()
138 int mod = ((old_dr7 | old_dr7 * 2) ^ (new_dr7 | new_dr7 * 2)) & 0xff; in cpu_x86_update_dr7()
141 if ((mod & (2 << i * 2)) && !hw_breakpoint_enabled(new_dr7, i)) { in cpu_x86_update_dr7()
145 env->dr[7] = new_dr7; in cpu_x86_update_dr7()
147 if (mod & (2 << i * 2) && hw_breakpoint_enabled(new_dr7, i)) { in cpu_x86_update_dr7()
149 } else if (hw_breakpoint_type(new_dr7, i) == DR7_TYPE_IO_RW in cpu_x86_update_dr7()
150 && hw_breakpoint_enabled(new_dr7, i)) { in cpu_x86_update_dr7()
158 env->dr[7] = new_dr7; in cpu_x86_update_dr7()
/dports/emulators/qemu/qemu-6.2.0/target/i386/tcg/sysemu/
H A Dbpt_helper.c124 void cpu_x86_update_dr7(CPUX86State *env, uint32_t new_dr7) in cpu_x86_update_dr7() argument
130 new_dr7 |= DR7_FIXED_1; in cpu_x86_update_dr7()
134 if (((old_dr7 ^ new_dr7) & ~0xff) == 0) { in cpu_x86_update_dr7()
138 int mod = ((old_dr7 | old_dr7 * 2) ^ (new_dr7 | new_dr7 * 2)) & 0xff; in cpu_x86_update_dr7()
141 if ((mod & (2 << i * 2)) && !hw_breakpoint_enabled(new_dr7, i)) { in cpu_x86_update_dr7()
145 env->dr[7] = new_dr7; in cpu_x86_update_dr7()
147 if (mod & (2 << i * 2) && hw_breakpoint_enabled(new_dr7, i)) { in cpu_x86_update_dr7()
149 } else if (hw_breakpoint_type(new_dr7, i) == DR7_TYPE_IO_RW in cpu_x86_update_dr7()
150 && hw_breakpoint_enabled(new_dr7, i)) { in cpu_x86_update_dr7()
158 env->dr[7] = new_dr7; in cpu_x86_update_dr7()
/dports/emulators/qemu-utils/qemu-4.2.1/target/i386/
H A Dbpt_helper.c124 void cpu_x86_update_dr7(CPUX86State *env, uint32_t new_dr7) in cpu_x86_update_dr7() argument
130 new_dr7 |= DR7_FIXED_1; in cpu_x86_update_dr7()
134 if (((old_dr7 ^ new_dr7) & ~0xff) == 0) { in cpu_x86_update_dr7()
138 int mod = ((old_dr7 | old_dr7 * 2) ^ (new_dr7 | new_dr7 * 2)) & 0xff; in cpu_x86_update_dr7()
141 if ((mod & (2 << i * 2)) && !hw_breakpoint_enabled(new_dr7, i)) { in cpu_x86_update_dr7()
145 env->dr[7] = new_dr7; in cpu_x86_update_dr7()
147 if (mod & (2 << i * 2) && hw_breakpoint_enabled(new_dr7, i)) { in cpu_x86_update_dr7()
149 } else if (hw_breakpoint_type(new_dr7, i) == DR7_TYPE_IO_RW in cpu_x86_update_dr7()
150 && hw_breakpoint_enabled(new_dr7, i)) { in cpu_x86_update_dr7()
158 env->dr[7] = new_dr7; in cpu_x86_update_dr7()
H A Dcpu.h1923 void cpu_x86_update_dr7(CPUX86State *env, uint32_t new_dr7);
/dports/emulators/qemu5/qemu-5.2.0/target/i386/
H A Dbpt_helper.c124 void cpu_x86_update_dr7(CPUX86State *env, uint32_t new_dr7) in cpu_x86_update_dr7() argument
130 new_dr7 |= DR7_FIXED_1; in cpu_x86_update_dr7()
134 if (((old_dr7 ^ new_dr7) & ~0xff) == 0) { in cpu_x86_update_dr7()
138 int mod = ((old_dr7 | old_dr7 * 2) ^ (new_dr7 | new_dr7 * 2)) & 0xff; in cpu_x86_update_dr7()
141 if ((mod & (2 << i * 2)) && !hw_breakpoint_enabled(new_dr7, i)) { in cpu_x86_update_dr7()
145 env->dr[7] = new_dr7; in cpu_x86_update_dr7()
147 if (mod & (2 << i * 2) && hw_breakpoint_enabled(new_dr7, i)) { in cpu_x86_update_dr7()
149 } else if (hw_breakpoint_type(new_dr7, i) == DR7_TYPE_IO_RW in cpu_x86_update_dr7()
150 && hw_breakpoint_enabled(new_dr7, i)) { in cpu_x86_update_dr7()
158 env->dr[7] = new_dr7; in cpu_x86_update_dr7()
H A Dcpu.h1956 void cpu_x86_update_dr7(CPUX86State *env, uint32_t new_dr7);
/dports/emulators/qemu-guest-agent/qemu-5.0.1/target/i386/
H A Dbpt_helper.c124 void cpu_x86_update_dr7(CPUX86State *env, uint32_t new_dr7) in cpu_x86_update_dr7() argument
130 new_dr7 |= DR7_FIXED_1; in cpu_x86_update_dr7()
134 if (((old_dr7 ^ new_dr7) & ~0xff) == 0) { in cpu_x86_update_dr7()
138 int mod = ((old_dr7 | old_dr7 * 2) ^ (new_dr7 | new_dr7 * 2)) & 0xff; in cpu_x86_update_dr7()
141 if ((mod & (2 << i * 2)) && !hw_breakpoint_enabled(new_dr7, i)) { in cpu_x86_update_dr7()
145 env->dr[7] = new_dr7; in cpu_x86_update_dr7()
147 if (mod & (2 << i * 2) && hw_breakpoint_enabled(new_dr7, i)) { in cpu_x86_update_dr7()
149 } else if (hw_breakpoint_type(new_dr7, i) == DR7_TYPE_IO_RW in cpu_x86_update_dr7()
150 && hw_breakpoint_enabled(new_dr7, i)) { in cpu_x86_update_dr7()
158 env->dr[7] = new_dr7; in cpu_x86_update_dr7()
H A Dcpu.h1937 void cpu_x86_update_dr7(CPUX86State *env, uint32_t new_dr7);
/dports/emulators/qemu42/qemu-4.2.1/target/i386/
H A Dbpt_helper.c124 void cpu_x86_update_dr7(CPUX86State *env, uint32_t new_dr7) in cpu_x86_update_dr7() argument
130 new_dr7 |= DR7_FIXED_1; in cpu_x86_update_dr7()
134 if (((old_dr7 ^ new_dr7) & ~0xff) == 0) { in cpu_x86_update_dr7()
138 int mod = ((old_dr7 | old_dr7 * 2) ^ (new_dr7 | new_dr7 * 2)) & 0xff; in cpu_x86_update_dr7()
141 if ((mod & (2 << i * 2)) && !hw_breakpoint_enabled(new_dr7, i)) { in cpu_x86_update_dr7()
145 env->dr[7] = new_dr7; in cpu_x86_update_dr7()
147 if (mod & (2 << i * 2) && hw_breakpoint_enabled(new_dr7, i)) { in cpu_x86_update_dr7()
149 } else if (hw_breakpoint_type(new_dr7, i) == DR7_TYPE_IO_RW in cpu_x86_update_dr7()
150 && hw_breakpoint_enabled(new_dr7, i)) { in cpu_x86_update_dr7()
158 env->dr[7] = new_dr7; in cpu_x86_update_dr7()
H A Dcpu.h1923 void cpu_x86_update_dr7(CPUX86State *env, uint32_t new_dr7);
/dports/emulators/qemu-powernv/qemu-powernv-3.0.50/target/i386/
H A Dbpt_helper.c124 void cpu_x86_update_dr7(CPUX86State *env, uint32_t new_dr7) in cpu_x86_update_dr7() argument
130 new_dr7 |= DR7_FIXED_1; in cpu_x86_update_dr7()
134 if (((old_dr7 ^ new_dr7) & ~0xff) == 0) { in cpu_x86_update_dr7()
138 int mod = ((old_dr7 | old_dr7 * 2) ^ (new_dr7 | new_dr7 * 2)) & 0xff; in cpu_x86_update_dr7()
141 if ((mod & (2 << i * 2)) && !hw_breakpoint_enabled(new_dr7, i)) { in cpu_x86_update_dr7()
145 env->dr[7] = new_dr7; in cpu_x86_update_dr7()
147 if (mod & (2 << i * 2) && hw_breakpoint_enabled(new_dr7, i)) { in cpu_x86_update_dr7()
149 } else if (hw_breakpoint_type(new_dr7, i) == DR7_TYPE_IO_RW in cpu_x86_update_dr7()
150 && hw_breakpoint_enabled(new_dr7, i)) { in cpu_x86_update_dr7()
158 env->dr[7] = new_dr7; in cpu_x86_update_dr7()
H A Dcpu.h1670 void cpu_x86_update_dr7(CPUX86State *env, uint32_t new_dr7);
/dports/emulators/qemu-cheri/qemu-0a323821042c36e21ea80e58b9545dfc3b0cb8ef/target/i386/
H A Dbpt_helper.c124 void cpu_x86_update_dr7(CPUX86State *env, uint32_t new_dr7) in cpu_x86_update_dr7() argument
130 new_dr7 |= DR7_FIXED_1; in cpu_x86_update_dr7()
134 if (((old_dr7 ^ new_dr7) & ~0xff) == 0) { in cpu_x86_update_dr7()
138 int mod = ((old_dr7 | old_dr7 * 2) ^ (new_dr7 | new_dr7 * 2)) & 0xff; in cpu_x86_update_dr7()
141 if ((mod & (2 << i * 2)) && !hw_breakpoint_enabled(new_dr7, i)) { in cpu_x86_update_dr7()
145 env->dr[7] = new_dr7; in cpu_x86_update_dr7()
147 if (mod & (2 << i * 2) && hw_breakpoint_enabled(new_dr7, i)) { in cpu_x86_update_dr7()
149 } else if (hw_breakpoint_type(new_dr7, i) == DR7_TYPE_IO_RW in cpu_x86_update_dr7()
150 && hw_breakpoint_enabled(new_dr7, i)) { in cpu_x86_update_dr7()
158 env->dr[7] = new_dr7; in cpu_x86_update_dr7()
H A Dcpu.h1935 void cpu_x86_update_dr7(CPUX86State *env, uint32_t new_dr7);
/dports/emulators/qemu60/qemu-6.0.0/target/i386/tcg/
H A Dbpt_helper.c125 void cpu_x86_update_dr7(CPUX86State *env, uint32_t new_dr7) in cpu_x86_update_dr7() argument
131 new_dr7 |= DR7_FIXED_1; in cpu_x86_update_dr7()
135 if (((old_dr7 ^ new_dr7) & ~0xff) == 0) { in cpu_x86_update_dr7()
139 int mod = ((old_dr7 | old_dr7 * 2) ^ (new_dr7 | new_dr7 * 2)) & 0xff; in cpu_x86_update_dr7()
142 if ((mod & (2 << i * 2)) && !hw_breakpoint_enabled(new_dr7, i)) { in cpu_x86_update_dr7()
146 env->dr[7] = new_dr7; in cpu_x86_update_dr7()
148 if (mod & (2 << i * 2) && hw_breakpoint_enabled(new_dr7, i)) { in cpu_x86_update_dr7()
150 } else if (hw_breakpoint_type(new_dr7, i) == DR7_TYPE_IO_RW in cpu_x86_update_dr7()
151 && hw_breakpoint_enabled(new_dr7, i)) { in cpu_x86_update_dr7()
159 env->dr[7] = new_dr7; in cpu_x86_update_dr7()
/dports/emulators/qemu60/qemu-6.0.0/target/i386/
H A Dcpu.h1966 void cpu_x86_update_dr7(CPUX86State *env, uint32_t new_dr7);
/dports/emulators/qemu-devel/qemu-de8ed1055c2ce18c95f597eb10df360dcb534f99/target/i386/
H A Dcpu.h2002 void cpu_x86_update_dr7(CPUX86State *env, uint32_t new_dr7);
/dports/emulators/qemu/qemu-6.2.0/target/i386/
H A Dcpu.h2032 void cpu_x86_update_dr7(CPUX86State *env, uint32_t new_dr7);