klu2 [Tue, 13 Jun 2006 09:40:16 +0000 (09:40 +0000)]
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.
qhuang8 [Tue, 13 Jun 2006 06:31:11 +0000 (06:31 +0000)]
BaseMemoryLib (BaseMemoryLibRepStr):
Fix a logic error in SetMem64 (); The correct stride should be 8 instead of 4.
BasePrintLib:
Fix Printf(“%\n”) passer error.
Fix BufferSize = 0, 1 issue
Fix some missing ASSERT ()s
Move MAXIMUM_VALUE_CHARACTERS from PrintLibInternal.h to PrintLib.h
ReportStatusCodeLib:
Add CONST modifier to some interfaces
Modify
DebugLib:
Replace some Unicode in comments.
PeiServicesTablePointerLib
Add ASSERT()s
PciLib:
Remove unnecessary ASSERT()s in PciRead/WriteBuffer()
klu2 [Tue, 13 Jun 2006 05:46:05 +0000 (05:46 +0000)]
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.
klu2 [Mon, 12 Jun 2006 15:11:33 +0000 (15:11 +0000)]
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>
klu2 [Mon, 12 Jun 2006 07:57:04 +0000 (07:57 +0000)]
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.
lhauch [Sat, 10 Jun 2006 20:29:18 +0000 (20:29 +0000)]
Removed create/modified/update data, PacakgeType from headers, added HexWordArrayType for VariableName list, the definition accepts the following: 0x000A, 0x000b, 0x00AF or 0x000A 0x000b 0x00AF or 0x000A,0x000b,0x00AF NOTE: LEADING ZERO characters are REQUIRED!
klu2 [Sat, 10 Jun 2006 13:16:10 +0000 (13:16 +0000)]
Fix some minor bugs on PCD schema according to final schema email send by Larry
1) In <PcdData> of <PcdBuildDefinition>, MaxDatumSize should be added;
2) In <PcdData> of <PcdBuildDefinition>, the number of <Value> should be [0..1] but not [0..n];
3) The max occurs of <SkuId> in <DynamicPcdBuildDefinitions> should be 1;
lhauch [Fri, 9 Jun 2006 18:07:09 +0000 (18:07 +0000)]
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.
bbahnsen [Fri, 9 Jun 2006 17:07:09 +0000 (17:07 +0000)]
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.
lhauch [Fri, 9 Jun 2006 15:26:28 +0000 (15:26 +0000)]
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.
lhauch [Fri, 9 Jun 2006 05:51:19 +0000 (05:51 +0000)]
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.
lhauch [Fri, 9 Jun 2006 04:32:47 +0000 (04:32 +0000)]
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.
lhauch [Fri, 9 Jun 2006 02:06:06 +0000 (02:06 +0000)]
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.
qhuang8 [Thu, 8 Jun 2006 03:38:14 +0000 (03:38 +0000)]
1. Rename PeiCoreLib to PeiServicesLib and rename all the interfaces from PeiCoreXXX() to PeiServicesXXX().
2. Remove PostCode interfaces from ReportStatusCodeLib
qhuang8 [Thu, 8 Jun 2006 03:36:57 +0000 (03:36 +0000)]
1. Rename PeiCoreLib to PeiServicesLib and rename all the interfaces from PeiCoreXXX() to PeiServicesXXX().
2. Remove PostCode interfaces from ReportStatusCodeLib
qhuang8 [Wed, 7 Jun 2006 15:38:52 +0000 (15:38 +0000)]
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.
lhauch [Tue, 6 Jun 2006 03:09:40 +0000 (03:09 +0000)]
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.
klu2 [Mon, 5 Jun 2006 04:02:54 +0000 (04:02 +0000)]
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.
qhuang8 [Sun, 4 Jun 2006 13:08:25 +0000 (13:08 +0000)]
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
klu2 [Sun, 4 Jun 2006 10:00:41 +0000 (10:00 +0000)]
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.
klu2 [Sun, 4 Jun 2006 09:25:53 +0000 (09:25 +0000)]
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.
mdkinney [Sat, 3 Jun 2006 21:51:12 +0000 (21:51 +0000)]
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
lhauch [Sat, 3 Jun 2006 00:46:59 +0000 (00:46 +0000)]
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.
lhauch [Fri, 2 Jun 2006 22:20:46 +0000 (22:20 +0000)]
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.
lhauch [Fri, 2 Jun 2006 21:56:09 +0000 (21:56 +0000)]
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.
lhauch [Fri, 2 Jun 2006 17:28:28 +0000 (17:28 +0000)]
Added a line to copy the Conf/tools_def.template to Conf/tools_def.txt if and only Conf/tools_def.txt does not exist. Conf/tools_def/txt was removed from the repository back on Wednesday, May 31st, as this file is developer workstation configuration dependent.
vanjeff [Fri, 2 Jun 2006 07:58:31 +0000 (07:58 +0000)]
Deleted x64\SwitchStack.c Ipf/SwitchStack.c.
Added SwitchStack.c in Baselib\
Rename Ia32/SwitchStack.c to Ia32/InternalSwitchStack.c
Changed _SwitchStack() into InternalSwitchStack() in SwitchStack.asm and SwitchStack.s
Fixed one bug in LinkedList.c, that List length couldn't up to PcdMaximumLinkedListLength.
lhauch [Fri, 2 Jun 2006 01:53:24 +0000 (01:53 +0000)]
Fixed the EdkModulePkg.fpd file to have a package name of EdkModule, not MdePkg. Added optional (will be required) TokenSpaceGuid to Pcd sections.
Removed some documentation for elements that will be removed eventually (the notes are in the comments section)
lhauch [Thu, 1 Jun 2006 23:45:47 +0000 (23:45 +0000)]
Updated Schema per e-mails, fixed some MSA and MBD files. Added the FrameworkWizardMinReq.doc file which we are going to use to track the minimum functionality of the wizard.