Commit Graph

113 Commits

Author SHA1 Message Date
klu2 1cf9cdcc9c Fix a bug of PCD autogen for UINT64:
when generate macro value for a UINT64 type PCD, "ULL" should be added to forbid compiler tread it as UINT32 value.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@555 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-19 03:53:41 +00:00
jwang36 3ce2b1a85f Fixed the issues which caused the gcc build on MacOs failed
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@552 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-17 15:42:16 +00:00
klu2 2435723ad9 Fix a bug when generate default value for byte array for FIXED_AT_BUILD, PATCHABLE_IN_MODULE type PCD.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@551 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-17 13:25:31 +00:00
klu2 38ee8d9e66 Change the macro for dynamicEx type PCD and modify autogen tools to auto generate TokenSpaceGuid. After modification, you can use two method access DynamicPCD,
1) PcdGet8/PcdGet32/... to get a value of DynamicEx PCD, same as PcdSetxx
2) PcdGet8Ex/PcdGet32Ex to get a value of DynamicEx PCD, same as PcdSetxxEx.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@549 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-17 09:57:06 +00:00
bbahnsen 5179dda3f8 Use an absolute path to specify tool executables.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@545 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-16 17:48:34 +00:00
lgao4 c965d3aff4 Fix GenFfsFileTask.java bugs
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@542 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-16 14:31:27 +00:00
yshi8 ce53a8c3b2 1. Removed the unnecessary #include statements and include files
2. Removed the unnecessary library and include path from MSA files


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@541 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-16 11:42:42 +00:00
yshi8 5a96e3e3fe 1. Removed the unnecessary #include statements and include files
2. Removed the unnecessary library and include path from MSA files


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@540 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-16 11:40:33 +00:00
yshi8 1cc00e4525 1. Removed the unnecessary #include statements and include files
2. Removed the unnecessary library and include path from MSA files


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@539 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-16 11:38:14 +00:00
klu2 f63ef4b271 1) Add byte element checking for a PCD who using byte array type datum.
2) Fix a bug for judging whether datum is Unicode string.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@537 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-16 09:11:15 +00:00
bbahnsen ae86a0c2ed Get rid of old makefiles.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@533 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-15 16:25:59 +00:00
bbahnsen 19eba4a7b4 Add the ModifyInf tool
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@532 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-15 16:23:53 +00:00
klu2 6f7e61a03a Add many datum and datum size checking in PCD building tools, These checking work will be moved to FPD verification tools or UI tools in future.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@528 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-15 14:41:28 +00:00
jwang36 59a372594c removed throwing BuildException when exit code is not zero
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@526 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-15 10:28:45 +00:00
jwang36 a236f1a127 rollback to rev.273, merged new updates as well
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@523 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-15 09:42:34 +00:00
jlin16 247e0d7502 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@511 6f19259b-4bc3-4df7-8a09-765794883524 2006-06-14 10:49:47 +00:00
jwang36 250258de0d added the support for new schema and old schema at the same time
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@510 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-14 10:44:45 +00:00
qouyang 21b50a2779 Remove the dependence to MdePkg
1. add Include folder which contain the *.h file which used by Tiano tools.
2. Change ${evn.WORKSPACE}/MdePkg to ${PACKAGE_DIR} in build.xml.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@509 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-14 08:07:19 +00:00
klu2 833b154119 Fix two transition issue:
1) Although current PCD tool's code support use packageName, packageGuid, version, arch to identify a module, but these value can not be got from FPD file, so use null for transition phase.
2) Add transition code to check <TokenSpaceGuid>, In future, the checking work should be done by schema checking tools when change occur of <TokenSpaceGuid> from[0..1] to [1] in schema.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@508 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-14 04:01:11 +00:00
bbahnsen fad77353ed Fixes for case sensitive operating systems.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@502 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-13 20:36:27 +00:00
klu2 7db4ab705a Fix some bugs in PCD tools:
1) Normalize the exception text format, 
2) Add throw exception in some special case.
3) Add more code to verify Datum Size.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@497 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-13 09:40:16 +00:00
klu2 ad82307c75 1) Fix a bug for PCD autogen tools, see track#115 in PVCS: Module's PCD informtion is generated into autogen.h/autogen.c of library
2) Remove PcdEmulatedDriver from PcdAutogen class.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@495 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-13 05:46:05 +00:00
klu2 6ff7a41cb8 Modify PCD tool according to final PCD schema modification.
1) Change code of PCD tools.
2) Update all FPD file.
3) Fix some bugs in FPD for wrong DatumSize.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@481 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-12 07:57:04 +00:00
bbahnsen 1f0032d8b9 Fix a misspelling.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@460 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-09 22:26:31 +00:00
bbahnsen 1507f64ec4 One GenFvImage can handle all archs now.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@459 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-09 21:14:37 +00:00
bbahnsen 8742c000dc Temporary workaround--determine the target architecture from an environment variable ARCH. Optionally, you can set the variable to IA32, X64 or IPF so that the correct GenFvImage will be called.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@457 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-09 17:07:09 +00:00
qouyang 164803cb04 Fix GenffsFileTask.java one bug: create *.org failed in some machine.
Root cause is unclosing DataOutputStream after used.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@455 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-09 11:01:28 +00:00
hche10x 3099b289e6 Fix one conflict with the latest schema
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@453 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-09 08:30:43 +00:00
jlin16 445705369d git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@448 6f19259b-4bc3-4df7-8a09-765794883524 2006-06-09 02:30:10 +00:00
jlin16 4bf9d8150f git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@447 6f19259b-4bc3-4df7-8a09-765794883524 2006-06-09 02:13:57 +00:00
qouyang 2da8968bb5 1.Change environment variable from "Framework_Tools_Path" to "FRAMEWORK_TOOLS_PATH".
2.Add one OUTPUT - *.org file  for GenFfsFile tool.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@443 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-08 09:11:56 +00:00
bbahnsen 4182ff457c Try to fix the Surface Area build.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@433 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-06 23:06:37 +00:00
bbahnsen 6c756d6463 Remove the prototype code.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@423 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-05 23:37:30 +00:00
klu2 8840ad589e PCD tools update:
1) CollectPCDAction will get all PCD information from FPD file but *not* search SPD and MSA file.
2) ALL PcdBuildDeclaration in FPD file has been moved from common <PcdBuildDeclaration> to seperated module's <PcdBuildDeclaration>. Common <PcdBuildDeclaration> was removed from FPD file.
3) The platform information for Dyanmic and DynamicEx type PCD should be record into <PcdDynamicBuildDeclaration> now.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@415 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-04 10:00:41 +00:00
lhauch d4c8b3da7c Updated to match XMLSchema, although this file is not currently being used.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@401 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-02 18:48:28 +00:00
qwang12 3496595d7b Make sure the PCD dxe service driver can handle the case where no PEIM is 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
2006-06-02 05:28:18 +00:00
jlin16 b4b11851ae update SpdFileContents.java to adapt new schema for LibraryClassDeclaration.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@386 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-02 03:39:44 +00:00
bbahnsen 1322edae9d Removing unused code.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@373 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-01 18:26:22 +00:00
ajfish dfd3f9ce4d Removed #ifdef NT32 as we don't need them for tools
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@368 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-01 17:39:17 +00:00
bbahnsen d2ec0d9ef6 Add Mde String and PrintLibs. Port StrGather to the Mde Unicode implementation. Compile with 2 byte wchars. Now StrGather works with gcc.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@358 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-31 21:02:55 +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 466d23470c Fix some cleanall issues
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@300 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-26 22:53:39 +00:00
bbahnsen 9e792382a8 Fix some cleanall issues
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@299 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-26 22:13:31 +00:00
bbahnsen c43c67195a Translate the Arch enum to an arch directory name. This is necessary for Linux builds, since it is case sensitive.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@298 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-26 21:34:51 +00:00
qwang12 6a4cae5897 Remove the warning message reported when building GenBuild.jar
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@293 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-26 13:40:20 +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
jlin16 24dba7f3c1 Fix the problem "update action multiple times fail".
Enhanced GUID value editor.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@289 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-26 06:53:56 +00:00
qwang12 9a7cf04ab4 Change Workspace to X:
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@288 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-26 06:34:13 +00:00
qwang12 32648c62db Replace all tab to spaces.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@287 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-26 02:05:28 +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