Commit Graph

837 Commits

Author SHA1 Message Date
jwang36 196ad8d77c Fixed EDKT102;
Fixed some dependency check issue and made several optimizations on the dependency check logic. Now the rebuild is speeded up enormously.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@885 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-12 02:41:10 +00:00
jwang36 a99a79e46f Added Build_DUMMY macro to skip those files in msa which should not be handled by any tools.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@884 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-12 01:59:43 +00:00
klu2 33900fd703 Remove unused code for misc sub smbios table.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@883 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-11 15:56:44 +00:00
lgao4 5094fb09f8 Add necessary files (such as *.h) in module msa and remove unused msa files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@882 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-11 15:00:30 +00:00
jlin16 af25df1662 1. Make SPD editor tables bigger.and table now focus the entry added.
2. Modify FileContents classes to delete empty elements in SPD file and FPD file when no contents in these elements.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@881 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-11 11:04:13 +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
qhuang8 bd0cd44be5 sync GCC assembly files with MASM assembly files
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@878 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-11 10:25:13 +00:00
qwang12 983ba75c92 Correct the token number for PcdDxePcdDatabaseTraverseEnabled
Remove PcdMaxPeiPcdCallBackNumberPerPcdEntry in PcdCoded section in Dxe/Pcd.msa as it is not used in the code.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@877 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-11 10:18:55 +00:00
jwang36 7f6dd3e371 Commented out the throwing exception when not supported file type is found, because we should just skip those files which cannot be built by certain tools.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@876 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-11 10:06:26 +00:00
hche10x 92e2937805 1. Restructure module description on main UI
2. Make alphabetized list for all module, package, platform names and guid_c_names

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@875 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-11 09:03:32 +00:00
qouyang 73b4e31adc EDKT96.
Build tools need to auto-generated the FlashMap.h from .fdf file before a module is built, and then included by Autogen.h based on attributes of module in build time, and copy FlashMap.h to Module\DEBUG dir and change "FlashMap.h" to "TianoR8FlashMap.h".


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@874 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-11 08:19:18 +00:00
vanjeff 4748b24d77 1. Fix one bug on EBC for GetPowerOfTwo64.c
2. Fix one bug for GetPowerOfTwo32.c and GetPowerOfTwo64.c, when Operand is 1, 1 should be returned

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@873 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-11 07:48:43 +00:00
qwang12 67513de537 Correct the token number for PcdDxePcdDatabaseTraverseEnabled
Remove PcdMaxPeiPcdCallBackNumberPerPcdEntry in PcdCoded section in Dxe/Pcd.msa as it is not used in the code.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@872 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-11 07:37:20 +00:00
bbahnsen 1a7e55e455 Remove MdePkg-All-Archs.fpd from database.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@871 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-11 07:04:39 +00:00
klu2 ae3f0d5885 Fix the bug that SecMain often throw exception when environment variable too large. It caused by using /DEBUG in link options but not link "MSVCRTD.lib" library.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@870 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-11 07:01:36 +00:00
bbahnsen fcf27ef383 Merge back to one fpd file that does it all.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@869 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-11 06:09:59 +00:00
klu2 ddb87685e2 For VOID* type PCD and in byte array method, treat {0} as NULL value but not {}.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@868 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-11 02:44:36 +00:00
klu2 9ffc622e79 FD file should only generated in build time but not in run.cmd. Fix it.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@867 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-11 02:20:13 +00:00
jwang36 23583a8891 Removed the printStackTrace() which is used only for debug purpose.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@864 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-10 10:51:01 +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
jwang36 64efed3759 Added "/" for X64 file path
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@862 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-10 09:24:19 +00:00
klu2 e7e79c584e Roll back the PCD PcdWinNtFirmwareVolume value from "..\\FV\\FV_RECOVERY.fd" to "..\\..\\FV\\FV_RECOVERY.fd" for avoiding the issue that secmain.exe run failure when the length of PATH environment exceed 1280 character.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@861 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-10 09:00:33 +00:00
wuyizhong 8cf5da75ce Support prebuild and postbuild for UserExtension for Platform build. If UserExtension's Identifier equals "0", which means prebuild, while Identifier equals "1", which means post build. UserExtension's UserId is still "TianoCore".
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@860 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-10 08:43:23 +00:00
qhuang8 5b1b9d8bf4 1. BaseSmbusLib: Make SmbusReadDataByte() & SmbusWriteBlock() function well by re-arranging register settings.
2. BaseMemoryLibMmx for X64: Make CopyMem() be reentrant by saving Mm0 to r10.
	3. DxeCorePerformanceLib: Fix some typo to save build error of that library instance.
	4. Remove the orphanage definition of gEfiPerformanceProtocolGuid


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@859 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-10 08:41:58 +00:00
lhauch 9c091616cd Added Optional Element: TianoR8FlashMap_h Type Boolean to Module's Extern section. If this flag is set, we need to include the header file (TianoR8FlashMap_h) generated by FlashMap on the Platform fdf file, to be included in the DEBUG directory (next to the AutoGen.c and AutoGen.h files) and include #include <TianoR8FlashMap.h> in AutoGen.h file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@857 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-10 06:48:57 +00:00
qouyang 42b787576f Fixed EdkT35, EdkT89.
Fixed the "#ifndef  _AUTOGENH_" issue when the moduleBase name include the whiteSpace.
Change "#ifndef {moduleBaseName}__AUTOGENH" to "ifndef  _AUTOGENH_${MoudleGuild}". 

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@856 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-10 06:19:15 +00:00
bbahnsen f3dcd51163 Fix for EDKT9.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@855 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-10 05:22:28 +00:00
lgao4 bb3ee420c8 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@854 6f19259b-4bc3-4df7-8a09-765794883524 2006-07-10 05:14:05 +00:00
klu2 601f9e375f Assign token number to DynamicExTokenNumber for all DYNAMIC or DYNAMIC_EX type PCD.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@853 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-10 03:46:11 +00:00
bxing 003673f507 Fixed a syntax error in BasePciCf8Lib/PciLib.c
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@852 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-10 03:20:48 +00:00
bxing 9748aecca6 1. Fixed a logical error in PciReadBuffer() and PciWriteBuffer()
2. Fixed GetInterruptState() on IPF to return the state of interrupts correctly

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@850 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-10 02:56:56 +00:00
klu2 ace425da36 Fix some bugs in edksetup.sh
1, WORKSPACE environment in unix-like system can be obtained automatically as edksetup.bat in window's environment.
2, XMLBEANS_HOME environment in unix-like system should be also check as edksetup.bat in windows's environment.
3, In some unix-like system like darwin's system, system environment should be export to user's environment explicitly, this behavior is different in microsoft windows's platform. 

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@849 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-09 17:33:16 +00:00
lhauch a782876908 Update the binary MSA to say they were binary, fixed an abstract, changed a module UiName, changed tool default values in the build.xml files to give the name of the tool, rather than all, so when building the tools, you can tell what tool it is trying to build.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@848 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-09 14:14:00 +00:00
jlin16 908b1c0595 1. Add feature of ModuleSA PcdBuildDefinition editor.
2. bug fixing for SPD editor.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@847 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-09 13:44:41 +00:00
jwang36 7c707b0214 Made some changes to use GCC to pre-process and assembly .S file
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@846 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-09 12:07:49 +00:00
jwang36 9e63db5eb6 Added code to print out file name in GCC building because GCC doesn't output its input file name in its stdout
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@844 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-09 11:09:11 +00:00
jwang36 1cda74acbf Added a "_" to ${ENTRYPOINT} for GCC "CC" command option;
Removed GCC tool chain options from MdePkg-All-Archs.fpd and EdkModulePkg-All-Archs.fpd


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@843 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-09 06:17:20 +00:00
jwang36 bf0ce309d1 Fixed GCC ld issue
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@842 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-09 05:14:01 +00:00
qwang12 4c29d43304 fix a bug in Service.c
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@841 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-08 15:21:21 +00:00
vanjeff 03e772c322 In AsciiStrncmp(), if length=0, should return 0
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@840 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-08 15:21:04 +00:00
ajfish bc724e5885 Ported to use BaseMemoryLib functions
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@839 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-08 14:53:17 +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
lhauch 3c367f9de6 Added Wordpad recommendation for editor, change ACTIVE_PLATFORM from REQUIRED to RECOMMENDED
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@837 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-08 14:11:29 +00:00
lhauch 08e4a4125b Added the Common.jar file to the CLASSPATH that gets set if you use the skip option.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@836 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-08 13:59:19 +00:00
jwang36 a10c040004 fixed a potential issue which would be raised by empty value in tools_def.txt file
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@835 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-08 11:04:34 +00:00
jwang36 cfccc31e51 changed TOOLS_DEFINITION_FILE to TOOL_CHAIN_CONF;
changed TAGNAME to TOOL_CHAIN_TAG

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@834 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-08 10:06:40 +00:00
jwang36 c773bec060 Changed the code to read the correct configuration name in target.txt file;
Fixed an issue which caused building platform with un-defined tools.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@833 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-08 10:02:19 +00:00
lhauch dd23984c3d Final target.template file with embedded documentation. This file will only be used if edksetup.bat does not detect the existence of the file: target.txt.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@832 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-08 07:30:06 +00:00
klu2 9c6db9eaf7 Remove unused PCD file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@831 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-08 05:32:46 +00:00
lhauch 617cc72bf4 Added a line to remove the Jar file in the cleanall target.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@830 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-08 05:05:33 +00:00