summary refs log tree commit diff stats
path: root/target
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2023-12-07 10:41:27 +0100
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2024-04-26 15:28:11 +0200
commit75bbe6a4d2bc9c3681ab71021645d655ad045a75 (patch)
tree66bc852614d7ca0004ee157ed683cc98bdf5911a /target
parent8501048b501aec0d2d422aafd713348c235d8b83 (diff)
downloadfocaccia-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.build2
-rw-r--r--target/target-common.c10
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;
-}