Daniel Boulby | b2fb80e | 2021-02-03 15:09:23 +0000 | [diff] [blame] | 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 | |
Daniel Boulby | 87b2dc8 | 2021-08-04 14:07:43 +0100 | [diff] [blame] | 13 | /** Returns information on features that are specific to the arch */ |
| 14 | struct ffa_value arch_ffa_features(uint32_t function_id); |
| 15 | |
Daniel Boulby | b2fb80e | 2021-02-03 15:09:23 +0000 | [diff] [blame] | 16 | /** Returns the SPMC ID. */ |
| 17 | ffa_vm_id_t arch_ffa_spmc_id_get(void); |
Daniel Boulby | f7d9a78 | 2021-05-13 11:13:54 +0100 | [diff] [blame] | 18 | |
| 19 | /** Called once at boot time to initialize the platform ffa module. */ |
| 20 | void arch_ffa_init(void); |