Commit Graph

665 Commits

Author SHA1 Message Date
xli24 19796be360 Leverages SMM Status Code Protocol, instead of OemHookStatusCodeLib.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9962 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-10 03:41:24 +00:00
jgong5 07341a33f2 Assume Tick value 1 as the beginning time of boot.
This is part of the fix of #202075 to make sure the usage model below doesn’t break:
PERF_START (0, “Token1”, “Module1”, 1);
PERF_END (0, “Token1”, Module1”, 0);


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9943 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-08 02:12:47 +00:00
qhuang8 f9ec2f0f40 Fix two incorrect PCD token number in IntelFrameworkModulePkg
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9933 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-05 05:58:47 +00:00
qhuang8 5e24f37a6f Fix ICC build break
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9931 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-04 13:47:21 +00:00
lgao4 32e9da0c40 Fix the bug that the wrong classguid is compared.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9930 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-04 09:35:42 +00:00
jgong5 b5a144ec6a Performance.c in GenericBdsLib is updated not to filter log entries that don’t contain DXE handles.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9928 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-04 04:32:09 +00:00
xli24 55a503bce6 Minor code refinement.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9920 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-03 08:21:51 +00:00
xdu2 e51e619ed7 For network dynamic media detect support: invoke Snp->GetStatus() before use Snp->Mode->MediaPresent. Upon successful return of Snp->GetStatus(), the Snp->Mode->MediaPresent will be updated to indicate the latest media status.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9918 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-03 04:37:29 +00:00
lgao4 158bb28ae0 Add support to original EFI_IFR_FORM_SET in initial UEFI2.1 spec. Now, it has been updated to new one in UEFI2.1D.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9905 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-02 01:37:48 +00:00
gdong1 337661bb8c Add BdsLibUserIdentify API in GenericBdsLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9897 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-01 06:13:04 +00:00
mdkinney c37f052fe9 Remove unnecessary use of FixedPcdxxx() functions and [FixedPcd] INF sections. These should only be used for PCDs that are used to pre-init global variables, pre-init global structures, or size arrays.
Do some minor clean ups to INF files
 


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9867 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-29 23:34:42 +00:00
gikidy 9aa7ba01aa Update BDS boot option description string to use UNI file string in GenericBdsLib for localization.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9836 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-27 07:18:36 +00:00
qhuang8 a7ddec115d Update in IdeBus to solve the non-backward compatibility issue by the MdePkg updates in Edk r9817.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9820 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-26 05:20:49 +00:00
rsun3 7490e2bed8 GenericBdsLib: Remove a un-reasonable ASSERT when BdsLibVariableToOption() returns NULL because it is possible for BdsLibVariableToOption() to return NULL if the boot option variable does not exist or the boot option is not active.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9805 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-25 05:20:44 +00:00
tye1 a7a523e07b 1.Change the behavior of BdsBoot, to enumerate Boot Options by EfiLoadFileProtocol, other than EfiManagedNetworkServiceBindingProtocol.
2.Add MSG_IPv4_DP and MSG_IPv6_DP into boot type of BDS_EFI_MESSAGE_MAC_BOOT.

