summaryrefslogtreecommitdiffstats
path: root/EdkModulePkg/Universal
Commit message (Collapse)AuthorAgeFilesLines
* Volatile variable is read-only in runtime.klu22007-01-042-56/+69
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2170 6f19259b-4bc3-4df7-8a09-765794883524
* Add a stub assembly file to fix the gcc build break.bbahnsen2007-01-032-7/+65
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2161 6f19259b-4bc3-4df7-8a09-765794883524
* Only include SAL related definitions if the CPU Arch is IPF mdkinney2006-12-183-3/+3
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2109 6f19259b-4bc3-4df7-8a09-765794883524
* Fix iMac build issue.klu22006-12-151-1/+1
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2102 6f19259b-4bc3-4df7-8a09-765794883524
* Merge R8->R9 tracker 5935 and 7080 to update runtime arch protocol to DxeCis ↵lgao42006-12-145-310/+258
| | | | | | 0.91. Update DxeCore and Runtime driver to follow new definitions. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2101 6f19259b-4bc3-4df7-8a09-765794883524
* Add blank line at end of source code for GCC building.klu22006-12-141-1/+1
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2098 6f19259b-4bc3-4df7-8a09-765794883524
* Add blank line at end of source code for GCC building.klu22006-12-142-2/+2
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2097 6f19259b-4bc3-4df7-8a09-765794883524
* Fix the bug that GraphicsConsole try to update mode 1 (80, 50) UgaWidth and ↵xgu32006-12-131-1/+1
| | | | | | UgaHeight, but Columns and Rows are not initialized. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2092 6f19259b-4bc3-4df7-8a09-765794883524
* 1) Use FeatureFlag PcdPciBusHotplugDeviceSupport to merge LightPciLib.c with ↵qwang122006-12-131-1/+1
| | | | | | | | PcdLib.c. 2) Correct some minor bugs: when invoking gRT->GetVariable the Attributes field can be optianal. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2090 6f19259b-4bc3-4df7-8a09-765794883524
* Fix linux/cygwin build issue.klu22006-12-123-125/+70
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2088 6f19259b-4bc3-4df7-8a09-765794883524
* Fix some minor error. Add EFI_IMAGE_NT_HEADERS definition for IFP and EBC arch. wuyizhong2006-12-122-7/+5
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2087 6f19259b-4bc3-4df7-8a09-765794883524
* Merge GOP related code from r8->r9. wuyizhong2006-12-129-331/+1426
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2085 6f19259b-4bc3-4df7-8a09-765794883524
* Add X64 support for DebugSupport driver.klu22006-12-079-217/+1889
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2067 6f19259b-4bc3-4df7-8a09-765794883524
* Merge R8 tracker #8375.xli242006-12-061-1/+5
| | | | | | | 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
* For the file "EdkModulePkg\Universal\EmuVariable\RuntimeDxe\EmuVariable.c", ↵zliu32006-12-061-1/+1
| | | | | | 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
* Fixed one bug in EmuVariable module: The macro (GET_PAD_SIZE) is different ↵zliu32006-12-061-51/+20
| | | | | | 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
* Merge R8 tracker #8374 to make EmuVariable.GetNextVariableName() comply with ↵xli242006-12-061-1/+1
| | | | | | UEFI spec. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2058 6f19259b-4bc3-4df7-8a09-765794883524
* Add DxeDebugLibSerialPort that provides a debug library that layers directly ↵mdkinney2006-12-061-0/+3
| | | | | | | | | | 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
* Merge PVCS #7739.qhuang82006-12-063-10/+11
| | | | | | 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
* Update the EmuVariable and Variable modules to have a ModuleType of ↵mdkinney2006-12-016-58/+251
| | | | | | DXE_SAL_DRIVER for IPF builds. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2045 6f19259b-4bc3-4df7-8a09-765794883524
* Added the StatusCode protocol installation for the IPF architecture; removed ↵zliu32006-11-291-20/+168
| | | | | | 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
* Fix gcc warnings -- please review affected files.bbahnsen2006-11-172-3/+3
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1972 6f19259b-4bc3-4df7-8a09-765794883524
* Add a new source for gnu assembly.bbahnsen2006-11-171-0/+1
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1968 6f19259b-4bc3-4df7-8a09-765794883524
* Fix a compiler warning.bbahnsen2006-11-171-3/+3
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1967 6f19259b-4bc3-4df7-8a09-765794883524
* Port to gnu style.bbahnsen2006-11-171-0/+137
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1966 6f19259b-4bc3-4df7-8a09-765794883524
* Remove private definition for IPF stack alignment, and use public definition ↵mdkinney2006-11-091-8/+2
| | | | | | called CPU_STACK_ALIGNMENT instead. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1923 6f19259b-4bc3-4df7-8a09-765794883524
* This check-in fixed the following bugs:cwu112006-11-061-9/+12
| | | | | | | | | | | | | | | | | | 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
* in x64Variable.dxs, Add the FTW protocol into variable's dependency ↵mikewuping2006-11-031-1/+3
| | | | | | 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
* Include EfiGpt.h, ElTorito.h, Mbr.h header files from MdePkg's Industry ↵qwang122006-11-038-284/+4
| | | | | | 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
* I fixed following bugs in EDKII.mikewuping2006-11-035-148/+295
| | | | | | | | | | | 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
* 1. Add the fix for the following Bugs:cwu112006-11-0315-3486/+3486
| | | | | | | | | | | 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
* 1. Bug fix for "EDK GenericBds WriteBootToOsPerformanceData() uses ↵dtang22006-11-032-5/+14
| | | | | | | | | 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
* Bug fix for "CapsuleUpdate does not handle memory lost correctly"dtang22006-11-021-4/+4
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1886 6f19259b-4bc3-4df7-8a09-765794883524
* Ported the EBC driver to use the MDE Base Math lib functions. Removed math ↵ajfish2006-10-229-2055/+84
| | | | | | 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
* These files are no longer needed as the PE32 and Cache Lib from the MDE make ↵ajfish2006-10-224-244/+0
| | | | | | them redundant. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1813 6f19259b-4bc3-4df7-8a09-765794883524
* Updated the Runtime Driver to use the MDE libs for cache flush and removed ↵ajfish2006-10-223-29/+11
| | | | | | | | 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
* Remove the redundant include header: Common/StatusCode.h for Terminal modules.lgao42006-10-192-5/+0
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1799 6f19259b-4bc3-4df7-8a09-765794883524
* Replace .global with .globl to solve compatibility issues.qhuang82006-10-185-35/+35
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1786 6f19259b-4bc3-4df7-8a09-765794883524
* I fixed following bugs.mikewuping2006-10-165-26/+57
| | | | | | | | | | | | | | | | 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
* Remove redundant include header: <common\StatusCode.h> in this file.lgao42006-10-161-1/+0
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1748 6f19259b-4bc3-4df7-8a09-765794883524
* This patch is to make sure at least VARIABLE_RECLAIM_THRESHOLD (1024) bytes ↵qwang122006-10-102-0/+18
| | | | | | 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
* 1) If DebugAssertEnabled is TRUE, we still need to provide the GET sizeqwang122006-10-101-55/+60
| | | | | | | | 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
* Remove EBC arch from supported arch list to fix tracker EDKII350.yshang12006-10-081-3/+1
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1687 6f19259b-4bc3-4df7-8a09-765794883524
* Remove the duplicated Copy Right in msa header.lgao42006-09-2731-250/+0
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1634 6f19259b-4bc3-4df7-8a09-765794883524
* Merger DriverBinding and ComponentName into one <extern> section for all ↵vanjeff2006-09-2110-28/+0
| | | | | | *.msa files git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1585 6f19259b-4bc3-4df7-8a09-765794883524
* Update Device Path Module to use PCD Feature Flags to determine of the ↵mdkinney2006-09-195-67/+84
| | | | | | 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
* changed EdkModulePkg GUID from the original ↵lgao42006-09-1835-378/+378
| | | | | | 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
* Remove Static declaration for the related driver binding functions. lgao42006-09-142-13/+0
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1539 6f19259b-4bc3-4df7-8a09-765794883524
* Move ConPlatform module from EdkNT32 package to EdkModulePkg, and remove ↵lgao42006-09-135-0/+1266
| | | | | | 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
* Add the following Pcds declaration in EdkModulePkg.spd file. EdkModulePkg ↵lgao42006-09-052-6/+5
| | | | | | | | | | | | | 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