Ranbir Singh 
							
						 
					 
					
						
						
							
						
						e9f5d8c0e0 
					 
					
						
						
							
							MdeModulePkg/Bus/Pci/UhciDxe: Fix BAD_SHIFT Coverity issue  
						
						... 
						
						
						
						The function UhciConvertPollRate has a check
    ASSERT (Interval != 0);
but this comes into play only in DEBUG mode. In Release mode, there is
no handling if the Interval parameter value is ZERO. To avoid shifting
by a negative amount later in the code flow in this undesirable case,
it is better to handle it as well by treating it same as if 1 is sent.
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4211 
Cc: Hao A Wu <hao.a.wu@intel.com >
Cc: Ray Ni <ray.ni@intel.com >
Co-authored-by: Veeresh Sangolli <veeresh.sangolli@dellteam.com >
Signed-off-by: Ranbir Singh <Ranbir.Singh3@Dell.com >
Signed-off-by: Ranbir Singh <rsingh@ventanamicro.com >
Reviewed-by: Hao A Wu <hao.a.wu@intel.com > 
						
						
					 
					
						2023-09-22 04:56:35 +00:00 
						 
				 
			
				
					
						
							
							
								Michael Kubacki 
							
						 
					 
					
						
						
							
						
						1436aea4d5 
					 
					
						
						
							
							MdeModulePkg: Apply uncrustify changes  
						
						... 
						
						
						
						REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3737 
Apply uncrustify changes to .c/.h files in the MdeModulePkg 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: Liming Gao <gaoliming@byosoft.com.cn > 
						
						
					 
					
						2021-12-07 17:24:28 +00:00 
						 
				 
			
				
					
						
							
							
								Michael D Kinney 
							
						 
					 
					
						
						
							
						
						87000d7708 
					 
					
						
						
							
							MdeModulePkg: 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: Liming Gao <gaoliming@byosoft.com.cn > 
						
						
					 
					
						2021-12-07 17:24:28 +00:00 
						 
				 
			
				
					
						
							
							
								Michael D Kinney 
							
						 
					 
					
						
						
							
						
						d181539b83 
					 
					
						
						
							
							MdeModulePkg: Fix spelling mistake for occurred  
						
						... 
						
						
						
						REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2361 
Cc: Jian J Wang <jian.j.wang@intel.com >
Cc: Hao A Wu <hao.a.wu@intel.com >
Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com >
Reviewed-by: Guomin Jiang <guomin.jiang@intel.com >
Reviewed-by: Hao A Wu <hao.a.wu@intel.com > 
						
						
					 
					
						2020-08-19 00:54:23 +00:00 
						 
				 
			
				
					
						
							
							
								Michael D Kinney 
							
						 
					 
					
						
						
							
						
						9d510e61fc 
					 
					
						
						
							
							MdeModulePkg: Replace BSD License with BSD+Patent License  
						
						... 
						
						
						
						https://bugzilla.tianocore.org/show_bug.cgi?id=1373 
Replace BSD 2-Clause License with BSD+Patent License.  This change is
based on the following emails:
  https://lists.01.org/pipermail/edk2-devel/2019-February/036260.html 
  https://lists.01.org/pipermail/edk2-devel/2018-October/030385.html 
RFCs with detailed process for the license change:
  V3: https://lists.01.org/pipermail/edk2-devel/2019-March/038116.html 
  V2: https://lists.01.org/pipermail/edk2-devel/2019-March/037669.html 
  V1: https://lists.01.org/pipermail/edk2-devel/2019-March/037500.html 
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com >
Reviewed-by: Hao Wu <hao.a.wu@intel.com >
Reviewed-by: Jian J Wang <jian.j.wang@intel.com > 
					
						2019-04-09 10:58:08 -07:00 
						 
				 
			
				
					
						
							
							
								Ruiyu Ni 
							
						 
					 
					
						
						
							
						
						7fb7259fc0 
					 
					
						
						
							
							MdeModulePkg/Usb: Make sure data from HW is no more than expected  
						
						... 
						
						
						
						Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com >
Cc: Jiewen Yao <jiewen.yao@intel.com >
Cc: Star Zeng <star.zeng@intel.com >
Cc: Hao A Wu <hao.a.wu@intel.com >
Reviewed-by: Hao Wu <hao.a.wu@intel.com >
Reviewed-by: Star Zeng <star.zeng@intel.com > 
						
						
					 
					
						2018-10-17 11:03:58 +08:00 
						 
				 
			
				
					
						
							
							
								Samer El-Haj-Mahmoud 
							
						 
					 
					
						
						
							
						
						0133195170 
					 
					
						
						
							
							MdeModulePkg: Misc comments and DEBUG messages  
						
						... 
						
						
						
						Fixed some spelling typos in some comments. Added a couple of useful DEBUG messages 
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Samer El-Haj-Mahmoud <samer.el-haj-mahmoud@hp.com >
Reviewed-by: Feng Tian <feng.tian@intel.com >
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16450  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2014-11-27 01:01:43 +00:00 
						 
				 
			
				
					
						
							
							
								Feng Tian 
							
						 
					 
					
						
						
							
						
						ca24313165 
					 
					
						
						
							
							MdeModulePkg/Usb: Boost the r/w performance by reducing stall time on polling cmd execution status  
						
						... 
						
						
						
						Signed-off-by: Feng Tian <feng.tian@intel.com >