3.Change the file header format of inf file and remove the MNP dependency.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9799 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-25 03:05:41 +00:00
gikidy cd730ec08d Minor code enhancement.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9792 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-18 07:20:22 +00:00
qhuang8 6b9ddb4226 Fix ICC build break
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9767 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-15 02:11:58 +00:00
mdkinney 7a7f916a70 Clean up file header comments to match CPU I/O Protocol .h file.
Add check to make sure the Address parameter passed in is properly aligned for the requested operation.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9760 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-14 22:12:32 +00:00
mdkinney 806bf4f2f1 Add generic module that produces the Framework CPU I/O Protocol using the services from the MdePkg IoLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9755 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-14 18:57:44 +00:00
eric_tian 7e28c19670 add france language support on DeviceManager of BDS.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9749 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-14 07:32:36 +00:00
gikidy a5c3c546ea Fix Boot Option appear twice while add a new boot option in some specific steps.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9738 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-14 04:42:45 +00:00
xli24 0c16f340a8 Minor code enhancement.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9724 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-13 03:30:59 +00:00
xli24 da166a5dbd Minor code enhancement.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9711 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-12 03:30:58 +00:00
xli24 1ace000135 Minor code enhancement.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9692 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-08 04:10:38 +00:00
lgao4 7516c41a1e Correct copyright year to 2010
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9688 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-07 09:36:41 +00:00
xli24 8e8ae2daec Minor code enhancement.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9686 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-07 09:17:03 +00:00
xli24 75a635ace8 Minor code enhancement.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9684 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-07 09:08:58 +00:00
mdkinney 76bc52ed4f Fix build break
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9677 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-05 00:09:32 +00:00
jljusten af03df86f7 IntelFrameworkModulePkg: SerialStatusCode output was incorrect
The string being built had a character being overwritten.  This
also lead to a NULL character being sent out to the serial port
for the last character in the string.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9669 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-04 16:17:52 +00:00
jljusten 090d308851 IntelFrameworkModulePkg LZMA: Support running LZMA from flash/rom
Previously the code relied upon global variables which could not be
modified if the code was running from ROM (or similarly a flash memory
which is not easily modified).

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9667 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-04 16:17:47 +00:00
lgao4 807765a034 Correct help information for Delete Boot option and Change boot option.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9666 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-04 10:28:59 +00:00
xdu2 ff482c5692 Update GenericBdsLib to support BootOption for VLAN device.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9650 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-30 13:52:19 +00:00
xli24 9971c1b1c7 Remove OemHookStatusCodeLibNull from IntelFrameworkModulePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9643 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-29 09:44:14 +00:00
xli24 e25cd12c55 Move non-framework status code library instances to MdeModulePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9632 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-29 07:53:43 +00:00
xli24 d42aba9882 Move non-framework status code library instances to MdeModulePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9630 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-29 07:46:33 +00:00
xli24 253a88e133 Remove unnecessary dependency on IntelFrameworkModulePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9625 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-29 07:28:40 +00:00
xli24 3e31f1f409 Remove unnecessary dependency on IntelFrameworkPkg and IntelFrameworkModulePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9624 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-29 07:17:35 +00:00
xli24 6237bf0e9b Move Status Code Handler modules for PI implementation to MdeModulePkg
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9610 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-25 07:28:04 +00:00
xli24 f979eec000 Remove status code modules' dependency on IntelFrameworkModulePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9604 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-25 06:34:07 +00:00
eric_tian a115836609 update file/function comments to list the string length limitation.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9596 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-24 03:22:31 +00:00
davidhuang ce00a23274 PI 1.1 SMM Feature Check-in
1. Add SmmReportStatusCodeLib library instance.
2. Add StatusCodeHandler Smm part

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9593 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-23 06:52:37 +00:00
jljusten 8861fc792c Add missing EFIAPI instances on several functions.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9570 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-16 23:28:46 +00:00
klu2 ed79462bee there is no 0 between a SMBIOS buffer and the first string in unformated area. So no need + 1.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9555 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-11 11:52:26 +00:00
klu2 351615ee5e The consumer for smbios recorder should *not* make assumption the SMBIOS structure in special version. For length of smbios record, consumer need judge the SMBIOS->Hdr.Length but not use size of (SMBIOS_TYPE0) style.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9553 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-11 05:51:39 +00:00
lgao4 6191043539 Add the missing HiiVendor DevicePath for new added DriverHealth Form.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9546 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-09 08:19:47 +00:00
lgao4 261835ccf2 Don't need call SAP measure GPT table, which can be covered in SAP implementation.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9541 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-08 05:29:54 +00:00
gikidy bd2057a846 Refine code make callback logic same with frontPage.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9531 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-07 05:55:07 +00:00
lgao4 14e436f9b0 Correct LzmaCustomDecompressLib to produce NULL library class.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9529 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-07 04:48:29 +00:00
xli24 e567221141 Remove unnecessary reference to CPU I/O Protocol.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9525 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-07 03:31:19 +00:00
gikidy baf46e70a5 Fix some typos & format.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9515 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-04 03:35:56 +00:00