summaryrefslogtreecommitdiffstats
path: root/EdkModulePkg/Universal
Commit message (Collapse)AuthorAgeFilesLines
* 1)Add a new module CapsuleRuntime under ↵davidhuang2006-07-0616-0/+975
| | | | | | | | | EdkModulePkg\Universal\Capsule\RuntimeDxe.And add the module into Nt32.fpd 2)Modify the related files to fit for the runtime services UpdateCapsule/QueryCapsuleCapabilities defined in UEFI2.0 spec 3)Modify the related files to fit for the runtime services QueryVariableInfo defined in UEFI2.0 spec git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@790 6f19259b-4bc3-4df7-8a09-765794883524
* Add in support for MaxSize and CurrentSize for PCD entry.qwang122006-07-066-258/+887
| | | | | | | | | | | | | | | | | | | | Change the behavior for PcdSET for Variable_Enabled Pcd entry. If a Variable does not exist, we will only save the value to a volatile space. We save it to variable ONLY when the variable exist. Fix a few bugs in Pcd Build tool when generated Pcd database for Pcd entry with Unicode String type. Support PcdSet to return MaxSize if the input SizeOfBuffer is greater than the Max Size declared in FPD file. Add SetValueWorker and GetValueWoker for each PcdSET and PcdGET function to reduce code size. Sync function prototype definition for PCD_PPI_SET_POINTER, PCD_PPI_SET_EX_POINTER, PCD_PROTOCOL_SET_POINTER and PCD_PROTOCOL_SET_EX_POINTER with PCD arch spec 0.52. Add ASSERTION in LibPcdSetPtr. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@789 6f19259b-4bc3-4df7-8a09-765794883524
* DebugLib:qhuang82006-07-0521-21/+21
| | | | | | | | | | | | | | | | | | | | | Fix a bug in PeiDxeDebugLibReportStatusCode: it should use gReportStatusCodeDebugType so that report status code infrastructure can correctly extract debug info. Fix functional and coding style issues in the three instances in EdkModulePkg, namely: EdkDxeDebugLibReportStatusCode, EdkUefiDebugLibStderr, EdkUefiDebugLibConout. DevicePathLib: Sync with MWG 0.57 and add new interface of CreateDevicePathNode(). All the function headers have been updated. PeiServicesLib: Adjust coding style and fix a minor comment error. PciLib: Adjust assert() condition to sync with MWG 0.57 BaseMemoryLib: Adjust assert() for ScanMemXX (), ScanGuid() Rename UefiMemoryLib to DxeMemoryLib PrintLib: Change the return value of all print services to exclude the NULL-terminator. Misc: Slightly adjust the coding style in hob.c in PeiCore module. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@757 6f19259b-4bc3-4df7-8a09-765794883524
* Added LibPatchPcdSetPtr.qwang122006-07-042-3/+0
| | | | | | | Cleaup Pcd Database code generation routine. Fixed a few bugs. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@745 6f19259b-4bc3-4df7-8a09-765794883524
* Add PcdDxe and PcdPEIM to all-arch for EdkModulePkg-All-Archs.fpdqwang122006-07-032-12/+24
| | | | | | | Fix a few bugs in PcdDxe and PcdPEIM git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@722 6f19259b-4bc3-4df7-8a09-765794883524
* Modify MSA file for correcting <TokenSpaceGuidCName>klu22006-07-022-28/+28
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@713 6f19259b-4bc3-4df7-8a09-765794883524
* removed unnecessary name space declarations in some top level elementsjwang362006-06-3031-31/+31
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@700 6f19259b-4bc3-4df7-8a09-765794883524
* For new Tool.qouyang2006-06-301-4/+4
| | | | | | Remove some unused Protocol, Guid, ppi which defined in MSA but don't find in SPD git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@693 6f19259b-4bc3-4df7-8a09-765794883524
* converted all surface area description files to new schemajwang362006-06-3031-1542/+2154
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@689 6f19259b-4bc3-4df7-8a09-765794883524
* remove this old emu directorylgao42006-06-305-944/+0
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@666 6f19259b-4bc3-4df7-8a09-765794883524
* Remove DiskIoPartition modulelgao42006-06-303-177/+0
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@665 6f19259b-4bc3-4df7-8a09-765794883524
* • BaseMemoryLib:qhuang82006-06-2633-33/+33
| | | | | | | | | | | | | | | Modify some Aassert()s conditions to sync with MWG 0.56d Modify some defects in function header. • PostCodeLib: Implement PeiDxePostCodeLibReportStatusCode. • Misc Rename BaseDebugLibReportStatusCode to PeiDxeDebugLibReportStatusCode Remove tabs in all .c and .h files in MdePkg. Rename PeiServicesReinstallPpi() to PeiServicesReInstallPpi() Adjust some minor coding style in PeCoffLoaderGetEntryPointerLib() git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@626 6f19259b-4bc3-4df7-8a09-765794883524
* 1) Add in support to traverse taken spaceqwang122006-06-234-14/+150
| | | | | | | | 2) Remove unused import in DynamicTokenValue.java. 3) Support Byte Stream input for Pointer type Dynamic PCD entry in FPD file. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@616 6f19259b-4bc3-4df7-8a09-765794883524
* Remove the dead files.qwang122006-06-235-297/+0
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@612 6f19259b-4bc3-4df7-8a09-765794883524
* Remove the dead files.qwang122006-06-232-978/+0
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@607 6f19259b-4bc3-4df7-8a09-765794883524
* 1) remove some dead code from WinNtBusDriver.cqwang122006-06-236-36/+127
| | | | | | | | | | | | | 2) change PCD_INVALID_TOKEN_NUMBER to 0 as stipulated in MWG spec and PCD spec. 3) support returning a Default Value when a read failure by variable service for PCD entry with Variable Enabled. 4) Remove a lot of unreferenced JAVA import from CollectPCDAction.java, PCDAutoGenAction.java, MemoryDatabaseManager.java, Token.java and UsageInstance.java. 5) Opimized to merge elements in all tables in PCD database for make the code compact. 6) Did a tighter check on how dynamic PCD entry is referenced in each module. 7) Update the PCD driver/PEIM and PCD database generation verion to 2. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@605 6f19259b-4bc3-4df7-8a09-765794883524
* 1. UINTN & INTN issue for EBC architecture:qhuang82006-06-223-97/+58
| | | | | | | | | | | | | | | | | | | | | | | | The MAX_BIT of EBC will no longer be fixed to bit 63. It is defined as (1ULL << (sizeof (INTN) * 8 - 1)). Make EdkModulePkg & MdePkg EBC compiler clean: treat all EFI_STATUS error code as variable. 2. PrintLib Complete all missing ASSERT()s. Fix “\n” & “%\n” issue thanks to the clarification of MWG 0.56d. Adjust StatusString array to support EBC build. 3. BaseMemoryLib Adjust ASSERT () & function header of ComparaMem, SetMemXX, ScanMemXX to synchronize with MWG 0.56d. 4.SmbusLib Change Pec bit to bit 22 SmBusAddress to synchronize MWG 0.56d. Add ASSERT()s to check if length is illegal for SmBusBlockWrite() & SmBusProcessBlock() since it is 6 bit now. 5. PerformanceLib Rename “EdkDxePerformanceLib” & “EdkPeiPerformanceLib” to “DxePerformanceLib” & “PeiPerformanceLib” respectively. Synchronize the function header of GetPerformanceMeasurement() with MWG 0.56d. 6. BasePeCoffLoaderLib. Make PeCoffLoaderLoadImage () Assert() if ImageContext is NULL> Make PeCoffLoaderLoadImage () return RETURN_INVALID_PARAMETER if the ImageAddress in ImageContext is 0. Adjust some coding style. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@593 6f19259b-4bc3-4df7-8a09-765794883524
* should return instead of break.qwang122006-06-161-1/+1
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@536 6f19259b-4bc3-4df7-8a09-765794883524
* Add in HII enable support for PCD.qwang122006-06-133-52/+95
| | | | | | But the default value has not been enabled. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@498 6f19259b-4bc3-4df7-8a09-765794883524
* Transfer old <PCDs> in MSA to <PcdCoded>:klu22006-06-123-46/+26
| | | | | | | | 1) Add <PcdCoded> definition for library module SA in transition schema. 2) Add <PcdCoded> in all MSA instead of original <PCDs> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@484 6f19259b-4bc3-4df7-8a09-765794883524
* 1) Sync PcdPpi guid with PCD arch spec.qwang122006-06-104-5/+6
| | | | | | | 2) Correct macro PatchPcdSetPtr git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@469 6f19259b-4bc3-4df7-8a09-765794883524
* 1. Rename PeiCoreLib to PeiServicesLib and rename all the interfaces from ↵qhuang82006-06-089-10/+10
| | | | | | | | | PeiCoreXXX() to PeiServicesXXX(). 2. Remove PostCode interfaces from ReportStatusCodeLib git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@441 6f19259b-4bc3-4df7-8a09-765794883524
* Make sure Pcd service driver can work on 64-bit architecture.qwang122006-06-074-15/+15
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@439 6f19259b-4bc3-4df7-8a09-765794883524
* Sync Pcd Service Driver, PEIM and library with MDE Spec 0.55a.qwang122006-06-076-160/+160
| | | | | | | 1) change all PCD_TOKEN_NUMBER to UINTN 2) change all SKU_ID to UINTN git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@437 6f19259b-4bc3-4df7-8a09-765794883524
* git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@419 ↵lgao42006-06-053-7/+6
| | | | 6f19259b-4bc3-4df7-8a09-765794883524
* Remove Debug message and early test code in DiskIo lgao42006-06-021-876/+781
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@396 6f19259b-4bc3-4df7-8a09-765794883524
* Make the EdkMoudlePkg build by allocate mCallbackFnTable at runtime as ↵qwang122006-06-021-1/+6
| | | | | | PCD_TOTAL_TOKEN_NUMBER could be zero. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@390 6f19259b-4bc3-4df7-8a09-765794883524
* Make sure the PCD dxe service driver can handle the case where no PEIM is ↵qwang122006-06-021-6/+17
| | | | | | using any dynamic PCD entry and the PEI phase PCD database is empty. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@388 6f19259b-4bc3-4df7-8a09-765794883524
* Fix capitalization issues.bbahnsen2006-06-011-1/+1
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@371 6f19259b-4bc3-4df7-8a09-765794883524
* Fix capitalization issues.bbahnsen2006-06-013-3/+3
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@367 6f19259b-4bc3-4df7-8a09-765794883524
* Capitalization Fixes for Linux builds.bbahnsen2006-05-313-1/+1
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@360 6f19259b-4bc3-4df7-8a09-765794883524
* Fix gcc build break. The PCD TokenNumber is incremented, not the address of ↵bbahnsen2006-05-301-1/+1
| | | | | | the PCD TokenNumber. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@325 6f19259b-4bc3-4df7-8a09-765794883524
* Refine some internal functions of PCD Driver.qwang122006-05-296-328/+220
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@314 6f19259b-4bc3-4df7-8a09-765794883524
* Add in support for GetNextTokenNumber API.qwang122006-05-296-42/+64
| | | | | | Use PCD_TOKEN_NUMBER as type for parameter of internal APIs. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@312 6f19259b-4bc3-4df7-8a09-765794883524
* Add in GetNextToken and Register Callback Function funtionality for DXE Driver.qwang122006-05-295-106/+338
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@309 6f19259b-4bc3-4df7-8a09-765794883524
* Fix more gcc build breaks. One of these was a subtle bug in the code that ↵bbahnsen2006-05-262-2/+2
| | | | | | was caught by a gcc warning. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@297 6f19259b-4bc3-4df7-8a09-765794883524
* Fix gcc build break. Slashes should always lean forward!bbahnsen2006-05-263-35/+35
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@296 6f19259b-4bc3-4df7-8a09-765794883524
* Add version check in both PCD database generation and service driver.qwang122006-05-262-184/+21
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@292 6f19259b-4bc3-4df7-8a09-765794883524
* Sync up Pcd Library Instances and PCD Driver/PEIM with Pcd spec 0.51 and Mde ↵qwang122006-05-265-312/+269
| | | | | | 0.51 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@286 6f19259b-4bc3-4df7-8a09-765794883524
* Updated MSA by putting Specification element at the end of the header sectionlhauch2006-05-2534-34/+34
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@283 6f19259b-4bc3-4df7-8a09-765794883524
* Check in the Pcd service Driver/PEIM according to the new way of generating ↵qwang122006-05-241-1/+0
| | | | | | | | | | | | PCD Database LIMITATION: 1) ONLY dynamic type PCD is supported for now. DynamicEx is not supported. 2) HII enable and VPD is not tested. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@259 6f19259b-4bc3-4df7-8a09-765794883524
* Check in the Pcd service Driver/PEIM according to the new way of generating ↵qwang122006-05-243-0/+191
| | | | | | | | | | | PCD Database LIMITATION: 1) ONLY dynamic type PCD is supported for now. DynamicEx is not supported. 2) HII enable and VPD is not tested. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@258 6f19259b-4bc3-4df7-8a09-765794883524
* Check in the Pcd service Driver/PEIM according to the new way of generating ↵qwang122006-05-244-0/+208
| | | | | | | | | | | | PCD Database LIMITATION: 1) ONLY dynamic type PCD is supported for now. DynamicEx is not supported. 2) HII enable and VPD is not tested. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@257 6f19259b-4bc3-4df7-8a09-765794883524
* Check in the Pcd service Driver/PEIM according to the new way of generating ↵qwang122006-05-244-0/+208
| | | | | | | | | | | PCD Database LIMITATION: 1) ONLY dynamic type PCD is supported for now. DynamicEx is not supported. 2) HII enable and VPD is not tested. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@256 6f19259b-4bc3-4df7-8a09-765794883524
* Check in the Pcd service Driver/PEIM according to the new way of generating ↵qwang122006-05-247-1305/+1544
| | | | | | | | | | | PCD Database LIMITATION: 1) ONLY dynamic type PCD is supported for now. DynamicEx is not supported. 2) HII enable and VPD is not tested. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@253 6f19259b-4bc3-4df7-8a09-765794883524
* Change the file extension back to .asm. That was an oops.bbahnsen2006-05-191-1/+1
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@220 6f19259b-4bc3-4df7-8a09-765794883524
* Fix capitalizationbbahnsen2006-05-1926-28/+28
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@219 6f19259b-4bc3-4df7-8a09-765794883524
* Fix capitalization.bbahnsen2006-05-191-0/+0
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@216 6f19259b-4bc3-4df7-8a09-765794883524
* Fix capitalization.bbahnsen2006-05-191-0/+0
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@215 6f19259b-4bc3-4df7-8a09-765794883524
* Fix capitalizationbbahnsen2006-05-191-0/+0
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@210 6f19259b-4bc3-4df7-8a09-765794883524