Commit Graph

5121 Commits

Author SHA1 Message Date
lhauch 6de5f959d6 Added an environment variable test to bypass setting the path multiple times, it checks the FRAMEWORK_TOOLS_PATH to make sure that it has not changed. If it has, it prepends the new FRAMEWORK_TOOLS_PATH setting to the PATH environment variable.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@458 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-09 18:07:09 +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
lhauch 302e0e4a1f Fixed a bug in the script - missing % on a WORKSPACE declaration. Also, added an argument, skip, that will skip building tools and re-setting the PATH. executing edksetup skip sets WORKSPACE, FRAMEWORK_TOOLS_PATH, CYGWIN_HOME (if c:\cygwin exists) and the CLASSPATH. This arg was added so that folks who might run the program more than one time from the same command window do not end up with a PATH environment that exceeds the max number of characters.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@456 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-09 15:26:28 +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
lhauch 2bf4e0a163 Final Check-for TRUNK transition schema that handles both old and new elements.
This will handle both.  I will start doing the Branch stripped out version with only new stuff in it now.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@451 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-09 05:51:19 +00:00
lhauch 5c5b48998b Intermediate Check-in this MSA schema handles both old and new elements.
This is not the final version of the XML Transition Schema - what is here works.
THE LAST SECTION, FPD File, still to come.  Now this handles both old and new MSA and SPD formats.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@450 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-09 04:32:47 +00:00
qwang12 eaa6aeba69 Make the PCD database compilable on X64 platform.
We need to add a (UINTN) cast before casting the address to UINT32 type.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@449 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-09 03:10:22 +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
lhauch 716b237185 Intermediate Check-in this SPD schema handles both old and new elements.
This is not the final version of the XML Transition Schema - what is here works.
More will come later.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@446 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-09 02:06:06 +00:00
lhauch c12c6c7dc6 Intermediate Check-in This is not the final version of the XML Transition Schema - what is here works. More will come later.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@445 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-08 23:46:59 +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
qhuang8 a28984d905 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@442 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-08 03:38:14 +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
lhauch 54d37f3a61 Updated the Document - put in Andrew's comments RAW without formatting.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@440 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-08 03:30:55 +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
qhuang8 533f039eb0 BaseMemoryLib:
Correct wrong ASSERT()s on SetMem16(), SetMem32(), SetMem64()
HobLib:
Add Missing ASSERT()s for BuildGuidHobData() since CopyMem() now allow zero source buffer with length > 0.
BasePrintLib
Add ASSERT()s to check NULL buffer and NULL format.
PostCodeLib
Add 3 instances of PostCodeLib and introduce new Pcd for post code property mask.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@438 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-07 15:38:52 +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
bbahnsen 4347544299 Try to clarify the gcc story a little bit.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@435 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-07 00:21:44 +00:00
bbahnsen 7a05c964e6 Remove one of the saxon jars from the classpath.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@434 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-06 23:41:12 +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
alfred a0b7c09f23 Apply changes(Unix Type to Windows Type) to the rest of the 2 files:
edk2\EdkModulePkg\Core\Pei\Image\Image.c
edk2\EdkModulePkg\Core\Pei\PeiMain\Peimain.c

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@431 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-06 07:15:42 +00:00
alfred 6652e7be38 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@430 6f19259b-4bc3-4df7-8a09-765794883524 2006-06-06 06:28:47 +00:00
alfred ef99a95aad git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@429 6f19259b-4bc3-4df7-8a09-765794883524 2006-06-06 06:28:31 +00:00
alfred 3005648db2 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@428 6f19259b-4bc3-4df7-8a09-765794883524 2006-06-06 06:28:13 +00:00
alfred 72df7b0fc1 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@427 6f19259b-4bc3-4df7-8a09-765794883524 2006-06-06 06:27:01 +00:00
alfred 5290e960dd git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@426 6f19259b-4bc3-4df7-8a09-765794883524 2006-06-06 06:25:59 +00:00
lhauch be05f52305 Changed the group names VpdGroup and HiiGroup to HiiEnable and VpdEnable. Changed maxOccures on FvImages and Capsules from unbounded to 1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@425 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-06 05:18:42 +00:00
lhauch e4ecc06e50 Updated schema, added some new elements that will be used in the final. Added a DatumSizeLimitation type so that it could be referred to rather than specify 8 additional lines of XML for DataumSize element.
MAJOR CHANGE TO Framework Doc - SPD Has been added.  I will add Andrew's comments tomorrow.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@424 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-06 03:09:40 +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
yshang1 59b05fbba8 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@422 6f19259b-4bc3-4df7-8a09-765794883524 2006-06-05 11:24:52 +00:00
klu2 3547bb9f9f Fix some bugs for EdkFatPkg
1) Remove FatFileSystem.c from Fat.msa
2) Use HighBitSet64 instead of GetPowerOfTwo64 for log2 macro
3) Add PCD entries in EdkNt32Pkg/Nt32.fpd for FAT module.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@420 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-05 04:02:54 +00:00
lgao4 df1f678a0e git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@419 6f19259b-4bc3-4df7-8a09-765794883524 2006-06-05 02:59:29 +00:00
qhuang8 9a462b415d UefiLib:
Add two new interfaces of EfiCreateEventLegacyBootEx & EfiCreateEventReadyToBootEx
Fix a bug in EfiCreateEventLegacyBoot & EfiCreateEventReadyToBoot. (#51)
PciLib:
Add missing ASSERT()s in PciReadBuffer() & PciWriteBuffer() (#70)
IoLib
Add ASSERT()s to check alignment.
MemoryAllocationLib:
For AllocateXXXCopyBuffer(). Add ASSERT()s for cases when allocations fails.
BaseLib:
Change the return type of InternalMathModU64x32 from UINT64 to UINT32


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@416 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-04 13:08:25 +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
klu2 356f7d1a20 Tip break because EdkFatPkg was introduced into FrameworkDatabase.db, But EdkFatPkg can *not* be built for no FatSystem.c file when building. Remove EdkFatPkg from FrameworkDatabase.db and wait fix bug in EdkFatPkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@414 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-04 09:25:53 +00:00
lhauch e660116bb3 Updated Header information, added Guid, Version Specification, removed createdBy
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@413 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-04 06:13:43 +00:00
lhauch 0850ca3b8c Updated the FPD and SPD files to newer schema formats. Also updated a couple of items in the XML Schema (added a new element)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@412 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-04 06:09:14 +00:00
lhauch 47d0b58170 Added some attributes (changed comments to be before items to be deleted) Added a couple of new elements that will be used in final output.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@411 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-03 23:59:38 +00:00
mdkinney 2180250558 Add check for a NULL Data parameter in SecPeiReportStatusCode(). The Report Status Code Library functions will ASSERT() is Data is NULL.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@410 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-03 21:54:37 +00:00
mdkinney 7793bfc31e Update PCD entries for NT32 to generate breakpoints when an ASSERT() condition fires
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@409 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-03 21:52:33 +00:00
mdkinney 1d580c1447 1) Add support for %p to print pointers
2) Fix %d,%x,%X to pull values off the vararg stack using (int) and (unsigned int) types to resolve compatibility issues with X64


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@408 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-03 21:51:12 +00:00
lhauch 3a0a3d3878 Updated Document, added some more choice settings and comments. Added an ArchType attribute list of: SupportedArchitectures.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@406 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-03 02:03:23 +00:00
lhauch 348e1ac1db Added Optional Element, SupportedArchitectures which is a list of itemType: SupportedArchitectures (IA32, X64, IPF, EBC)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@405 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-03 00:55:24 +00:00
lhauch 0675decb4f Added More Comments and started doing data type checking so that if a ModuleName is defined as xs:NCName, all instances where we are referencing a ModuleName (in an attribute, for example) will also use xs:NCName.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@404 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-03 00:46:59 +00:00
lhauch 4688cb14d5 Added more comments to show indicate what will go, and what will stay, also wrapped one more Updated/Modified inside of a choice.
No more changes need to be made to this file until all MSA, SPD and FPD files are updated and/or the data from MBD files is transfered to MSA/SPD files.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@403 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-02 22:20:46 +00:00
lhauch cf0a51a550 Added FeatureFlag Attribute to most attributeGroup definitions, per Andrew. Where it was previously defined, the data type was changed from C_Name to xs:normalizedString. RULE: For adding or parsing Feature Flag string, use RPN, FF1 FF2 <op1> ... FFn <opn>, processed from left to right.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@402 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-02 21:56:09 +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
lhauch a60d9058b8 Removed one of the Duplicate Enumeration's APPLICATION from the FrameworkComponentType definition (again.)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@400 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-02 18:41:10 +00:00