blob: 5edb64264d5fdffe4584f72f3382634e21d15c95 [file] [log] [blame]
Olivier Deprez112d2b52020-09-30 07:39:23 +02001/*
2 * Copyright 2020 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
Olivier Deprez05046922023-03-09 15:48:40 +010011#include "hf/boot_params.h"
Olivier Deprez112d2b52020-09-30 07:39:23 +020012#include "hf/ffa.h"
13#include "hf/vm.h"
14
Olivier Deprez05046922023-03-09 15:48:40 +010015bool arch_other_world_vm_init(struct vm *other_world_vm,
16 const struct boot_params *params,
17 struct mpool *ppool);
Olivier Deprez112d2b52020-09-30 07:39:23 +020018struct ffa_value arch_other_world_call(struct ffa_value args);
Olivier Deprezc60cc1f2023-07-07 13:18:06 +020019struct ffa_value arch_other_world_call_ext(struct ffa_value args);
Karl Meakin738bee12024-01-12 15:19:45 +000020
21struct ffa_value arch_other_world_vm_configure_rxtx_map(
22 struct vm_locked vm_locked, struct mpool *local_page_pool,
23 paddr_t pa_send_begin, paddr_t pa_send_end, paddr_t pa_recv_begin,
24 paddr_t pa_recv_end);
25
26struct ffa_value arch_other_world_vm_configure_rxtx_unmap(
27 struct vm_locked vm_locked, struct mpool *local_page_pool,
28 paddr_t pa_send_begin, paddr_t pa_send_end, paddr_t pa_recv_begin,
29 paddr_t pa_recv_end);