Commit Graph

358 Commits

Author SHA1 Message Date
vanjeff 0dc9978436 add check for invalid handle.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7795 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-04 04:31:46 +00:00
eric_tian 08c4ca5bca retire gEfiBootStateGuid and replace it with dynamic hii pcd. so the different boot times can know whether it needs to do full/minimal/no_changes configuration.
[Impact]
EDK still keep this guid. and if we ports such platforms to EDKII, it will do full configuration

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7793 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-04 02:43:10 +00:00
vanjeff ea2d90867a retired PcdNtEmulatorEnable.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7792 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-04 02:10:20 +00:00
qhuang8 1edcb8f938 Retire BaseReportStatusCodeLib in IntelFrameworkModulePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7784 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-03 14:19:14 +00:00
qhuang8 0682583aba remove Bmp.h and ShellFile.h From MdeModulePkg to IntelFrameworkPkg
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7765 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-02 07:25:00 +00:00
klu2 7ad5a8f0f8 Correct include path for linux building
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7764 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-02 07:22:04 +00:00
qhuang8 a1c18a5ad9 remove Bmp.h and ShellFile.h From MdeModulePkg to IntelFrameworkPkg
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7763 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-02 07:21:37 +00:00
qhuang8 eaa154eae3 remove Bmp.h and ShellFile.h From MdeModulePkg to IntelFrameworkPkg
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7761 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-02 06:17:04 +00:00
qhuang8 4bf32fbe9e remove Bmp.h and ShellFile.h From MdeModulePkg to IntelFrameworkPkg
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7756 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-02 06:08:22 +00:00
qhuang8 4354ec05fa Remove bmp.h and shellFile.h from MdeModulePkg to IntelFrameworkpkg
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7754 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-02 06:05:31 +00:00
jljusten 3efaa6e097 Move IntelFrameworkModulePkg/Universal/Legacy8259Dxe to
PcAtChipsetPkg/8259InterruptControllerDxe.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7747 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-01 23:45:51 +00:00
jljusten c9b1a9df15 Move IntelFrameworkModulePkg/Universal/Legacy8259Dxe to
PcAtChipsetPkg/8259InterruptControllerDxe.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7746 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-01 23:33:20 +00:00
klu2 a95f236bd3 Define EFI_REMOVABLE_MEDIA_FILE_NAME for EBC architecture in GenericBdsLib library instance, because UEFI specification does not define it for EBC.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7730 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-27 10:35:54 +00:00
eric_tian 3709c4cd5b 1. delete Include/Guid/VariableInfo.h
2. move VariableFormat.h into GUID directory and change the “Signature” field of the VARIABLE_STORE_HEADER to gEfiVariableGuid value.
3. merging VARIABLE_INFO_ENTRY structure into the new Include/Guid/VariableFormat.h
4. change gEfiVariableInfoGuid into gEfiVariableGuid.
5. modify FDF files to use new guid value instead of the original signature.
6. all code related to signature is changed to use guid value.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7728 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-27 05:35:08 +00:00
klu2 9a2a7a168d GenericBdsLib can not be built under EBC because specification does not give some definition for EBC.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7725 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-27 02:11:38 +00:00
klu2 c62dbf3185 Use default boot file name from UefiSpec.h and retired related PCDs
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7716 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-26 10:33:51 +00:00
klu2 a2b35995ca 1, Retired PCD PcdSupportHardwareErrorRecord, because as UEFI specification said, if PcdHardwareErrorRecordLevel is 0, platform does not provide feature of hardware error record.
2, Move PcdHardwareErrorRecordLevel to IntelFrameworkModulePkg
3, Change PCD type to dynamic, Platform integrator need set this PCD type as HII type PCD mapped to variable L"HwErrRecSupport".

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7713 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-26 08:19:38 +00:00
klu2 8c81cb83b9 1, Change name of PcdPlatformBootTimeoutDefault to PcdPlatformBootTimeout, now this PCD is *not* only hold default value of Bds timeout, but it is associated with a HII type PCD to hold persistent value for BDS timeout. Platform integrator will establish this mapping in platform DSC file.
2, Move PcdPlatformBootTimeout to IntelFrameworkModulePkg.
3, Remove BdsLibGetTimeout() interface from GenericBdsLib, because the PCD PcdPlatformBootTimeout will take care of persistent for time out value.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7707 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-26 07:18:21 +00:00
klu2 92502d5537 PeiStatusCode PEIM does not dependent on BaseMemoryLib library class.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7702 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-26 04:37:58 +00:00
klu2 da4483cd17 Move OEMBadging protocol from MdeModulePkg to IntelFrameworkModulePkg
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7701 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-26 04:36:27 +00:00
lgao4 50db9e551a Add some comments in BdsDxe INF file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7698 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-26 02:18:19 +00:00
lgao4 1a0e3ddcd1 Add the missing header file
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7696 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-25 15:35:32 +00:00
vanjeff a8fdba528b remove dependent package from inf files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7681 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-25 09:27:01 +00:00
vanjeff 7fc80d4484 Retired gSimpleTextInExNotifyGuid, used local structure address to be notify handle.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7666 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-25 05:35:12 +00:00
klu2 ddac74d176 Move library class GenericBdsLib and PlatformBdsLib to IntelFrameworkModulePkg
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7657 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-24 15:53:05 +00:00
lgao4 0a6f71704a Move DiskInfo Protocol from MdeModulePkg to IntelFrameworkModule package.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7637 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-24 07:51:47 +00:00
qhuang8 a2ded1d652 Fix build break: MdeModuleHii.h has been moved to MdeModulePkg/Include/Guid directory
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7625 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-24 01:29:30 +00:00
lgao4 15cd6a822c Add conditional check before output status code.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7603 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-23 14:31:09 +00:00
eric_tian f76797ca68 retire gEfiFirmwareVolumeDispatcherProtocolGuid as its original design is used to signify such FV need to be dispatched or not.
Currently our code has not such usage model, so Mike recommended us to retire this guid

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7594 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-23 05:48:49 +00:00
eric_tian f999350bcf retire gEfiFirmwareVolumeDispatcherProtocolGuid as its original design is used to signify such FV need to be dispatched or not.
Currently our code has not such usage model, so Mike recommended us to retire this guid

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7593 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-23 05:35:08 +00:00
qhuang8 6055758f87 Update for the performance infrastructure changes:
1. Use raw string for performance tokens
2. Reuse gPerformanceProtocolGuid as performance variable paring GUID

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7576 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-23 03:15:57 +00:00
qhuang8 6aa22a177c 1. Update Generic BDS part to use dynamic PCD to set console output mode instead of use L"ConOutMode" and gEfiGenericPlatformVariableGuid to set console output mode.
2. Drop the menu item of set Primary Video to PCI or AGP. If some platform wishes to set AGP video option, platform BDS code needs to add this item.
3. Minor update to use Raw String to performance logging

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7575 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-23 03:14:12 +00:00
lgao4 7508355e68 Using EFI_RESOUCE status defined in framework Pci Host bridge specification.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7544 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-19 08:37:41 +00:00
xli24 dcbb35eb6c Add comments in DSC files to explain the function and design of components section.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7490 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-10 08:58:47 +00:00
mdkinney 6c6004f491 Fix build break for missing PeCoffLib mapping
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7476 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-06 20:41:49 +00:00
mdkinney 2fb718b064 Update PCI Bus Driver to use the PeCoffLib instead of paring the PE/COFF image itself
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7440 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-05 19:32:40 +00:00
qhuang8 1360f68ea2 Fix a bug: fail to change Boot Order in Boot Maintenance Manager.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7433 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-04 11:14:23 +00:00
klu2 e01fb259f8 Add missing GUID due to last check-in.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7427 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-04 04:47:44 +00:00
jji4 6a27a4ebd0 use the GUIDed versions of events: EVT_SIGNAL_VIRTUAL_ADDRESS_CHANGE and EVT_SIGNAL_EXIT_BOOT_SERVICES
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7424 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-04 01:29:55 +00:00
klu2 8d6640c997 Cleanup meta data for GenericBdsLib library instance's INF
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7422 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-03 13:32:09 +00:00
klu2 ef8412671e Cleanup meta data for BdsDxe INF file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7421 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-03 12:57:32 +00:00
qwang12 3d7decbc4f Add in a check to make sure "BootCurrent" is created only when it match a valid "BOOT###" NV EFI variable.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7419 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-03 09:52:40 +00:00
eric_tian 6041576eb2 The caller of FindVariable() function ensure VariableName != NULL && VendorGuid != NULL. In the internal of this function, we only need to ensure that (VariableName[0] != 0 && VenderGuid != NULL) is true.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7389 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-02 03:13:35 +00:00
mdkinney 16f3deb0a0 Split out Synchronization Library from Base Library
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7374 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-30 00:35:27 +00:00
qhuang8 ca835f4176 Fix ICC build warning.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7367 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-24 06:19:47 +00:00
klu2 5c08e11737 Move BdsDxe and GenericBdsLib to IntelFrameworkModulePkg, these modules need dependent on gEfiLegacyBiosProtocol to provide legacy boot support. But legacy boot is not described by PI/UEFI specification.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7354 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-23 07:24:55 +00:00
hfang 8ca67c468b Update For Review
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7304 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-19 07:00:28 +00:00
gikidy 066ec71d89 Adjust gSimpleTextInExNotifyGuid position in INF file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7295 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-16 07:35:49 +00:00
hfang 5326528b2f Fixed For Review
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7253 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-13 07:28:52 +00:00
lgao4 72d50eec45 Move common definitions (GET_PAD_SIZE and HEADER_ALIGN macro) into MdeModulePackage Include VariableFormat.h
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7229 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-09 06:27:53 +00:00