Michael Kubacki
							
						 
					 | 
					
						
						
							
						
						d1050b9dff
					 | 
					
						
						
							
							NetworkPkg: Apply uncrustify changes
						
						
						
						
						
						
						
						REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3737
Apply uncrustify changes to .c/.h files in the NetworkPkg package
Cc: Andrew Fish <afish@apple.com>
Cc: Leif Lindholm <leif@nuviainc.com>
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com>
Reviewed-by: Maciej Rabeda <maciej.rabeda@linux.intel.com> 
						
						
					 | 
					
						2021-12-07 17:24:28 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Michael D Kinney
							
						 
					 | 
					
						
						
							
						
						c49ca4a29e
					 | 
					
						
						
							
							NetworkPkg: Change use of EFI_D_* to DEBUG_*
						
						
						
						
						
						
						
						REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3739
Update all use of EFI_D_* defines in DEBUG() macros to DEBUG_* defines.
Cc: Andrew Fish <afish@apple.com>
Cc: Leif Lindholm <leif@nuviainc.com>
Cc: Michael Kubacki <michael.kubacki@microsoft.com>
Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com>
Reviewed-by: Maciej Rabeda <maciej.rabeda@linux.intel.com> 
						
						
					 | 
					
						2021-12-07 17:24:28 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Michael Kubacki
							
						 
					 | 
					
						
						
							
						
						df4f154da9
					 | 
					
						
						
							
							NetworkPkg/SnpDxe: Prevent invalid PCI BAR access
						
						
						
						
						
						
						
						REF:https://bugzilla.tianocore.org/show_bug.cgi?id=1563
SnpDxe initializes values for MemoryBarIndex and IoBarIndex to 0 and 1
respectively even if calls to PciIo->GetBarAttributes never return
success.
Later, if the BAR is used to perform IO/Mem reads/writes, a potentially
non-existent BAR index may be accessed. This change initializes the
values
to an invalid BAR index (PCI_MAX_BAR) so the condition can be explicitly
checked to avoid an invalid BAR access.
Cc: Siyuan Fu <siyuan.fu@intel.com>
Cc: Maciej Rabeda <maciej.rabeda@linux.intel.com>
Cc: Jiaxin Wu <jiaxin.wu@intel.com>
Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com>
Reviewed-by: Siyuan Fu <siyuan.fu@intel.com>
Reviewed-by: Maciej Rabeda <maciej.rabeda@linux.intel.com> 
						
						
					 | 
					
						2020-04-17 17:34:33 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Antoine Coeur
							
						 
					 | 
					
						
						
							
						
						bb3594e842
					 | 
					
						
						
							
							NetworkPkg/SnpDxe: Fix few typos
						
						
						
						
						
						
						
						Fix few typos in comments and documentation.
Cc: Jiaxin Wu <jiaxin.wu@intel.com>
Cc: Siyuan Fu <siyuan.fu@intel.com>
Cc: Maciej Rabeda <maciej.rabeda@intel.com>
Signed-off-by: Antoine Coeur <coeur@gmx.fr>
Reviewed-by: Philippe Mathieu-Daude <philmd@redhat.com>
Reviewed-by: Maciej Rabeda <maciej.rabeda@linux.intel.com>
Signed-off-by: Philippe Mathieu-Daude <philmd@redhat.com>
Message-Id: <20200207010831.9046-47-philmd@redhat.com> 
						
						
					 | 
					
						2020-02-10 22:30:07 +00:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Liming Gao
							
						 
					 | 
					
						
						
							
						
						4542f8b813
					 | 
					
						
						
							
							NetworkPkg: Move Network library and drivers from MdeModulePkg to NetworkPkg
						
						
						
						
						
						
						
						Signed-off-by: Liming Gao <liming.gao@intel.com>
Cc: Siyuan Fu <siyuan.fu@intel.com>
Cc: Jiaxin Wu <jiaxin.wu@intel.com>
Reviewed-by: Jiaxin Wu <jiaxin.wu@intel.com>
Reviewed-by: Siyuan Fu <siyuan.fu@intel.com> 
						
						
					 | 
					
						2019-05-27 09:25:18 +08:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 |