blob: 236cb05d9efbcce1f5f5e1b31c799d05eb845331 [file] [log] [blame]
Andrew Scull07b6bd32019-12-12 17:19:55 +00001/*
2 * Copyright 2019 The Hafnium Authors.
3 *
Andrew Walbrane959ec12020-06-17 15:01:09 +01004 * 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.
Andrew Scull07b6bd32019-12-12 17:19:55 +00007 */
8
9#pragma once
10
Andrew Walbranb5ab43c2020-04-30 11:32:54 +010011#include "vmapi/hf/ffa.h"
Andrew Scull07b6bd32019-12-12 17:19:55 +000012
13/**
14 * Called after an SMC has been forwarded. `args` contains the arguments passed
15 * to the SMC and `ret` contains the return values that will be set in the vCPU
16 * registers after this call returns.
17 */
Andrew Walbranb5ab43c2020-04-30 11:32:54 +010018void plat_smc_post_forward(struct ffa_value args, struct ffa_value *ret);