1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright (C) 2022 - Google LLC
4 * Author: Andrew Walbran <qwandor@google.com>
6 #ifndef __KVM_HYP_FFA_H
7 #define __KVM_HYP_FFA_H
9 #include <asm/kvm_host.h>
11 #define FFA_MIN_FUNC_NUM 0x60
12 #define FFA_MAX_FUNC_NUM 0x7F
14 int hyp_ffa_init(void *pages);
15 bool kvm_host_ffa_handler(struct kvm_cpu_context *host_ctxt);
17 #endif /* __KVM_HYP_FFA_H */