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

[Minios-devel] [UNIKRAFT PATCH v3 0/4] Modify ctor iteration to end at uk_ctortab_end


  • To: "minios-devel@xxxxxxxxxxxxx" <minios-devel@xxxxxxxxxxxxx>
  • From: Vlad-Andrei BĂDOIU (78692) <vlad_andrei.badoiu@xxxxxxxxxxxxxxx>
  • Date: Thu, 29 Aug 2019 16:19:37 +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=VR5HznPAL+lyvNn5rGluTWxOPmc4z/DYXMqGXwz3lm4=; b=bB9GoB1CNu14NHcPfIQ3/aLLKJ4rkXta8jjFLTvkBh4PkQxJ3Cxmk5JHfDUe7jZpRHuwP7QUBD+Xaqr+r0/T7/p6px2b4nATrNy04En1R/brkLk2Bn/k6FZPaiQnKbDqPB6xne8+0D56BTSRME7TwYLWz0rXW1gQp9Qp2CeKR7Ea5pGA83NRM+iciKJ9gmGyB0A7yMi/yQGqP4g/meoYy0Dydl7fGLTc4C34sLrzuTPsFlajpJfByk2q5nKJXo6ueBfAVKNMhLsYjIOKSSXadLQTw/STQ7dDqKN3INV0Glp2Muunnr7c4q8x2KrhETfp/YQRDAwQVHZf8lyExiSesQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BaSTYpKdhndohYjqFXu+4stWetsy0yZiH2J5LO+8R9FLNzRu8j7WHSC0xa7BpPPJV8VtSL3H7pk/ONPRulCHO1SZTnbSRbpptTUePb9LYrbuWBDRPUk2F9Z/SYdQPJjDaqNUhu6JytQPYTlHCjM/vGYlWAJg59/eoL7AvNb6PHvHt22NXfCjCeZFs/AGuIBTvyMHCnx2WD1cJPhkOzBXYDGQId5YJERM2C8HB4rpwnIajcmBj0DT6nLmnGToK3OGu9uZUE1BWZ2tpl9phbsJQL0fXamj1NvYLZ8xm/ZgwFdLn+maahG8ik4a48O4A4ZludhprcwFDU3ChM83OkDENA==
  • Authentication-results: spf=none (sender IP is ) smtp.mailfrom=vlad_andrei.badoiu@xxxxxxxxxxxxxxx;
  • Cc: "simon.kuenzer@xxxxxxxxx" <simon.kuenzer@xxxxxxxxx>, Vlad-Andrei BĂDOIU (78692) <vlad_andrei.badoiu@xxxxxxxxxxxxxxx>
  • Delivery-date: Thu, 29 Aug 2019 16:19:43 +0000
  • List-id: Mini-os development list <minios-devel.lists.xenproject.org>
  • Thread-index: AQHVXoWNb6tZArOFZU+Yp9qmlG97ew==
  • Thread-topic: [UNIKRAFT PATCH v3 0/4] Modify ctor iteration to end at uk_ctortab_end

This patch adds a new variable uk_ctortab_end that points to the ends of
the ctortab section. Until now we would have a LONG(0) at the end of the
ctortab section which has 32 bits. We could use QUAD(0) or LONG(0)
depending on the arch but adding a variable check makes the script arch
independent.

Changes from v1:
*) We now use the ukplat_ctor_foreach
*) A new patch was added to the series that merges ctors.h and
plat/ctors.h

Changes from v2:
*) Solved a type that would cause the compilation to fail

Vlad-Andrei Badoiu (1):
  include: Merge ctors.h with plat/ctors.h

Vlad-Andrei BĂDOIU (78692) (3):
  plat/common: Add uk_ctortab_end in the linker script
  lib/ukboot: Modify ctor iteration to end at uk_ctortab_end
  plat/*: Move ctortab before rodata on all platforms

 include/uk/ctors.h               | 25 +++++++++++
 include/uk/plat/ctors.h          | 75 --------------------------------
 lib/ukboot/boot.c                | 13 +++---
 plat/common/include/common.lds.h |  4 +-
 plat/kvm/arm/link64.lds.S        |  5 ++-
 plat/linuxu/arm/link.lds.S       |  2 +-
 plat/linuxu/x86/link64.lds.S     |  2 +-
 plat/xen/arm/link32.lds.S        |  4 +-
 8 files changed, 40 insertions(+), 90 deletions(-)
 delete mode 100644 include/uk/plat/ctors.h

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