diff options
| author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2023-12-07 10:41:27 +0100 |
|---|---|---|
| committer | Philippe Mathieu-Daudé <philmd@linaro.org> | 2024-04-26 15:28:11 +0200 |
| commit | 75bbe6a4d2bc9c3681ab71021645d655ad045a75 (patch) | |
| tree | 66bc852614d7ca0004ee157ed683cc98bdf5911a /target | |
| parent | 8501048b501aec0d2d422aafd713348c235d8b83 (diff) | |
| download | focaccia-qemu-75bbe6a4d2bc9c3681ab71021645d655ad045a75.tar.gz focaccia-qemu-75bbe6a4d2bc9c3681ab71021645d655ad045a75.zip | |
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>
Diffstat (limited to 'target')
| -rw-r--r-- | target/meson.build | 2 | ||||
| -rw-r--r-- | target/target-common.c | 10 |
2 files changed, 0 insertions, 12 deletions
diff --git a/target/meson.build b/target/meson.build index 59b46b2ef4..1c2e6f2b19 100644 --- a/target/meson.build +++ b/target/meson.build @@ -18,5 +18,3 @@ subdir('sh4') subdir('sparc') subdir('tricore') subdir('xtensa') - -specific_ss.add(files('target-common.c')) diff --git a/target/target-common.c b/target/target-common.c deleted file mode 100644 index 903b10cfe4..0000000000 --- a/target/target-common.c +++ /dev/null @@ -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; -} |