Commit Graph

57 Commits

Author SHA1 Message Date
qhuang8 8c395f7b13 Introduce a new Guid with CName gEfiGenericPlatformVariableGuid to pair with those Unicode String names, which are forbidden to pair with gEfiGlobalVariableGuid according to newest Uefi Spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2144 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-28 05:16:05 +00:00
qwang12 6874dbd0e2 1) Use FeatureFlag PcdPciBusHotplugDeviceSupport to merge LightPciLib.c with PcdLib.c.
2) Correct some minor bugs: when invoking gRT->GetVariable the Attributes field can be optianal.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2090 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-13 03:11:47 +00:00
lgao4 4afc6a7bf2 (1) Using EfiCompress in place of TianoCompress as EFI_STANDARD_COMPRESSION type to conform to spec.
(2) Remove unused library class EdkPeCoffLoaderX64Lib and library instance EdkPeCoffLoaderX64Lib, because current BasePeCoffLib can supports IA32, EBC,
  & X64 images all.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2069 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-07 11:32:26 +00:00
mdkinney f1cd55fe24 Add DxeDebugLibSerialPort that provides a debug library that layers directly on top of a serial port
Add an EdkDxeRuntimeSalLib that provide a SalLib that is safe for runtime use.  The EdkDxeSalLib is now a boot service only lib.
Move the registration and processing of ExitBootServicesEvents() from the RuntimeLib to the UEFI DriverEntryPointLib in the MdePkg.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2057 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-06 05:17:50 +00:00
mdkinney 22613d6e71 Update the EmuVariable and Variable modules to have a ModuleType of DXE_SAL_DRIVER for IPF builds.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2045 6f19259b-4bc3-4df7-8a09-765794883524
2006-12-01 22:08:32 +00:00
qhuang8 657d3918fe • Set the default value of PcdDxeIplSwitchToLongMode to TRUE.
•	Make access to PcdDxeIplSwitchToLongMode to Ia32 specific code.
•	Introduce another feature flag named PcdDxeIplBuildShareCodeHobs to define whether to build hobs to DXE core to share code.
•	Remove the #progma bug 

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2026 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-28 07:59:59 +00:00
qhuang8 abb26634f2 Introduce PcdDxeIplSwitchToLongMode to DxeIplPeim and remove DxeIplX64Peim.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2018 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-27 10:14:02 +00:00
mdkinney d9bccce90d Declare GUIDs for all Extended SAL Services
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1978 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-18 05:04:27 +00:00
cwu11 3681d193ed This check-in fixed the following bugs:
1.	Pci22.h EFI_LEGACY_EXPANSION_ROM_HEADER definition error
(MdePkg\Include\IndustryStandard\Pci22.h; Tools\CCode\Source\Include\IndustryStandard\Pci22.h)
2.	SetVariable() with DataSize=0xffffffff will cause system hang
(EdkModulePkg\Universal\Variable\RuntimeDxe\Variable.c)
3.	Windows XP Pro & XP HOME Fails to Install from Retail CD
(EdkModulePkg\Bus\Pci\Pcibus\Dxe\PciResourceSupport.c)
4.	Pci22.h header file needs to add some recent type
(MdePkg\Include\IndustryStandard\Pci22.h; Tools\CCode\Source\Include\IndustryStandard\Pci22.h)
5.	Fix issues when ODD cannot boot from Sil0680 PCI-IDE controller
(EdkModulePkg\Bus\Pci\PciBus\Dxe\PciOptionromSupport.c;
EdkModulePkg\Bus\Pci\PciBus\Dxe\PciBus.msa;
EdkModulePkg\ EdkModulePkg.spd)


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1900 6f19259b-4bc3-4df7-8a09-765794883524
2006-11-06 04:20:32 +00:00
mdkinney af118a862d Declare PCD Feature flags for protocols produced by the Device Path Module and decompression methods supported by the DXE IPL
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1570 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-19 19:11:53 +00:00
lgao4 62f8431554 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@1551 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-18 11:31:20 +00:00
lgao4 fc198a79e0 Move ConPlatform module from EdkNT32 package to EdkModulePkg, and remove EdkPeCoffLoaderX64Lib from DxeIplX64 module because EdkPeCoffLoaderLib based on new BasePeCoffLib can support 32bit and 64bit PE iamge both.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1523 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-13 05:02:30 +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 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 36dbf7f648 Follow up EDKT235
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1419 6f19259b-4bc3-4df7-8a09-765794883524
2006-09-01 06:09:37 +00:00
qwang12 f89f5802f8 Add in feature flag PcdPeiPcdDatabaseSetEnabled, PcdPeiPcdDatabaseGetSizeEnabled, PcdPeiPcdDatabaseCallbackOnSetEnabled, PcdPeiPcdDatabaseExEnabled to allow user to customize Pcd service PEIM. It is very curical to save size in PEI phase.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1408 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-30 09:11:34 +00:00
qhuang8 6ffd3b0cd2 Add a Pcd to define the maximum number of performance log entries during PEI phase.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1398 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-29 01:52:19 +00:00
lgao4 e2c390b3a2 Remove SecurityPolicy.h from EdkModulePkg, because this protocol has been defined in MdePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1203 6f19259b-4bc3-4df7-8a09-765794883524
2006-08-07 09:41:17 +00:00
qwang12 563671d4d7 EFI_FAULT_TOLERANT_WORKING_BLOCK_HEADER is defined wrongly. It should be the same with what is written down in FTW specification.
And WriteQueueSize should be defined UINT32 to make it the same width in 32 or 64-bits system.

