Commit Graph

109 Commits

Author SHA1 Message Date
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
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
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 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
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
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
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
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
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
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 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
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
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
eric_tian f2fa830ef0 As variable area is not reliable in recovery path, then we should not produce ReadonlyVariable2&ReadonlyVariable ppi at the point. This way causes other Pei module wanted to access to variable will fail
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7185 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-05 09:53:54 +00:00
lgao4 8191cd5efd Enhance PciCfg2 driver to handle unaligned Pci access according to PI spec.
Remove the undefined logic to process gEfiStatusCodeSpecificDataGuid status code data.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7078 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-18 07:41:58 +00:00
qhuang8 f02bd3768c Clean up to update the reference of the these macros:
EFI_SIGNATURE_16 -> SIGNATURE_16
  EFI_SIGNATURE_32 -> SIGNATURE_32
  EFI_SIGNATURE_64 -> SIGNATURE_64
  EFI_FIELD_OFFSET -> OFFSET_OF
  EFI_MAX_BIT      -> MAX_BIT
  EFI_MAX_ADDRESS  -> MAX_ADDRESS
These macros are not defined in UEFI spec. It makes more sense to use the equivalent macros in Base.h to avoid alias.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7050 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-16 15:31:57 +00:00
mdkinney 2d78cc816e Change _CR() to BASE_CR() to follow naming convention
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6887 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-06 01:21:15 +00:00
xli24 a694b670e1 Add module Legacy8259Dxe to IntelFrameworkModulePkg.dsc, and make it clean for ICC build.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6833 6f19259b-4bc3-4df7-8a09-765794883524
2008-12-04 06:21:53 +00:00
lgao4 8bd22b8aaa Update PEIM entry point to follow PEIM entry point.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6753 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-27 05:18:32 +00:00
lgao4 05f89b17b8 1. Add Max Try Times check to clear Ps2Kbd status register. If exceed the max try times, the device may be error.
2. To follow PI spec, PciCfg PPI doesn't require ASSERT for the unalign PCI IO access.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6659 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-21 05:55:40 +00:00
jji4 819d148893 Patch to remove STATIC modifier. This is on longer recommended by EFI Framework coding style. All duplicated symbols has been renamed accordingly.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6298 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-30 06:08:09 +00:00
mdkinney 8be701c3ba Update 8259 driver to use IoLib instead of the CPU I/O Protocol
Remove redundant .DXS file.  The dependency expression is in the INF file.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6246 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-27 02:16:38 +00:00
qwang12 1b641bb8ee Base on PI spec, GetPeiServicesTablePointer is updated to return CONST EFI_PEI_SERVICES**. This is a incompatible changes. All file that reference this must be updated.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6129 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-17 08:44:25 +00:00
klu2 575bc2b257 Remove over specify library class for IntelFrameworkPkg and IntelFrameworkModulePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6120 6f19259b-4bc3-4df7-8a09-765794883524
2008-10-16 02:38:49 +00:00
vanjeff ed66e1bc0d clean up the un-suitable ';' location when declaring the functions.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5820 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-04 09:37:28 +00:00
vanjeff 6fc2b00b1a Remove unnecessary CONST.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5809 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-04 04:17:20 +00:00
vanjeff 01edaf2adc Remove unnecessary CONST.
.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5807 6f19259b-4bc3-4df7-8a09-765794883524
2008-09-04 03:17:06 +00:00
lgao4 f829715058 remove the unused msa files in FatBinPkg, IntelFrameworkPkg, IntelFrameworkModulePkg, Nt32Pkg, OptionRomPkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5727 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-25 05:08:13 +00:00
qhuang8 1a8802f763 Update some module INF files in IntelFrameworkModulePkg to UEFI_DRIVER
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5699 6f19259b-4bc3-4df7-8a09-765794883524
2008-08-20 10:00:50 +00:00
qhuang8 6558a83700 Add doxygen style comments for section extraction module.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5226 6f19259b-4bc3-4df7-8a09-765794883524
2008-05-20 07:26:10 +00:00
qhuang8 2b505f5116 Remove CpuDeadLoop().
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5143 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-28 13:00:48 +00:00
klu2 60bb2715d8 StatusCode driver is optional dependent on gEfiDataHubProtocolGuid but not always, so remove it from depex section.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5140 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-28 09:35:38 +00:00
klu2 fdb05fa330 Fix missing include header file and fix typo in comment.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5111 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-22 06:40:11 +00:00
klu2 1166d06825 Add legacy8259 module for PcAt.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5090 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-18 04:13:47 +00:00
klu2 bcd7041487 Coding style modification.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5058 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-14 03:12:57 +00:00
klu2 a73d0c743b Add some function/header comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5039 6f19259b-4bc3-4df7-8a09-765794883524
2008-04-10 09:23:58 +00:00
eric_tian 6d87c34485 [Description]
use PcdEmulatorEnable to avoid install two instances of EFI_PEI_PROGRESS_CODE_PPI in NT32 Emulator. it is the requirement of PI spec
[Impaction]
use PcdEmulatorEnable to avoid install two instances of EFI_PEI_PROGRESS_CODE_PPI in NT32 Emulator. 
[Reference Info]
it is the requirement of PI spec

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4926 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-20 08:47:30 +00:00
klu2 3dbba77042 Modify all file header to follow doxygen format
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4908 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-19 03:28:13 +00:00
eric_tian de631489de [Description]
PeiGetVariable() and PeiGetNextVariableName() do not check NULL pointer access, not follow spec 
[Impaction]
modify the Variable.c file in IntelFrameworkModulePkg/Universal/VariablePei/
[Reference Info]
PeiGetVariable() and PeiGetVariableName() do not follow spec 

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4900 6f19259b-4bc3-4df7-8a09-765794883524
2008-03-18 06:47:55 +00:00
qwang12 725a03bd4a Remove DriverSample. MdeModulePkg\Universal\DriverSampleDxe is the replacement complying to UEFI HII.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4771 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-28 12:00:01 +00:00
qwang12 62e6733bc7 Remove Framework SetupBrowser. MdeModulePkg\Universal\SetupBrowserDxe is the replacement complying to HII in UEFI 2.1 spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4770 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-28 11:57:35 +00:00
qwang12 ae55729b76 Remove Framework HiiDatabase
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4769 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-28 11:56:05 +00:00
gtian fd431a9b3f Add the check- in missed file
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4674 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-04 19:51:45 +00:00
zliu3 3431f36337 Sync with the PO-2 release branch (version: EDK 4645 and R9 3897)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4647 6f19259b-4bc3-4df7-8a09-765794883524
2008-01-31 09:30:11 +00:00