Reviewed-by: Star Zeng <star.zeng@intel.com >
Reviewed-by: Elvin Li <elvin.li@intel.com >
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14442  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2013-06-24 03:03:55 +00:00 
						 
				 
			
				
					
						
							
							
								erictian 
							
						 
					 
					
						
						
							
						
						17a6c337d2 
					 
					
						
						
							
							when timeout is 0, infinite loop on the timeout request to follow UEFI spec  
						
						... 
						
						
						
						git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11343  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2011-03-04 01:26:40 +00:00 
						 
				 
			
				
					
						
							
							
								hhtian 
							
						 
					 
					
						
						
							
						
						cd5ebaa06d 
					 
					
						
						
							
							Update the copyright notice format  
						
						... 
						
						
						
						git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10420  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2010-04-24 09:49:11 +00:00 
						 
				 
			
				
					
						
							
							
								lgao4 
							
						 
					 
					
						
						
							
						
						6691cae97e 
					 
					
						
						
							
							Fix compile break on IA32 arch.  
						
						... 
						
						
						
						git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10292  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2010-03-20 06:49:56 +00:00 
						 
				 
			
				
					
						
							
							
								erictian 
							
						 
					 
					
						
						
							
						
						aa91de055c 
					 
					
						
						
							
							Fix a bug that usb keybarod can not work well when it is inserted at a usb 2.0 hub.  
						
						... 
						
						
						
						It's due to AsyncInterruptList does not update the corresponding QTDHw->Data with pci bus master address.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10286  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2010-03-19 06:54:35 +00:00 
						 
				 
			
				
					
						
							
							
								eric_tian 
							
						 
					 
					
						
						
							
						
						db731882fa 
					 
					
						
						
							
							For the data region which will be touched by Pci Bus Master, we should allocate memory by PciIo.AllocateBuffer() but not AllocatePool() base library API. So the memory region can be used to map into Pci controller-specific address thru PciIo.Map().  
						
						... 
						
						
						
						git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9323  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2009-09-30 03:00:36 +00:00 
						 
				 
			
				
					
						
							
							
								eric_tian 
							
						 
					 
					
						
						
							
						
						3af875e220 
					 
					
						
						
							
							In various archs, Processor memory address may not be same with Pci memory address. For usb host controller, we should use pci memory address to initialize framelist register and all address field in QH/TD.  
						
						... 
						
						
						
						git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9259  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2009-09-14 05:26:09 +00:00 
						 
				 
			
				
					
						
							
							
								jljusten 
							
						 
					 
					
						
						
							
						
						6d3ea23f11 
					 
					
						
						
							
							Fix various 'EFIAPI' inconsistencies found while building MdeModulePkg.  
						
						... 
						
						
						
						git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8062  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2009-04-10 20:58:18 +00:00 
						 
				 
			
				
					
						
							
							
								qwang12 
							
						 
					 
					
						
						
							
						
						e08d88c59e 
					 
					
						
						
							
							3) Doxygen comment cleanup.  
						
						... 
						
						
						
						git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7429  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2009-02-04 06:59:23 +00:00 
						 
				 
			
				
					
						
							
							
								jji4 
							
						 
					 
					
						
						
							
						
						7df7393feb 
					 
					
						
						
							
							check the usage of %d,%x,%ld,%lx and so on in debug print statement.  
						
						... 
						
						
						
						git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7080  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2008-12-18 08:48:36 +00:00 
						 
				 
			
				
					
						
							
							
								eric_tian 
							
						 
					 
					
						
						
							
						
						ab6495eacf 
					 
					
						
						
							
							modify coding style to pass ecc tool and provide comments that complied with Doxgen.  
						
						... 
						
						
						
						git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5429  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2008-07-09 01:50:16 +00:00 
						 
				 
			
				
					
						
							
							
								vanjeff 
							
						 
					 
					
						
						
							
						
						b4c24e2d42 
					 
					
						
						
							
							[Description]:  
						
						... 
						
						
						
						Sync 3 trackers.
 1. A bug that may cause the low/full speed device behind 2.0 hub will not work.
 2. MajorRevision and MinorRevision need updating.
 3. Misuse UhciConvertPollRate in UHCI driver.
[Impaction]:
 EhicDxe, UhciDxe and UsbBusDxe.
[Reference Info]:
 EDK tracker 1122 - A bug that may cause the low/full speed device behind 2.0 hub will not work .
 EDK tracker 1101 - Phoenix found issue in USB and Misuse UhciConvertPollRate in UHCI driver.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5370  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2008-06-25 05:50:41 +00:00 
						 
				 
			
				
					
						
							
							
								vanjeff 
							
						 
					 
					
						
						
							
						
						1c61953576 
					 
					
						
						
							
							1. Added EFI_MEDIA_CHANGED and EFI_INVALID_PARAMETER returns in UsbMassReadBlocks().  
						
						... 
						
						
						
						2. Use DEBUG () to replace some native debug function in USB stack modules.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4689  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2008-02-13 09:08:24 +00:00 
						 
				 
			
				
					
						
							
							
								yshang1 
							
						 
					 
					
						
						
							
						
						41e8ff2781 
					 
					
						
						
							
							Fixed unexpected timeout in Usb MassStorage Driver.  
						
						... 
						
						
						
						Fixed unexpected timeout in Uhci/Ehci driver.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4038  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2007-10-08 06:14:13 +00:00 
						 
				 
			
				
					
						
							
							
								vanjeff 
							
						 
					 
					
						
						
							
						
						c52fa98ca9 
					 
					
						
						
							
							1. Fixed tools_def.template to meet ICC build for IA32  
						
						... 
						
						
						
						2. Modified some source files to meet ICC build for IA32 and IPF.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3271  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2007-07-17 01:48:09 +00:00 
						 
				 
			
				
					
						
							
							
								vanjeff 
							
						 
					 
					
						
						
							
						
						913cb9dc64 
					 
					
						
						
							
							Import EhciDxe and UhciDxe into MdeModulePkg.  
						
						... 
						
						
						
						git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3191  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2007-07-11 06:46:38 +00:00