lx_emul: shadow the ARM-specific asm/domain.h file

Fix genodelabs/genode#4938
This commit is contained in:
Stefan Kalkowski 2023-06-28 15:03:09 +02:00 committed by Norman Feske
parent 720d2847b6
commit b15fd68b60

View File

@ -0,0 +1,24 @@
/*
* \brief Shadows Linux kernel arch/arm/include/asm/domain.h
* \author Stefan Kalkowski
* \date 2023-06-27
*/
/*
* Copyright (C) 2023 Genode Labs GmbH
*
* This file is distributed under the terms of the GNU General Public License
* version 2.
*/
/*
* Undefine MMU support for domain accesses, although the configuration
* would allow it, to prevent system accesses.
*/
#ifdef CONFIG_CPU_CP15_MMU
#undef CONFIG_CPU_CP15_MMU
#include_next <asm/domain.h>
#define CONFIG_CPU_CP15_MMU
#else
#include_next <asm/domain.h>
#endif