Commit Graph

55 Commits

Author SHA1 Message Date
jwang36 df569f61e3 Fixed the GCC assembler issue. Now we can use full GCC tools to build our package.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@795 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-06 10:31:48 +00:00
qwang12 1de04b4f83 Add in support for MaxSize and CurrentSize for PCD entry.
Change the behavior for PcdSET for Variable_Enabled Pcd entry. If a Variable does not exist, we will only save the value to a volatile space. We save it to variable ONLY when the variable exist. 

Fix a few bugs in Pcd Build tool when generated Pcd database for Pcd entry with Unicode String type.

Support PcdSet to return MaxSize if the input SizeOfBuffer is greater than the Max Size declared in FPD file.

Add SetValueWorker and GetValueWoker for each PcdSET and PcdGET function to reduce code size.

Sync function prototype definition for PCD_PPI_SET_POINTER, PCD_PPI_SET_EX_POINTER, PCD_PROTOCOL_SET_POINTER and PCD_PROTOCOL_SET_EX_POINTER with PCD arch spec 0.52.

Add ASSERTION in LibPcdSetPtr.





git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@789 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-06 06:10:20 +00:00
klu2 848e907b35 Change assembler compiler to windkk.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@781 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-06 03:06:39 +00:00
ajfish a9b19265ac Made the default for IA-32 assembler path point to the default install location for MASM.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@775 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-05 20:12:08 +00:00
wuyizhong de4bb9f6ed Fully support active platform policy.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@763 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-05 06:22:06 +00:00
jwang36 c64af698a3 added specific PP definition for EBC because of previous BuildMacro.xml changes
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@762 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-05 05:49:33 +00:00
jwang36 cfa5a9c5d1 fixed GCC build issues
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@759 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-05 05:22:26 +00:00
qouyang 25832ed337 Fix autogen bug:[Edk67][Edk35].
Add "/FI" to "PP" option in EdkModulePkg-All-Archs.fpd.
Modify BuildMacro.xml changing "S" for IPF assembler.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@746 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-04 13:44:18 +00:00
jwang36 0d2001d31d added back of preprocessing of asm files
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@743 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-04 12:14:02 +00:00
lgao4 f4b38a99c7 Update tools definition
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@741 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-04 12:12:06 +00:00
lgao4 7d1142bfea Add ASL and ASMLINK tool definition in this file
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@739 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-04 10:46:31 +00:00
jwang36 d8cf03df4b commented out GCC definitions temporarily
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@738 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-04 08:14:02 +00:00
jwang36 4507889e12 added GCC tools definitions
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@735 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-04 06:13:13 +00:00
jwang36 02ef8e572d restored the file name and path of assembly file
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@730 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-04 03:57:08 +00:00
jwang36 808323923f commented out the preprocessing of asm files, it will cause error on normal asm file
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@728 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-04 03:55:24 +00:00
lgao4 46dde08c47 Add to the rules to generate TE section
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@727 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-04 03:09:01 +00:00
jwang36 c44794ef22 added asm file preprocess in <Build_Assembly> macro
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@726 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-04 02:51:07 +00:00
lhauch 9ae9341aa3 Added a line to create a target.txt if one does not exist, based on the target.template file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@723 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-04 00:40:35 +00:00
qwang12 bb5545b663 Add PcdDxe and PcdPEIM to all-arch for EdkModulePkg-All-Archs.fpd
Fix a few bugs in PcdDxe and PcdPEIM


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@722 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-03 15:40:49 +00:00
wuyizhong a2d0e90908 Add build macro to generate section type TE.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@719 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-03 05:22:59 +00:00
jwang36 71c60882e9 changed the default path for EBC tool
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@702 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-30 20:42:23 +00:00
qouyang ff34e632aa For new tools
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@699 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-30 20:24:01 +00:00
jwang36 e1459606bd re-added
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@694 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-30 20:05:49 +00:00
qouyang 136adffc5c New tool.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@692 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-30 19:56:10 +00:00
jwang36 1ea046d4c4 deleted all obsoleted configuration files
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@691 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-30 19:37:55 +00:00
jwang36 5e256110ac added all supported platforms
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@690 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-30 19:33:28 +00:00
wuyizhong 5fc17c922b Change to new XML Schema.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@681 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-30 17:56:20 +00:00
klu2 567df6937d Fix a bug for regular expression using wrong module's file name which contains '\'.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@633 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-26 17:36:46 +00:00
qwang12 58f1099f3d 1) remove some dead code from WinNtBusDriver.c
2) change PCD_INVALID_TOKEN_NUMBER to 0 as stipulated in MWG spec and PCD spec.
3) support returning a Default Value when a read failure by variable service for PCD entry with Variable Enabled.
4) Remove a lot of unreferenced JAVA import from CollectPCDAction.java, PCDAutoGenAction.java, MemoryDatabaseManager.java, Token.java and UsageInstance.java.
5) Opimized to merge elements in all tables in PCD database for make the code compact.
6) Did a tighter check on how dynamic PCD entry is referenced in each module.
7) Update the PCD driver/PEIM and PCD database generation verion to 2.



git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@605 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-23 04:30:23 +00:00
bbahnsen 975201130c Use capital S for GCC assembly. This enables pre-processing for PCD support.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@576 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-20 21:50:44 +00:00
bxing fe3262a335 Updated task GenEfi to support SEC component type.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@524 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-15 10:23:48 +00:00
bxing 0fd9e1370f Added a new source file type "x86_asm_autogen" to allow assembly source to use macros defined in AutoGen.h
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@483 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-12 11:14:21 +00:00
lhauch 401693ff43 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!
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@473 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-10 20:29:18 +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
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
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
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 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
bbahnsen f06ffac4dc Lean the slashed forward.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@374 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-01 19:03:19 +00:00
jwang36 8b41e66e1e - added process to generate *local.lib and let the .dll be generated from it other than the .obj files directly.
- added <copy> task to GenEfi macro to copy generated .efi file to the same directory as .dll file


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@366 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-01 14:46:11 +00:00
bbahnsen 2c09aabe82 Use 2 byte chars with gcc to match how windows does unicode.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@359 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-31 22:27:34 +00:00
lhauch 180527dff7 Removing tools_def.txt
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@357 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-31 16:43:43 +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
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
qwang12 8b29c893b1 Add sample code for PCD Database generation. These 3 files will be read by GenBuild tool and it is generated in the Head and Source file of PCD Service PEIM/Dxe Driver.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@251 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-24 08:11:21 +00:00
lhauch 2558d455a5 Updated Schema for PcdDynamicBuildDeclarations and FrameworkDatabase adding optional elements and attributes to match new XMLSchema
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@194 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-18 09:29:36 +00:00
yshang1 d86af59585 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@174 6f19259b-4bc3-4df7-8a09-765794883524 2006-05-16 11:17:21 +00:00
mdkinney 7c28d0e095 Fix MASM build break
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@155 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-14 23:25:10 +00:00
mdkinney 64fe104864 Make sure path to 16-bit MASM is set
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@145 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-12 23:18:38 +00:00
bbahnsen 4e6661a865 Remove the workspace reference.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@98 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-03 22:23:55 +00:00