Commit Graph

8217 Commits

Author SHA1 Message Date
qwang12 6ad4973db8 change the default value of PcdMaxPeiPcdCallBackNumberPerPcdEntry to 8 to make the main trunk work.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@335 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-31 01:40:08 +00:00
lhauch d40039d0ed Changed MsaFiles from {1} to {0,1} in SPD files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@333 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-31 00:04:41 +00:00
lhauch f0cf605e7b Adding a template file for the tools_def.txt file. This file will be copied to tools_def.txt if and only if the tools_def.txt file does not exist. We will be removing the tools_def.txt file from SVN, so that it will not be overwritten every time you do an update.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@328 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-30 18:15:49 +00:00
lhauch 0a94a7d997 Added ValidImageNames ENUM to FvImageTypes so that we do not break the current usage (in Nt32.fpd)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@326 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-30 17:08:42 +00:00
bbahnsen dcec76514f Fix gcc build break. The PCD TokenNumber is incremented, not the address of the PCD TokenNumber.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@325 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-30 16:33:09 +00:00
lhauch fb6d4eb2ea Changed the Type attribute of FvImage to be ENUM type: FvImageTypes (Attributes | Options | Components)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@324 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-30 16:14:34 +00:00
yshang1 5f44402947 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@320 6f19259b-4bc3-4df7-8a09-765794883524 2006-05-30 07:18:06 +00:00
yshang1 44c82dc06f git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@319 6f19259b-4bc3-4df7-8a09-765794883524 2006-05-30 06:04:00 +00:00
bxing 49c80af423 1. Fixed incorrect ASSERT conditions in wrapper functions.
2. Removed unnecessary SUB instructions in CompareMem.asm

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@318 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-30 05:42:49 +00:00
qwang12 9d6d8b24f3 Refine some internal functions of PCD Driver.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@314 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-29 12:56:03 +00:00
qwang12 0653eb895d Add in support for GetNextTokenNumber API.
Use PCD_TOKEN_NUMBER as type for parameter of internal APIs.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@312 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-29 10:42:13 +00:00
qhuang8 19b362e879 BaseMemoryLib: Add missing ASSERT()s for some interfaces.
BaseTimerLibLocalApic: Add missing EBC architecture support. Note that this instance is a dummy one since EBC does not support local APIC timer. 
IoLibDxeCpuIo: Add alignment checking & unsupported width checking by using ASSERT()s.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@311 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-29 04:43:26 +00:00
bxing 277872438c Change SPIN_LOCK_ACQUIRED to 1 and SPIN_LOCK_RELEASED to 2 according to MWG.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@310 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-29 02:34:09 +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
wuyizhong eebf7983a9 Revise XML Schema to be valid.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@308 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-29 01:35:56 +00:00
lhauch 4848adcbc5 Moved attribute PcdIsDriver to PcdData element and out of PcdBuildDeclarations and PcdDynamicBuildDeclarations.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@303 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-27 02:14:28 +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
bbahnsen b560bb65c4 Fix more gcc build breaks. One of these was a subtle bug in the code that was caught by a gcc warning.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@297 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-26 18:49:15 +00:00
bbahnsen f2982b30b2 Fix gcc build break. Slashes should always lean forward!
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@296 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-26 18:26:14 +00:00
bbahnsen 342fcc1e99 Fix gcc build breaks.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@295 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-26 17:23:35 +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
qwang12 00b7af13f2 Sync up Pcd Library Instances and PCD Driver/PEIM with Pcd spec 0.51 and Mde 0.51
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@286 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-26 01:09:00 +00:00
qwang12 b16ef80556 Sync up Pcd Library Instances and PCD Driver/PEIM with Pcd spec 0.51 and Mde 0.51
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@285 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-26 01:05:31 +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
lhauch 415418e17d 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@281 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-25 21:37:58 +00:00
bbahnsen 8d3adb745f Fix a bug caused by sscanf trashing memory.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@280 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-25 18:18:27 +00:00
lhauch fbf910a5a0 Had to put the Attribute, URL back into the Abstract so that Module Editor would compile. Leaving it out, and removing the AbstractURL elements from the MsaHeader.java and MsaLibHeader.java files cause even more problems.
When we can figure out how to remove them from the ModuleEditor, we can remove them from the Schema.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@279 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-25 17:56:40 +00:00
lhauch 0fce57e796 Added CreatedDate to Schema - headers have it included with a choice for Created or CreatedDate so that we can migrate to the new CreatedDate at some point in the future in all of the Framework files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@276 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-25 15:34:26 +00:00
qhuang8 a3657e3e7a MemoryAllocationLib: For boundary case: “AllocationSize + OverAllocationSize >= 4G”
DxeMemoryAllocationLib: Change the behavior from returning NULL to ASSERT ()
PeiMemoryAllocationLib: Add ASSERT ()
I also add ASSERT () in Pei Service AllocatePool () to catch if allocation size > 64K
DebugLib:
Header file (DebugLib.h): Fix an issue in ASSERT_PROTOCOL_ALREADY_INSTALLED(Handle, Guid).  
In contrast with LocateProtocol (), the first & second parameter type of HandleProtocol () is EFI_HANDLE & EFI_GUID respectively.
UefiLib: 
For UnicodeStringDisplayLength (CONST CHAR8 *String), return 0 if String is NULL.
BasePrintLib: 
Add missing “EFIAPI” to UnicodeValueToString() and AsciiValueToString() and move their definitions from PrintLibInternal.c to PrintLib.c.
Fix the comments error(Maximum Length TIME”)


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@275 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-25 10:13:26 +00:00
jwang36 d05003bed6 Added outputDir attribute to support generating FV file in specified directory
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@273 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-25 07:45:15 +00:00
yshang1 f76fd83e6f git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@272 6f19259b-4bc3-4df7-8a09-765794883524 2006-05-25 04:02:58 +00:00
bbahnsen 0fff0c2629 Check for /workspace/externaltools/apache-ant
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@271 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-24 22:03:09 +00:00
bbahnsen 362c60128f Gcc versions of the msa files. These files can be used in place of the normal msa files for gcc builds. They will go away once we get the gcc assembly integrated into the main msa files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@270 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-24 21:32:36 +00:00
bbahnsen 75d0c5b183 Add a macro for GCC Assembly.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@268 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-24 20:56:12 +00:00
lhauch 03fed93ef9 Added a line to instruct users how to exit the NT32 emulation platform.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@267 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-24 19:51:36 +00:00
yshang1 da4aa0f21f git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@263 6f19259b-4bc3-4df7-8a09-765794883524 2006-05-24 10:23:10 +00:00
qwang12 6776c08a6d Remove a private class to remove the error message.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@262 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-24 09:14:28 +00:00
vanjeff 1342c9cf2a added ASSERT()
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@261 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-24 08:46:26 +00:00
vanjeff 1dc408f891 added ASSERT()
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@260 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-24 08:44:35 +00:00
qwang12 a916cff8a0 Check in the Pcd service Driver/PEIM according to the new way of generating PCD Database
LIMITATION:

