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

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


  • To: "minios-devel@xxxxxxxxxxxxx" <minios-devel@xxxxxxxxxxxxx>
  • From: Vlad-Andrei BĂDOIU (78692) <vlad_andrei.badoiu@xxxxxxxxxxxxxxx>
  • Date: Wed, 18 Dec 2019 16:11:42 +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=iozNx+Ethoa8AyhV6xh2BQ09D9xmixEhZ7Fc69r/ksE=; b=Mi3joqidxqUtN683eXzEYnGLb2B/4C5+8bC+cj555D5c69fJgs7dO3MlwG/B5iH/V6ypuWD5PbHav0bvU4nUX6Zpw0sOG7ggrqO9u9tDV1wjAKv0ZTEpRj6YFl4+F8g/XVI36wTsCCmP441s86dL36hH4xNQEdzkloOXmpqMmlje+ov/rnePl2rPuy+LB74GolW/Ty1motH/F8HKxZwrBkSlbLzkT8bzYT7p24h5ORj1fbNa26p42yNe3i0ayhpte0HGdSpz7zZNI7h0Svg8S9Z7VvvLIEmOvK7OmDxPlYm7AWzujBfWPgJwDRBXRvQ6JHFyZSnD+seieiI6+dUImw==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FnfhBYrocDXY+uGATryPXGCOl0VFviKfzCZQICSwCifIZbRXWtOhBW47pl5RlydDXy0m1w6bzpaYtqxouvuO3TEAsrJoDCEwbbpUyYZ77mkoiQf9DzbNY6gnr4XNlr7ehBRvdbnpj3BjPHCQLEcLHq6711mD62EAKknYbBApol2s/Le/8nUVbi/d3tkMZK2krBOPxsjIQsemBiO/AQSJY3MZYuOyA9C1jlSvjXFRjkc89PSD8Cj+XPQK428chMUv8i2RkVOnu9mRam5/DrH+8Vs42TlJ+a1dAMTEd4VVu0S7STbjfwj/1xLy9ELgr0A/OFFqhrdFRAZgUhOA65ooEA==
  • 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, 18 Dec 2019 16:12:08 +0000
  • List-id: Mini-os development list <minios-devel.lists.xenproject.org>
  • Thread-index: AQHVtb3W//htpFsKn0OC9mmsDvJyaA==
  • Thread-topic: [UNIKRAFT/BOOST v2 PATCH 5/6] Add patches

From: Vlad-Andrei BĂDOIU (78692) <vlad_andrei.badoiu@xxxxxxxxxxxxxxx>

Signed-off-by: Vlad-Andrei Badoiu <vlad_andrei.badoiu@xxxxxxxxxxxxxxx>
Reviewed-by: Felipe Huici <felipe.huici@xxxxxxxxx>
---
 ...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®.