summaryrefslogtreecommitdiff
path: root/MdePkg
AgeCommit message (Collapse)AuthorFilesLines
2006-07-14Port thunk16 code from MSFT to GCC assembly.qhuang81-21/+184
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@999 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-13Added license & copyright declarationjwang3661-0/+610
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@967 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-13Revised GetPowerOfTwo32() and GetPowerOfTwo64() to be more efficient.bxing2-7/+9
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@963 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-13Added all header files in the packages's include directory into spd files.jwang361-0/+946
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@955 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-13git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@954 ↵yshang11-0/+98
6f19259b-4bc3-4df7-8a09-765794883524
2006-07-13Fix bug in .S files.qhuang86-6/+6
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@952 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-13Enforced case-sensitive on the file names;jwang361-2/+2
Corrected file and/or path names in some msa files. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@949 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-131. Add Assert in SetJump.Sqhuang82-4/+7
2. Rename internal function of ModU64x32.S to avoid collision. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@948 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-131.Fix SetMem64.S to not use SSE3 instructionqhuang83-65/+61
2.Make sure NULL-terminator can be appended. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@945 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-13BasePrintLib: Fix Buffer Overflow issue.qhuang86-50/+56
BaseMemoryLib: Fix error in CopyMem.S for BaseMemoryLibMmx & BaseMemoryLibRepStr instance. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@938 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-13added function headervanjeff6-0/+82
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@935 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-12Fix a typo BaseLib.msa and add the missing file in BaseSmbusLib.qhuang82-2/+3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@922 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-121. Updated some files’ description files in MdePkg, EdkModulePkg & EdkNt32Pkg.qhuang850-157/+222
2. Update .msa files to add some missing files files in MdePkg 3. Add Help text to Mde Library related PCDs. 4. Fix some bugs in CpuId.S and CpuIdEx.S. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@919 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-12Remove some junk informatin.qwang121-6816/+2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@914 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-12git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@910 ↵yshang17-14/+16
6f19259b-4bc3-4df7-8a09-765794883524
2006-07-12git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@906 ↵alfred1-1/+6815
6f19259b-4bc3-4df7-8a09-765794883524
2006-07-12git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@905 ↵alfred44-44/+44
6f19259b-4bc3-4df7-8a09-765794883524
2006-07-121. Added '#pragma pack' directive in BaseLib.h for the structure IA32_DESCRIPTORbxing4-55/+55
2. Updated SetMem64.asm's to remove any SSE3 instructions. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@901 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-12Add in Abstract and Description for a few MSA files.qwang123-17/+23
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@897 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-11sync GCC assembly files with MASM assembly filesqhuang820-90/+82
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@878 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-111. Fix one bug on EBC for GetPowerOfTwo64.cvanjeff2-3/+5
2. Fix one bug for GetPowerOfTwo32.c and GetPowerOfTwo64.c, when Operand is 1, 1 should be returned git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@873 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-11Merge back to one fpd file that does it all.bbahnsen2-3758/+2770
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@869 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-10 Change UINAME to CName of GUID/PPI/Protocol in all Msa file and change tool ↵qouyang18-137/+131
to support it. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@863 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-10 1. BaseSmbusLib: Make SmbusReadDataByte() & SmbusWriteBlock() function well ↵qhuang82-157/+126
by re-arranging register settings. 2. BaseMemoryLibMmx for X64: Make CopyMem() be reentrant by saving Mm0 to r10. 3. DxeCorePerformanceLib: Fix some typo to save build error of that library instance. 4. Remove the orphanage definition of gEfiPerformanceProtocolGuid git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@859 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-10Fixed a syntax error in BasePciCf8Lib/PciLib.cbxing1-2/+2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@852 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-101. Fixed a logical error in PciReadBuffer() and PciWriteBuffer()bxing3-35/+63
2. Fixed GetInterruptState() on IPF to return the state of interrupts correctly git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@850 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-09Made some changes to use GCC to pre-process and assembly .S file jwang361-992/+992
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@846 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-09Added a "_" to ${ENTRYPOINT} for GCC "CC" command option;jwang362-25/+1
Removed GCC tool chain options from MdePkg-All-Archs.fpd and EdkModulePkg-All-Archs.fpd git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@843 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-08In AsciiStrncmp(), if length=0, should return 0vanjeff1-0/+4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@840 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-07Redefine SPEC and Release Version to 0x20000lgao460-299/+323
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@826 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-07Obsoleted by new schema and new build tools.jwang36120-4631/+0
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@821 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-07Fix all <TokenSpaceGuidCName> in all SPD file.klu21-10/+10
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@817 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-06 PciLib:qhuang85-31/+59
For PciRead/WriteBuffer(): A fix to handle boundary cases when Size is 0; DevicePathLib: For FileDevicePath(): Change to use AppendDevicePath () in place of AppendDevicePathNode(). PrintLib: For type %p, according to current MWG, it should ignore flag 0, +, space, l, & L Misc: Fix a bug in EBC interpreter for Ia32. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@796 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-06Fixed the GCC assembler issue. Now we can use full GCC tools to build our ↵jwang366-2/+133
package. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@795 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-061. Simplified PalCallStatic.s's by removing unnecessary condition testings.bxing7-67/+76
2. Fixed a logical error in Synchronization.c which caused InterlockedIncrement() and InterlockedDecrement() to hang. 3. Replaced the pseudo-implementation of GetInterruptState() with a real version. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@793 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-06Add in support for MaxSize and CurrentSize for PCD entry.qwang125-49/+30
Change the behavior for PcdSET for Variable_Enabled Pcd entry. If a Variable does not exist, we will only save the value to a volatile space. We save it to variable ONLY when the variable exist. Fix a few bugs in Pcd Build tool when generated Pcd database for Pcd entry with Unicode String type. Support PcdSet to return MaxSize if the input SizeOfBuffer is greater than the Max Size declared in FPD file. Add SetValueWorker and GetValueWoker for each PcdSET and PcdGET function to reduce code size. Sync function prototype definition for PCD_PPI_SET_POINTER, PCD_PPI_SET_EX_POINTER, PCD_PROTOCOL_SET_POINTER and PCD_PROTOCOL_SET_EX_POINTER with PCD arch spec 0.52. Add ASSERTION in LibPcdSetPtr. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@789 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-061. Sync LinkedList.c with MWGvanjeff3-5/+3
2. Fix one bug in Ipf/InterlockedCompareExchange64.s 3. Fix one bug in AsmDisablePaging64() git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@786 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-06Removed Optional Ffs Sections as it was not being used. Changed UserId in ↵lhauch2-3/+1
UserExtensions from Fix_Me to TianoCore git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@785 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-06git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@784 ↵lgao43-4/+4
6f19259b-4bc3-4df7-8a09-765794883524
2006-07-05Correct module guid in mbd filelgao41-1/+1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@760 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-05fixed GCC build issuesjwang362-2/+2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@759 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-05 DebugLib:qhuang818-1495/+0
Fix a bug in PeiDxeDebugLibReportStatusCode: it should use gReportStatusCodeDebugType so that report status code infrastructure can correctly extract debug info. Fix functional and coding style issues in the three instances in EdkModulePkg, namely: EdkDxeDebugLibReportStatusCode, EdkUefiDebugLibStderr, EdkUefiDebugLibConout. DevicePathLib: Sync with MWG 0.57 and add new interface of CreateDevicePathNode(). All the function headers have been updated. PeiServicesLib: Adjust coding style and fix a minor comment error. PciLib: Adjust assert() condition to sync with MWG 0.57 BaseMemoryLib: Adjust assert() for ScanMemXX (), ScanGuid() Rename UefiMemoryLib to DxeMemoryLib PrintLib: Change the return value of all print services to exclude the NULL-terminator. Misc: Slightly adjust the coding style in hob.c in PeiCore module. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@758 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-05 DebugLib:qhuang8105-948/+2684
Fix a bug in PeiDxeDebugLibReportStatusCode: it should use gReportStatusCodeDebugType so that report status code infrastructure can correctly extract debug info. Fix functional and coding style issues in the three instances in EdkModulePkg, namely: EdkDxeDebugLibReportStatusCode, EdkUefiDebugLibStderr, EdkUefiDebugLibConout. DevicePathLib: Sync with MWG 0.57 and add new interface of CreateDevicePathNode(). All the function headers have been updated. PeiServicesLib: Adjust coding style and fix a minor comment error. PciLib: Adjust assert() condition to sync with MWG 0.57 BaseMemoryLib: Adjust assert() for ScanMemXX (), ScanGuid() Rename UefiMemoryLib to DxeMemoryLib PrintLib: Change the return value of all print services to exclude the NULL-terminator. Misc: Slightly adjust the coding style in hob.c in PeiCore module. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@757 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-05supplemented "/FI" to some ignored PP options in fpd filesjwang362-2/+2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@753 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-04Added "/FI", "-include" and/or "/nologo" options to PP (CC) command option ↵jwang362-69/+12
to fpd files. These changes are used to accommodate the preprocessing added for assembly code as a general processing step. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@749 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-04Added LibPatchPcdSetPtr.qwang127-21/+210
Cleaup Pcd Database code generation routine. Fixed a few bugs. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@745 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-04git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@742 ↵jwang362-5/+5
6f19259b-4bc3-4df7-8a09-765794883524
2006-07-03Add PcdDxe and PcdPEIM to all-arch for EdkModulePkg-All-Archs.fpdqwang124-16/+32
Fix a few bugs in PcdDxe and PcdPEIM git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@722 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-02Modify MSA file for correcting <TokenSpaceGuidCName>klu213-89/+89
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@713 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-011, Add Guid declaration into EdkModulePkg.spd, EdkNt32Pkg.spd and MdePkg.spd ↵klu23-171/+176
file 2, Correct Guid CName field for all PCDs in EdkModule.pkg, EdkModulePkg-All-Archs.fpd, Nt32.fpd, Mde.fpd, MdePkg-All-Archs.fpd git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@706 6f19259b-4bc3-4df7-8a09-765794883524