semihosting: Split out common_semi_has_synccache
commita1df4bab432fc62a0d14abc192ce063c432afd2e
authorRichard Henderson <richard.henderson@linaro.org>
Fri, 29 Apr 2022 21:16:01 +0000 (29 14:16 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Mon, 27 Jun 2022 23:05:07 +0000 (28 04:35 +0530)
tree1ede5861bf64d56e61dd7f1e6eb1f23c3777118c
parent3c820ddc1b92f17fea85fdaed2928feaa9c238d7
semihosting: Split out common_semi_has_synccache

We already have some larger ifdef blocks for ARM and RISCV;
split out a boolean test for SYS_SYNCCACHE.

Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
semihosting/arm-compat-semi.c