diff --git a/hypervisor/include/common/hypercall.h b/hypervisor/include/common/hypercall.h index 1c0da2237..ef90dc6f0 100644 --- a/hypervisor/include/common/hypercall.h +++ b/hypervisor/include/common/hypercall.h @@ -152,55 +152,6 @@ int32_t hcall_create_vcpu(struct vm *vm, uint16_t vmid, uint64_t param); */ int32_t hcall_set_vcpu_regs(struct vm *vm, uint16_t vmid, uint64_t param); -/** - * @brief assert IRQ line - * - * Assert a virtual IRQ line for a VM, which could be from ISA or IOAPIC, - * normally it will active a level IRQ. - * The function will return -1 if the target VM does not exist. - * - * @param vm Pointer to VM data structure - * @param vmid ID of the VM - * @param param guest physical address. This gpa points to struct acrn_irqline - * - * @pre Pointer vm shall point to VM0 - * @return 0 on success, non-zero on error. - */ -int32_t hcall_assert_irqline(struct vm *vm, uint16_t vmid, uint64_t param); - -/** - * @brief deassert IRQ line - * - * Deassert a virtual IRQ line for a VM, which could be from ISA or IOAPIC, - * normally it will deactive a level IRQ. - * The function will return -1 if the target VM does not exist. - * - * @param vm Pointer to VM data structure - * @param vmid ID of the VM - * @param param guest physical address. This gpa points to struct acrn_irqline - * - * @pre @pre Pointer vm shall point to VM0 - * @return 0 on success, non-zero on error. - */ -int32_t hcall_deassert_irqline(struct vm *vm, uint16_t vmid, uint64_t param); - -/** - * @brief trigger a pulse on IRQ line - * - * Trigger a pulse on a virtual IRQ line for a VM, which could be from ISA - * or IOAPIC, normally it triggers an edge IRQ. - * The function will return -1 if the target VM does not exist. - * - * @param vm Pointer to VM data structure - * @param vmid ID of the VM - * @param param guest physical address. This gpa points to struct acrn_irqline - * - * @pre Pointer vm shall point to VM0 - * @return 0 on success, non-zero on error. - */ -int32_t hcall_pulse_irqline(struct vm *vm, uint16_t vmid, uint64_t param); - - /** * @brief set or clear IRQ line *