Commit Graph

270 Commits

Author SHA1 Message Date
lgao4 96f6af14d6 Remove the special logic on EFI_PCI_DEVICE_ENABLE in PciBus driver. And update drivers that use this macro. The reason is that
PciIoAttributes() in PciIo.c treats EFI_PCI_DEVICE_ENABLE specially so that when EFI_PCI_DEVICE_ENABLE is passed in, only the supported bits of driver will be enabled. Now many drivers use EFI_PCI_DEVICE_ENABLE to enable PCI device even if some of them don't support some of the attributes like EFI_PCI_IO_ATTRIBUTE_MEMORY. This doesn't conform to UEFI 2.0 spec.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4115 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-15 07:44:27 +00:00
lgao4 76bb6efe95 Merge EDK tracker 892 to EDK II.
892 Internal Shell sometimes can't boot when boot option is not enumerated

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4112 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-15 02:41:00 +00:00
lgao4 2ad4dad029 1. Update internal EfiPrint protocol to contain all print interfaces provided by PrintLib class of MdePkg. 2. Update SetupBrowserDxe driver to produce new EfiPrint protocol.
3. Update EdkDxePrintLib instance to implement all interfaces defined in PrintLib class based on new EfiPrint protocol.
4. Update Nt32Pkg platform.dsc to use EdkDxePrintLib instance for UEFI_APPLICATION modules.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4109 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-12 08:13:33 +00:00
qhuang8 d1aeb0bdc3 Add compiler hint of "GLOBAL_REMOVE_IF_UNREFERENCED" to prevent static unicode string table linked into final image if both PcdComponentNameDisabled and PcdComponentName2Disabled are set to TRUE.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4084 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-11 03:36:31 +00:00
lgao4 1ce69023d6 Add release compiler option support.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4072 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-10 03:59:37 +00:00
lgao4 952261d5ef Use VirtualAlloc() to allocate enough memory space for Nt32 emulator in place of original mapped file to memory space.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4068 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-10 02:13:43 +00:00
jwang36 042400ab9e Cleaned the code for passing Visual Studio 2005 build
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4063 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-09 09:31:07 +00:00
lgao4 d173d9c761 Correct ExtractGuidedSectionLib library instance for PEIM and DXE
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4058 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-09 07:54:34 +00:00
qhuang8 1307dcd745 Add compiler hint of "GLOBAL_REMOVE_IF_UNREFERENCED" to prevent component name structures linked into final image if PcdComponentNameDisabled or PcdComponentName2Disabled is set to TRUE.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4057 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-09 07:08:08 +00:00
qhuang8 676de8d973 Add Unicode Collation related PCD entries in DSC file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4050 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-09 03:15:21 +00:00
mdkinney ba5711102a Change NT32 to use optimized BaseMemoryLibs
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4037 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-06 23:25:57 +00:00
vprabhal bd55fe149f added the CpuLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4029 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-05 20:17:49 +00:00
AJFISH 052ad7e191 Update comments in Variable driver and removed references to FLASH Map Hob in INF files
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4019 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-05 14:40:23 +00:00
AJFISH e8ec1789e2 Added PCD for Variable Store profiling
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4016 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-04 21:04:07 +00:00
lgao4 e4571e3d73 Correct module type for library instance.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4010 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-30 09:27:13 +00:00
qhuang8 8270a5fd08 Enable to produce component name 2 protocol for all Uefi drivers in Nt32 package.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3994 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-29 11:28:21 +00:00
qhuang8 6c28f1182f Update to support to produce Component Name and & Component Name 2 protocol based on Feature flag PcdComponentNameDisable & PcdComponentName2Disable.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3993 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-29 11:27:09 +00:00
qhuang8 04369cd8fc Update to support to produce Component Name and & Component Name 2 protocol based on Feature flag PcdComponentNameDisable & PcdComponentName2Disable.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3992 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-29 11:25:42 +00:00
qhuang8 e6e53c97c9 Update to support to produce Component Name and & Component Name 2 protocol based on Feature flag PcdComponentNameDisable & PcdComponentName2Disable.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3991 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-29 11:22:46 +00:00
qhuang8 f766bd800a Update to support to produce Component Name and & Component Name 2 protocol based on Feature flag PcdComponentNameDisable & PcdComponentName2Disable.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3990 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-29 11:22:13 +00:00
qhuang8 e1107a76ad Update to support to produce Component Name and & Component Name 2 protocol based on Feature flag PcdComponentNameDisable & PcdComponentName2Disable.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3989 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-29 11:20:23 +00:00
qhuang8 19fe43c299 Update to support to produce Component Name and & Component Name 2 protocol based on Feature flag PcdComponentNameDisable & PcdComponentName2Disable.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3988 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-29 11:19:29 +00:00
qhuang8 057d744eee Update to support to produce Component Name and & Component Name 2 protocol based on Feature flag PcdComponentNameDisable & PcdComponentName2Disable.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3987 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-29 11:17:24 +00:00
lgao4 31024e1737 Remove unused library instance Nt32PeCoffLoader.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3984 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-29 09:17:22 +00:00
lgao4 18fd8d651d 1. Add ExtractGuidedSectionLib library to replace customdecompress library.
2. Add PeiDxeExtractGuidedSectionLib library instance and one PCD PcdMaximumGuidedExtractHandler in MdePkg.
3. Update DxeIpl and DxeMain to consume new library.
4. Update BaseUefiTianoCustomDecompressLib to register TianoDecomress extractguidedsection handler.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3980 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-29 08:04:29 +00:00
klu2 5b682ea67c Remove duplicate section.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3978 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-29 04:43:54 +00:00
qhuang8 806b6f31d9 Clear up network stack to use R9 MdeLib:
1.Use driver model APIs in UefiLib
2.Register Unload Image in INF/MSA to be included in autogen code.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3970 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-28 09:12:52 +00:00
klu2 5e106e539a Add PeiPiLib in Nt32's DSC file
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3968 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-28 09:03:37 +00:00
yshang1 5d582956c2 Enable the 0-31 temporary IDT entries prior to activate the LongMode. If not enable the temporary IDT table, DEBUG_PROPERTY_ASSERT_BREAKPOINT_ENABLED may not work correctly till CPU DXE programs the IDT table.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3966 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-28 08:22:33 +00:00
lgao4 3d7b0992fc 1. Replace PeCoffLoader library by PeCoff lib for PeiCore, DxeIpl and DxeMain.
2. Add three PeCoff library instances for NT32 PeImage load.
3. Update PeCoffGetEntryPointLib to support TeImage.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3965 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-28 08:14:30 +00:00
xli24 82408a47c9 Add necessary parameter checking for WinNtSerialIoDxe module, according to UEFI 2.1 spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3958 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-28 02:34:42 +00:00
mdkinney 117bc842fa Add SEC as a supported Module Type for all libraries that are also compatible with the PEI_CORE
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3957 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-27 16:56:51 +00:00
lhauch d8f31a2dc8 Moved the build options from the defines section to the BuildOptions section
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3932 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-26 21:58:22 +00:00
klu2 4fb31c2c58 1) Add library classes of S3Lib and RecoveryLib in MdeModulePkg
2) Add NULL instance for above library classes in MdeModulePkg
3) Add Framework implement library instance for above two library classes in IntelFrameworkModulePkg.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3930 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-26 09:35:36 +00:00
qhuang8 804604b6f8 Fix a memory leak issue.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3925 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-26 08:21:53 +00:00
klu2 b0d803fe3e Merge branch of PI tree to main trunk
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3918 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-24 11:38:43 +00:00
qhuang8 2807acc305 Fix a typo in the display string of MEMMAP_DEVICE_PATH.The precision flag is useless.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3894 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-19 08:04:22 +00:00
klu2 f15a200e03 Remove OldPeiCoreEntryPoint library instance from MdePkg
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3870 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-17 04:02:23 +00:00
klu2 d4b7ad5263 PeiCore and DxeCore should use MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf library instance for PcdLib library class
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3859 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-17 03:04:55 +00:00
klu2 5aae0aa7d8 PI Enable:
1) The entry point of PeiCore has been changed to EFI_PEI_CORE_ENTRY_POINT defined in PI. 
2) Nt32, Tiger and lakeport platform's SecCore has been updated.
3) Autogen tools also has been updated.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3804 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-12 09:52:37 +00:00
lgao4 c4396d6609 Update Nt32Pkg.fdf by using new rule and Pcd format
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3790 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-10 05:46:12 +00:00
vanjeff 593a8308cc 1. Import SnpNt32Dxe. That is a thunk driver could produce SNP protocol on NT32 platform. It needs cowork with Network I/O driver.
2. Add network stack in Nt32Pkg.dsc.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3774 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-04 08:42:53 +00:00
qwang12 e1001af1d4 Merge the PI enabling works from the branch
First round of PI enabling work:
1) PiPeiCis changes (CONST, EFI_PEI_FILE_HANDLE.. etc)
2) Make use of FirmwareVolume 2 protocol.
3) Verified for Nt32Pkg and real platform for S3.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3771 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-04 06:10:44 +00:00
AJFISH 8877e89785 Removed unused PCD entries.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3763 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-01 16:09:27 +00:00
AJFISH e0f06862e7 Removed PCD entries for CPU properties as they should be defined in UNI file. Added some French translations to the MiscSubClass for things used on the front page.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3762 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-01 16:01:35 +00:00
klu2 faaef11d62 Add <BR>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3751 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-31 03:10:39 +00:00
klu2 4d69586b3b Remove '|' at end of PCD line.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3747 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-30 18:19:56 +00:00
klu2 aed990428d Fix wrong PCD definition in DEC file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3746 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-30 17:21:54 +00:00
qhuang8 b3af5df67b Update all INF, DEC and DSC file to confirm to newest INF spec 0.44, DEC spec 0.41, DSC spec 0.40.
Mainly PCD syntax update.
Check in new build.exe and GenFds.exe
Check in PcdSyntaxUpdate.exe tool. 

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3744 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-30 09:11:54 +00:00
jwang36 e75fe0ebba Added missing dependent package
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3738 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-30 06:12:06 +00:00