[edk2-devel] [PATCH 2/3] NetworkPkg: Move Dpc.h from MdeModulePkg to NetworkPkg

Zhang, Shenglei posted 3 patches 5 years, 3 months ago
[edk2-devel] [PATCH 2/3] NetworkPkg: Move Dpc.h from MdeModulePkg to NetworkPkg
Posted by Zhang, Shenglei 5 years, 3 months ago
Move Dpc.h from MdeModulePkg to NetworkPkg. And remove the
dependency on MdeModulePkg.dec in INFs.
https://bugzilla.tianocore.org/show_bug.cgi?id=1949

Cc: Siyuan Fu <siyuan.fu@intel.com>
Cc: Jiaxin Wu <jiaxin.wu@intel.com>
Signed-off-by: Shenglei Zhang <shenglei.zhang@intel.com>
---
 NetworkPkg/DpcDxe/DpcDxe.inf                        | 1 -
 {MdeModulePkg => NetworkPkg}/Include/Protocol/Dpc.h | 0
 NetworkPkg/Library/DxeDpcLib/DxeDpcLib.inf          | 1 -
 3 files changed, 2 deletions(-)
 rename {MdeModulePkg => NetworkPkg}/Include/Protocol/Dpc.h (100%)

diff --git a/NetworkPkg/DpcDxe/DpcDxe.inf b/NetworkPkg/DpcDxe/DpcDxe.inf
index 1462de28a253..716a04d9824c 100644
--- a/NetworkPkg/DpcDxe/DpcDxe.inf
+++ b/NetworkPkg/DpcDxe/DpcDxe.inf
@@ -28,7 +28,6 @@ [Sources]
 
 [Packages]
   MdePkg/MdePkg.dec
-  MdeModulePkg/MdeModulePkg.dec
   NetworkPkg/NetworkPkg.dec
 
 [LibraryClasses]
diff --git a/MdeModulePkg/Include/Protocol/Dpc.h b/NetworkPkg/Include/Protocol/Dpc.h
similarity index 100%
rename from MdeModulePkg/Include/Protocol/Dpc.h
rename to NetworkPkg/Include/Protocol/Dpc.h
diff --git a/NetworkPkg/Library/DxeDpcLib/DxeDpcLib.inf b/NetworkPkg/Library/DxeDpcLib/DxeDpcLib.inf
index 3fb8718f1e33..423037090beb 100644
--- a/NetworkPkg/Library/DxeDpcLib/DxeDpcLib.inf
+++ b/NetworkPkg/Library/DxeDpcLib/DxeDpcLib.inf
@@ -27,7 +27,6 @@ [Sources]
 
 [Packages]
   MdePkg/MdePkg.dec
-  MdeModulePkg/MdeModulePkg.dec
   NetworkPkg/NetworkPkg.dec
 
 [LibraryClasses]
-- 
2.18.0.windows.1


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.

View/Reply Online (#45419): https://edk2.groups.io/g/devel/message/45419
Mute This Topic: https://groups.io/mt/32838745/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-

Re: [edk2-devel] [PATCH 2/3] NetworkPkg: Move Dpc.h from MdeModulePkg to NetworkPkg
Posted by Siyuan, Fu 5 years, 3 months ago
Reviewed-by: Siyuan Fu <siyuan.fu@intel.com>

> -----Original Message-----
> From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of Zhang,
> Shenglei
> Sent: 2019年8月12日 16:37
> To: devel@edk2.groups.io
> Cc: Fu, Siyuan <siyuan.fu@intel.com>; Wu, Jiaxin <jiaxin.wu@intel.com>
> Subject: [edk2-devel] [PATCH 2/3] NetworkPkg: Move Dpc.h from
> MdeModulePkg to NetworkPkg
> 
> Move Dpc.h from MdeModulePkg to NetworkPkg. And remove the
> dependency on MdeModulePkg.dec in INFs.
> https://bugzilla.tianocore.org/show_bug.cgi?id=1949
> 
> Cc: Siyuan Fu <siyuan.fu@intel.com>
> Cc: Jiaxin Wu <jiaxin.wu@intel.com>
> Signed-off-by: Shenglei Zhang <shenglei.zhang@intel.com>
> ---
>  NetworkPkg/DpcDxe/DpcDxe.inf                        | 1 -
>  {MdeModulePkg => NetworkPkg}/Include/Protocol/Dpc.h | 0
>  NetworkPkg/Library/DxeDpcLib/DxeDpcLib.inf          | 1 -
>  3 files changed, 2 deletions(-)
>  rename {MdeModulePkg => NetworkPkg}/Include/Protocol/Dpc.h (100%)
> 
> diff --git a/NetworkPkg/DpcDxe/DpcDxe.inf b/NetworkPkg/DpcDxe/DpcDxe.inf
> index 1462de28a253..716a04d9824c 100644
> --- a/NetworkPkg/DpcDxe/DpcDxe.inf
> +++ b/NetworkPkg/DpcDxe/DpcDxe.inf
> @@ -28,7 +28,6 @@ [Sources]
> 
>  [Packages]
>    MdePkg/MdePkg.dec
> -  MdeModulePkg/MdeModulePkg.dec
>    NetworkPkg/NetworkPkg.dec
> 
>  [LibraryClasses]
> diff --git a/MdeModulePkg/Include/Protocol/Dpc.h
> b/NetworkPkg/Include/Protocol/Dpc.h
> similarity index 100%
> rename from MdeModulePkg/Include/Protocol/Dpc.h
> rename to NetworkPkg/Include/Protocol/Dpc.h
> diff --git a/NetworkPkg/Library/DxeDpcLib/DxeDpcLib.inf
> b/NetworkPkg/Library/DxeDpcLib/DxeDpcLib.inf
> index 3fb8718f1e33..423037090beb 100644
> --- a/NetworkPkg/Library/DxeDpcLib/DxeDpcLib.inf
> +++ b/NetworkPkg/Library/DxeDpcLib/DxeDpcLib.inf
> @@ -27,7 +27,6 @@ [Sources]
> 
>  [Packages]
>    MdePkg/MdePkg.dec
> -  MdeModulePkg/MdeModulePkg.dec
>    NetworkPkg/NetworkPkg.dec
> 
>  [LibraryClasses]
> --
> 2.18.0.windows.1
> 
> 
> 


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.

View/Reply Online (#45421): https://edk2.groups.io/g/devel/message/45421
Mute This Topic: https://groups.io/mt/32838745/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-