Commit Graph

131 Commits

Author SHA1 Message Date
vanjeff 61249ae523 Merger DriverBinding and ComponentName into one <extern> section for all *.msa files
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1585 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-21 05:25:07 +00:00
mdkinney 495849b7cf Add PCD Feature Flags for the Device Path Module
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1573 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-19 19:14:50 +00:00
jwang36 d946661a82 1) Added dependency check for flashmap, genfvimage, peirebase tasks
2) Added code in FpdParserTask.java to avoid re-generate FV.inf file
3) Added isEmpty() to ToolArg class to check if an argument is empty or not

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1556 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-19 05:55:19 +00:00
lgao4 0992e55989 changed EdkModulePkg GUID from the original B6EC423C-21D2-490D-85C6-DD5864EAA674 to new 68169ab0-d41b-4009-9060-292c253ac43d to avoid its conflict with gPeiBaseMemoryTestPpiGuid and change all msa and fpd file in EdkII, which depends on EdkModulePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1552 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-18 11:32:31 +00:00
vanjeff 7f47bef3d8 added EFIAPI for those constructor functions
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1548 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-18 02:44:41 +00:00
qwang12 0f008d9ad4 Remove platform-specific Firmware Volume Block Driver implementation from EdkNt32Pkg. And move files from nt32 directory up one level.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1540 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-14 14:18:20 +00:00
lgao4 8cc59d2c51 Move the generic ConPlatform module from EdkNt32Pkg to EdkModulePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1524 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-13 05:03:05 +00:00
lgao4 b0e15cb260 clean up PCD settting for EdkModulePkg.fpd and EdkNt32Pkg.fpd
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1503 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-08 11:41:47 +00:00
lgao4 8cf2c0a7d7 Change PcdDebugPrintErrorLevel PCD declare in msa as DYNAMIC, because this PCD type can be
FIXED_AT_BUILD and PATCHABLE_IN_MODULE.
Change Some WINNT PCDs type declared in EdkNt32Pkg.spd as DYNAMIC, because they is used in Nt32 emluator platform as DYNAMIC type.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1494 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-07 08:24:27 +00:00
lgao4 2f3fb65dd1 Set MdePkg.fpd, EdkModulePkg.fpd and Nt32.fpd default build directory to workspace root build directory according to Jordon's suggestions.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1486 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-06 09:56:16 +00:00
yshang1 738338d83e Remove unused code.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1479 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-06 07:38:07 +00:00
lgao4 4100d1493e Update Binary Fat module to release version for reduce size.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1477 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-06 07:07:07 +00:00
lgao4 aa64626987 Add clean and cleanall target for Fat and Logo customized build xml.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1468 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-05 13:52:58 +00:00
wuyizhong 50017606db Add one more platform level common property "TARGET_DIR". Take Nt32 for example: TARGET_DIR=${BUILD_DIR}/${TARGET}_${TAGNAME}
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1456 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-05 06:27:16 +00:00
lgao4 42ef7fcd1a Add the following Pcds declaration in EdkModulePkg.spd file. EdkModulePkg PeiVariable, RuntimeDxeVariabe, and Ftw module needs these PCDs.
PcdFlashNvStorageVariableBase
PcdFlashNvStorageVariableSize
PcdFlashNvStorageFtwSpareBase
PcdFlashNvStorageFtwSpareSize
PcdFlashNvStorageFtwWorkingBase
PcdFlashNvStorageFtwWorkingSize

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1454 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-05 06:20:21 +00:00
yshang1 c84c226d0d Update coding style of Nt32OemHookStatusCodeLib.c
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1446 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-05 02:39:09 +00:00
yshang1 c8557554ef git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1425 6f19259b-4bc3-4df7-8a09-765794883524 2006-09-01 09:10:03 +00:00
yshang1 be800da989 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1424 6f19259b-4bc3-4df7-8a09-765794883524 2006-09-01 09:07:37 +00:00
qwang12 34a94e468c Add in PCD instantiation for newly added PCD in PcdPEIM.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1413 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-31 01:43:06 +00:00
wuyizhong bf3a7173e3 Introduce a new property INCLUDE_PATHS. This property can used by customized build file. For example <includepath path="${INCLUDE_PATHS}"/>. INCLUDE_PATHS contains all required include paths based on MSA file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1347 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-22 05:54:55 +00:00
wuyizhong 4436ffdcd9 According r1311 can't support linux. So rollback the change, but still remove the flag "/DSTRING_DEFINES_FILE=\"${BASE_NAME}StrDefs.h\"" since without any source file use it now.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1330 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-21 06:03:55 +00:00
klu2 ca844f3623 Continue to fix EDKT187.
After discussion with ouyang, qian and shi, carl, we find it is no necessary to add PcdLib according to whether library instance use PcdLib.
In this patch. I remove original fixing and correct some MSA file.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1315 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-17 16:23:46 +00:00
klu2 054c4bbcba Fix the wrong datum size for PcdWinNtPhysicalDisk in Nt32.fpd file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1313 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-17 15:27:32 +00:00
wuyizhong 35a9542410 Remove #include STRING_DEFINES_FILE from C file. Using ForceInclude to include ${BASE_NAME}StrDefs.h header file. Remove flag /DSTRING_DEFINED_FILE=${BASE_NAME}StrDefs.h. Move flags /DSTRING_ARRAY_NAME=${BASE_NAME}Strings from FPDs to BuildMacro since this flag will be used only unicode files exist.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1311 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-17 09:45:22 +00:00
klu2 eefb8b0559 Fix
1) the PCD value for PcdWinNtFileSystem in Nt32.fpd file,
2) help text for PcdWinNtVirtualDisk in EdkNt32Pkg.spd
3) the value for PcdWinNtPhysicalDisk in Nt32.fpd file.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1309 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-17 08:21:14 +00:00
wuyizhong 2f62848a85 Adjust Nt32 SecMain user-defined build file to use OBJECTS.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1268 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-15 06:12:41 +00:00
qhuang8 04c40e04a9 Change Fat binary Guid to EnhancedFat
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1266 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-15 04:58:27 +00:00
xgu3 4224ac2087 Fix BDS boot from file . and .. fail assertion
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1237 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-10 12:53:55 +00:00
xgu3 202c5d55e5 Modify FtwLite and Variable DXE driver to use PCD instead of FlashMap HOB
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1236 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-10 12:28:02 +00:00
qwang12 dd70a8c4e6 Variable PEIM use to PCD entry to get the base address of NV Storegae region.
This patch changes:

