diff --git a/include/arch/arm64/mm.h b/include/arch/arm64/mm.h new file mode 100644 index 00000000000..373e0627cab --- /dev/null +++ b/include/arch/arm64/mm.h @@ -0,0 +1,23 @@ +/* + * Copyright (c) 2021 Arm Limited (or its affiliates). All rights reserved. + * + * SPDX-License-Identifier: Apache-2.0 + */ +#ifndef ZEPHYR_INCLUDE_ARCH_ARM64_MM_H_ +#define ZEPHYR_INCLUDE_ARCH_ARM64_MM_H_ + +#if defined(CONFIG_ARM_MMU) +#include +#elif defined(CONFIG_ARM_MPU) +#include +#endif + +#ifndef _ASMLANGUAGE + +struct k_thread; +void z_arm64_thread_mem_domains_init(struct k_thread *thread); +void z_arm64_swap_mem_domains(struct k_thread *thread); + +#endif /* _ASMLANGUAGE */ + +#endif /* ZEPHYR_INCLUDE_ARCH_ARM64_MM_H_ */