Min Xu 
							
						 
					 
					
						
						
							
						
						b6b2de8848 
					 
					
						
						
							
							MdePkg: Support mmio for Tdx guest in BaseIoLibIntrinsic  
						
						... 
						
						
						
						RFC: https://bugzilla.tianocore.org/show_bug.cgi?id=3429 
TDVF access MMIO with TDG.VP.VMCALL to invoke VMM provided emulation
functions. If the access to MMIO fails, it fall backs to the direct
access.
BaseIoLibIntrinsic.inf is the IoLib used by other packages. It will
not support I/O in Td guest. But some files are shared between
BaseIoLibIntrinsic and BaseIoLibIntrinsicSev (IoLib.c is the example). So
IoLibInternalTdxNull.c (which holds the null stub of the Td I/O routines)
is included in BaseIoLibIntrinsic.inf. BaseIoLibIntrinsic.inf doesn't
import TdxLib so that the Pkgs which include BaseIoLibIntrinsic.inf
need not include TdxLib.
Cc: Michael D Kinney <michael.d.kinney@intel.com >
Cc: Liming Gao <gaoliming@byosoft.com.cn >
Cc: Zhiguang Liu <zhiguang.liu@intel.com >
Cc: Brijesh Singh <brijesh.singh@amd.com >
Cc: Erdem Aktas <erdemaktas@google.com >
Cc: James Bottomley <jejb@linux.ibm.com >
Cc: Jiewen Yao <jiewen.yao@intel.com >
Cc: Tom Lendacky <thomas.lendacky@amd.com >
Cc: Gerd Hoffmann <kraxel@redhat.com >
Acked-by: Gerd Hoffmann <kraxel@redhat.com >
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn >
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com >
Signed-off-by: Min Xu <min.m.xu@intel.com > 
						
						
					 
					
						2022-04-02 08:15:12 +00:00 
						 
				 
			
				
					
						
							
							
								Dandan Bi 
							
						 
					 
					
						
						
							
						
						38c8be123a 
					 
					
						
						
							
							MdePkg/IoLib: Filter/trace port IO/MMIO access  
						
						... 
						
						
						
						REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3246 
Cc: Michael D Kinney <michael.d.kinney@intel.com >
Cc: Liming Gao <gaoliming@byosoft.com.cn >
Cc: Zhiguang Liu <zhiguang.liu@intel.com >
Signed-off-by: Dandan Bi <dandan.bi@intel.com >
Reviewed-by: Michael D Kinney <michael.d.kinney@intel.com >
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn >
Acked-by: Ard Biesheuvel <ardb@kernel.org > 
						
						
					 
					
						2021-04-08 02:02:57 +00:00 
						 
				 
			
				
					
						
							
							
								Abner Chang 
							
						 
					 
					
						
						
							
						
						089e9c19a8 
					 
					
						
						
							
							MdePkg/BaseIoLibIntrinsic: Rename IoLibArm.c=>IoLibNoIo.c  
						
						... 
						
						
						
						RISC-V MMIO library instance.
IoLibArm.c in fact implements a generic Mmio-only (and ANSI
C compliant), so rename it to better reflect this.
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2672 
Signed-off-by: Abner Chang <abner.chang@hpe.com >
Co-authored-by: Gilbert Chen <gilbert.chen@hpe.com >
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org >
Reviewed-by: Zhiguang Liu <zhiguang.liu@intel.com >
Cc: Michael D Kinney <michael.d.kinney@intel.com >
Cc: Liming Gao <liming.gao@intel.com >
Cc: Leif Lindholm <leif.lindholm@linaro.org >
Cc: Gilbert Chen <gilbert.chen@hpe.com > 
						
						
					 
					
						2020-05-07 03:17:15 +00:00 
						 
				 
			
				
					
						
							
							
								Shenglei Zhang 
							
						 
					 
					
						
						
							
						
						e7ee4e0da1 
					 
					
						
						
							
							MdePkg/BaseIoLibIntrinsic: Remove IoLibIcc.c  
						
						... 
						
						
						
						As ICC tool chain will be removed, IoLibIcc.c should
