mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-05 02:40:37 +00:00
hv: fixes related to unused API and uninitialized variable
This patch does: - remove the unused API declaration - fix use of uninitialized variable in instr_emul.c Tracked-On: #861 Signed-off-by: Shiqing Gao <shiqing.gao@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
@@ -74,12 +74,6 @@ struct smp_call_info_data {
|
||||
};
|
||||
|
||||
void smp_call_function(uint64_t mask, smp_call_func_t func, void *data);
|
||||
int handle_level_interrupt_common(struct irq_desc *desc,
|
||||
__unused void *handler_data);
|
||||
int common_handler_edge(struct irq_desc *desc, __unused void *handler_data);
|
||||
int common_dev_handler_level(struct irq_desc *desc,
|
||||
__unused void *handler_data);
|
||||
int quick_handler_nolock(struct irq_desc *desc, __unused void *handler_data);
|
||||
|
||||
void init_default_irqs(uint16_t cpu_id);
|
||||
|
||||
|
@@ -84,8 +84,4 @@ static inline uint64_t vm_exit_io_instruction_port_number(uint64_t exit_qual)
|
||||
return (vm_exit_qualification_bit_mask(exit_qual, 31U, 16U) >> 16U);
|
||||
}
|
||||
|
||||
#ifdef HV_DEBUG
|
||||
void get_vmexit_profile(char *str_arg, size_t str_max);
|
||||
#endif /* HV_DEBUG */
|
||||
|
||||
#endif /* VMEXIT_H_ */
|
||||
|
Reference in New Issue
Block a user