1) ONLY dynamic type PCD is supported for now. DynamicEx is not supported.
2) HII enable and VPD is not tested.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@259 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-24 08:40:45 +00:00
qwang12 10d44326f3 Check in the Pcd service Driver/PEIM according to the new way of generating PCD Database
LIMITATION:

1) ONLY dynamic type PCD is supported for now. DynamicEx is not supported.
2) HII enable and VPD is not tested.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@258 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-24 08:38:12 +00:00
qwang12 98960993af Check in the Pcd service Driver/PEIM according to the new way of generating PCD Database
LIMITATION:

1) ONLY dynamic type PCD is supported for now. DynamicEx is not supported.
2) HII enable and VPD is not tested.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@257 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-24 08:36:02 +00:00
qwang12 54fae63b37 Check in the Pcd service Driver/PEIM according to the new way of generating PCD Database
LIMITATION:

1) ONLY dynamic type PCD is supported for now. DynamicEx is not supported.
2) HII enable and VPD is not tested.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@256 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-24 08:35:25 +00:00
qwang12 2fb3ccff98 Check in the Pcd service Driver/PEIM according to the new way of generating PCD Database
LIMITATION:

1) ONLY dynamic type PCD is supported for now. DynamicEx is not supported.
2) HII enable and VPD is not tested.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@255 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-24 08:21:09 +00:00