diff options
author | Richard Henderson <rth@twiddle.net> | 2015-09-15 11:45:13 -0700 |
---|---|---|
committer | Eduardo Habkost <ehabkost@redhat.com> | 2015-10-23 12:59:27 -0200 |
commit | d0052339236072bbf08c1d600c0906126b1ab258 (patch) | |
tree | ca1cc289d1122c1ded250868f7e5bbda747b25c2 /target-i386/cpu.h | |
parent | 5223a9423c5fb9e32b0c3eaaa2c0bf8c5cfd6866 (diff) |
target-i386: Check CR4[DE] for processing DR4/DR5
Introduce helper_get_dr so that we don't have to put CR4[DE]
into the scarce HFLAGS resource. At the same time, rename
helper_movl_drN_T0 to helper_set_dr and set the helper flags.
Signed-off-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'target-i386/cpu.h')
-rw-r--r-- | target-i386/cpu.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target-i386/cpu.h b/target-i386/cpu.h index 0bf6f889cb..62f78798b6 100644 --- a/target-i386/cpu.h +++ b/target-i386/cpu.h @@ -920,7 +920,7 @@ typedef struct CPUX86State { int error_code; int exception_is_int; target_ulong exception_next_eip; - target_ulong dr[8]; /* debug registers */ + target_ulong dr[8]; /* debug registers; note dr4 and dr5 are unused */ union { struct CPUBreakpoint *cpu_breakpoint[4]; struct CPUWatchpoint *cpu_watchpoint[4]; |