Commit Graph

161 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 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
eric_tian 6979fd9382 fixed the following problems:
1) DMA interrupt don't been cleaning up after one UDMA operation
2) Global variable mHobStart is not updated after invoking CoreInitializeGcdServices() func in the dxemain.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4107 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-12 05:41:48 +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
jwang36 23bd66f425 Changed to pass the build with Visual Studio 2005
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4076 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-10 07:04:47 +00:00
AJFISH 6deef76382 Fixed NT32 Build break.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4064 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-09 19:38:25 +00:00
jwang36 0c6bbb63f9 Cleaned the code for passing Visual Studio 2005 build
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4061 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-09 09:30:40 +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
vprabhal af3c1a5107 added the CpuLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4026 6f19259b-4bc3-4df7-8a09-765794883524
2007-10-05 20:05:42 +00:00
qhuang8 866e8172e7 Update change log to include the enabling of component name 2 protocol.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3999 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-30 02:39:37 +00:00
qhuang8 9d64ff86b1 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@3998 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-30 02:33:34 +00:00
qhuang8 733f03aa90 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@3997 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-30 02:32:16 +00:00
qhuang8 f3d08ccf1a 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@3996 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-30 02:30:46 +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
xli24 ff62de3730 PCI Bus Driver Enhancement
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3960 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-28 04:40:49 +00:00
mdkinney 3048d63c26 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@3955 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-27 16:54:53 +00:00
qhuang8 1f771698b2 translate Ctrl + alpha to control value for simple text input protocol
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3952 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-27 12:00:18 +00:00
klu2 e8da1266b9 Change the function name.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3933 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-27 03:20:28 +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
qwang12 179a2e9731 Fix a bug which leave BLOCKSIZE of BloIO produced by IsaFloppy to be zero when the driver detect no media is changed in the driver.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3896 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-20 00:38:28 +00:00
yshang1 d940d5e59f Bug fix for the runtime memory status code.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3891 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-19 02:07:04 +00:00
klu2 bba9ad98f1 FixedPcd macro should *not* be used in Library's inf file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3868 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-17 03:57:13 +00:00
mdkinney 2d9d2abf04 Build a valid device path to an EFI driver loaded from a PCI Option ROM
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3852 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-14 21:29:45 +00:00
zliu3 1b7f7985bd Add the "ChangeLog.txt" to record packages' all non-compatible changes and important compatible changes.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3830 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-13 06:38:20 +00:00
vanjeff 67996c4197 Module clean up.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3798 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-12 05:41:53 +00:00
vanjeff d4ff9b4446 Tracker merger. "There is no "NV" display when change the certain option in NT32"
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3788 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-10 05:39:46 +00:00
vanjeff 7f0f1b8f45 Merge tracker. Add check whether CreateResourceNode successful or not.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3787 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-10 03:45:28 +00:00
qwang12 507b36ca9e 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 LakeportX64Pkg (S3) and Nt32Pkg

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3769 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-04 06:09:28 +00:00
vanjeff 8fb6b714d3 Add missing packages dependency.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3760 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-31 07:38:59 +00:00
jwang36 888b8afbd3 Added missing dependent package
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3750 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-31 03:02:29 +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
klu2 fd2537eff6 Fix the invalid return code for OemHookStatusCodeLibNull library instance.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3737 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-30 03:32:27 +00:00
qhuang8 1cf79a5e65 Update INF files to remove/update non-exist files listed in [sources] sections.
New build tool performs stricter check.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3733 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-29 12:38:21 +00:00
klu2 a02c7e152d Fix the CYGWIN GCC build issue.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3721 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-28 03:59:37 +00:00
vanjeff d01c093a58 1. Sync Tcp4 protocol definitions to match UEFI 2.1
2. Clean up codes.
3. Remove struct definition content for big-endian, because UEFI 2.1 declare only little-endian supported.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3714 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-27 07:02:05 +00:00
klu2 6bee163234 Fix building issue for Intel Compiler
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3695 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-23 08:37:33 +00:00
yshang1 702887db45 Update PciCfg2.c to follow strict ANSI C spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3687 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-22 08:42:13 +00:00
mdkinney 471808283e Use <> in #include statements instead of "" for include files from packages
Use '/' instead of '\' for all file references
Remove redundant use of $(WORKSPACE) from DSC, FDF, INF, and DEC files

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3671 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-17 21:01:20 +00:00
AJFISH 6b88ceec9b Updated to use new PCD settings
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3664 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-16 22:15:08 +00:00
AJFISH 656f6e6686 Added support for UART and Terminal PCD settings
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3661 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-16 21:27:06 +00:00
klu2 3da07a7bd1 Move some datahub producer GUID from IntelFrameworkPkg to IntelFrameworkModulePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3654 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-16 03:17:49 +00:00
klu2 d026a74698 Move some datahub producer GUID from IntelFrameworkPkg to IntelFrameworkModulePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3651 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-16 03:15:17 +00:00
klu2 551ed06f60 Move EFI_STATUS_CODE_DATA_MAX_SIZE from IntelFrameworkPkg to IntelFrameworkModulePkg
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3648 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-16 02:57:03 +00:00
yshang1 df809f3d34 1) Fix bug in StatusCodeDxe about the nested DataHub->Log in callback.
2) Close a small window which may result in the data collision of records.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3641 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-15 03:34:39 +00:00
lgao4 d35be2a434 Sync code with MdePkg spec for Scsi library class and CustomDecompress library class.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3636 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-14 07:58:32 +00:00
klu2 5da9710399 Fix missing PCD issue for IntelFrameworkModulePkg.dsc
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3634 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-14 02:51:36 +00:00
mdkinney a1e3528b31 Replace EFI_MAX() with MAX()
Replace EFI_MIN() with MIN()


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3631 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-14 00:00:01 +00:00
klu2 f0e78fc989 Add VaraiblePei into IntelFrameworkModulePkg
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3626 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-13 09:35:24 +00:00
klu2 7ba905c909 Add VariablePei into IntelFrameworkModulePkg
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3624 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-13 08:37:06 +00:00
qwang12 c3e02ca573 Fix a bug that when user can't presses F9 to restore the NV Map data into default values.
Setup Browser implementation has a bug to only restore the NV Map data for the first varstore ID.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3622 6f19259b-4bc3-4df7-8a09-765794883524
2007-08-13 06:09:22 +00:00