also be removed.
https://bugzilla.tianocore.org/show_bug.cgi?id=1666 
Cc: Michael D Kinney <michael.d.kinney@intel.com >
Cc: Liming Gao <liming.gao@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Shenglei Zhang <shenglei.zhang@intel.com >
Reviewed-by: Liming Gao <liming.gao@intel.com >
(cherry picked from commit 9b5be294b93f7ff7fe1bcafdc3c57016f58ee4e8) 
						
						
					 
					
						2019-04-24 10:23:21 +08:00 
						 
				 
			
				
					
						
							
							
								Michael D Kinney 
							
						 
					 
					
						
						
							
						
						9344f09215 
					 
					
						
						
							
							MdePkg: 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: Liming Gao <liming.gao@intel.com > 
					
						2019-04-09 10:58:13 -07:00 
						 
				 
			
				
					
						
							
							
								Chen A Chen 
							
						 
					 
					
						
						
							
						
						3cb0a311cb 
					 
					
						
						
							
							MdePkg: Removing ipf which is no longer supported from edk2.  
						
						... 
						
						
						
						Removing rules for Ipf sources file:
* Remove the source file which path with "ipf" and also listed in
  [Sources.IPF] section of INF file.
* Remove the source file which listed in [Components.IPF] section
  of DSC file and not listed in any other [Components] section.
* Remove the embedded Ipf code for MDE_CPU_IPF.
Removing rules for Inf file:
* Remove IPF from VALID_ARCHITECTURES comments.
* Remove DXE_SAL_DRIVER from LIBRARY_CLASS in [Defines] section.
* Remove the INF which only listed in [Components.IPF] section in DSC.
* Remove statements from [BuildOptions] that provide IPF specific flags.
* Remove any IPF sepcific sections.
Removing rules for Dec file:
* Remove [Includes.IPF] section from Dec.
Removing rules for Dsc file:
* Remove IPF from SUPPORTED_ARCHITECTURES in [Defines] section of DSC.
* Remove any IPF specific sections.
* Remove statements from [BuildOptions] that provide IPF specific flags.
Cc: Liming Gao <liming.gao@intel.com >
Cc: Michael D Kinney <michael.d.kinney@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Chen A Chen <chen.a.chen@intel.com >
Reviewed-by: Liming Gao <liming.gao@intel.com > 
						
						
					 
					
						2018-09-25 23:48:21 +08:00 
						 
				 
			
				
					
						
							
							
								Liming Gao 
							
						 
					 
					
						
						
							
						
						9095d37b8f 
					 
					
						
						
							
							MdePkg: 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 > 
						
						
					 
					
						2018-06-28 11:19:47 +08:00 
						 
				 
			
				
					
						
							
							
								Liming Gao 
							
						 
					 
					
						
						
							
						
						13688930ae 
					 
					
						
						
							
							MdePkg: Remove X86 ASM and S files  
						
						... 
						
						
						
						NASM has replaced ASM and S files.
1. Remove ASM from all modules.
2. Remove S files from the drivers only.
3. https://bugzilla.tianocore.org/show_bug.cgi?id=881 
After NASM is updated, S files can be removed from Library.
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Liming Gao <liming.gao@intel.com >
Reviewed-by: Michael Kinney <michael.d.kinney@intel.com > 
						
						
					 
					
						2018-06-07 15:26:27 +08:00 
						 
				 
			
				
					
						
							
							
								Leo Duran 
							
						 
					 
					
						
						
							
						
						19c6d9feaa 
					 
					
						
						
							
							MdePkg: Expand BaseIoLibIntrinsic (IoLib class) library  
						
						... 
						
						
						
						The UefiCpuPkg/CpuIo2Dxe driver and the QemuCfgLib library have duplicate
implementations of I/O Fifo routines. This patch clones the I/O Fifo
routines into the BaseIoLibIntrinsic library and expands the IoLib class
to include the ported I/O Fifo routines.
Cc: Michael D Kinney <michael.d.kinney@intel.com >
Cc: Liming Gao <liming.gao@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Brijesh Singh <brijesh.singh@amd.com >
Signed-off-by: Leo Duran  <leo.duran@amd.com >
Reviewed-by: Liming Gao <liming.gao@intel.com >
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com > 
						
						
					 
					
						2017-01-17 10:09:50 +08:00 
						 
				 
			
				
					
						
							
							
								Michael Kinney 
							
						 
					 
					
						
						
							
						
						d910a704f8 
					 
					
						
						
							
							MdePkg/BaseIoLibIntrinsic: Add EBC support  
						
						... 
						
						
						
						The EBC instruction set supports memory and MMIO access, but not
