blob: dd40b8441c5d7b8d8bef2d7e3a09c11f47ec05dd [file] [log] [blame]
Daniel Boulbyf3cf28c2024-08-22 10:46:23 +01001/*
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
15void hf_ipi_init_interrupt(void);
16struct vcpu *hf_ipi_get_pending_target_vcpu(struct cpu *current);
17void hf_ipi_send_interrupt(struct vm *vm, ffa_vcpu_index_t target_vcpu_index);
18bool hf_ipi_handle(struct vcpu_locked target_vcpu_locked);