ACK: [RESEND PATCH v1 1/7] lib: Add fwts_architecture macro for RISC-V
Ivan Hu
ivan.hu at canonical.com
Thu Jul 24 06:39:17 UTC 2025
Thanks!
On Tue, Jul 15, 2025 at 11:29 PM Sunil V L <sunilvl at ventanamicro.com> wrote:
> From: Haibo Xu <haibo1.xu at intel.com>
>
> Signed-off-by: Haibo Xu <haibo1.xu at intel.com>
> Signed-off-by: Sunil V L <sunilvl at ventanamicro.com>
> ---
> src/lib/include/fwts_arch.h | 1 +
> src/lib/src/fwts_arch.c | 2 ++
> 2 files changed, 3 insertions(+)
>
> diff --git a/src/lib/include/fwts_arch.h b/src/lib/include/fwts_arch.h
> index ddf29e84..02270269 100644
> --- a/src/lib/include/fwts_arch.h
> +++ b/src/lib/include/fwts_arch.h
> @@ -27,6 +27,7 @@ typedef enum {
> FWTS_ARCH_X86,
> FWTS_ARCH_IA64,
> FWTS_ARCH_ARM64,
> + FWTS_ARCH_RISCV64,
> FWTS_ARCH_OTHER
> } fwts_architecture;
>
> diff --git a/src/lib/src/fwts_arch.c b/src/lib/src/fwts_arch.c
> index d60f25a6..ace78d51 100644
> --- a/src/lib/src/fwts_arch.c
> +++ b/src/lib/src/fwts_arch.c
> @@ -31,6 +31,7 @@ static const struct fwts_arch_info arch_info[] = {
> { FWTS_ARCH_IA64, "ia64" },
> { FWTS_ARCH_ARM64, "arm64" },
> { FWTS_ARCH_ARM64, "aarch64" },
> + { FWTS_ARCH_RISCV64, "riscv64" },
> { FWTS_ARCH_OTHER, "other" }
> };
>
> @@ -38,6 +39,7 @@ static const struct fwts_arch_info arch_name[] = {
> { FWTS_ARCH_X86, "x86" },
> { FWTS_ARCH_IA64, "ia64" },
> { FWTS_ARCH_ARM64, "arm64" },
> + { FWTS_ARCH_RISCV64, "riscv64" },
> { FWTS_ARCH_OTHER, "other" },
> };
>
> --
> 2.43.0
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/fwts-devel/attachments/20250724/7100f4b7/attachment.html>
More information about the fwts-devel
mailing list