move {,vcpu_}show_execution_state() declarations to common header

These are used from common code, so their signatures should be
consistent across architectures. This is achieved / guaranteed easiest
when their declarations are in a common header.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Julien Grall <jgrall@amazon.com>
This commit is contained in:
Jan Beulich committed 2023-03-22 09:58:25 +01:00
1 parent 5b18843067
commit 7fa8b6cda9
5 files changed
+7 -5

No files matched your search

-1
View File
@@ -232,7 +232,6 @@ struct arch_vcpu
} __cacheline_aligned;
void vcpu_show_execution_state(struct vcpu *);
void vcpu_show_registers(const struct vcpu *);
void vcpu_switch_to_aarch64_mode(struct vcpu *);
-1
View File
@@ -557,7 +557,6 @@ extern register_t __cpu_logical_map[];
#ifndef __ASSEMBLY__
void panic_PAR(uint64_t par);
void show_execution_state(const struct cpu_user_regs *regs);
/* Debugging functions are declared with external linkage to aid development. */
void show_registers(const struct cpu_user_regs *regs);
void show_stack(const struct cpu_user_regs *regs);
-1
View File
@@ -688,7 +688,6 @@ void domain_cpu_policy_changed(struct domain *d);
bool update_secondary_system_time(struct vcpu *,
struct vcpu_time_info *);
void vcpu_show_execution_state(struct vcpu *);
void vcpu_show_registers(const struct vcpu *);
static inline struct vcpu_guest_context *alloc_vcpu_guest_context(void)
-2
View File
@@ -436,8 +436,6 @@ static always_inline void rep_nop(void)
void show_code(const struct cpu_user_regs *regs);
void show_stack_overflow(unsigned int cpu, const struct cpu_user_regs *regs);
void show_registers(const struct cpu_user_regs *regs);
void show_execution_state(const struct cpu_user_regs *regs);
void cf_check show_execution_state_nonconst(struct cpu_user_regs *regs);
#define dump_execution_state() \
run_in_exception_handler(show_execution_state_nonconst)
void show_page_walk(unsigned long addr);
+7
View File
@@ -107,5 +107,12 @@ bool_t is_active_kernel_text(unsigned long addr);
extern const char xen_config_data[];
extern const unsigned int xen_config_data_size;
struct cpu_user_regs;
struct vcpu;
void show_execution_state(const struct cpu_user_regs *regs);
void cf_check show_execution_state_nonconst(struct cpu_user_regs *regs);
void vcpu_show_execution_state(struct vcpu *);
#endif /* _LINUX_KERNEL_H */
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.