blob: d36a4bef90a5be2cfee2fe58a01ab4e4d81079c9 [file] [log] [blame]
Daniel Boulbyb2fb80e2021-02-03 15:09:23 +00001/*
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 Boulby87b2dc82021-08-04 14:07:43 +010013/** Returns information on features that are specific to the arch */
14struct ffa_value arch_ffa_features(uint32_t function_id);
15
Daniel Boulbyb2fb80e2021-02-03 15:09:23 +000016/** Returns the SPMC ID. */
17ffa_vm_id_t arch_ffa_spmc_id_get(void);
Daniel Boulbyf7d9a782021-05-13 11:13:54 +010018
19/** Called once at boot time to initialize the platform ffa module. */
20void arch_ffa_init(void);