summaryrefslogtreecommitdiff
path: root/MdePkg
AgeCommit message (Collapse)AuthorFilesLines
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
2006-07-25Added a 64-bit version of EnablePaging64() on X64. AsmEnablePaging64() is ↵bxing3-43/+62
the transition code to switch the processor from 32-bit into 64-bit long mode and thus is typically linked with 32-bit images only. However, it's desired to link the transition code into a 64-bit image in some special cases. CPU driver is a good example among those. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1092 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-25Updated function headers according to latest MWG.bxing1-5/+5
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1090 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-251. Updated declaration of timer functions according to latest MWG.bxing4-77/+229
2. Updated coding style. 3. Updated the algorithm used in delay functions to handle timer counter wrap-around. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1089 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-24Add some comments for translator parameterljin61-1/+5
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1085 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-24Fix a bug in UefiDevicePathLibqhuang81-0/+1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1084 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-23Remove the instance of BaseSmbusLibqhuang83-1016/+0
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1076 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-23Adjust coding style for MemoryAllocationLib.qhuang87-605/+1000
Add function header for an internal function of PciExpressLib Fix a typo in one comment of UefiLib Remove BaseSmbusLib git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1075 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-211. Updated function headers in all assembly files.bxing252-2009/+1840
2. Split x86LowLevel.c into a bunch of C files to make images linked with BaseLib smaller. 3. Fixed a few minor bugs. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1066 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-21Change DxeRuntimeDriverLib name to UefiRuntimeLib.yshang12-7/+7
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1060 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-20Remove BugBug in comments and adjust function header according to code style ↵lgao476-2790/+2152
doc. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1055 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-20Modified comment for gDsvanjeff2-6/+6
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1054 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-20added some comments in BaseLibvanjeff5-46/+56
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1053 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-201.Added EFIAPI for some assembly functions declarevanjeff6-48/+56
2.Modified some functions header git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1052 6f19259b-4bc3-4df7-8a09-765794883524