[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v6 5/9] xen: generate hypercall interface related code
- To: Juergen Gross <jgross@xxxxxxxx>, Anthony Perard <anthony.perard@xxxxxxxxxx>
- From: Jan Beulich <jbeulich@xxxxxxxx>
- Date: Mon, 11 Jul 2022 12:18:07 +0200
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.com; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=RtKYZMysepxFqdQWhwaNCzg3kFQr5pPutYk61gpWAzg=; b=dkPhFLZ4eLV1idZTgxBJhy/VJdxjcEAmJn46VpKqVqfl8BwyjDktIGjKA2bf1c0XSc2jAMnTu25XYLEeM1v/17gpP9kUQlcv0ioFXcDdEhghPqtSNppj10O6PvLNqdf+nZI1UfmkSJK9e2yOYORmhzKaw8DtsR0MY8OswNfIc658zvlNXO9rqX3eEvHdRNEcIaIqGs1Y2qtywolxhM/tz5VZSCPkvvQqNYiwouGTzlrBoIAXN1sZ6jF/mukG0NvYWw82J67zy2qggydvfvtaLNn8QYOXa8BO2LsZ3PnDOrj9YqVcY2bga3DAwt9r4gUu1pZywf/WuplDbmRu5jk+EA==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BuiuzZ2XZiuUrr819rtCdXumtBOAcheYrmOcZmVbfgf8nvfjZSKae6sJQZbnbrbjbTgXUyVL+z+dvjkkVRzu37Uq5xpytEMKolg5gy5+Fcb9PbHpQwp2vimJtiitw6Qfmr2053/rr+sZ7Q21rHxc1c2toqGoMffzitCyGqTid7W/gL92CmhAFz4LABkG4REd4DMc/H4v9c4fKgpi+x01IwtSvST6eAmsu6eYD3mP3wcva/uDDG42n1jxnfHRC5HC5cv0GmZVWmyCHoZAyB3Pj7N9u/Mmsnvfxygt1MZGrrO8FL96sqijJJkPQFMX7LYW3BYym0QpyMnK5fKUmRb2dA==
- Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
- Cc: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, George Dunlap <george.dunlap@xxxxxxxxxx>, Julien Grall <julien@xxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, Julien Grall <jgrall@xxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx
- Delivery-date: Mon, 11 Jul 2022 10:18:13 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
On 24.03.2022 15:01, Juergen Gross wrote:
> --- a/xen/include/Makefile
> +++ b/xen/include/Makefile
> @@ -77,6 +77,18 @@ $(obj)/compat/xlat.h: $(addprefix
> $(obj)/compat/.xlat/,$(xlat-y)) $(obj)/config/
> cat $(filter %.h,$^) >$@.new
> mv -f $@.new $@
>
> +quiet_cmd_genhyp = GEN $@
> +define cmd_genhyp
> + awk -f $(srctree)/scripts/gen_hypercall.awk <$< >$@
> +endef
> +
> +all: $(obj)/xen/hypercall-defs.h
> +
> +$(obj)/xen/hypercall-defs.h: $(obj)/hypercall-defs.i
> $(srctree)/scripts/gen_hypercall.awk FORCE
> + $(call if_changed,genhyp)
> +
> +targets += xen/hypercall-defs.h
> +
> ifeq ($(XEN_TARGET_ARCH),$(XEN_COMPILE_ARCH))
>
> all: $(obj)/headers.chk $(obj)/headers99.chk $(obj)/headers++.chk
> @@ -132,3 +144,4 @@ all: lib-x86-all
> endif
>
> clean-files := compat config generated headers*.chk
> xen/lib/x86/cpuid-autogen.h
> +clean-files += xen/hypercall-defs.h hypercall-defs.i
I've committed this as-is (with just fuzz suitably resolved), despite
being uncertain whether xen/hypercall-defs.h - being part of targets -
actually needs enumerating here (anymore).
Jan
|