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

Re: [Minios-devel] [UNIKRAFT PATCH 1/9] include: uk_ctortab: Provide 10 priority levels


  • 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 15:54:56 +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=EwWgAiUkLCHM9hHixZsZj8TZOejOInnRE4BoKKdRlrM=; b=VjGtRsuArxLdeu3J1SdXpxdwJ06rrFj5McAzYA2Z9wwKtjkAI5S0SQEkZZjWlLjHJvRtq7MTW0DHlFCv95jRTJP+a7PSTQZDRFLS0vsytsqEtdoKJtC3jls/xbTngzsEUcz4s4ZudcLML2MngC/peh3rDD8HslSi48RKqDMsbrSIbL1Apia0OVZfqR3TP/r4elXccmEMhVN0MoEWwqPqU+3I1i3PCo/u0rQ2Xe8OlHl1uIDyo+3efX1N7rDWJmTgZv9UXJs72LQswfpZYXC5QM1qzLLpzpd3pV19XFJxBX70nW+LVReMer6CIGz50y6439h24NkjRvIx2etWxi03mA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fJgIh2sn/6Ej3f0iWJNzlrhBSs0Sl5Nl9ZXJsNtohXeCaN7Jbd8RqsEXTamNG0A3rBvfKwU+TBCaYi3T1PTCHxkeifv04Po/aPRnZM4OHu0G4piFDvcXbnjJtRGOCBYdczLA8k0W9e0JIXSIJHJb7Mx1xVuhrMMFPmiD31Er6a+uh/1l+HA9owY6YTtxTsdbYMnQTsa9BGEXZxJvt6EupfVujZYQaLaHxNCyldgihpd7qWD6uFoTPQHmA8tyryJrb4NYhRveBQmXHyetmzH6qMaoMRoeF4BU5D5ne/llie+K7nBHz2lKX0iYrGC9QgVn6reKDGp4xgnIcIlQVXjWVg==
  • 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 15:55:02 +0000
  • List-id: Mini-os development list <minios-devel.lists.xenproject.org>
  • Thread-index: AQHV1u32aEyRI4ES+kelv/LtwSx2w6gDXV+A
  • Thread-topic: [UNIKRAFT PATCH 1/9] include: uk_ctortab: Provide 10 priority levels

Thanks Simon!

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

On 29.01.2020 23:48, Simon Kuenzer wrote:
> In order to be inline with the Unikraft Inittable, we provide 10
> priority levels at the Unikraft constructor table.
>
> Signed-off-by: Simon Kuenzer <simon.kuenzer@xxxxxxxxx>
> ---
>   include/uk/ctors.h                              | 2 +-
>   plat/common/include/uk/plat/common/common.lds.h | 2 +-
>   2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/include/uk/ctors.h b/include/uk/ctors.h
> index 02e9c2ef..e7d0dece 100644
> --- a/include/uk/ctors.h
> +++ b/include/uk/ctors.h
> @@ -61,7 +61,7 @@ extern const uk_ctor_func_t uk_ctortab_end;
>    * called during bootstrap (uk_ctortab)
>    *
>    * @param lvl
> - *   Priority level (0 (higher) to 7 (least))
> + *   Priority level (0 (higher) to 9 (least))
>    *   Note: Any other value for level will be ignored
>    * @param ctorf
>    *   Constructor function to be called
> diff --git a/plat/common/include/uk/plat/common/common.lds.h 
> b/plat/common/include/uk/plat/common/common.lds.h
> index 958be1e6..593e6699 100644
> --- a/plat/common/include/uk/plat/common/common.lds.h
> +++ b/plat/common/include/uk/plat/common/common.lds.h
> @@ -90,7 +90,7 @@
>       uk_ctortab = .;                                                 \
>       .uk_ctortab :                                                   \
>       {                                                               \
> -             KEEP(*(SORT_BY_NAME(.uk_ctortab[0-7])))                 \
> +             KEEP(*(SORT_BY_NAME(.uk_ctortab[0-9])))                 \
>       }                                                               \
>       uk_ctortab_end = .;
>   
_______________________________________________
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®.