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 Kubacki 
							
						 
					 
					
						
						
							
						
						e33d3e7f56 
					 
					
						
						
							
							MdeModulePkg/EhciDxe: Use BaseLib linked list iteration macros  
						
						... 
						
						
						
						REF:https://bugzilla.tianocore.org/show_bug.cgi?id=1959 
Replaces usage of the linked list iteration macros defined in Ehci.h
with the common definition in BaseLib.h.
Cc: Dandan Bi <dandan.bi@intel.com >
Cc: Hao A Wu <hao.a.wu@intel.com >
Cc: Jian J Wang <jian.j.wang@intel.com >
Cc: Liming Gao <liming.gao@intel.com >
Cc: Ray Ni <ray.ni@intel.com >
Cc: Sean Brogan <sean.brogan@microsoft.com >
Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com >
Reviewed-by: Guomin Jiang <guomin.jiang@intel.com >
Reviewed-by: Hao A Wu <hao.a.wu@intel.com >
Reviewed-by: Liming Gao <liming.gao@intel.com >
Reviewed-by: Bret Barkelew <bret.barkelew@microsoft.com > 
						
						
					 
					
						2020-04-21 02:20:51 +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 
						 
				 
			
				
					
						
							
							
								Laszlo Ersek 
							
						 
					 
					
						
						
							
						
						b48ec0e8ab 
					 
					
						
						
							
							MdeModulePkg/EhciDxe: factor out EhcIsDebugPortInUse()  
						
						... 
						
						
						
						The EhcReset(), EhcGetRootHubPortStatus() and EhcDriverBindingStart()
functions need to see whether the host controller (or a specific port on
the host controller) can be accessed, dependent on the controller having
(or the specific port being) an in-use debug port. Because the condition
isn't simple, extract it to a separate function.
Cc: Ruiyu Ni <ruiyu.ni@intel.com >
Cc: Star Zeng <star.zeng@intel.com >
Suggested-by: Star Zeng <star.zeng@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Laszlo Ersek <lersek@redhat.com >
Reviewed-by: Star Zeng <star.zeng@intel.com > 
						
						
					 
					
						2018-09-06 14:07:50 +02:00 
						 
				 
			
				
					
						
							
							
								Liming Gao 
							
						 
					 
					
						
						
							
						
						d1102dba72 
					 
					
						
						
							
							MdeModulePkg: Clean up source files  
						
						... 
						
						
						
						1. Do not use tab characters
2. No trailing white space in one line
3. All files must end with CRLF
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Liming Gao <liming.gao@intel.com >
Reviewed-by: Star Zeng <star.zeng@intel.com > 
						
						
					 
					
						2018-06-28 11:19:45 +08:00 
						 
				 
			
				
					
						
							
							
								Gary Lin 
							
						 
					 
					
						
						
							
						
						ed356b9e80 
					 
					
						
						
							
							MdeModulePkg/Bus: Fix typos in comments  
						
						... 
						
						
						
						- TURE -> TRUE
- stoping -> stopping
- doule -> double
- Peroidic -> Periodic
- stardard -> standard
- a a -> a
- reseting -> resetting
- excute -> execute
- connectted -> connected
- Sumbit -> Submit
Cc: Feng Tian <feng.tian@intel.com >
Cc: Star Zeng <star.zeng@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Gary Lin <glin@suse.com >
Reviewed-by: Feng Tian <feng.tian@intel.com >
Reviewed-by: Star Zeng <star.zeng@intel.com > 
						
						
					 
					
						2016-10-27 09:11:16 +08:00 
						 
				 
			
				
					
						
							
							
								Ard Biesheuvel 
							
						 
					 
					
						
						
							
						
						167c3fb456 
					 
					
						
						
							
							MdeModulePkg/EhciDxe: enable 64-bit PCI DMA  
						
						... 
						
						
						
						PCI controller drivers must set the EFI_PCI_IO_ATTRIBUTE_DUAL_ADDRESS_CYCLE
