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

Re: [Minios-devel] [UNIKRAFT PATCH 9/9] plat/*: Update to <uk/ctors.h> changes


  • To: Simon Kuenzer <simon.kuenzer@xxxxxxxxx>, "minios-devel@xxxxxxxxxxxxx" <minios-devel@xxxxxxxxxxxxx>
  • From: Vlad-Andrei BĂDOIU (78692) <vlad_andrei.badoiu@xxxxxxxxxxxxxxx>
  • Date: Thu, 30 Jan 2020 17:10:49 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=stud.acs.upb.ro; dmarc=pass action=none header.from=stud.acs.upb.ro; dkim=pass header.d=stud.acs.upb.ro; 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-SenderADCheck; bh=Yb8OitJfzQeclK0Xg1sVreboIPdSvmX2srXP0nm0PdE=; b=JrkUNXirs7bsFRgMf8nj1ntkVUnqw9MFAYh4IopSHOr37PH7oberkoYtd2YLH25qgrh9WzGK2Sl83Jjr5MsZHx7d2+62ZDCHTWEq+aTFsGRh5ec6FamJYJz82ONgfB83naHZZ3Z99QjIhd+8GpZU9FD3P1CD+NNpH4A6j3KyiBHn+ZfppqJFLrPfDStA83ssnLNX4IUo2VLBoaogr0DPZwoBuGhMoMVX5kwM4FJy0WGEqn2Q9zjDLjVSnvDaR5FaXpW0IjBl8mmqh48BCF9x6pfmT7WWunjINX0tDi4P1gPX+HmRoSxtrRhcbbq2T3uUwXPhRNFAnQMdsqrf/MkFcA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XXpGtr5+9l11bB6oumxE8+qjnhBh3Rw1OSSTf2XC5CiK4qipAg98OpTB3/Xac2CZ06kqfJyitrnGnzF8pjTreI1RyshC/Y3xcWqJESxXme9qsFHpTLxAoDOTHw4rgopRULhQMIeySj1bWnlrayXZLhuwLsc0Rfl5VS919ighxgdl9SKoHvGxzczWuFpJxtsypy28z++jOAllp4ed9HEj/60dTQj416AIbOtArxbEj3vQrN0Srtt5EbaKV8096qZ7DD4m/1WsaD67WPkaNJrDEX+AhWG1v2QI/inRZBR3YialYo9ZgQMAUqkUSKjz8LvXabHIy9+zt0SQgDl0+SGKkQ==
  • Authentication-results: spf=none (sender IP is ) smtp.mailfrom=vlad_andrei.badoiu@xxxxxxxxxxxxxxx;
  • Cc: Felipe Huici <felipe.huici@xxxxxxxxx>
  • Delivery-date: Thu, 30 Jan 2020 17:10:53 +0000
  • List-id: Mini-os development list <minios-devel.lists.xenproject.org>
  • Thread-index: AQHV1u4B0IUarX/ReUuVJeKEYFnVvagDcpGA
  • Thread-topic: [UNIKRAFT PATCH 9/9] plat/*: Update to <uk/ctors.h> changes

Reviewed-by: Vlad-Andrei Badoiu <vlad_andrei.badoiu@xxxxxxxxxxxxxxx>

On 29.01.2020 23:49, Simon Kuenzer wrote:
> Signed-off-by: Simon Kuenzer <simon.kuenzer@xxxxxxxxx>
> ---
>   plat/common/include/pci/pci_bus.h        | 4 ++--
>   plat/drivers/include/virtio/virtio_bus.h | 4 ++--
>   plat/xen/include/xenbus/xenbus.h         | 4 ++--
>   3 files changed, 6 insertions(+), 6 deletions(-)
>
> diff --git a/plat/common/include/pci/pci_bus.h 
> b/plat/common/include/pci/pci_bus.h
> index c8dbddae..2dab7114 100644
> --- a/plat/common/include/pci/pci_bus.h
> +++ b/plat/common/include/pci/pci_bus.h
> @@ -160,8 +160,8 @@ struct pci_device {
>   
>   #define _PCI_REGFNNAME(x, y)      x##y
>   
> -#define PCI_REGISTER_CTOR(CTOR)                              \
> -             UK_CTOR_FUNC(1, CTOR)
> +#define PCI_REGISTER_CTOR(ctor)                              \
> +     UK_CTOR_PRIO(UK_PRIO_AFTER(UK_BUS_REGISTER_PRIO), ctor)
>   
>   #define _PCI_REGISTER_DRIVER(libname, b)                            \
>       static void                                             \
> diff --git a/plat/drivers/include/virtio/virtio_bus.h 
> b/plat/drivers/include/virtio/virtio_bus.h
> index 72a82983..12aba94c 100644
> --- a/plat/drivers/include/virtio/virtio_bus.h
> +++ b/plat/drivers/include/virtio/virtio_bus.h
> @@ -335,8 +335,8 @@ static inline void virtio_dev_drv_up(struct virtio_dev 
> *vdev)
>   
>   #define _VIRTIO_BUS_REGFNAME(x, y)       x##y
>   
> -#define _VIRTIO_REGISTER_CTOR(CTOR)  \
> -     UK_CTOR_FUNC(1, CTOR)
> +#define _VIRTIO_REGISTER_CTOR(ctor)  \
> +     UK_CTOR_PRIO(UK_PRIO_AFTER(UK_BUS_REGISTER_PRIO), ctor)
>   
>   #define _VIRTIO_BUS_REGISTER_DRIVER(libname, b)                             
> \
>       static void                                                     \
> diff --git a/plat/xen/include/xenbus/xenbus.h 
> b/plat/xen/include/xenbus/xenbus.h
> index a7872392..915f983b 100644
> --- a/plat/xen/include/xenbus/xenbus.h
> +++ b/plat/xen/include/xenbus/xenbus.h
> @@ -78,8 +78,8 @@ UK_TAILQ_HEAD(xenbus_driver_list, struct xenbus_driver);
>   
>   #define _XENBUS_REGFNNAME(x, y)      x##y
>   
> -#define _XENBUS_REGISTER_CTOR(CTOR)  \
> -     UK_CTOR_FUNC(1, CTOR)
> +#define _XENBUS_REGISTER_CTOR(ctor)  \
> +     UK_CTOR_PRIO(UK_PRIO_AFTER(UK_BUS_REGISTER_PRIO), ctor)
>   
>   #define _XENBUS_REGISTER_DRIVER(libname, b)                         \
>       static void                                                     \
_______________________________________________
Minios-devel mailing list
Minios-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/minios-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.