1 /* 2 * Copyright 2021 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/ffa.h" 12 13 /** Returns information on features that are specific to the arch */ 14 struct ffa_value arch_ffa_features(uint32_t function_id); 15 16 /** Returns the SPMC ID. */ 17 ffa_vm_id_t arch_ffa_spmc_id_get(void); 18 19 /** Called once at boot time to initialize the platform ffa module. */ 20 void arch_ffa_init(void); 21