xen: move x86-specific xen_vector_callback_enabled to sys/x86

This is x86-only and so should not be in the common area.

Submitted by: Elliott Mitchell <ehem+freebsd@m5p.com>
Reviewed by: royger
Differential revision: https://reviews.freebsd.org/D29040
This commit is contained in:
Julien Grall 2021-03-15 12:27:36 +01:00 committed by Roger Pau Monné
parent ff5272ca71
commit b55c0d5f56
2 changed files with 3 additions and 3 deletions

View File

@ -33,6 +33,9 @@
/* Everything below this point is not included by assembler (.S) files. */
#ifndef __ASSEMBLY__
/* If non-zero, the hypervisor has been configured to use a direct vector */
extern int xen_vector_callback_enabled;
#endif /* !__ASSEMBLY__ */
#endif /* _MACHINE_X86_XEN_XEN_OS_H_ */

View File

@ -38,9 +38,6 @@
/** Registered Xen interrupt callback handle. */
typedef void * xen_intr_handle_t;
/** If non-zero, the hypervisor has been configured to use a direct vector */
extern int xen_vector_callback_enabled;
void xen_intr_handle_upcall(struct trapframe *trap_frame);
/**