mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 00:33:55 -06:00
exec: Expose 'target_page.h' API to user emulation
User-only objects might benefit from the "exec/target_page.h" API, which allows to build some objects once for all targets. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Warner Losh <imp@bsdimp.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20231211212003.21686-3-philmd@linaro.org>
This commit is contained in:
parent
8501048b50
commit
75bbe6a4d2
5 changed files with 45 additions and 43 deletions
|
@ -18,5 +18,3 @@ subdir('sh4')
|
|||
subdir('sparc')
|
||||
subdir('tricore')
|
||||
subdir('xtensa')
|
||||
|
||||
specific_ss.add(files('target-common.c'))
|
||||
|
|
|
@ -1,10 +0,0 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
||||
#include "qemu/osdep.h"
|
||||
|
||||
#include "cpu.h"
|
||||
#include "exec/target_page.h"
|
||||
|
||||
int qemu_target_page_mask(void)
|
||||
{
|
||||
return TARGET_PAGE_MASK;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue