Olivier Deprez | 112d2b5 | 2020-09-30 07:39:23 +0200 | [diff] [blame] | 1 | /* |
| 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 Deprez | 0504692 | 2023-03-09 15:48:40 +0100 | [diff] [blame] | 11 | #include "hf/boot_params.h" |
Olivier Deprez | 112d2b5 | 2020-09-30 07:39:23 +0200 | [diff] [blame] | 12 | #include "hf/ffa.h" |
| 13 | #include "hf/vm.h" |
| 14 | |
Olivier Deprez | 0504692 | 2023-03-09 15:48:40 +0100 | [diff] [blame] | 15 | bool arch_other_world_vm_init(struct vm *other_world_vm, |
| 16 | const struct boot_params *params, |
| 17 | struct mpool *ppool); |
Olivier Deprez | 112d2b5 | 2020-09-30 07:39:23 +0200 | [diff] [blame] | 18 | struct ffa_value arch_other_world_call(struct ffa_value args); |
Olivier Deprez | c60cc1f | 2023-07-07 13:18:06 +0200 | [diff] [blame] | 19 | struct ffa_value arch_other_world_call_ext(struct ffa_value args); |
Karl Meakin | 738bee1 | 2024-01-12 15:19:45 +0000 | [diff] [blame] | 20 | |
| 21 | struct 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 | |
| 26 | struct 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); |