From: "Philippe Mathieu-Daudé" <philmd@linaro.org>
To: qemu-devel@nongnu.org
Cc: "Richard Henderson" <richard.henderson@linaro.org>,
"Philippe Mathieu-Daudé" <philmd@linaro.org>
Subject: [PATCH 2/2] target/alpha: Only build sys_helper.c on system emulation
Date: Thu, 7 Dec 2023 11:54:26 +0100 [thread overview]
Message-ID: <20231207105426.49339-3-philmd@linaro.org> (raw)
In-Reply-To: <20231207105426.49339-1-philmd@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
---
target/alpha/sys_helper.c | 3 ---
target/alpha/meson.build | 6 ++++--
2 files changed, 4 insertions(+), 5 deletions(-)
diff --git a/target/alpha/sys_helper.c b/target/alpha/sys_helper.c
index 98d9a0fff7..768116ef32 100644
--- a/target/alpha/sys_helper.c
+++ b/target/alpha/sys_helper.c
@@ -28,7 +28,6 @@
/* PALcode support special instructions */
-#ifndef CONFIG_USER_ONLY
void helper_tbia(CPUAlphaState *env)
{
tlb_flush(env_cpu(env));
@@ -74,5 +73,3 @@ void helper_set_alarm(CPUAlphaState *env, uint64_t expire)
timer_del(cpu->alarm_timer);
}
}
-
-#endif /* CONFIG_USER_ONLY */
diff --git a/target/alpha/meson.build b/target/alpha/meson.build
index ea252c99a5..7dbbd55717 100644
--- a/target/alpha/meson.build
+++ b/target/alpha/meson.build
@@ -7,13 +7,15 @@ alpha_ss.add(files(
'clk_helper.c',
'int_helper.c',
'mem_helper.c',
- 'sys_helper.c',
'translate.c',
'vax_helper.c',
))
alpha_system_ss = ss.source_set()
-alpha_system_ss.add(files('machine.c'))
+alpha_system_ss.add(files(
+ 'machine.c',
+ 'sys_helper.c',
+))
target_arch += {'alpha': alpha_ss}
target_system_arch += {'alpha': alpha_system_ss}
--
2.41.0
next prev parent reply other threads:[~2023-12-07 10:55 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-07 10:54 [PATCH 0/2] target/alpha: Only build sys_helper.c on system emulation Philippe Mathieu-Daudé
2023-12-07 10:54 ` [PATCH 1/2] target/alpha: Extract clk_helper.c from sys_helper.c Philippe Mathieu-Daudé
2023-12-07 10:54 ` Philippe Mathieu-Daudé [this message]
2023-12-26 11:17 ` [PATCH 0/2] target/alpha: Only build sys_helper.c on system emulation Philippe Mathieu-Daudé
2024-01-17 8:22 ` Philippe Mathieu-Daudé
2023-12-27 20:52 ` Richard Henderson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20231207105426.49339-3-philmd@linaro.org \
--to=philmd@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=richard.henderson@linaro.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).