[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Minios-devel] [UNIKRAFT PATCH v2 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:06:54 +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=KuQ2KzL/tnydACjlpE4rnIfJEBssXzSCosfzP3W7oG0=; b=kUXVASkvfBtfQvrNWBhFj56+lTQgkbJMbnit1udAtocQX3+QxRiMgp9hrBs4oZGEs8C/6gneP81bmOKPVdaR3b0YfiY81r6e51aXSEUxRRJglRtWMQ7t///015Yg0QyUv2LVKooVZeAK6J225zUmzarcTJX77wHR9f++2Yo2Ly1CI3gQOaEbDol+7aBsBmhml9XPioQ3NGR+XHsn8JvgM5HU+9NJmbIvmTEnkbz9uS52cLB/l8lrmfZ57p8SqMEvFvZFHsm+F9mzZMPkFUKNG2h8gfGvPGe6EmotNnUIgatg/g6mymkZYhLr7CNoekjC43Ban5k5KV+1kj+Y4rpIlA==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=J8/mWa1W3z9A5V3n/dZGWF8hVqkdPuWYLZstxFZOycA/wsvBgqxVlkMKdOcWKO4kuz5RKZH3MjWSKD9je0mMDWXM9RZMejuzVuTQIVNSjHxAngrP8QjufzAC1DVZxBNxEyHD4oTjS0MEpmJJ2W4sxLXGIfWbmXAS6l1STACHuUM3pRBx14XJjdSSNsrWPXl6SlJ2JOw7xSMQ6CYqbGPRcFYUAJg5p2eYyU1MwthVwA1ukvCJRK0MHyh43vbV4OwWBhZuUeaQxN/eBxxWdHnNiM/E0j1unTIrMJ03MQNCl7chuleUU0w9NccYQ9DJlF7jiFRIl+5WtvmSp4YPWcI+Xw==
- 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:07:01 +0000
- List-id: Mini-os development list <minios-devel.lists.xenproject.org>
- Thread-index: AQHVXoPGraFow4J/QEikPEKQlsg7CQ==
- Thread-topic: [UNIKRAFT PATCH v2 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
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 | 11 +++--
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, 39 insertions(+), 89 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
|