1) make the PcdFlashNvStorageVariableBase PCD entry type in Variable PEIM to be "DYNAMIC", which means it can be flexible to be FIX_AT_BUILD, DYNAMIC or PATCH_IN_MODULE.
2) make FlashMap depends on PCD_PPI
3) make FlashMap PEIM to the value of PcdFlashNvStorageVariableBase according NT emulator's FwhPPI installed by NT32 emulator's SEC.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1223 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-09 05:09:30 +00:00
klu2 4b8a7ba9c5 Some library instance's PCD is missing in FPD file for a module, it break single module's building.
Fixing is add these PCDs for module.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1215 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-08 15:34:08 +00:00
klu2 64e0af09a6 Because the run script will be generated in building, So original run.cmd could be removed from repository's.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1148 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-29 03:56:33 +00:00
qhuang8 ffac4bcb25 Check in patch to refine DevicePath Module and USB2HostController Module.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1117 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-27 08:50:08 +00:00
ajfish 2ce311322c Removed cross references from PciCf8Lib and PciExpressLib class to PciLib class.
Added PeCoffLoaderGetMachineType to the PeCoffGetEntryPointLibrary Class. Document to be updated.

Added the PeCoffLoaderImageReadFromMemory() and PeCoffLoaderRelocateImageForRuntime () to the PcCoffLib. 

Updated EfiImage.h and removed EFI_IMAGE_OPTIONAL_HEADER and EFI_IMAGE_NT_HEADERS as they were replaced with checking the MachineType.

PeCoffLib – Added checks for MachineType so the PeCoff lib can load any PE32 or PE32+ image. The relocations are still limited to IA32, X64, IPF, and EBC. I also added a re-relocator function to remove PeLoader Code from Runtime Lib. Even though there is only one instance of the re-relocator I wanted to get all the PeCoff loader code together.

Replaced DEBUG_CODE() macro with DEBUG_CODE_START() and DEBUG_CODE_END() so you can debug through the DEBUG_CODE() macros. Also removed PE/COFF code and replaced with library usage.

I also updated the IO Instrinsic lib to use _ReadWriteBarrior() to help with sync problems

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1103 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-26 15:23:35 +00:00
yshang1 161c26a7aa Change license of following files from Intel Copy Right to BSD-license.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1086 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-24 11:53:34 +00:00
xgu3 5dd2d779dd git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1082 6f19259b-4bc3-4df7-8a09-765794883524 2006-07-24 08:44:40 +00:00
yshang1 b0a3b7453d 1) Check in Pei/Dxe status code;
2) OemHookStatusCodeLib and SerialPortLib class and null instance;
3) Remove all referenced code from EdkModulePkg,EdkNt32Pkg.
4) Add Nt32OemHookStatusCodeLib.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1070 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-21 14:28:21 +00:00
yshang1 9fbf943fc1 1) Check in Pei/Dxe status code;
2) OemHookStatusCodeLib and SerialPortLib class and null instance;
3) Remove all referenced code from EdkModulePkg,EdkNt32Pkg.
4) Add Nt32OemHookStatusCodeLib.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1069 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-21 14:28:01 +00:00
yshang1 ba53dd4a1a 1) Check in Pei/Dxe status code;
2) OemHookStatusCodeLib and SerialPortLib class and null instance;
3) Remove all referenced code from EdkModulePkg,EdkNt32Pkg.
4) Add Nt32OemHookStatusCodeLib.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1068 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-21 14:27:43 +00:00
yshang1 16303d1198 Change DxeRuntimeDriverLib name to UefiRuntimeLib.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1062 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-21 03:43:30 +00:00
qouyang 549af2d6a9 Add ant task in <UserExtension> of Nt32.fpd to generate the run.cmd file automatically.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1059 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-21 03:22:25 +00:00
yshi8 ae96dba2bf Changed the tool chain name from MSFT to MYTOOLS
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1044 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-19 08:49:10 +00:00
ljin6 562d28495d Add DevicePathUtilities DevicePathToText DevciePathFromText USB2HostController protocols
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1037 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-18 04:13:40 +00:00
klu2 1375097977 Remove MdePkg's PCD declaration from EdkNt32Pkg.spd file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@992 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-13 18:09:07 +00:00
jwang36 5e1c3eedcd Added license & copyright declaration
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@967 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-13 08:24:50 +00:00
jwang36 738e75b619 Added all header files in the packages's include directory into spd files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@955 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-13 06:11:42 +00:00
jwang36 3fc9d866c4 Enforced case-sensitive on the file names;
Corrected file and/or path names in some msa files.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@949 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-13 05:21:14 +00:00
lgao4 6604a171e4 Remove AprioriList.msa file
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@941 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-13 02:23:52 +00:00
klu2 970af4d360 Roll back my original change, someone check in self's code lead my before's check in lost.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@940 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-13 02:17:22 +00:00
lgao4 e42dab898f Add missing files(uni) in this msa
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@933 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-13 00:31:45 +00:00