mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-06-07 17:46:15 +00:00
hv: change several APIs to void type
Change these 6 APIs to void type: init_default_irqs interrupt_init early_init_lapic init_lapic init_iommu destroy_iommu_domain It has checked the argument of destroy_iommu_domain in shutdown_vm, then no need to check it again inside destroy_iommu_domain. Signed-off-by: Mingqiang Chi <mingqiang.chi@intel.com> Reviewed-by: Junjie Mao <junjie.mao@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
@@ -134,8 +134,8 @@ union lapic_id {
|
||||
|
||||
void write_lapic_reg32(uint32_t offset, uint32_t value);
|
||||
void save_lapic(struct lapic_regs *regs);
|
||||
int early_init_lapic(void);
|
||||
int init_lapic(uint16_t cpu_id);
|
||||
void early_init_lapic(void);
|
||||
void init_lapic(uint16_t cpu_id);
|
||||
void send_lapic_eoi(void);
|
||||
uint8_t get_cur_lapic_id(void);
|
||||
int send_startup_ipi(enum intr_cpu_startup_shorthand cpu_startup_shorthand,
|
||||
|
||||
Reference in New Issue
Block a user