summaryrefslogtreecommitdiff
path: root/MdePkg
AgeCommit message (Collapse)AuthorFilesLines
2006-10-10DxeCore.h, PeiCis.h and Uefi.h should not include <Protocol/Pcd.h>. If a ↵qwang123-10/+0
module need to resolve PCD macro (FixedAtBuild, BinaryPatch or Dynamic), the module should declare that it consume PcdLib library class in MSA file. The Edk II build tool will include "PcdLib.h" in "Autogen.h". git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1699 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-09Fix a bug in InternalMathDivRemU64x64(). The bug is that the 64-bit divisor ↵rsun31-0/+1
is designed to be loaded to ecx:ebx but the high 4 byte of the divisor is forgotten to be loaded to ecx git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1693 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-08Optimized HighBitSetXX() functionsbxing2-7/+19
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1689 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-04Use intrinsicmdkinney1-0/+33
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1670 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-04Use intrinsicmdkinney6-0/+218
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1669 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-04Use intrinsicmdkinney1-3/+8
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1662 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-04Fix GCC build issuemdkinney1-200/+214
Take advantage of some intrinsics from MSFT build tools git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1661 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-04Add support for DEBUG and RELEASE builds of this FPD file.mdkinney1-75/+1
Remove all FLAG settings from this FPD file. This functionality has moved into tools_def.txt git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1660 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-27Remove the duplicated Copy Right in msa header.lgao456-560/+0
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1634 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-251.Fix .global issue in GAS (EdkT207).qhuang8130-168/+168
2.Fix Label start with @ (EdkT208). git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1610 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-20added ACPI_TIMER_FREQUENCY definitionvanjeff1-13/+18
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1577 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-19Optimize the size of the Base Library for the MSFT 32-bit tool chains by ↵mdkinney95-94/+3115
taking advantage of inline assembly. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1567 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-19Add GLOBAL_REMOVE_IF_REFERENCED to the declaration of module globals in the ↵mdkinney2-2/+2
Print Library that were still present in the final image even through there were no references to those module globals. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1566 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-18add EFIAPI for those constructor funcitons declarationvanjeff8-62/+72
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1547 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-15typecast some return valuesvanjeff1-2/+2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1542 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-14Added an extra GDT entry to the GDT used by thunk code. SS register will ↵bxing1-24/+40
always be loaded as flat segment before switching to 16-bit mode, since SS might not be always valid for NULL selector is allowed in 64-bit mode. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1541 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-13update GetPerformanceCounterProperties() declarevanjeff4-8/+8
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1518 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-09Fixed a bug in WriteBackInvalidDataCache() that always flush cache lines ↵bxing1-9/+17
even when the argument Length is zero. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1504 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-07Change PcdDebugPrintErrorLevel PCD declare in msa as DYNAMIC, because this ↵lgao46-6/+6
PCD type can be FIXED_AT_BUILD and PATCHABLE_IN_MODULE. Change Some WINNT PCDs type declared in EdkNt32Pkg.spd as DYNAMIC, because they is used in Nt32 emluator platform as DYNAMIC type. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1494 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-06Set MdePkg.fpd, EdkModulePkg.fpd and Nt32.fpd default build directory to ↵lgao41-1/+1
workspace root build directory according to Jordon's suggestions. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1486 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-05Added two #pragma to disable 4505 & 4206 warnings for MSFT compiler. This is ↵jwang363-0/+27
for compiling source files with pre-compiled header file. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1442 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-24Fix track EDKT106 & EDKT112: map LibPcdSetPtr function for PatchPcdSetPtr ↵klu21-1/+6
macro function defined in PcdLib library class git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1381 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-22Changed GetPerformanceCounter() to use the most efficient mean to unsigned ↵bxing1-2/+1
extend an UINT32 value. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1343 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-21A workaround to a compiler bug that causes the high order 32 bits of ↵bxing1-1/+2
GetPerformanceCounter() being indeterminate. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1336 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-211. Added Non-existing.c in BaseLib to assert no invocations of SwitchStack() ↵bxing2-0/+54
on IPF. 2. Added SwitchIplStacks() function to DxeIplPeim to encapsulate arch details on stack switching. 3. Added PeiSwitchStacks() function to PeiMain to encapsulate arch details on stack switching. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1328 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-18Fixed a bug causing the high order double word of values returned by ↵bxing1-1/+1
GetPerformanceCounter() became -1. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1322 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-17Continue to fix EDKT187.klu21-3/+0
After discussion with ouyang, qian and shi, carl, we find it is no necessary to add PcdLib according to whether library instance use PcdLib. In this patch. I remove original fixing and correct some MSA file. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1315 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-17Added AsmSwitchStackAndBackingStore() to BaseLib.h for stack switching on IPF.bxing2-127/+87
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1305 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-16Add boot script dispatch opcode 2xgu31-1/+9
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1292 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-15Add PcdPciExpressBaseAddress info to MdePkg.spdqhuang81-0/+9
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1275 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-151. Adjust might be 64bit, so we need to typecast it to UINT32 firstly.vanjeff1-41/+41
2. Synchronization modification described in Tracker EDKT182 to all dependent files. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1270 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-14Add more comments in UefiDriverModelLibyshang11-3/+10
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1249 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-14git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1245 ↵yshang11-1/+1
6f19259b-4bc3-4df7-8a09-765794883524
2006-08-14Add function headers in UefiDriverModuleLibyshang11-1/+15
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1244 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-11Fixed bugs found when this code was ported into R8. ajfish1-5/+7
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1240 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-10Removed unnecessary MSR access in InternalX86Delay()bxing1-2/+0
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1228 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-09Sync this file with MiscSubClass spec and add some struture alias to use ↵lgao41-47/+65
them more conviniently. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1226 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-091. Added ReadWriteBarrier() before and after each I/O read/write function.bxing1-24/+46
2. Removed all ReadWriteBarrier() function calls in all MMIO functions. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1224 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-07Move FileInfo.h, FileSystemInfo.h, FileSystemVolumeLabelInfo.h from protocol ↵lgao45-16/+15
directory to guid directory, because these three files define the related GUID not protcol. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1204 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-07Modify dispatch opcode for standalone boot script executorxgu31-0/+1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1199 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-03Change PcdReportStatusCodePropertyMask default value from 0x7 to 0x6, don't ↵lgao41-1/+1
print Progress Code Info. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1186 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-02Fix a typo.qhuang81-1/+1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1176 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-021. cleanup functions header in PeCoffLoaderEx.cvanjeff2-74/+56
2. fixed link error in EnablePaging64.asm git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1175 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-281. Updated function headers for all assembly functionbxing106-453/+1002
2. Optimized register usage in SetMemXX functions in all lib instances 3. Fixed a logical error in CopyMem for all lib instances git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1139 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-28TeImage Signature should be got from Te pointer, not Pe pointerlgao41-1/+1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1136 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-27Rename guid variable gEfiSmmPeiSmramMemoryReserve to ↵lgao42-2/+2
gEfiSmmPeiSmramMemoryReserveGuid compatible with guid variable CName style git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1122 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-27Fix a warning issue under CYGWIN_GCC building: klu21-32/+32
A function cannot be declared as returning a data object having a volatile or const type, but it can return a pointer to a volatile or const object. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1121 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-26Added back safety check for PE/COFF image walking. I think the safety check ↵ajfish1-0/+9
is broken in some places (Linux) but we need to investigate more. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1108 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-26Removed cross references from PciCf8Lib and PciExpressLib class to PciLib ↵ajfish17-508/+1517
class. Added PeCoffLoaderGetMachineType to the PeCoffGetEntryPointLibrary Class. Document to be updated. Added the PeCoffLoaderImageReadFromMemory() and PeCoffLoaderRelocateImageForRuntime () to the PcCoffLib. Updated EfiImage.h and removed EFI_IMAGE_OPTIONAL_HEADER and EFI_IMAGE_NT_HEADERS as they were replaced with checking the MachineType. PeCoffLib – Added checks for MachineType so the PeCoff lib can load any PE32 or PE32+ image. The relocations are still limited to IA32, X64, IPF, and EBC. I also added a re-relocator function to remove PeLoader Code from Runtime Lib. Even though there is only one instance of the re-relocator I wanted to get all the PeCoff loader code together. Replaced DEBUG_CODE() macro with DEBUG_CODE_START() and DEBUG_CODE_END() so you can debug through the DEBUG_CODE() macros. Also removed PE/COFF code and replaced with library usage. I also updated the IO Instrinsic lib to use _ReadWriteBarrior() to help with sync problems git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1103 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-25Remove duplicated module definition (the same module with the same arch) in ↵wuyizhong1-2756/+2556
FPD. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1093 6f19259b-4bc3-4df7-8a09-765794883524