qwang12
5f5f28c90d
1) If DebugAssertEnabled is TRUE, we still need to provide the GET size
...
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-10 02:17:53 +00:00
lgao4
62f8431554
changed EdkModulePkg GUID from the original 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-18 11:31:20 +00:00
qwang12
f89f5802f8
Add in feature flag PcdPeiPcdDatabaseSetEnabled, 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-30 09:11:34 +00:00
klu2
5f907e4a5b
Fix the bug that using hardcode driver name to judge whether current driver is PCD driver.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1281 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-15 17:11:06 +00:00
qwang12
2a870f5348
Add [in,out] in the @param for PCD header and c file.
...
Update GetNextToken and GetNextTokenSpaces APIs parameter sequence according to PCD spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1040 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-19 05:18:47 +00:00
qwang12
a7c5092fc5
Add in function description and comments.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1026 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-17 03:43:28 +00:00
alfred
15f3b1d49d
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@907 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-12 10:43:02 +00:00
qwang12
2de0141aab
Add in Abstract and Description for a few MSA files.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@897 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-12 08:16:09 +00:00
klu2
f7ba355582
Fix the <HelpText> for PCD used by EdkNt32Pkg and EdkModulePkg.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@891 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-12 07:33:02 +00:00
qwang12
1779985ecc
make sure all files under the PCD PEIM/Driver direcotry into the MSA file.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@879 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-11 10:52:17 +00:00
qouyang
53b8619385
Change UINAME to CName of GUID/PPI/Protocol in all Msa file and change tool to support it.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@863 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-10 10:14:25 +00:00
qwang12
4f914125e8
Add Feature Flag PcdDxePcdDatabaseTraverseEnabled and PcdPeiPcdDatabaseTraverseEnabled
...
Add Pcd DXE driver and PEIM to all supported ARCH in EdkModulePkg-All-Archs.fpd
Make Pcd DXE driver and PEIM compilable under EBC, IPF, X64
Fixed a few other bugs.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@838 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-08 14:37:30 +00:00
lgao4
15b06e58b0
Redefine SPEC and Release Version to 0x20000
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@826 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-07 14:37:11 +00:00
jwang36
44050d53af
Obsoleted by new schema and new build tools.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@821 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-07 09:28:33 +00:00
qwang12
2b21a9713c
Fixed a bug when input a invalid token number (not ZERO nor a valid token number) PcdLib should ASSERT.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@802 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-06 13:34:25 +00:00
qwang12
c24ba2f612
Fix bugs in GetNextTokenSpace and GetNextToken
...
Fix bugs in Pcd Build tool generation for ExMap
Fix a few other bugs.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@800 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-06 11:42:25 +00:00
qwang12
1de04b4f83
Add in support for MaxSize and CurrentSize for PCD entry.
...
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
2006-07-06 06:10:20 +00:00
qwang12
1eb73ab57a
Added LibPatchPcdSetPtr.
...
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
2006-07-04 12:43:59 +00:00
qwang12
bb5545b663
Add PcdDxe and PcdPEIM to all-arch for EdkModulePkg-All-Archs.fpd
...
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
2006-07-03 15:40:49 +00:00
klu2
5dc355398e
Modify MSA file for correcting <TokenSpaceGuidCName>
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@713 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-02 19:09:30 +00:00
jwang36
5b2a7957d9
removed unnecessary name space declarations in some top level elements
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@700 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-30 20:31:48 +00:00
jwang36
1f86f0814a
converted all surface area description files to new schema
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@689 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-30 19:29:21 +00:00
qhuang8
24e25d11c0
• BaseMemoryLib:
...
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
2006-06-26 10:18:28 +00:00
qwang12
4276d5dacf
1) Add in support to traverse taken space
...
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
2006-06-23 14:41:16 +00:00
qwang12
58f1099f3d
1) remove some dead code from WinNtBusDriver.c
...
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
2006-06-23 04:30:23 +00:00
qwang12
7c3e99c36e
should return instead of break.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@536 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-16 07:22:48 +00:00
qwang12
c0e96fed14
Add in HII enable support for PCD.
...
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
2006-06-13 10:34:56 +00:00
klu2
95945c7635
Transfer old <PCDs> in MSA to <PcdCoded>:
...
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
2006-06-12 15:11:33 +00:00
qwang12
2a505eac61
1) Sync PcdPpi guid with PCD arch spec.
...
2) Correct macro PatchPcdSetPtr
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@469 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-10 12:03:36 +00:00
qhuang8
84a99d48f4
1. Rename PeiCoreLib to PeiServicesLib and rename all the interfaces from 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
2006-06-08 03:36:57 +00:00
qwang12
4f24235764
Make sure Pcd service driver can work on 64-bit architecture.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@439 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-07 15:56:29 +00:00
qwang12
8a43e8dd55
Sync Pcd Service Driver, PEIM and library with MDE Spec 0.55a.
...
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
2006-06-07 12:31:33 +00:00
qwang12
9d6d8b24f3
Refine some internal functions of PCD Driver.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@314 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-29 12:56:03 +00:00
qwang12
0653eb895d
Add in support for GetNextTokenNumber API.
...
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
2006-05-29 10:42:13 +00:00
qwang12
4c114006de
Add in GetNextToken and Register Callback Function funtionality for DXE Driver.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@309 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-29 01:48:32 +00:00
bbahnsen
b560bb65c4
Fix more gcc build breaks. One of these was a subtle bug in the code that was caught by a gcc warning.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@297 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-26 18:49:15 +00:00
bbahnsen
f2982b30b2
Fix gcc build break. Slashes should always lean forward!
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@296 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-26 18:26:14 +00:00
qwang12
4acf8ce7da
Add version check in both PCD database generation and service driver.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@292 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-26 11:00:44 +00:00
qwang12
00b7af13f2
Sync up Pcd Library Instances and PCD Driver/PEIM with Pcd spec 0.51 and Mde 0.51
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@286 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-26 01:09:00 +00:00
lhauch
54de7486cf
Updated MSA by putting Specification element at the end of the header section
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@283 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-25 21:42:12 +00:00
qwang12
a916cff8a0
Check in the Pcd service Driver/PEIM according to the new way of generating 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
2006-05-24 08:40:45 +00:00
qwang12
98960993af
Check in the Pcd service Driver/PEIM according to the new way of generating 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
2006-05-24 08:36:02 +00:00
qwang12
52e1905d39
Check in the Pcd service Driver/PEIM according to the new way of generating 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
2006-05-24 08:16:20 +00:00
bbahnsen
878ddf1fc3
Initial import.
...
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3 6f19259b-4bc3-4df7-8a09-765794883524
2006-04-21 22:54:32 +00:00