summaryrefslogtreecommitdiff
path: root/EdkModulePkg/Universal
AgeCommit message (Collapse)Author
2006-12-07Add X64 support for DebugSupport driver.klu2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2067 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-06Merge R8 tracker #8375.xli24
Make GetVariable() check Data parameter, and return EFI_INVALID_PARAMETER if it is NULL and DataSize is enough, according to UEFI spec. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2061 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-06For the file "EdkModulePkg\Universal\EmuVariable\RuntimeDxe\EmuVariable.c", ↵zliu3
Revision 2059 missed the fixing of Revision 2058, so commit the fixing of revision 2058 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2060 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-06Fixed one bug in EmuVariable module: The macro (GET_PAD_SIZE) is different ↵zliu3
with GetPadSize(), so in some special case the variable can not be read rightly after it was set. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2059 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-06Merge R8 tracker #8374 to make EmuVariable.GetNextVariableName() comply with ↵xli24
UEFI spec. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2058 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-06Add DxeDebugLibSerialPort that provides a debug library that layers directly ↵mdkinney
on top of a serial port Add an EdkDxeRuntimeSalLib that provide a SalLib that is safe for runtime use. The EdkDxeSalLib is now a boot service only lib. Move the registration and processing of ExitBootServicesEvents() from the RuntimeLib to the UEFI DriverEntryPointLib in the MdePkg. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2057 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-06Merge PVCS #7739.qhuang8
Drop Ebc arch support for PxeBc module. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2055 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-01Update the EmuVariable and Variable modules to have a ModuleType of ↵mdkinney
DXE_SAL_DRIVER for IPF builds. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2045 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-29Added the StatusCode protocol installation for the IPF architecture; removed ↵zliu3
the CapsuleArchProtocol checking for the IPF architecture git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2036 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-17Fix gcc warnings -- please review affected files.bbahnsen
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1972 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-17Add a new source for gnu assembly.bbahnsen
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1968 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-17Fix a compiler warning.bbahnsen
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1967 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-17Port to gnu style.bbahnsen
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1966 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-09Remove private definition for IPF stack alignment, and use public definition ↵mdkinney
called CPU_STACK_ALIGNMENT instead. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1923 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-06This check-in fixed the following bugs:cwu11
1. Pci22.h EFI_LEGACY_EXPANSION_ROM_HEADER definition error (MdePkg\Include\IndustryStandard\Pci22.h; Tools\CCode\Source\Include\IndustryStandard\Pci22.h) 2. SetVariable() with DataSize=0xffffffff will cause system hang (EdkModulePkg\Universal\Variable\RuntimeDxe\Variable.c) 3. Windows XP Pro & XP HOME Fails to Install from Retail CD (EdkModulePkg\Bus\Pci\Pcibus\Dxe\PciResourceSupport.c) 4. Pci22.h header file needs to add some recent type (MdePkg\Include\IndustryStandard\Pci22.h; Tools\CCode\Source\Include\IndustryStandard\Pci22.h) 5. Fix issues when ODD cannot boot from Sil0680 PCI-IDE controller (EdkModulePkg\Bus\Pci\PciBus\Dxe\PciOptionromSupport.c; EdkModulePkg\Bus\Pci\PciBus\Dxe\PciBus.msa; EdkModulePkg\ EdkModulePkg.spd) git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1900 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-03in x64Variable.dxs, Add the FTW protocol into variable's dependency ↵mikewuping
expression, because FTW services are used by this driver. FTW dependency appears in IA32 dxs file and should also show up in X64 dxs file. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1895 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-03Include EfiGpt.h, ElTorito.h, Mbr.h header files from MdePkg's Industry ↵qwang12
Starndard. and remove the private Gpt.h, Mbr.h and ElTorito.h git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1894 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-03 I fixed following bugs in EDKII.mikewuping
1. In AsmFuncs.asm, DebugSupport, Vect2Desc() function will use hardcode CS to fill the IDT. 20h for Ia32.If the system CS is changed by CPU driver, this driver can not work. System maybe crash. 2. In EBC, RegisterExceptionCallback() can not restore the environment and I add some enhancements. 3. In Image.c, CoreLoadImageCommon never return EFI_SECURITY_VIOLATION when SecurityStatus == EFI_SECURITY_VIOLATION. 4. In Variable.c, 1. There're additional unnecessary loop. All blocks will be gone through even if all the data has been written. We should check the "CurrWriteSize" to see if there's no more data to write, and stop the for loop immediately. 2 "if.else." can be merged to save lines of code. 5. in FvbServices,c, Checksum calculation error. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1891 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-031. Add the fix for the following Bugs:cwu11
i) BMM_FAKE_NV_DATA definition inconsistent in bm.vfr and BootMain.h (EdkNt32Pkg\Dxe\PlatformBdsDxe\Generic\BootMaint\BootMain.h) ii) Change some files’ EOL(end of line) format to DOS. Some file use even mixed style EOL. (EdkModulePkg\Universal\DevicePath\Dxe\DevicePath.c, DevicepathFromText.c, DevicePathUtilities.c; EdkModulePkg\Universal\Disk\DiskIo\Dxe\diskIo.c; MdePkg\Library\UefiLib\UefiNotTiano.c) iii) Change some illegal characters in many files, the problem is mainly connected with people using Chinese Input method to input symbols such as ' " - ?, etc. Multiple files are influenced. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1890 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-031. Bug fix for "EDK GenericBds WriteBootToOsPerformanceData() uses ↵dtang2
AcpiReclaimMemory"; 2. Bug fix for "[FT] in new BDS, add a long item in Boot Option will cause an empty line appear"; 3. Bug fix for "In "SetBootNextValue" page,description does not display properly" git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1889 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-02Bug fix for "CapsuleUpdate does not handle memory lost correctly"dtang2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1886 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-22Ported the EBC driver to use the MDE Base Math lib functions. Removed math ↵ajfish
functions from EBC driver. Need to check to see if MDE Math lib ASSERT behavior will cause any issues with EBC driver? git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1814 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-22These files are no longer needed as the PE32 and Cache Lib from the MDE make ↵ajfish
them redundant. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1813 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-22Updated the Runtime Driver to use the MDE libs for cache flush and removed ↵ajfish
local copy of Cache flush code. Updated FPD files that include Runtime driver as a new lib was added to Runtime Driver for the cache flush. Removed Cache Flush routine from EDK DXE SAL Lib. Cleaned up BaseLib IPF cache routines to only Flush ranges when needed and not to flush the entire cache. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1811 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-19Remove the redundant include header: Common/StatusCode.h for Terminal modules.lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1799 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-18Replace .global with .globl to solve compatibility issues.qhuang8
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1786 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-16I fixed following bugs.mikewuping
1. In dependency.c, DXE Dispatcher doesn't check the dependency expression boundary correctly. 2. In page.c, a misspelling code in DXE core memory service code, duplicate code. 3. In gcd.c, according to DXE CIS 0-91 spec, When GcdAllocateType is EfiGcdAllocateMaxAddressSearchBottomUp or EfiGcdAllocateMaxAddressSearchTopDown, then the GCD memory space map is searched from the lowest address up to BaseAddress (or from BaseAddress down to the lowest address) looking for unallocated memory ranges of Length bytes. Here, BaseAddress itself is inclusive, that is, any range in [0, BaseAddress] is allowable. But current code BaseAddress to be exclusive. 4. In Ebcinit.c, EbcDebugRegisterPeriodicCallback() not check whether it is already registered. 5. In Ebcinit.c, EbcDebugRegisterExceptionCallback() not check whether it is already registered. 6. In Ebcinit.c, EbcDebugSignalException() does not assign value to EbcContext.ControlFlags. 7. In Ebcinit.c, EBC: StatusCodeValue should use EFI_SOFTWARE_EBC_EXCEPTION. 8. In Ebcinit.c, EbcDebugRegisterExceptionCallback() does not check ExceptionType 9. In ElTorito.c, BlockIo and DiskIo failed in SCT when there is CD in CD-ROM. 10. In Mbr.c, MBR code can't handle some situations. That is when there are 3 partitions in HD, if delete the first partition, it will not be able to recognize the other two partitions, and if delete the second partition, it will not be able to recognize the third partition. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1749 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-16Remove redundant include header: <common\StatusCode.h> in this file.lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1748 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-10This patch is to make sure at least VARIABLE_RECLAIM_THRESHOLD (1024) bytes ↵qwang12
of spaces must be available in NV variable region. This conservative approach is make sure OS loader will have space to save important data. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1697 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-101) If DebugAssertEnabled is TRUE, we still need to provide the GET sizeqwang12
function as GetWorker and SetWoker need this function to do ASSERT. 2) 0 should be returned if GetSize is not supported. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1696 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-08Remove EBC arch from supported arch list to fix tracker EDKII350.yshang1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1687 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-27Remove the duplicated Copy Right in msa header.lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1634 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-21Merger DriverBinding and ComponentName into one <extern> section for all ↵vanjeff
*.msa files git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1585 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-19Update Device Path Module to use PCD Feature Flags to determine of the ↵mdkinney
Device Path To Text and Text To Device Path Protocols are produced or not. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1572 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-18changed EdkModulePkg GUID from the original ↵lgao4
B6EC423C-21D2-490D-85C6-DD5864EAA674 to new 68169ab0-d41b-4009-9060-292c253ac43d to avoid its conflict with gPeiBaseMemoryTestPpiGuid and change all msa and fpd file in EdkII, which depends on EdkModulePkg. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1551 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-14Remove Static declaration for the related driver binding functions. lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1539 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-13Move ConPlatform module from EdkNT32 package to EdkModulePkg, and remove ↵lgao4
EdkPeCoffLoaderX64Lib from DxeIplX64 module because EdkPeCoffLoaderLib based on new BasePeCoffLib can support 32bit and 64bit PE iamge both. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1523 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-05Add the following Pcds declaration in EdkModulePkg.spd file. EdkModulePkg ↵lgao4
PeiVariable, RuntimeDxeVariabe, and Ftw module needs these PCDs. PcdFlashNvStorageVariableBase PcdFlashNvStorageVariableSize PcdFlashNvStorageFtwSpareBase PcdFlashNvStorageFtwSpareSize PcdFlashNvStorageFtwWorkingBase PcdFlashNvStorageFtwWorkingSize git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1454 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-05Follow up EDKT247-253yshang1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1449 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-04git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1436 ↵yshang1
6f19259b-4bc3-4df7-8a09-765794883524
2006-09-04Update Coding style of status code.yshang1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1435 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-04Follow up EDKT238, EDKT239, EDKT242, EDKT243yshang1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1432 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-01Follow up tracker:yshang1
EDKT236, EDKT237, EDKT232, EDKT229 , EDKT233 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1418 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-30Add in feature flag PcdPeiPcdDatabaseSetEnabled, ↵qwang12
PcdPeiPcdDatabaseGetSizeEnabled, PcdPeiPcdDatabaseCallbackOnSetEnabled, PcdPeiPcdDatabaseExEnabled to allow user to customize Pcd service PEIM. It is very curical to save size in PEI phase. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1408 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-16Change pcd name form MaxSizePopulateCapsule to PcdMaxSizePopulateCapsule.davidhuang
Change pcd name form MaxSizeNonPopulateCapsule to PcdMaxSizeNonPopulateCapsule. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1288 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-15Fix the bug that using hardcode driver name to judge whether current driver ↵klu2
is PCD driver. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1281 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-15Fix PCD declaration error in DxeStatusCode.msayshang1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1277 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-11Prefixed global variable with "m"ajfish
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1242 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-10Change Variable to use PCDxgu3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1238 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-10Modify FtwLite and Variable DXE driver to use PCD instead of FlashMap HOBxgu3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1236 6f19259b-4bc3-4df7-8a09-765794883524