attribute if the controller supports 64-bit DMA addressing.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org >
Reviewed-by: Laszlo Ersek <lersek@redhat.com >
Reviewed-by: Feng Tian <feng.tian@Intel.com > 
						
						
					 
					
						2016-09-06 15:40:49 +01:00 
						 
				 
			
				
					
						
							
							
								Tian Feng 
							
						 
					 
					
						
						
							
						
						d525ec1023 
					 
					
						
						
							
							MdeModulePkg/EhciDxe: Update async polling interval to 1ms.  
						
						... 
						
						
						
						Updating the async polling interval from 50ms to 1ms for better performance.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Tian Feng <feng.tian@intel.com >
Reviewed-by: Star Zeng <star.zeng@intel.com >
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17586  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2015-06-09 03:21:32 +00:00 
						 
				 
			
				
					
						
							
							
								li-elvin 
							
						 
					 
					
						
						
							
						
						37623a5c02 
					 
					
						
						
							
							Add missing status code in several modules.  
						
						... 
						
						
						
						Signed-off-by: Li Elvin <elvin.li@intel.com >
Reviewed-by: Yao Jiewen <jiewen.yao@intel.com >
Reviewed-by: Ni Ruiyu <ruiyu.ni@intel.com >
Reviewed-by: Gao Liming <liming.gao@intel.com >
Reviewed-by: Tian Feng <feng.tian@intel.com >
Reviewed-by: Fan Jeff <jeff.fan@intel.com >
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13890  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2012-10-30 04:23:40 +00:00 
						 
				 
			
				
					
						
							
							
								erictian 
							
						 
					 
					
						
						
							
						
						09943f5ecc 
					 
					
						
						
							
							MdeModulePkg: Skip to manage usb debug port in EDKII EHCI driver if it's used by usb debug port driver  
						
						... 
						
						
						
						Signed-off-by: Feng Tian <feng.tian@intel.com >
Reviewed-by: Jeff Fan <jeff.fan@intel.com >
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13226  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2012-04-28 05:02:54 +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 
						 
				 
			
				
					
						
							
							
								erictian 
							
						 
					 
					
						
						
							
						
						592b87a46d 
					 
					
						
						
							
							update Ehci driver to distinct pci memory address and host address  
						
						... 
						
						
						
						git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10121  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2010-02-28 13:00:58 +00:00 
						 
				 
			
				
					
						
							
							
								rsun3 
							
						 
					 
					
						
						
							
						
						1ccdbf2a3e 
					 
					
						
						
							
							Improve coding style in MdeModulePkg.  
						
						... 
						
						
						
						git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9793  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2010-01-19 06:42:21 +00:00 
						 
				 
			
				
					
						
							
							
								eric_tian 
							
						 
					 
					
						
						
							
						
						9420fc148a 
					 
					
						
						
							
							modify the incorrect timeout value definitions in Usb driver  
						
						... 
						
						
						
						git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9117  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2009-08-19 01:41:43 +00:00 
						 
				 
			
				
					
						
							
							
								eric_tian 
							
						 
					 
					
						
						
							
						
						a261044cf5 
					 
					
						
						
							
							code cleanup:  
						
						... 
						
						
						
						1. remove unused macro/remove unnecessary included header file
2. for those values defined by PCI spec, use the naming of definition in IndustryStandard/Pci.h
3. use BITX macro in Base.h rather than define one by self.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8992  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2009-07-24 05:34:55 +00:00 
						 
				 
			
				
					
						
							
							
								vanjeff 
							
						 
					 
					
						
						
							
						
						0428a6cb12 
					 
					
						
						
							
							fixed DMA not be stopped issue when gBS->ExitBootServices called.  
						
						... 
						
						
						
						git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8058  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2009-04-10 08:31:45 +00:00 
						 
				 
			
				
					
						
							
							
								qwang12 
							
						 
					 
					
						
						
							
						
						597f4ee21c 
					 
					
						
						
							
							1) Fix a typo in EhcMoniteAsyncRequests.  
						
						... 
						
						
						
						2) Code cleanup.
