summaryrefslogtreecommitdiff
path: root/MdePkg
AgeCommit message (Collapse)AuthorFilesLines
2007-04-11Fix the DEVICE_PATH_MESSAGING_SAS GUID definition according to UEFI 2.1 spec.xli241-1/+1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2557 6f19259b-4bc3-4df7-8a09-765794883524
2007-04-09Fix an issue that some image tool will generate PE32+ image with PE32 magic. ↵qhuang81-1/+28
We now determine magic based on machine type. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2547 6f19259b-4bc3-4df7-8a09-765794883524
2007-04-061) Initialize gBS, gST, gImageHandle in UefiBootServicesTableLib.c to NULLqwang124-11/+19
2) Add DxeCore infix to the module local variable gBS, gST, gRT, gDS in DxeMain.c. This is to solve the name conflict with UefiBootServicesTableLib which is defined in MDE Library Spec. 3) Add in check for gBS and gST in UefiDebugLibConOut/DebugLib.c and UefiDebugLibStdErr/DebugLib.c and MdePkg/Library/DxeReportStatusCodeLib/ReportStatusCodeLib.c. If they are not initialized, the API will just return with a error message. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2546 6f19259b-4bc3-4df7-8a09-765794883524
2007-04-05Sync the HII GUID with EDK I code base. Please take note: This GUID is not ↵qwang122-24/+24
the same with the one listed in Framework HII Spec 0.92. The HII protocol interface have changed from the one defined in Framework HII spec 0.92. Ergo the HII protocol GUID is updated to reflect the change. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2535 6f19259b-4bc3-4df7-8a09-765794883524
2007-04-04Change BDS to get the default logo picture by default bmp logo guid. lgao41-46/+0
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2533 6f19259b-4bc3-4df7-8a09-765794883524
2007-04-04Fixed issue for ICC, since ICC does not allow to cast data with volatile ↵yshang11-2/+2
qualifier. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2532 6f19259b-4bc3-4df7-8a09-765794883524
2007-04-04Change the Guid Value of EFI_ISCSI_INITIATOR_NAME_PROTOCOL_GUID.qhuang82-2/+2
The original one is 15-byte structure, not a valid Guid structure. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2530 6f19259b-4bc3-4df7-8a09-765794883524
2007-04-04Rename the enum value of EFI_STANDBY_BUTTON_PHASE.yshang11-2/+3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2529 6f19259b-4bc3-4df7-8a09-765794883524
2007-04-04Update the MSA for ICC build.yshang11-1/+1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2528 6f19259b-4bc3-4df7-8a09-765794883524
2007-04-03SMMcis defines "Exit" as the one of phases of ↵yshang11-2/+2
EFI_SMM_STANDBY_BUTTON_CONTEXT. The "Exit" conflicts with UefiApplicationEntryPoint library's Exit() in MDE spec and breaks all application build in r9. To fix the issue, I changed the "Exit" to "StandbyButtonExit" in EFI_SMM_STANDBY_BUTTON_CONTEXT temporarily. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2527 6f19259b-4bc3-4df7-8a09-765794883524
2007-04-03Updated MSA file for EBC.yshang14-8/+383
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2526 6f19259b-4bc3-4df7-8a09-765794883524
2007-04-03Add the ReadWriteBarrier in the Acquire/ReleaseSpin to block the unexpected ↵yshang13-19/+392
optimization of compiler. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2524 6f19259b-4bc3-4df7-8a09-765794883524
2007-04-02Add in OFFSET_OF macro as defined in MDE Library specqwang121-38/+43
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2523 6f19259b-4bc3-4df7-8a09-765794883524
2007-04-02Add comments on the definition of SPIN_LOCK_RELEASED & SPIN_LOCK_ACQUIREDqhuang81-0/+4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2522 6f19259b-4bc3-4df7-8a09-765794883524
2007-03-30Sync the Guid value of MTFTP protocol in spd file since it has been updated ↵qhuang81-1/+1
in header file. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2516 6f19259b-4bc3-4df7-8a09-765794883524
2007-03-291.Define SPIN_LOCK as "volatile UINTN" to prevent mutli-processor access ↵qhuang85-7/+9
harzard. 2.Sync MTFTP4 Protocol GUID with spec. 3.Sync the definition the EFI_IP4_VARIABLE_DATA and EFI_TCP4_VARIABLE_DATA with spec git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2514 6f19259b-4bc3-4df7-8a09-765794883524
2007-03-281. Removed #ifndef to enable Capsule architecture protocol on IPF.vanjeff2-13/+6
2. Added ASSERT (FLASE) in SwitchStack (). 3. Removed unreached branch from UefiNotTiano.c. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2510 6f19259b-4bc3-4df7-8a09-765794883524
2007-03-27Correct some wrong usage typesqhuang83-5/+5
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2509 6f19259b-4bc3-4df7-8a09-765794883524
2007-03-261. Removed definition for EFI_1_1 from module ConSplittervanjeff2-625/+586
2. Removed old Intel Framework specification extension for Media Firmware file path from Uefi/UefiSpec.h and UefiLib/UefiNotTiano.c 3. Added EFI revision check in UefiLib/UefiNotTiano.c and removed one EFI_SPECIFICATION_VERSION wrapper in Uefi/UefiSpec.h. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2505 6f19259b-4bc3-4df7-8a09-765794883524
2007-03-221. Removed AsmSwitchStackAndBackingStore from BaseLib.hvanjeff8-353/+418
2. Modified SwitchStack definition update to MWG 0.60e. 3. Added BaseLib/Ipf/InternalSwitchStack.c and removed BaseLib/Ipf/Non-existing.c 4. Updated any references of AsmSwitchStackAndBackingStore to SwichStack on IPF. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2499 6f19259b-4bc3-4df7-8a09-765794883524
2007-03-161. Added PcdNtEmulator and Removed MACRO EFI_NT_EMULATORvanjeff1-114/+0
2. Updated *.fpd of all Package. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2481 6f19259b-4bc3-4df7-8a09-765794883524
2007-03-151. Remove #ifdef _MSC_EXTENSION_ from all source filesvanjeff106-431/+113
2. Remove #ifdef _GCC_ from all resource files 3. Remove #if 0 from all resource files 4. Remove #ifdef MDE_CPU_IPF and #ifdef MDE_CPU_EBC 5. Remove #progam from Decode.c 6. Remove #ifdef TIANO_EXTENSION_FLAG from source files 7. Remove #ifdef SUPPORT_IPV6, since code base doesn't support IPV6 at all. 8. Remove #ifdef SpecialNowaitVersion from pxe_bc_mtftp.c, since it's only used for test. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2470 6f19259b-4bc3-4df7-8a09-765794883524
2007-03-14Remove the BugBug in package header file for DXE_CORE and DXE_DRIVER which ↵qwang122-41/+60
force every driver to include MdePkg/Include/Library/PeCoffLib.h. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2457 6f19259b-4bc3-4df7-8a09-765794883524
2007-03-09Update the comments.qwang121-2/+2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2432 6f19259b-4bc3-4df7-8a09-765794883524
2007-03-081. Sync definition of EFI_DEBUG_IMAGE_INFO with UEFI specqhuang81-1/+1
2. Make performance data for End of BDS is not recorded in Boot Manager Boot git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2431 6f19259b-4bc3-4df7-8a09-765794883524
2007-03-051. Change the protocol usage type in UefiDriverModelLibqhuang82-9/+4
2. Remove a redundant Guid entry in spd git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2419 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-14Added Print, ErrorPrint, AsciiPrint, AsciiErrorPrint() to the UEFI Library.qwang125-1/+415
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2392 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-13Clean up MSA for MDE Libs:qhuang89-34/+16
1. Remove unreferenced Guid of gEfiStatusCodeDataTypeAssertGuid in PeiReportStatusCodeLib & DxeReportStatusCodeLib.msa 2. Remove dependency of BaseLib for SmmEntryPointerLib & PeiServicesTablePointerLibKr1 3. Add accurate arch support for SecPeiDxeTimerLibCpu & correct PcdFSBClock to "DYNAMIC" 4. Add dependency of gEfiDevicePathProtocolGuid for DevicePathLibDevicePathProtocol 5. Remove dependency of BaseLib & UefiRuntimeServicesTablePointerLib for UefiDriverEntryPointLib git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2389 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-13Remove the wrong dependency on PeimEntryPointLibqhuang81-4/+1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2388 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-131. Add two interfaces in PeCoffGetEntryPointLib.hqhuang88-62/+224
2. Fix the description of EfiTestChildHandle & EfiTestManagedDevice 3. Clean up BasePciLbPciCf8 & BasePciLibPciExpress to remove the dependency on DebugLib git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2387 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-13Add alias EFI_D_XXX to provide backward compatibilities.qhuang81-15/+34
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2386 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-13Drop the support of DXE_RUNTIME_DRIVER since all combo MDE libraries are ↵qhuang82-4/+4
removed. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2385 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-13PcdLib is only referenced by IPF arch.qhuang81-3/+3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2384 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-13BaseLib is only used by IA32, X64 & IPFqhuang81-2/+2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2383 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-13Clean up MSA filesqhuang81-35/+2
Remove unreferenced PCDs & library instances. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2382 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-13Update all String related functions in BaseLib for this change introduced in ↵qwang123-25/+49
Mde Library Spec 0.60e: "Updated all functions that take pointers to Unicode strings as parameters to ASSERT() if the pointer is not aligned in a 16-bit boundary." git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2375 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-12Update MDE and EdkModule packages for ICC build with /W4 /WX /Ox switches, ↵xli242-5/+7
for some latest modifications break it. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2366 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-121) Added BIT0, BIT1, …, BIT63 to the Base Defines qwang1226-11757/+15654
2) Added MIN() and MAX() macros to the Base Macros 3) Added StrStr(), StrDecimalToUnitn(), StrDecimalToUint64(), StrHexToUintn(), StrHexToUintn64(), UnicodeToAscii(), AsciiStrStr(), AsciiStrDecimalToUnitn(), AsciiStrDecimalToUint64(), AsciiStrHexToUintn(), AsciiStrHexToUintn64(), and AsciiToUnicode() to the Base Library String Functions 4) Added the Base Library Checksum Functions which include CalculateSum8(), CaclculateCheckSum8(), CalculateSum16(), CalculateChecksum16(), CalculateSum32(), CalculateCheckSum32(), CalculateSum64(), CalculateChecksum64(). 5) Added MMIO Buffer functions to the I/O Library including MmioReadBuffer8(), MmioReadBuffer16(), MmioReadBuffer32(), MmioReadBuffer64(), MmioWriteBuffer8(), MmioWriteBuffer16(), MmioWriteBuffer32(), MmioWriteBuffer64(). 6) Changed the parameter name from SizeOfValue to SizeOfBuffer in PcdSetPtr(), PcdSetPtrEx(), PatchPcdSetPtr(), LibPcdSetPtr(), LibPcdSetPtrEx(), LibPatchPcdSetPtr() 7) Added RADIX_HEX flag to the Print Library to support the conversion of values to hexadecimal strings in UnicodeValueToString() and AsciiValueToString() 8) Added EfiGetCurrentTpl() UEFI Library. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2363 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-06updated the comment according to latest version of MWG.vanjeff5-10/+8
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2354 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-051.Drop the support of UEFI_APPLICATION for UefiDriverLibqhuang86-16/+10
2.Change the module type of BaseUefiDecompressLib to BASE 3.Remove the IoLib dependency for PeiReportStatusCodeLib & DxeReportStatusCodeLib 4.Change the module type of UefiApplicationEntryPointLib to UEFI_APPLICATION 5.Change the module type of EdkDxeRuntimeSalLib to DXE_RUNTIMe 6.Change HelloWorld application to depend on UefiApplicationEntryPointLib and modify the EdkModule.fpd, Nt32.fpd & Unix.fpd accordingly git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2352 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-021. removed BaseTimerLibLocalApic from MdePkg and Nt32TimerLib from EdkNt32Pkg.vanjeff7-52/+72
2. added BaseTimerlibNullTemplate in MdePkg and SecPeiDxeTimerLibCpu in MdePkg. 3. modified the related spd and fpd files git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2347 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-311. PEI core needs to check image machine typexgu32-42/+72
2. In BDS, Legacy free may make BdsLibConnectAllDefaultConsoles fail. 3. Pci22.h, we need to add more definition in that 4. EBC: EBC Exception Subclass should add EFI_SUBCLASS_SPECIFIC 5. PciEnumeratorSupport Null Pointer Error git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2340 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-30Fix a typo in last check in.qhuang81-2/+2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2336 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-30Add supported module type & arch filter for all libraries in MdePkg to ↵qhuang841-256/+232
filter out illegal library instances. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2335 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-26Make MDE and EdkModule packages avoid all Intel IPF compiler warnings except ↵xli241-12/+12
waning 1419. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2326 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-26removed SupModuleList firstlyvanjeff1-1/+1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2319 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-25Remove USER_DEFINED in IncludePkgHeader in spd files as it does not make ↵qwang121-2/+1
sense to specify package include header file for a custom build type module. Package creator has no a priori knowledge about what header file will be needed by the USER_DEFINED module customers created in dependent package. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2316 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-25Make MDE package pass intel IPF compiler with /W4 /WX switched on.xli2465-400/+1441
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2312 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-25BaseMemoryLibSse2 library doesn't support IPF and EBC. I remove these archs ↵lgao42-13/+1
for this module. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2307 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-24Added DXE_RUNTIME_DRIVER in the SupModuleList since DxeStatusCode in ↵jwang361-1/+1
EdkModulePkg needs this library otherwise it will break the build git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2298 6f19259b-4bc3-4df7-8a09-765794883524