On Fri, Feb 27, 2026 at 1:37 PM Brian Cain <[email protected]>
wrote:

> From: Brian Cain <[email protected]>
>
> Co-authored-by: Sid Manning <[email protected]>
> Signed-off-by: Brian Cain <[email protected]>
> ---
>  target/hexagon/cpu_helper.h |  8 +++++
>  target/hexagon/helper.h     |  3 +-
>  target/hexagon/cpu.c        |  1 -
>  target/hexagon/cpu_helper.c | 70 +++++++++++++++++++++++++++++++++++++
>  target/hexagon/op_helper.c  | 28 ++++++++++-----
>  target/hexagon/meson.build  |  1 +
>  6 files changed, 100 insertions(+), 11 deletions(-)
>  create mode 100644 target/hexagon/cpu_helper.c
>
> --- a/target/hexagon/cpu.c
> +++ b/target/hexagon/cpu.c
> @@ -338,7 +338,6 @@ static void hexagon_cpu_realize(DeviceState *dev,
> Error **errp)
>
>      qemu_init_vcpu(cs);
>      cpu_reset(cs);
> -
>      mcc->parent_realize(dev, errp);
>  }
>
> diff --git a/target/hexagon/cpu_helper.c b/target/hexagon/cpu_helper.c
> new file mode 100644
> index 00000000000..8e11cbb20dd
> --- /dev/null
> +++ b/target/hexagon/cpu_helper.c
> @@ -0,0 +1,70 @@
> +/*
> + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
> + *
> + * SPDX-License-Identifier: GPL-2.0-or-later
> + */
> +
> +#ifndef CONFIG_USER_ONLY
>

Is the complete file guarded by this when all is said and done?  If so,
remove the guard and put it in the softmmu file list in meson.build.

Otherwise
Reviewed-by: Taylor Simpson <[email protected]>

Reply via email to