Added two PCD entry: PcdFlashFvBaseArray and PcdFlashFvBaseArrayElementNumber

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1151 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-30 07:40:03 +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 a8bcbf3d11 Fix bug which define different PCD with same token number in EdkModulePkg.spd.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1080 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-24 08:02:55 +00:00
yshang1 56836fe92b 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@1067 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-21 14:25:43 +00:00
yshang1 3e48a1925b Change DxeRuntimeDriverLib name to UefiRuntimeLib.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1061 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-21 03:42:54 +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
lhauch 4aca4e8213 Removed the MdePkg Pcd Declarations which should only be specified in the MdePkg.spd file
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@989 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-13 13:12:06 +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
lgao4 7e89358a58 Remove EdkPeCoffLoaderLibX64 library from EdkModulePkg
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@931 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-13 00:01:16 +00:00
lgao4 5343eab11a Add missing files in msa file and add module description in msa file, and reorganize DriverSample and DxeIplX64 module directory.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@927 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-12 23:38:53 +00:00
qhuang8 1fe4ef1bd8 1. Updated some files’ description files in MdePkg, EdkModulePkg & EdkNt32Pkg.
2.	Update .msa files to add some missing files files in MdePkg 
3.	Add Help text to Mde Library related PCDs.
4.	Fix some bugs in CpuId.S and CpuIdEx.S.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@919 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-12 14:15:40 +00:00
alfred abf537ea15 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@905 6f19259b-4bc3-4df7-8a09-765794883524 2006-07-12 10:24:36 +00:00
klu2 c79c3f30d6 Fix remainning capsule PCD's <HelpText>.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@892 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-12 07:35:12 +00:00
klu2 f7ba355582 Fix the <HelpText> for PCD used by EdkNt32Pkg and EdkModulePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@891 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-12 07:33:02 +00:00
lgao4 5094fb09f8 Add necessary files (such as *.h) in module msa and remove unused msa files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@882 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-11 15:00:30 +00:00
qhuang8 5b1b9d8bf4 1. BaseSmbusLib: Make SmbusReadDataByte() & SmbusWriteBlock() function well by re-arranging register settings.
2. BaseMemoryLibMmx for X64: Make CopyMem() be reentrant by saving Mm0 to r10.
	3. DxeCorePerformanceLib: Fix some typo to save build error of that library instance.
	4. Remove the orphanage definition of gEfiPerformanceProtocolGuid


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@859 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-10 08:41:58 +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
klu2 c1d69edb83 Fix all <TokenSpaceGuidCName> in all SPD file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@817 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-07 06:32:06 +00:00
davidhuang 0e0e9d3d98 Fix the TokenSpaceGuidCName entry of PcdSupportUpdateCapsuleRest/PcdMaxSizePopulateCapsule/PcdMaxSizeNonPopulateCapsule
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@809 6f19259b-4bc3-4df7-8a09-765794883524
2006-07-07 01:00:38 +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
lgao4 36122070ec git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@784 6f19259b-4bc3-4df7-8a09-765794883524 2006-07-06 04:02:57 +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 b062dd1490 For new Tool.
Remove some unused Protocol, Guid, ppi which defined in MSA but don't find in SPD

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@693 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-30 20:02:20 +00:00
jwang36 1f86f0814a converted all surface area description files to new schema
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@689 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-30 19:29:21 +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
qhuang8 4ba61e5e2a 1. UINTN & INTN issue for EBC architecture:
The MAX_BIT of EBC will no longer be fixed to bit 63. It is defined as (1ULL << (sizeof (INTN) * 8 - 1)).
	Make EdkModulePkg & MdePkg EBC compiler clean: treat all EFI_STATUS error code as variable.
2. PrintLib
	Complete all missing ASSERT()s.
	Fix “\n” & “%\n” issue thanks to the clarification of MWG 0.56d.
	Adjust StatusString array to support EBC build.
3. BaseMemoryLib
	Adjust ASSERT () & function header of ComparaMem, SetMemXX, ScanMemXX to synchronize with MWG 0.56d.
4.SmbusLib
	Change Pec bit to bit 22 SmBusAddress to synchronize MWG 0.56d.
	Add ASSERT()s to check if length is illegal for SmBusBlockWrite() & SmBusProcessBlock() since it is 6 bit now.
5. PerformanceLib
	Rename “EdkDxePerformanceLib” & “EdkPeiPerformanceLib” to “DxePerformanceLib” & “PeiPerformanceLib” respectively.
	Synchronize the function header of GetPerformanceMeasurement() with MWG 0.56d.
6. BasePeCoffLoaderLib.
	Make PeCoffLoaderLoadImage () Assert() if ImageContext is NULL>
	Make PeCoffLoaderLoadImage () return RETURN_INVALID_PARAMETER if the ImageAddress in ImageContext is 0.
	Adjust some coding style.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@593 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-22 06:08:00 +00:00
klu2 ec76345829 Modify PCD declaration according to new schema.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@583 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-21 09:16:41 +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