1 /*
2  * Copyright 2024 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 #include "hf/addr.h"
10 #include "hf/ffa.h"
11 #include "hf/ffa_internal.h"
12 #include "hf/plat/memory_protect.h"
13 
arch_memory_protect(paddr_t begin,paddr_t end,paddr_t * last_protected_pa)14 struct ffa_value arch_memory_protect(paddr_t begin, paddr_t end,
15 				     paddr_t *last_protected_pa)
16 {
17 	(void)begin;
18 	(void)end;
19 	(void)last_protected_pa;
20 
21 	return ffa_error(FFA_NOT_SUPPORTED);
22 }
23 
arch_memory_unprotect(paddr_t begin,paddr_t end)24 bool arch_memory_unprotect(paddr_t begin, paddr_t end)
25 {
26 	(void)begin;
27 	(void)end;
28 
29 	return true;
30 }
31