qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] util/bufferiszero: Split out host include files


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH] util/bufferiszero: Split out host include files
Date: Thu, 6 Jun 2024 08:36:42 +0200
User-agent: Mozilla Thunderbird

On 6/6/24 07:14, Richard Henderson wrote:
Split out host/bufferiszero.h.inc for x86, aarch64 and generic
in order to avoid an overlong ifdef ladder.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
  host/include/aarch64/host/bufferiszero.h.inc |  76 ++++++++
  host/include/generic/host/bufferiszero.h.inc |  10 +
  host/include/i386/host/bufferiszero.h.inc    | 124 ++++++++++++
  host/include/x86_64/host/bufferiszero.h.inc  |   1 +
  util/bufferiszero.c                          | 191 +------------------
  5 files changed, 212 insertions(+), 190 deletions(-)
  create mode 100644 host/include/aarch64/host/bufferiszero.h.inc
  create mode 100644 host/include/generic/host/bufferiszero.h.inc
  create mode 100644 host/include/i386/host/bufferiszero.h.inc
  create mode 100644 host/include/x86_64/host/bufferiszero.h.inc

Renaming the files as .c.inc:

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]