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

[Minios-devel] [UNIKRAFT/BOOST PATCH 5/6] Add patches


  • To: "minios-devel@xxxxxxxxxxxxx" <minios-devel@xxxxxxxxxxxxx>
  • From: Vlad-Andrei BĂDOIU (78692) <vlad_andrei.badoiu@xxxxxxxxxxxxxxx>
  • Date: Wed, 11 Dec 2019 00:32:44 +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=hZ3Pxu27wP1RN4GHtv01xwmzvr7MOQ4uAJeOmStstO8=; b=PxoMAebcGK4VrlZ0OLPjpG8fZYoY2p953NxqYQb8Af5XSRKu3awl2CFFFaGZkiicgiRl8m2xPVVORvSvqTeCEq3/3Vs/A5z9jjB3Nfz/U/K9DeLYm6v+I03e+YMpJ/lqRsLzf/8uvkhsrU4Rpew0JzMOpk8ceIKCy4GaalBPyDDwCfzHd9jrJcwwuVjPvVfzdEVkfrFJpkNmwqBt+JKLzQ7ViN/yAb4P7aCHJobaLNNd3ynHANENkf57/eN7cHl+m/w6Tg0/hFMWVgvqQq2d0P7sLegbqvy3nzDlPBs9040jqtyOXi5F6EMUrJxmyMzU+IOM9I8sO9ps5ye8We8BnQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GVkwZwd8iXs/nps75l/BFfsVnbsKmQCf7LjzgEJGFdapegf4S7giIxF3gum4U3iWvsbNhC1OJK3LRWl/u5vSJnc4BhNNcaMdHZjdQcd+LSZAwF+3cTpUM0An1UQIje6/ypaiINYM672TBGcfjIDEy0awxUNj26GC6vVrFDw+cfVy0+V+Hc9tVs04+V1xeFGxZbWiCtz3bOL7bvQXDH+K8uGI7iskkseoeTprVZPGMStFKkXfdCIzluuiLI1jbgzo2T8YVuKxPDb3VUroELcc1FevqD5LZASTLtvqEpp1VUcZu0ryL9WNeicpJi9vXzGbH+BNccvpNVNdOzWc6Wedsw==
  • Authentication-results: spf=none (sender IP is ) smtp.mailfrom=vlad_andrei.badoiu@xxxxxxxxxxxxxxx;
  • Cc: "felipe.huici@xxxxxxxxx" <felipe.huici@xxxxxxxxx>, Vlad-Andrei BĂDOIU (78692) <vlad_andrei.badoiu@xxxxxxxxxxxxxxx>
  • Delivery-date: Wed, 11 Dec 2019 00:33:18 +0000
  • List-id: Mini-os development list <minios-devel.lists.xenproject.org>
  • Thread-index: AQHVr7qBi6c/XZaeA0arIZcOxlDonQ==
  • Thread-topic: [UNIKRAFT/BOOST PATCH 5/6] Add patches

Signed-off-by: Vlad-Andrei Badoiu <vlad_andrei.badoiu@xxxxxxxxxxxxxxx>
---
 ...onvert-pte_handle_t-to-unsigned-long.patch | 26 +++++++++++++++++++
 1 file changed, 26 insertions(+)
 create mode 100644 patches/0001-Convert-pte_handle_t-to-unsigned-long.patch

diff --git a/patches/0001-Convert-pte_handle_t-to-unsigned-long.patch 
b/patches/0001-Convert-pte_handle_t-to-unsigned-long.patch
new file mode 100644
index 0000000..7f5293a
--- /dev/null
+++ b/patches/0001-Convert-pte_handle_t-to-unsigned-long.patch
@@ -0,0 +1,26 @@
+From 894fd3a62f2ff6e702d6ff0e2a63182fa45ea216 Mon Sep 17 00:00:00 2001
+From: Vlad-Andrei Badoiu <vlad_andrei.badoiu@xxxxxxxxxxxxxxx>
+Date: Sat, 9 Nov 2019 00:33:52 +0200
+Subject: [PATCH 1/1] Convert pte_handle_t to unsigned long
+
+Signed-off-by: Vlad-Andrei Badoiu <vlad_andrei.badoiu@xxxxxxxxxxxxxxx>
+---
+ boost/thread/detail/thread.hpp | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/boost/thread/detail/thread.hpp b/boost/thread/detail/thread.hpp
+index 04223ed26..2be0bc4c6 100644
+--- a/boost/thread/detail/thread.hpp
++++ b/boost/thread/detail/thread.hpp
+@@ -606,7 +606,7 @@ namespace boost
+         hash_value(const thread::id &v)
+         {
+ #if defined BOOST_THREAD_PROVIDES_BASIC_THREAD_ID
+-          return hash_value(v.thread_data);
++          return hash_value(*((unsigned long *)(pte_handle_t 
*)&v.thread_data));
+ #else
+           return hash_value(v.thread_data.get());
+ #endif
+-- 
+2.20.1
+
-- 
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®.