I/O port access.  Add EBC support to BaseIoLibIntrinsic that
generates an ASSERT() if the IoReadXX()/IoWriteXX() APIs are used.
This matches the implementation for other CPU types that do not
support I/O port access.
Cc: Liming Gao <liming.gao@intel.com >
Cc: Ruiyu Ni <ruiyu.ni@intel.com >
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Michael Kinney <michael.d.kinney@intel.com >
Reviewed-by: Liming Gao <liming.gao@intel.com >
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19234  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2015-12-14 06:11:17 +00:00 
						 
				 
			
				
					
						
							
							
								Gao, Liming 
							
						 
					 
					
						
						
							
						
						c92c179040 
					 
					
						
						
							
							MdePkg: INF/DEC file updates to EDK II packages  
						
						... 
						
						
						
						1. Usage information in INF file comment blocks are either incomplete or incorrect.  
This includes usage information for Protocols/PPIs/GUIDs/PCDs/HOBs/Events/BootModes.  
The syntax for usage information in comment blocks is defined in the EDK II Module Information (INF) Specification
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Gao, Liming <liming.gao@intel.com >
Reviewed-by: Michael Kinney <michael.d.kinney@intel.com >
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15917  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2014-08-27 09:33:09 +00:00 
						 
				 
			
				
					
						
							
							
								Harry Liebel 
							
						 
					 
					
						
						
							
						
						b4319afbda 
					 
					
						
						
							
							MdePkg: Added ARM Aarch64 architecture support  
						
						... 
						
						
						
						Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Harry Liebel <Harry.Liebel@arm.com >
Signed-off-by: Olivier Martin <olivier.martin@arm.com >
Reviewed-by: Liming Gao <liming.gao@intel.com >
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14513  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2013-07-29 09:52:18 +00:00 
						 
				 
			
				
					
						
							
							
								myronporter 
							
						 
					 
					
						
						
							
						
						35a1715411 
					 
					
						
						
							
							Minor grammatical work--mostly adding periods.  Sending  separately a list of files missing Doxygen @param and @return information.  
						
						... 
						
						
						
						git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10572  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2010-06-11 00:02:51 +00:00 
						 
				 
			
				
					
						
							
							
								hhtian 
							
						 
					 
					
						
						
							
						
						4dd6f84007 
					 
					
						
						
							
							Update the copyright notice format  
						
						... 
						
						
						
						git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10402  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2010-04-23 15:37:19 +00:00 
						 
				 
			
				
					
						
							
							
								lgao4 
							
						 
					 
					
						
						
							
						
						6bfbb5f0e0 
					 
					
						
						
							
							1. Correct File header to ## @file  
						
						... 
						
						
						
						2. Remove unnecessary .common] postfix on section.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10052  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2010-02-24 00:21:16 +00:00 
						 
				 
			
				
					
						
							
							
								mdkinney 
							
						 
					 
					
						
						
							
						
						1f534c79c3 
					 
					
						
						
							
							Fix file headers  
						
						... 
						
						
						
						git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9191  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2009-08-24 23:43:23 +00:00 
						 
				 
			
				
					
						
							
							
								mdkinney 
							
						 
					 
					
						
						
							
						
						4b5f371b7d 
					 
					
						
						
							
							Make EOL consistent  
						
						... 
						
						
						
						git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9115  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2009-08-18 22:14:01 +00:00 
						 
				 
			
				
					
						
							
							
								mdkinney 
							
						 
					 
					
						
						
							
						
						9314970a95 
					 
					
						
						
							
							Add ARM support to BaseIoLibIntrinsic  
						
						... 
						
						
						
						git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9107  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2009-08-18 20:58:56 +00:00 
						 
				 
			
				
					
						
							
							
								gikidy 
							
						 
					 
					
						
						
							
						
						34b0820ec6 
					 
					
						
						
							
							INF file verified, and Coding Style reviewed.  
						
						... 
						
						
						
						git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7232  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2009-01-09 07:23:31 +00:00 
						 
				 
			
				
					
						
							
							
								lgao4 
							
						 
					 
					
						
						
							
						
						dc8577f275 
					 
					
						
						
							
							Clean up the unused EDK_RELEASE_VERSION, PI_SPECIFICATION_VERSION and EFI_SPECIFICATION_VERSION from all the MdePkg INF files.  
						
						... 
						
						
						
						git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6716  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2008-11-25 02:36:57 +00:00 
						 
				 
			
				
					
						
							
							
								eric_tian 
							
						 
					 
					
						
						
							
						
						e34ecc8a1e 
					 
					
						
						
							
							Remove unnessary UEFI_SPECIFICATION_VERSION and PI_SPECIFICATION_VERSION in INF file  
						
						... 
						
						
						
						git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6281  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2008-10-29 03:17:21 +00:00 
						 
				 
			
				
					
						
							
							
								xli24 
							
						 
					 
					
						
						
							
						
						85ea851e6a 
					 
					
						
						
							
							Refine file header for INF files of MDE library instances.  
						
						... 
						
						
						
						git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6273  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2008-10-28 09:45:52 +00:00 
						 
				 
			
				
					
						
							
							
								vanjeff 
							
						 
					 
					
						
						
							
						
						5dedabbb4e 
					 
					
						
						
							
							Clean up BaseIoLibIntrinsic according to review comments.  
						
						... 
						
						
						
						git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5876  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2008-09-11 08:59:52 +00:00 
						 
				 
			
				
					
						
							
							
								yshang1 
							
						 
					 
					
						
						
							
						
						d074a8e1a2 
					 
					
						
						
							
							Update Mde/MdeModulePkg to support ICC build for IA32/X64.  
						
						... 
						
						
						
						git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3892  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2007-09-19 06:15:43 +00:00 
						 
				 
			
				
					
						
							
							
								klu2 
							
						 
					 
					
						
						
							
						
						bba9ad98f1 
					 
					
						
						
							
							FixedPcd macro should *not* be used in Library's inf file.  
						
						... 
						
						
						
						git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3868  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2007-09-17 03:57:13 +00:00 
						 
				 
			
				
					
						
							
							
								qhuang8 
							
						 
					 
					
						
						
							
						
						b3af5df67b 
					 
					
						
						
							
							Update all INF, DEC and DSC file to confirm to newest INF spec 0.44, DEC spec 0.41, DSC spec 0.40.  
						
						... 
						
						
						
						Mainly PCD syntax update.
