Commit Graph

80 Commits

Author SHA1 Message Date
jwang36 e3cc406130 - Fixed EDKT240. Now the Blank.pad file for alignment purpose will no longer be needed.
- Fixed EDKT366. For NT32, using "build run" to launch the NT32 emulator. The run.cmd is still be generated in the ${TARGET_DIR}

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2305 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-25 01:25:02 +00:00
wuyizhong 72b695f33b Migrate GOP driver from R8.6 for NT32. Add a new PCD "PcdWinNtGop". Setting NT32 platform using GOP driver instead of UGA driver.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2137 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-26 02:26:02 +00:00
qwang12 7736526c9e 1) Use FeatureFlag PcdPciBusHotplugDeviceSupport to merge LightPciLib.c with PcdLib.c.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2095 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-13 07:03:04 +00:00
qhuang8 477b82766f update fpd to add PcdDxeIplBuildShareCodeHobs.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2028 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-28 08:03:15 +00:00
yshang1 f2d16cde5a Fix bug to support Nt32Pkg source level debug.
MS-LINK would not generate .edata section with /SUBSYSTEM:Extensible Firmware Interface option, so NtPeCoffLoader can not retrieve driver entry by GetProcAddress().

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2020 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-27 10:55:23 +00:00
qhuang8 78671f585c Update DxeIplPeim setting.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2019 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-27 10:14:28 +00:00
gtian 3673b8bf33 Add IPF support in Base IO Lib, and related change in fpd file
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1952 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-14 09:34:30 +00:00
vanjeff 885dc4d85a rename PcdGenericPlatformBusSpeed to PcdFSBClock to avoid confusing.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1940 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-13 09:27:49 +00:00
vanjeff 8569244ed1 1. Rename PcdPlatformBusSpeed to PcdGenericPlatformBusSpeed
2. Added PcdComponentNameDisable and PcdDriverDiagnosticsDisable for UefiDriverModuleLib

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1936 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-13 07:11:58 +00:00
vanjeff b219108e51 added PcdPlatformBusSpeed for BaseTimerLibLocalApic, thus this timer instance needn't depend on types of CPUs
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1909 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-07 08:43:22 +00:00
cwu11 1df07b635e Add pcd declaration to EdkModulePkg and Nt32Pkg to fix the check-in break.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1905 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-06 09:51:33 +00:00
lgao4 dea981755a Change Binary Fat module from fat.ffs to fat.efi
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1872 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-31 06:23:51 +00:00
qhuang8 35b309d6a9 Make NT32 SecMain not depend on ReportStatusCodeLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1818 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-23 01:46:32 +00:00
ajfish 92ea7f231b Updated the Runtime Driver to use the MDE libs for cache flush and removed local copy of Cache flush code. Updated FPD files that include Runtime driver as a new lib was added to Runtime Driver for the cache flush. Removed Cache Flush routine from EDK DXE SAL Lib.
Cleaned up BaseLib IPF cache routines to only Flush ranges when needed and not to flush the entire cache. 

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1811 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-22 07:32:16 +00:00
wuyizhong 22fe73195e Update build options format from "ABC", "XYZ" to ABC XYZ.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1791 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-18 08:25:13 +00:00
wuyizhong d61237595f Make Logo build following standard build process instead of customize build.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1750 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-16 06:05:46 +00:00
klu2 a416984c5c Add Nt32TimeLibNull library instance for Nt32 platform. It is used by PeiMain module for computing performance counter.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1741 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-13 07:58:14 +00:00
jwang36 24da1045f6 Fixed build break caused by GetPerformanceCounter() in PeiMain module
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1707 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-10 14:35:55 +00:00
mdkinney dab8ae8c5c Add support for DEBUG and RELEASE builds of this FPD file.
Remove all FLAG settings from this FPD file.  This functionality has moved into tools_def.txt



git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1664 6f19259b-4bc3-4df7-8a09-765794883524
2006-10-04 23:10:50 +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
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
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
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 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 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
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 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
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
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
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
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
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
lgao4 69ce08bf0a Add missing files in msa file and add module description in msa file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@929 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-12 23:44:13 +00:00
jwang36 c06913ffea Changed FAT source module to FAT binary module
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@915 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-12 12:35:00 +00:00
qwang12 67513de537 Correct the token number for PcdDxePcdDatabaseTraverseEnabled
Remove PcdMaxPeiPcdCallBackNumberPerPcdEntry in PcdCoded section in Dxe/Pcd.msa as it is not used in the code.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@872 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-11 07:37:20 +00:00
klu2 ae3f0d5885 Fix the bug that SecMain often throw exception when environment variable too large. It caused by using /DEBUG in link options but not link "MSVCRTD.lib" library.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@870 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-11 07:01:36 +00:00
klu2 9ffc622e79 FD file should only generated in build time but not in run.cmd. Fix it.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@867 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-11 02:20:13 +00:00
klu2 e7e79c584e Roll back the PCD PcdWinNtFirmwareVolume value from "..\\FV\\FV_RECOVERY.fd" to "..\\..\\FV\\FV_RECOVERY.fd" for avoiding the issue that secmain.exe run failure when the length of PATH environment exceed 1280 character.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@861 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-10 09:00:33 +00:00
qwang12 4f914125e8 Add Feature Flag PcdDxePcdDatabaseTraverseEnabled and PcdPeiPcdDatabaseTraverseEnabled
Add Pcd DXE driver and PEIM to all supported ARCH in EdkModulePkg-All-Archs.fpd

Make Pcd DXE driver and PEIM compilable under EBC, IPF, X64

Fixed a few other bugs.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@838 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-08 14:37:30 +00:00