From patchwork Fri Nov 13 09:50:10 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luca Boccassi X-Patchwork-Id: 84092 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id BBFABA09DE; Fri, 13 Nov 2020 10:50:22 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 671C7C87A; Fri, 13 Nov 2020 10:50:20 +0100 (CET) Received: from mail-wm1-f67.google.com (mail-wm1-f67.google.com [209.85.128.67]) by dpdk.org (Postfix) with ESMTP id A8BCC37B4 for ; Fri, 13 Nov 2020 10:50:19 +0100 (CET) Received: by mail-wm1-f67.google.com with SMTP id h62so7811864wme.3 for ; Fri, 13 Nov 2020 01:50:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=zeOVSLKSS+lk/oM+MVBkzQ7StJ1mIgPlSxd3xHil0d0=; b=MKb41GSywOaLDflDM7FTwYlOxGJ35651xlAINuKUazDggnlIQz6AvDTmc3HEeHisvN oSBEjwYuUT1X5id45u1EhRVtN9j5CPnCVqy1cUMK7vrxofNfAdZlrLDA/Gt6GXWALX5h xmnygcv4SN4WG+081YRfuRfyX5n+HW/LDMY4DaMJ8xPt8B+BVx0NtuWnetBI6YmOdr0X eoEAVomC7hMChHR0JLjZUYB+UEVikPRmBEzF+sZ6z6rx5fer6vQ7lQ/sUD+UOpDYEDIE L48pxQ3WpZHaU5VwSAuXzjgJ1jeQkff0+shTsU0ykApyfk/6YhPbd31Pe5RT8mgygrs1 SlMg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=zeOVSLKSS+lk/oM+MVBkzQ7StJ1mIgPlSxd3xHil0d0=; b=CY1gZ1kdSRoiniZMpHa6jMhIUhnWRYTfCAK46p+zvrGKa91s1Lv9E4o642taIOZB+W lLuzKMg7iNlfiVyGTUjJrmJIXvXxNWa+1NWqO1fiars/V5wfbAyyzhRoL8Nvbc13SIWT HYnY6jt8hSPbCl/FajLf6+kqvsQ3NAG8/QBN80OMH5i0MZKaPKCwoTnvaiis6JFz7+pv m8x+APpD0n/3fsmISEYzTk7qSu9/JDnFcNPQY0miDOx7WkJjmaETKLNd9epEST+1me1u hKb8Syeu3GApztNGOpT0nAW0uhd9u4/BjlTTRFuRty4CLiOstHmCm0X5jlKbA2FISZQJ qz9w== X-Gm-Message-State: AOAM532Q2kMuOV+eo9lK5AIcsHmpVd4qHujM2QnVY121ynkAq21lSmuI z4exT9RMQgkyTng3PVA9XE3z54SbqXOkGg== X-Google-Smtp-Source: ABdhPJza1s40xdsmQlzb4ZAvfxOpnUFXsJqbg0seiO5iUNNnsOYhXg7wjKqEKm6Tlc1Wrq3W4tDmGg== X-Received: by 2002:a1c:9c56:: with SMTP id f83mr1709217wme.49.1605261017984; Fri, 13 Nov 2020 01:50:17 -0800 (PST) Received: from localhost ([88.98.246.218]) by smtp.gmail.com with ESMTPSA id f13sm4989933wrq.78.2020.11.13.01.50.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Nov 2020 01:50:17 -0800 (PST) From: luca.boccassi@gmail.com To: dev@dpdk.org Cc: thomas@monjalon.net, Luca Boccassi Date: Fri, 13 Nov 2020 09:50:10 +0000 Message-Id: <20201113095011.1045136-1-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20201029225505.30093-1-dmitry.kozliuk@gmail.com> References: <20201029225505.30093-1-dmitry.kozliuk@gmail.com> MIME-Version: 1.0 Subject: [dpdk-dev] [kmods PATCH v3 1/2] windows: remove .gitattributes X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" From: Luca Boccassi It forces files line ending conversions, making applying patches impossible. Remove it. Line endings will be normalized in the next patch. Signed-off-by: Luca Boccassi --- v3: split the patch, and remove first the gitattributes, making it possible to apply the second patch that normalizes windows/.gitattributes | 4 ---- 1 file changed, 4 deletions(-) delete mode 100644 windows/.gitattributes diff --git a/windows/.gitattributes b/windows/.gitattributes deleted file mode 100644 index 13482db..0000000 --- a/windows/.gitattributes +++ /dev/null @@ -1,4 +0,0 @@ -* text=auto - -*.sln text eol=crlf -*.vcxproj text eol=crlf From patchwork Fri Nov 13 09:50:11 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Luca Boccassi X-Patchwork-Id: 84093 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 42FF2A09DE; Fri, 13 Nov 2020 10:50:38 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 20C6EC88E; Fri, 13 Nov 2020 10:50:26 +0100 (CET) Received: from mail-wm1-f43.google.com (mail-wm1-f43.google.com [209.85.128.43]) by dpdk.org (Postfix) with ESMTP id 064FDC88A for ; Fri, 13 Nov 2020 10:50:24 +0100 (CET) Received: by mail-wm1-f43.google.com with SMTP id 10so7533715wml.2 for ; Fri, 13 Nov 2020 01:50:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=MZnzQpEzu49MQlC2C0GNCgnGN+FrxI5ED4IdyqjLkz8=; b=FPWxA9jLSh2QTfC7cugJniaviQg4bzTvFW5HmU8a8CI0Fg2wkMvTtOaWP6RnFzHDRn 0FgUocJR3Y7GL48RLfLpNVfMxZeLKSwlaUsQ4UdbkSwDaYQ51FXhY+r5Okkvr4NN1vKH Tjfk8mbn7BN7cMLXBcqDYyzHfgzA6mRTsM/76BmEnIlOtgmxMV5o1TyPCOZhadNWyJEM WCLD183J5tHAcwUo+yad4Qev/KhO7nlwl7OVJQm+18gr7hn4qiohiiBL0WZ8VwMF2/0/ eyRxcSyDFHSRJYja48HIGUbUl3tVDHSDBE9zCM1ZpC6IYsqst7Pjjn91eQnlB1+TwJz+ H9sg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=MZnzQpEzu49MQlC2C0GNCgnGN+FrxI5ED4IdyqjLkz8=; b=Bezm0VFaQZa1sPO+kC0tjq94ArkyDeJdWd66P1IWWy17qGg9muoNrb0gNdq9m+9CCK KHiA6g1+4XL+YJt2CrGpsRIPOhhQp6siCJ2bC3FpqlxlkXRgwLsHmoYCIp1QNQD/Jmsp 3iU7qK24uZXY2qRIbybnJHvK9x18dy8HU3toygFwTyXZHKtnV7Gsi7+HHXp2Zzo/b+5T qAzXZGvafAEAnCWV46CbnuXhrmae12q/tgQpwauxn6bhnOFd3BozWpRFI+mwqpXQ8PeL NV/v9Pd7u9UZt40vuwIXNLlmBaoKC2oUSLRPaJzcxSkixEYuivWK3aDXmVkO+h0a9G7R Vw0g== X-Gm-Message-State: AOAM530mkg2Spx3HrMBKS8ugBS/o/HCniNmH5UJWkVYU32749agkpXF2 3/tDKzOAx50XuNWRTg4o12Q6zxSookyRaA== X-Google-Smtp-Source: ABdhPJz6BdF5TYs6WKgJKIxqsWjcggP486yV3cpJQLBQQcoUJTH2F6zGMwxnhZqmxnLV5SeWO3tjWg== X-Received: by 2002:a1c:5446:: with SMTP id p6mr1572580wmi.167.1605261019354; Fri, 13 Nov 2020 01:50:19 -0800 (PST) Received: from localhost ([88.98.246.218]) by smtp.gmail.com with ESMTPSA id f11sm10292662wrs.70.2020.11.13.01.50.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Nov 2020 01:50:18 -0800 (PST) From: luca.boccassi@gmail.com To: dev@dpdk.org Cc: thomas@monjalon.net, Luca Boccassi , John Alexander , Dmitry Kozlyuk Date: Fri, 13 Nov 2020 09:50:11 +0000 Message-Id: <20201113095011.1045136-2-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20201113095011.1045136-1-luca.boccassi@gmail.com> References: <20201029225505.30093-1-dmitry.kozliuk@gmail.com> <20201113095011.1045136-1-luca.boccassi@gmail.com> MIME-Version: 1.0 Subject: [dpdk-dev] [kmods PATCH v3 2/2] windows: normalize line-endings X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" From: Luca Boccassi MSBuild XML files have to use CRLF line-endings, otherwise any change results in the whole file being rewritten with CRLF line-endings by Visual Studio. However, it's inconvenient to have such files checked-out with CLRF in Unix environments. Suggested-by: John Alexander Signed-off-by: Dmitry Kozlyuk Signed-off-by: Luca Boccassi --- v3: patch split, and README change removed windows/virt2phys/virt2phys.sln | 54 +-- windows/virt2phys/virt2phys.vcxproj | 454 ++++++++++---------- windows/virt2phys/virt2phys.vcxproj.filters | 72 ++-- 3 files changed, 290 insertions(+), 290 deletions(-) diff --git a/windows/virt2phys/virt2phys.sln b/windows/virt2phys/virt2phys.sln index 0f5ecdc..ae95c7b 100644 --- a/windows/virt2phys/virt2phys.sln +++ b/windows/virt2phys/virt2phys.sln @@ -1,27 +1,27 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 16 -VisualStudioVersion = 16.0.29613.14 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "virt2phys", "virt2phys.vcxproj", "{0EEF826B-9391-43A8-A722-BDD6F6115137}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|x64 = Debug|x64 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {0EEF826B-9391-43A8-A722-BDD6F6115137}.Debug|x64.ActiveCfg = Debug|x64 - {0EEF826B-9391-43A8-A722-BDD6F6115137}.Debug|x64.Build.0 = Debug|x64 - {0EEF826B-9391-43A8-A722-BDD6F6115137}.Debug|x64.Deploy.0 = Debug|x64 - {0EEF826B-9391-43A8-A722-BDD6F6115137}.Release|x64.ActiveCfg = Release|x64 - {0EEF826B-9391-43A8-A722-BDD6F6115137}.Release|x64.Build.0 = Release|x64 - {0EEF826B-9391-43A8-A722-BDD6F6115137}.Release|x64.Deploy.0 = Release|x64 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection - GlobalSection(ExtensibilityGlobals) = postSolution - SolutionGuid = {845012FB-4471-4A12-A1C4-FF7E05C40E8E} - EndGlobalSection -EndGlobal + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 16 +VisualStudioVersion = 16.0.29613.14 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "virt2phys", "virt2phys.vcxproj", "{0EEF826B-9391-43A8-A722-BDD6F6115137}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|x64 = Debug|x64 + Release|x64 = Release|x64 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {0EEF826B-9391-43A8-A722-BDD6F6115137}.Debug|x64.ActiveCfg = Debug|x64 + {0EEF826B-9391-43A8-A722-BDD6F6115137}.Debug|x64.Build.0 = Debug|x64 + {0EEF826B-9391-43A8-A722-BDD6F6115137}.Debug|x64.Deploy.0 = Debug|x64 + {0EEF826B-9391-43A8-A722-BDD6F6115137}.Release|x64.ActiveCfg = Release|x64 + {0EEF826B-9391-43A8-A722-BDD6F6115137}.Release|x64.Build.0 = Release|x64 + {0EEF826B-9391-43A8-A722-BDD6F6115137}.Release|x64.Deploy.0 = Release|x64 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {845012FB-4471-4A12-A1C4-FF7E05C40E8E} + EndGlobalSection +EndGlobal diff --git a/windows/virt2phys/virt2phys.vcxproj b/windows/virt2phys/virt2phys.vcxproj index fa51916..fc2a771 100644 --- a/windows/virt2phys/virt2phys.vcxproj +++ b/windows/virt2phys/virt2phys.vcxproj @@ -1,228 +1,228 @@ - - - - - Debug - Win32 - - - Release - Win32 - - - Debug - x64 - - - Release - x64 - - - Debug - ARM - - - Release - ARM - - - Debug - ARM64 - - - Release - ARM64 - - - - - - - - - - - - - {0EEF826B-9391-43A8-A722-BDD6F6115137} - {497e31cb-056b-4f31-abb8-447fd55ee5a5} - v4.5 - 12.0 - Debug - Win32 - virt2phys - - - - Windows10 - true - WindowsKernelModeDriver10.0 - Driver - KMDF - Universal - - - Windows10 - false - WindowsKernelModeDriver10.0 - Driver - KMDF - Universal - - - Windows10 - true - WindowsKernelModeDriver10.0 - Driver - KMDF - Universal - - - Windows10 - false - WindowsKernelModeDriver10.0 - Driver - KMDF - Universal - - - Windows10 - true - WindowsKernelModeDriver10.0 - Driver - KMDF - Universal - - - Windows10 - false - WindowsKernelModeDriver10.0 - Driver - KMDF - Universal - - - Windows10 - true - WindowsKernelModeDriver10.0 - Driver - KMDF - Universal - - - Windows10 - false - WindowsKernelModeDriver10.0 - Driver - KMDF - Universal - - - - - - - - - - - DbgengKernelDebugger - - - DbgengKernelDebugger - - - DbgengKernelDebugger - - - DbgengKernelDebugger - - - DbgengKernelDebugger - - - DbgengKernelDebugger - - - DbgengKernelDebugger - - - DbgengKernelDebugger - - - - true - true - trace.h - true - - - - - true - true - trace.h - true - - - - - false - true - trace.h - true - - - $(DDK_LIB_PATH)wdmsec.lib;%(AdditionalDependencies) - - - 0.1 - - - - - true - true - trace.h - true - - - - - true - true - trace.h - true - - - - - true - true - trace.h - true - - - - - true - true - trace.h - true - - - - - true - true - trace.h - true - - - - - - - - + + + + + Debug + Win32 + + + Release + Win32 + + + Debug + x64 + + + Release + x64 + + + Debug + ARM + + + Release + ARM + + + Debug + ARM64 + + + Release + ARM64 + + + + + + + + + + + + + {0EEF826B-9391-43A8-A722-BDD6F6115137} + {497e31cb-056b-4f31-abb8-447fd55ee5a5} + v4.5 + 12.0 + Debug + Win32 + virt2phys + + + + Windows10 + true + WindowsKernelModeDriver10.0 + Driver + KMDF + Universal + + + Windows10 + false + WindowsKernelModeDriver10.0 + Driver + KMDF + Universal + + + Windows10 + true + WindowsKernelModeDriver10.0 + Driver + KMDF + Universal + + + Windows10 + false + WindowsKernelModeDriver10.0 + Driver + KMDF + Universal + + + Windows10 + true + WindowsKernelModeDriver10.0 + Driver + KMDF + Universal + + + Windows10 + false + WindowsKernelModeDriver10.0 + Driver + KMDF + Universal + + + Windows10 + true + WindowsKernelModeDriver10.0 + Driver + KMDF + Universal + + + Windows10 + false + WindowsKernelModeDriver10.0 + Driver + KMDF + Universal + + + + + + + + + + + DbgengKernelDebugger + + + DbgengKernelDebugger + + + DbgengKernelDebugger + + + DbgengKernelDebugger + + + DbgengKernelDebugger + + + DbgengKernelDebugger + + + DbgengKernelDebugger + + + DbgengKernelDebugger + + + + true + true + trace.h + true + + + + + true + true + trace.h + true + + + + + false + true + trace.h + true + + + $(DDK_LIB_PATH)wdmsec.lib;%(AdditionalDependencies) + + + 0.1 + + + + + true + true + trace.h + true + + + + + true + true + trace.h + true + + + + + true + true + trace.h + true + + + + + true + true + trace.h + true + + + + + true + true + trace.h + true + + + + + + + + \ No newline at end of file diff --git a/windows/virt2phys/virt2phys.vcxproj.filters b/windows/virt2phys/virt2phys.vcxproj.filters index 0fe65fc..9e7e732 100644 --- a/windows/virt2phys/virt2phys.vcxproj.filters +++ b/windows/virt2phys/virt2phys.vcxproj.filters @@ -1,36 +1,36 @@ - - - - - {4FC737F1-C7A5-4376-A066-2A32D752A2FF} - cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx - - - {93995380-89BD-4b04-88EB-625FBE52EBFB} - h;hpp;hxx;hm;inl;inc;xsd - - - {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} - rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms - - - {8E41214B-6785-4CFE-B992-037D68949A14} - inf;inv;inx;mof;mc; - - - - - Driver Files - - - - - Header Files - - - - - Source Files - - - + + + + + {4FC737F1-C7A5-4376-A066-2A32D752A2FF} + cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx + + + {93995380-89BD-4b04-88EB-625FBE52EBFB} + h;hpp;hxx;hm;inl;inc;xsd + + + {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} + rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms + + + {8E41214B-6785-4CFE-B992-037D68949A14} + inf;inv;inx;mof;mc; + + + + + Driver Files + + + + + Header Files + + + + + Source Files + + +