Check in new build.exe and GenFds.exe
Check in PcdSyntaxUpdate.exe tool. 
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3744  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2007-08-30 09:11:54 +00:00 
						 
				 
			
				
					
						
							
							
								jwang36 
							
						 
					 
					
						
						
							
						
						13e54995a8 
					 
					
						
						
							
							Changed source file format  
						
						... 
						
						
						
						git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3524  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2007-08-02 02:22:49 +00:00 
						 
				 
			
				
					
						
							
							
								vanjeff 
							
						 
					 
					
						
						
							
						
						dd0687a4b1 
					 
					
						
						
							
							remove some comments introduced by tools.  
						
						... 
						
						
						
						git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3383  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2007-07-20 04:33:45 +00:00 
						 
				 
			
				
					
						
							
							
								yshang1 
							
						 
					 
					
						
						
							
						
						5088ce25ff 
					 
					
						
						
							
							Remove unused comments in MdePkg.  
						
						... 
						
						
						
						git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3368  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2007-07-19 09:43:43 +00:00 
						 
				 
			
				
					
						
							
							
								AJFISH 
							
						 
					 
					
						
						
							
						
						3a9d76242b 
					 
					
						
						
							
							removed comments (and fix) compiler specific compile of .c files  
						
						... 
						
						
						
						git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3334  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2007-07-18 17:44:36 +00:00 
						 
				 
			
				
					
						
							
							
								AJFISH 
							
						 
					 
					
						
						
							
						
						f734a10ab1 
					 
					
						
						
							
							Removed CommonHeader.h generated file from the MdePkg.  
						
						... 
						
						
						
						git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2922  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2007-06-29 23:22:13 +00:00 
						 
				 
			
				
					
						
							
							
								AJFISH 
							
						 
					 
					
						
						
							
						
						5ed00ce4ad 
					 
					
						
						
							
							removed [includes] section from MdePkg and MdeModulePkg .inf files. The includes sections are not needed and are redundant with [packages] section  
						
						... 
						
						
						
						git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2917  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2007-06-29 16:44:40 +00:00 
						 
				 
			
				
					
						
							
							
								AJFISH 
							
						 
					 
					
						
						
							
						
						479b520d55 
					 
					
						
						
							
							Updated to support compiler intrinsics properly. I had to comment out some of the features as they are not currently supported by the build.  
						
						... 
						
						
						
						git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2816  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2007-06-27 23:02:16 +00:00 
						 
				 
			
				
					
						
							
							
								vanjeff 
							
						 
					 
					
						
						
							
						
						e1f414b6a7 
					 
					
						
						
							
							Import some basic libraries instances for Mde Packages.  
						
						... 
						
						
						
						git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2704  6f19259b-4bc3-4df7-8a09-765794883524 
						
						
					 
					
						2007-06-22 03:21:45 +00:00