[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL 6/7] target-i386: Make check_hw_breakpoints static
From: |
Eduardo Habkost |
Subject: |
[Qemu-devel] [PULL 6/7] target-i386: Make check_hw_breakpoints static |
Date: |
Mon, 28 Sep 2015 14:31:38 -0300 |
From: Richard Henderson <address@hidden>
The function is now only used from within a single file.
Reviewed-by: Eduardo Habkost <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>
Signed-off-by: Eduardo Habkost <address@hidden>
---
target-i386/bpt_helper.c | 2 +-
target-i386/cpu.h | 1 -
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/target-i386/bpt_helper.c b/target-i386/bpt_helper.c
index 6f6537d..c071c24 100644
--- a/target-i386/bpt_helper.c
+++ b/target-i386/bpt_helper.c
@@ -79,7 +79,7 @@ void hw_breakpoint_remove(CPUX86State *env, int index)
}
}
-bool check_hw_breakpoints(CPUX86State *env, bool force_dr6_update)
+static bool check_hw_breakpoints(CPUX86State *env, bool force_dr6_update)
{
target_ulong dr6;
int reg;
diff --git a/target-i386/cpu.h b/target-i386/cpu.h
index dc7654d..92426dc 100644
--- a/target-i386/cpu.h
+++ b/target-i386/cpu.h
@@ -1154,7 +1154,6 @@ static inline int hw_breakpoint_len(unsigned long dr7,
int index)
void hw_breakpoint_insert(CPUX86State *env, int index);
void hw_breakpoint_remove(CPUX86State *env, int index);
-bool check_hw_breakpoints(CPUX86State *env, bool force_dr6_update);
void breakpoint_handler(CPUState *cs);
/* will be suppressed */
--
2.1.0
- [Qemu-devel] [PULL 0/7] X86 queue, 2015-09-28, Eduardo Habkost, 2015/09/29
- [Qemu-devel] [PULL 1/7] cpu: Introduce X86CPUTopoInfo structure for argument simplification, Eduardo Habkost, 2015/09/29
- [Qemu-devel] [PULL 2/7] vl: Add another sanity check to smp_parse() function, Eduardo Habkost, 2015/09/29
- [Qemu-devel] [PULL 3/7] target-i386: Enable "check" mode by default, Eduardo Habkost, 2015/09/29
- [Qemu-devel] [PULL 4/7] target-i386: Convert kvm_default_*features to property/value pairs, Eduardo Habkost, 2015/09/29
- [Qemu-devel] [PULL 5/7] target-i386: Move breakpoint related functions to new file, Eduardo Habkost, 2015/09/29
- [Qemu-devel] [PULL 6/7] target-i386: Make check_hw_breakpoints static,
Eduardo Habkost <=
- [Qemu-devel] [PULL 7/7] target-i386: get/put MSR_TSC_AUX across reset and migration, Eduardo Habkost, 2015/09/29