Daniel Boulby | f3cf28c | 2024-08-22 10:46:23 +0100 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2024 The Hafnium Authors. |
| 3 | * |
| 4 | * Use of this source code is governed by a BSD-style |
| 5 | * license that can be found in the LICENSE file or at |
| 6 | * https://opensource.org/licenses/BSD-3-Clause. |
| 7 | */ |
| 8 | |
| 9 | #pragma once |
| 10 | |
| 11 | #include "hf/types.h" |
| 12 | #include "hf/vcpu.h" |
| 13 | #include "hf/vm.h" |
| 14 | |
| 15 | void hf_ipi_init_interrupt(void); |
Daniel Boulby | 7011b5a | 2024-10-15 18:27:26 +0100 | [diff] [blame^] | 16 | struct vcpu *hf_ipi_get_pending_target_vcpu(struct vcpu *current); |
Daniel Boulby | f3cf28c | 2024-08-22 10:46:23 +0100 | [diff] [blame] | 17 | void hf_ipi_send_interrupt(struct vm *vm, ffa_vcpu_index_t target_vcpu_index); |
| 18 | bool hf_ipi_handle(struct vcpu_locked target_vcpu_locked); |