3) Doxygen comment cleanup.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7428  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2009-02-04 06:56:31 +00:00 
						 
				 
			
				
					
						
							
							
								qhuang8 
							
						 
					 
					
						
						
							
						
						f3f2e05db8 
					 
					
						
						
							
							Clean up to update the reference of the these macros:  
						
						... 
						
						
						
						EFI_SIGNATURE_16 -> SIGNATURE_16
  EFI_SIGNATURE_32 -> SIGNATURE_32
  EFI_SIGNATURE_64 -> SIGNATURE_64
  EFI_FIELD_OFFSET -> OFFSET_OF
  EFI_MAX_BIT      -> MAX_BIT
  EFI_MAX_ADDRESS  -> MAX_ADDRESS
These macros are not defined in UEFI spec. It makes more sense to use the equivalent macros in Base.h to avoid alias.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7056  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2008-12-16 15:34:21 +00:00 
						 
				 
			
				
					
						
							
							
								mdkinney 
							
						 
					 
					
						
						
							
						
						50d7ebad92 
					 
					
						
						
							
							Change _CR() to BASE_CR() to follow naming convention  
						
						... 
						
						
						
						git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6888  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2008-12-06 01:23:24 +00:00 
						 
				 
			
				
					
						
							
							
								jji4 
							
						 
					 
					
						
						
							
						
						aa79b0b379 
					 
					
						
						
							
							Global variables have been moved backward ahead of functions.  
						
						... 
						
						
						
						Only a few cases were left due to its module structure.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6816  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2008-12-03 08:52:39 +00:00 
						 
				 
			
				
					
						
							
							
								lgao4 
							
						 
					 
					
						
						
							
						
						60c93673b3 
					 
					
						
						
							
							The driver and library in MdePkg, MdeModulePkg and Nt32Pkg that don't depend on PI spec should include Uefi.h not PiDxe.h.  
						
						... 
						
						
						
						git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5758  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2008-08-30 14:09:38 +00:00 
						 
				 
			
				
					
						
							
							
								eric_tian 
							
						 
					 
					
						
						
							
						
						78c2ffb5a7 
					 
					
						
						
							
							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@5427  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2008-07-08 10:26:16 +00:00 
						 
				 
			
				
					
						
							
							
								qhuang8 
							
						 
					 
					
						
						
							
						
						dd4047a51c 
					 
					
						
						
							
							[Description]:  
						
						... 
						
						
						
						Add a feature flag in Uhci & Ehci to disable legacy USB SMI.
[Impaction]:
  Platform integrator can choose to legacy USB SMI or not.
[Reference Info]
  EDK Tracker 1082
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5081  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2008-04-17 11:02:59 +00:00 
						 
				 
			
				
					
						
							
							
								vanjeff 
							
						 
					 
					
						
						
							
						
						68246fa809 
					 
					
						
						
							
							Save original PCI attributes in start() function and restore it in Stop() for those PCI device drivers.  
						
						... 
						
						
						
						git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4212  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2007-10-25 07:59:45 +00:00 
						 
				 
			
				
					
						
							
							
								yshang1 
							
						 
					 
					
						
						
							
						
						23c326c201 
					 
					
						
						
							
							Support ICC build .  
						
						... 
						
						
						
						git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4039  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2007-10-08 06:45:07 +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 
						 
				 
			
				
					
						
							
							
								qhuang8 
							
						 
					 
					
						
						
							
						
						f527bce3d0 
					 
					
						
						
							
							Update to support to produce Component Name and  & Component Name 2 protocol based on Feature flag PcdComponentNameDisable & PcdComponentName2Disable.  
						
						... 
						
						
						
						git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4000  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2007-09-30 02:42:47 +00:00 
						 
				 
			
				
					
						
							
							
								vanjeff 
							
						 
					 
					
						
						
							
						
						ed7748fe4a 
					 
					
						
						
							
							remove some comments introduced by tools.  
						
						... 
						
						
						
						git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3387  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2007-07-20 06:10:09 +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