Commit Graph

553 Commits

Author SHA1 Message Date
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
jlin16 71baa24b69 Bug fixing for FPD ModuleSA editor.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@788 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-06 05:36:39 +00:00
vanjeff d9da5f5982 1. Sync LinkedList.c with MWG
2. Fix one bug in Ipf/InterlockedCompareExchange64.s
3. Fix one bug in AsmDisablePaging64()

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@786 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-06 04:07:24 +00:00
lhauch d6ac6b76a8 Removed Optional Ffs Sections as it was not being used. Changed UserId in UserExtensions from Fix_Me to TianoCore
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@785 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-06 04:05:04 +00:00
lgao4 36122070ec git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@784 6f19259b-4bc3-4df7-8a09-765794883524 2006-07-06 04:02:57 +00:00
lhauch 702c120a17 Added the MacroDefFile to ProcessSteps for future use, also removed extra Sections from the Ffs Definition as it was not used.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@783 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-06 03:57:36 +00:00
jlin16 d6d24759a0 Adapt to new Main UI interface.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@782 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-06 03:16:57 +00:00
klu2 848e907b35 Change assembler compiler to windkk.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@781 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-06 03:06:39 +00:00
wuyizhong 80785fd5be Fix an issue for user extensions.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@780 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-06 01:33:08 +00:00
jlin16 f3b0ed9a12 some bug fixing for FpdFrameworkModules
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@779 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-06 01:09:38 +00:00
bbahnsen 7a6de05113 Simplify the script. It now allows normal ant targets and flags to be passed straight through. For example
build –v clean
build all –k


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@778 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-05 21:09:05 +00:00
bbahnsen 3477b5f360 Add a bash version of the build script
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@777 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-05 21:04:07 +00:00
michaelx_krau 1342185306 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@776 6f19259b-4bc3-4df7-8a09-765794883524 2006-07-05 20:41:25 +00:00
ajfish a9b19265ac Made the default for IA-32 assembler path point to the default install location for MASM.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@775 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-05 20:12:08 +00:00
bbahnsen beabcf6676 Merge latest from branch.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@774 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-05 16:45:42 +00:00
lhauch 7f9524e08d Added target.txt to the ignore list in the Conf directory
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@771 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-05 12:40:35 +00:00
wuyizhong e1347472b7 Fix a minor issue.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@770 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-05 12:26:30 +00:00
wuyizhong 8031d48db3 Support UserExtension in FPD.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@769 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-05 12:06:06 +00:00
qouyang 47f2f01190 Add ModifyInftask in FrameworkTask.
Fixe bug(EkdT72).

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@768 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-05 11:50:44 +00:00
yshi8 2a8198da06 Added FrameworkWizard build into build.xml and corrected the items in clean/cleanall targets
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@766 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-05 09:20:45 +00:00
jlin16 ce73a791eb Add Data Validations for SPD editor.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@765 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-05 08:16:05 +00:00
jwang36 78d0508ad9 Fixed the unchecked warning issues when building GenBuild
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@764 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-05 07:26:12 +00:00
wuyizhong de4bb9f6ed Fully support active platform policy.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@763 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-05 06:22:06 +00:00
jwang36 c64af698a3 added specific PP definition for EBC because of previous BuildMacro.xml changes
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@762 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-05 05:49:33 +00:00
klu2 8d82d61173 Support putting unreference DYNAMIC_EX PCD into Pcd runtime database.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@761 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-05 05:28:48 +00:00
lgao4 829a16efd2 Correct module guid in mbd file
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@760 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-05 05:24:48 +00:00
jwang36 cfa5a9c5d1 fixed GCC build issues
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@759 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-05 05:22:26 +00:00
qhuang8 b775e03a84 DebugLib:
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@758 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-05 04:17:57 +00:00
qhuang8 add13dc217 DebugLib:
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
2006-07-05 04:17:04 +00:00
jlin16 c16ade35ca Add two files for List editor.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@756 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-05 04:11:04 +00:00
lhauch a2317f385e Removed per Carl/Javen.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@755 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-05 04:07:14 +00:00
lhauch 700c2b96cb Changed FvBinding to be a list of Keywords (not using list, just specifying the pattern.) Fixed a couple of typos in the other files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@754 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-05 04:05:10 +00:00
jwang36 3f6001d4f0 supplemented "/FI" to some ignored PP options in fpd files
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@753 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-05 03:15:05 +00:00
hche10x f9cc201cc0 Modify FrameworkWizard.msa for newly changing.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@752 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-05 02:42:30 +00:00
hche10x d65242dfe8 1. Add image in "About" frame
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@751 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-05 02:18:04 +00:00
hche10x 79cb6fdbc0 1. Restructure some folders and files
2. Adjust the arithmetic of "Clone" function
3. Add image in "About" frame

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@750 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-05 02:07:26 +00:00
jwang36 525c51880f Added "/FI", "-include" and/or "/nologo" options to PP (CC) command option to fpd files. These changes are used to accommodate the preprocessing added for assembly code as a general processing step.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@749 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-04 16:28:26 +00:00
jwang36 d3dfaf4b45 Fixed the cleanall issue which would remove more files than we want
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@748 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-04 14:52:57 +00:00
klu2 7629edbc44 Move ant-related code from ParserFpd function to enable single module debug for PCD tools.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@747 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-04 14:32:27 +00:00
qouyang 25832ed337 Fix autogen bug:[Edk67][Edk35].
Add "/FI" to "PP" option in EdkModulePkg-All-Archs.fpd.
Modify BuildMacro.xml changing "S" for IPF assembler.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@746 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-04 13:44:18 +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
jwang36 0d2001d31d added back of preprocessing of asm files
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@743 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-04 12:14:02 +00:00
jwang36 a661b6870a git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@742 6f19259b-4bc3-4df7-8a09-765794883524 2006-07-04 12:12:33 +00:00
lgao4 f4b38a99c7 Update tools definition
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@741 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-04 12:12:06 +00:00
lgao4 7d1142bfea Add ASL and ASMLINK tool definition in this file
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@739 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-04 10:46:31 +00:00
jwang36 d8cf03df4b commented out GCC definitions temporarily
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@738 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-04 08:14:02 +00:00
jlin16 1800d80f22 Add ModuleSA BuildOptions
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@737 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-04 08:11:49 +00:00
klu2 df282395d7 Should not checking exist fd file, otherwise new fd file can not override old fd file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@736 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-04 07:54:23 +00:00
jwang36 4507889e12 added GCC tools definitions
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@735 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-04 06:13:13 +00:00
jwang36 8ed3ea9c90 added GCC tool chain family options
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@734 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-04 06:11:26 +00:00