Commit Graph

95 Commits

Author SHA1 Message Date
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
lgao4 e0c1010fba Fix PCD WinNTFirmwareVolume Value from "..\\..\\FV\\FV_RECVOERY.fd" to "..\\FV\\FV_RECVOERY.fd"
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@825 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-07 12:12:06 +00:00
davidhuang 045f4521f2 1)Add a new module CapsuleRuntime under EdkModulePkg\Universal\Capsule\RuntimeDxe.And add the module into Nt32.fpd
2)Modify the related files to fit for the runtime services UpdateCapsule/QueryCapsuleCapabilities defined in UEFI2.0 spec
3)Modify the related files to fit for the runtime services QueryVariableInfo defined in UEFI2.0 spec

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@790 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-06 06:42:48 +00:00
lhauch d6ac6b76a8 Removed Optional Ffs Sections as it was not being used. Changed UserId in UserExtensions from Fix_Me to TianoCore
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@785 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-06 04:05:04 +00:00
wuyizhong e1347472b7 Fix a minor issue.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@770 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-05 12:26:30 +00:00
wuyizhong 8031d48db3 Support UserExtension in FPD.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@769 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-05 12:06:06 +00:00
klu2 8d82d61173 Support putting unreference DYNAMIC_EX PCD into Pcd runtime database.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@761 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-05 05:28:48 +00:00
qhuang8 add13dc217 DebugLib:
Fix a bug in PeiDxeDebugLibReportStatusCode: it should use gReportStatusCodeDebugType so that report status code infrastructure can correctly extract debug info.
	Fix functional and coding style issues in the three instances in EdkModulePkg, namely: EdkDxeDebugLibReportStatusCode, EdkUefiDebugLibStderr, EdkUefiDebugLibConout.
	DevicePathLib:
	Sync with MWG 0.57 and add new interface of CreateDevicePathNode(). All the function headers have been updated.
	PeiServicesLib:
	Adjust coding style and fix a minor comment error.
	PciLib:
	Adjust assert() condition to sync with MWG 0.57
	BaseMemoryLib:
	Adjust assert() for ScanMemXX (), ScanGuid()
	Rename UefiMemoryLib to DxeMemoryLib
	PrintLib:
	Change the return value of all print services to exclude the NULL-terminator.
	Misc:
	Slightly adjust the coding style in hob.c in PeiCore module.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@757 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-05 04:17:04 +00:00
jwang36 525c51880f Added "/FI", "-include" and/or "/nologo" options to PP (CC) command option to fpd files. These changes are used to accommodate the preprocessing added for assembly code as a general processing step.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@749 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-04 16:28:26 +00:00
qwang12 1058e50bf6 remove unused PCD entry in EdkNt32Pkg Package.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@725 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-04 01:58:01 +00:00
klu2 f072578654 1, Add Guid declaration into EdkModulePkg.spd, EdkNt32Pkg.spd and MdePkg.spd file
2, Correct Guid CName field for all PCDs in EdkModule.pkg, EdkModulePkg-All-Archs.fpd, Nt32.fpd, Mde.fpd, MdePkg-All-Archs.fpd

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@706 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-01 06:43:26 +00:00
jwang36 5b2a7957d9 removed unnecessary name space declarations in some top level elements
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@700 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-30 20:31:48 +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
wuyizhong 2d52720093 Change NT32 to new XML Schema.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@678 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-30 17:51:10 +00:00
lgao4 9040f3054f Remove DiskIoPartition and old Emu, adjust MonoStatusCode in EdkNt32Pkg
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@668 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-30 04:47:43 +00:00
klu2 e88ea4239b The main trunk of tip is broken by Scott's removing of PcdPeimTest driver, but forget remove it from EdkModulePkg.spd and <FrameworkModules> in Nt32.fpd. I have fixed it.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@615 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-23 13:17:53 +00:00
klu2 f7c3054530 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@592 6f19259b-4bc3-4df7-8a09-765794883524 2006-06-22 05:46:21 +00:00
klu2 6f7e61a03a Add many datum and datum size checking in PCD building tools, These checking work will be moved to FPD verification tools or UI tools in future.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@528 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-15 14:41:28 +00:00
klu2 21e9050f03 Add <TokenSpaceGuid> for all PCD entry in FPD file
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@506 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-14 02:35:56 +00:00
klu2 7db4ab705a 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.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@497 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-13 09:40:16 +00:00
klu2 6ff7a41cb8 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.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@481 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-12 07:57:04 +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 8840ad589e 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.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@415 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-04 10:00:41 +00:00
lhauch e660116bb3 Updated Header information, added Guid, Version Specification, removed createdBy
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@413 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-04 06:13:43 +00:00
mdkinney 7793bfc31e Update PCD entries for NT32 to generate breakpoints when an ASSERT() condition fires
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@409 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-03 21:52:33 +00:00
klu2 9f3a4be8ab Modify fpd file according to transition schema. Before PCD tools updated, all information in fpd file should be correct.
1) Add <FrameworkModules> element in FPD
2) Add all PCD entried for all modules in <FrameworkModules>



git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@364 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-01 09:50:37 +00:00
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
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
klu2 d52f141b5f Add <PcdBuildDescription> into every <ModuleSa>:<Component> according to future schema.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@240 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-23 04:24:19 +00:00
bbahnsen cfb190d9f4 Remove the PACKAGE attribute to sync with latest schema.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@125 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-10 16:13:02 +00:00
bbahnsen 878ddf1fc3 Initial import.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3 6f19259b-4bc3-4df7-8a09-765794883524
2006-04-21 22:54:32 +00:00