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

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



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>
Reviewed-by: Vlad-Andrei Badoiu <vlad_andrei.badoiu@xxxxxxxxxxxxxxx>
---
 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 = .;
 
-- 
2.20.1


_______________________________________________
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®.