summaryrefslogtreecommitdiffstats
path: root/MdePkg/Library
Commit message (Collapse)AuthorAgeFilesLines
* Update the copyright notice formathhtian2010-04-2358-116/+116
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10407 6f19259b-4bc3-4df7-8a09-765794883524
* Update the copyright notice formathhtian2010-04-2317-34/+34
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10406 6f19259b-4bc3-4df7-8a09-765794883524
* Update the copyright notice formathhtian2010-04-23538-1092/+1092
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10405 6f19259b-4bc3-4df7-8a09-765794883524
* Update the copyright notice formathhtian2010-04-2310-22/+22
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10402 6f19259b-4bc3-4df7-8a09-765794883524
* Update the copyright notice formathhtian2010-04-232-4/+4
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10401 6f19259b-4bc3-4df7-8a09-765794883524
* Update the copyright notice formathhtian2010-04-232-4/+4
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10400 6f19259b-4bc3-4df7-8a09-765794883524
* Update the copyright notice formathhtian2010-04-2318-41/+41
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10399 6f19259b-4bc3-4df7-8a09-765794883524
* Update the copyright notice formathhtian2010-04-235-12/+12
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10398 6f19259b-4bc3-4df7-8a09-765794883524
* Add an IO Lib instance based on CPU IO2 Protocol.rsun32010-04-215-0/+3464
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10383 6f19259b-4bc3-4df7-8a09-765794883524
* Fixed GCC 4.4 build issue due to incorrect prefix. Now using ASM_PFX to ↵geekboy15a2010-04-161-1/+1
| | | | | | correctly set the prefix. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10377 6f19259b-4bc3-4df7-8a09-765794883524
* Fixed GCC 4.4 build issue. Also fixed issue where upper 32-bits may be lost ↵geekboy15a2010-04-162-3/+4
| | | | | | during AND operation. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10376 6f19259b-4bc3-4df7-8a09-765794883524
* Fix INF file header formatqhuang82010-03-317-7/+7
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10323 6f19259b-4bc3-4df7-8a09-765794883524
* Remove obsolete BuildCapsuleHob() function in DxeCoreHobLib.qhuang82010-03-231-26/+1
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10306 6f19259b-4bc3-4df7-8a09-765794883524
* Add Math64.S to reduce the number of compiler intrinsics that need to be ↵andrewfish2010-03-172-2/+267
| | | | | | supported. It turns out they seem to change from GCC generation to generation. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10259 6f19259b-4bc3-4df7-8a09-765794883524
* Move SmmCoreSmmServicesTableLib from MdePkg to MdeModulePkg.jyao12010-03-052-77/+0
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10203 6f19259b-4bc3-4df7-8a09-765794883524
* Add SmmCore SmmServicesTable library.jyao12010-03-052-0/+77
| | | | | | This library should be used and only used by SmmCore, (compare with SmmServicesTable Lib is used and only used by SmmDriver) git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10202 6f19259b-4bc3-4df7-8a09-765794883524
* Remove SMM_CORE from SmmServicesTableLib.inf that is dedicated for ↵hhuan132010-03-041-1/+1
| | | | | | DXE_SMM_DRIVER git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10183 6f19259b-4bc3-4df7-8a09-765794883524
* Removing "Ex" in PI PCD_PPI/PROTOCOL's interface according to PI 1.2 latest ↵klu22010-03-032-28/+28
| | | | | | update. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10167 6f19259b-4bc3-4df7-8a09-765794883524
* updated definitions of PCD PPI/Protocol per latest UEFI Spec.vanjeff2010-03-011-2/+2
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10134 6f19259b-4bc3-4df7-8a09-765794883524
* Remove assumption that the transition code for transitioning from 64-bit to ↵mdkinney2010-03-012-15/+21
| | | | | | | | | | 32-bit mode is 64 bytes. Instead compute the size based on the implementation in the ASM file. Update logic to align new 32-bit stack on a 4 byte boundary Update logic to prevent one slot overlap between the transition code and the new stack. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10133 6f19259b-4bc3-4df7-8a09-765794883524
* Update SEC Platform Information PPI according to PI 1.2 errata A.xli242010-02-271-11/+11
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10118 6f19259b-4bc3-4df7-8a09-765794883524
* Clean up EFI_SPECIFICATION_VERSION and PI_SPECIFICATION_VERSION.klu22010-02-259-13/+1
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10071 6f19259b-4bc3-4df7-8a09-765794883524
* Correct Copyright year formatlgao42010-02-241-1/+1
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10054 6f19259b-4bc3-4df7-8a09-765794883524
* 1. Correct File header to ## @filelgao42010-02-2481-304/+304
| | | | | | 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
* Disable interrupt when changing IDTR register.klu22010-02-235-5/+20
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10046 6f19259b-4bc3-4df7-8a09-765794883524
* Temporarily remove the C implementation of some GCC assembly files in ↵qhuang82010-02-238-4020/+2
| | | | | | MdePkg. They are kept in repository and will be re-evaluate later. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10045 6f19259b-4bc3-4df7-8a09-765794883524
* Remove SMM_CORE as a supported module type for the MemoryAllocationLib ↵mdkinney2010-02-151-7/+3
| | | | | | instance that uses UEFI Boot Services git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10008 6f19259b-4bc3-4df7-8a09-765794883524
* Add Memory Allocation Library instance for modules of type DXE_SMM_DRIVERmdkinney2010-02-142-0/+862
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10001 6f19259b-4bc3-4df7-8a09-765794883524
* 1) Remove dependency on the UEFI Boot Services Table Library so the gBS, ↵mdkinney2010-02-142-29/+18
| | | | | | | | | | gST, and gImageHandle symbols will not be automatically linked into an SMM Driver that uses this library. 2) Remove redundant include of <PiDxe.h> 3) Clean up constructor to use InSmm() library function instead of duplicating logic. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10000 6f19259b-4bc3-4df7-8a09-765794883524
* Remove constructor from this library. This library already has SMM CPU I/O ↵mdkinney2010-02-142-38/+5
| | | | | | | | | | | 2 in its [Depex], so any module using this library will not be dispatched until the SMM CPU I/O 2 Protocol is installed into the SMM handle database and also copied into the SMM Services Table. The worker functions in this library have also been updated to simply use the instance of the SMM CPU I/O 2 Protocol that is present in the SMM Services Table. The dependency on the UEFI Boot Services Table Library has also been removed so the gBS, gST, and gImageHandle symbols will not be automatically linked into an SMM Driver that uses this library. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9999 6f19259b-4bc3-4df7-8a09-765794883524
* Do not set gBS to NULL when the ExitBootServices event notification for the ↵mdkinney2010-02-111-6/+1
| | | | | | | | | | UEFI Runtime Lib is executed. There is no guarantee that the ExitBootServices notification function from this lib will be the last ExitBootServices notification function registered by a module that uses the UEFI Runtime lib. If additional ExitBootServices notification functions require the use of gBS, then setting to NULL will break those additional ExitBootServices notification functions. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9982 6f19259b-4bc3-4df7-8a09-765794883524
* Minor update to fix typos and update the file to use \r\n as end of lineqhuang82010-02-011-3/+3
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9901 6f19259b-4bc3-4df7-8a09-765794883524
* Add missing dependency expression for some library instances in MdePkgqhuang82010-02-018-13/+25
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9891 6f19259b-4bc3-4df7-8a09-765794883524
* Add missing [Depex]mdkinney2010-01-291-0/+3
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9860 6f19259b-4bc3-4df7-8a09-765794883524
* Move SmmLib from IntelFrameworkPkg to MdePkg because this library is useful ↵mdkinney2010-01-272-0/+137
| | | | | | to both Framework SMM and PI SMM implementations. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9840 6f19259b-4bc3-4df7-8a09-765794883524
* Clean up MdePkg source to correct some coding style issues, etc.qhuang82010-01-278-31/+76
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9832 6f19259b-4bc3-4df7-8a09-765794883524
* Add type-cast to fix build break for IA32 archqhuang82010-01-151-2/+2
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9768 6f19259b-4bc3-4df7-8a09-765794883524
* Fix gcc warningAJFISH2010-01-151-31/+33
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9765 6f19259b-4bc3-4df7-8a09-765794883524
* Added new PeCoffGetEntryPoint lib function to get size of PE/COFF header. ↵AJFISH2010-01-141-0/+45
| | | | | | This is needed for debug prints with PE/COFF images that started as ELF or Mach-O. Moved and debugged ARM semihosting lib for RVD that prints out the debugger symbol load commands in a window on the debugger. Trying to write a script file, but that crashes RVD. Added debug print to BeagleBoard Sec that prints out RVD debugger command to load symbols for the Sec. Synced the rest of the code. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9763 6f19259b-4bc3-4df7-8a09-765794883524
* Clean up .h files for the CPU I/O PPI and the CPU I/O 2 Protocol mdkinney2010-01-141-4/+2
| | | | | | | | | Minor clean up to PeiIoLibCpuIo.inf git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9739 6f19259b-4bc3-4df7-8a09-765794883524
* Change SMM CPU I/O to SMM CPU I/O 2mdkinney2010-01-145-53/+16
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9735 6f19259b-4bc3-4df7-8a09-765794883524
* Remove extra reference to SmmCpuIo.hmdkinney2010-01-142-8/+3
| | | | | | | | Minor clean ups to INF git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9733 6f19259b-4bc3-4df7-8a09-765794883524
* PI 1.1 SMM Feature Check-indavidhuang2009-12-2316-13/+5148
| | | | | | | | | | 1. Add SmmServicesTableLib library class/instance. 2. Add SmmIoLibCpuIo/SmmPciLibPciRootBridgeIo library instance. 3. Update some library INF to support SMM_CORE module type. 4. Update dec/dsc to include new modules. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9590 6f19259b-4bc3-4df7-8a09-765794883524
* Fix a bug in MdePkg BaseLib: StrnCat() and AsciiStrnCat() should NULL ↵qhuang82009-12-231-2/+10
| | | | | | terminated the final destination string when Length is equal to the length of Source string git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9588 6f19259b-4bc3-4df7-8a09-765794883524
* Directly use FALSE when BootPolicy is FALSE.lgao42009-12-081-1/+1
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9540 6f19259b-4bc3-4df7-8a09-765794883524
* 1. fix the wrong description, change "target the buffer" to "the target buffer"eric_tian2009-12-0748-64/+80
| | | | | | 2. fix ICC/GYGGCC build failure on ScanMemN() in X64 arch, it can not reach the last sentence when UINTN is equal to UINT64. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9530 6f19259b-4bc3-4df7-8a09-765794883524
* according to IA32 intel architecture spec, mwait instuction needs not the ↵eric_tian2009-12-071-1/+1
| | | | | | operands. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9527 6f19259b-4bc3-4df7-8a09-765794883524
* fix GCC build issue, mWait instruction need not the operands.eric_tian2009-12-071-1/+1
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9526 6f19259b-4bc3-4df7-8a09-765794883524
* Fixes for ARM build in the EdkCompatibilityPkg and a couple of Xcode fixes ↵AJFISH2009-12-062-30/+30
| | | | | | for MdePkg. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9520 6f19259b-4bc3-4df7-8a09-765794883524
* Add SetMemN() and ScanMemN() to the BaseMemoryLib class and all ↵mdkinney2009-12-0516-16/+568
| | | | | | BaseMemoryLib implementations git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9517 6f19259b-4bc3-4df7-8a09-765794883524