Commit Graph

166 Commits

Author SHA1 Message Date
ydong10 bf4a3dbd47 Add new interface GetVariable2 and GetEfiGlobalVariable2 to return more info. Also replace old interface with new one.
Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13375 6f19259b-4bc3-4df7-8a09-765794883524
2012-05-30 07:36:00 +00:00
ydong10 97627ad45a Fix build failed
Signed-off-by: Eric Dong <eric.dong@intel.com>

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13363 6f19259b-4bc3-4df7-8a09-765794883524
2012-05-28 02:39:50 +00:00
ydong10 3e8670718d Refine logic about validate boot option.
Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13362 6f19259b-4bc3-4df7-8a09-765794883524
2012-05-25 05:04:13 +00:00
ydong10 bf0712ae47 Clean ParentHandle field when image is loaded directly from the firmware's boot manager.
Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13324 6f19259b-4bc3-4df7-8a09-765794883524
2012-05-18 02:43:23 +00:00
ydong10 7c9fbd79d1 Fix memory leak issues.
Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Li Elvin <elvin.li@intel.com>
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13288 6f19259b-4bc3-4df7-8a09-765794883524
2012-05-07 08:51:42 +00:00
ydong10 8c08a567c6 Add code to check boot option variable before use it
Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Ni Ruiyu <ruiyu.ni@intel.com>

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13203 6f19259b-4bc3-4df7-8a09-765794883524
2012-04-19 09:57:11 +00:00
ydong10 a46c36572d Add more check for the bmp file to avoid access violation.
Signed-off-by: Dong Eric <eric.dong@intel.com>
Reviewed-by: Gao Liming <liming.gao@intel.com>
Reviewed-by: Zhang Chao <chao.b.zhang@intel.com>

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13185 6f19259b-4bc3-4df7-8a09-765794883524
2012-04-11 07:56:50 +00:00
ydong10 c1e2752c99 When transfer from Unicode to hex number, current code only consider the 0-9 case, not include the A-F case, now update code to consider all.
Signed-off-by: Dong Eric <eric.dong@intel.com>
Reviewed-by: Ni Ruiyu <ruiyu.ni@intel.com>


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13159 6f19259b-4bc3-4df7-8a09-765794883524
2012-04-01 07:28:09 +00:00
czhang46 2df686c67c Add BootlogoOnly feature in BDS for BGRT
Signed-off-by: czhang46
Reviewed-by: li-elvin, hhtian


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13116 6f19259b-4bc3-4df7-8a09-765794883524
2012-03-23 04:27:19 +00:00
ydong10 5f595f14be Update copyright.
Signed-off-by: ydong10

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12928 6f19259b-4bc3-4df7-8a09-765794883524
2012-01-12 07:18:08 +00:00
ydong10 b16cc38bf3 Add check when get boot option variable to avoid system hang.
Signed-off-by: ydong10
Reviewed-by: niruiyu

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12927 6f19259b-4bc3-4df7-8a09-765794883524
2012-01-12 05:32:59 +00:00
li-elvin 72861c22e5 Introduce video resolution and text mode PCDs for BIOS setup in BDS module. User can use these PCDs to customize video resolution and text mode for setup when launching BIOS setup.
Signed-off-by: li-elvin
Reviewed-by: niruiyu


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12671 6f19259b-4bc3-4df7-8a09-765794883524
2011-11-08 07:34:56 +00:00
xdu2 6ba8465fc3 IntelFrameworkModulePkg-GenericBdsLib: Add type cast for conversion from INTN to UINTN.
Signed-off-by: xdu2
Reviewed-by: ydong10

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12665 6f19259b-4bc3-4df7-8a09-765794883524
2011-11-07 03:35:21 +00:00
xdu2 a637802c2f IntelFrameworkModulePkg: Update GenericBdsLib to use BootLogo protocol to report logo information after logo is drawn to screen; update BdsDxe to notify logo is corrupted when user is going to enter setup.
Signed-off-by: xdu2
Reviewed-by: mdkinney
Reviewed-by: lgao4

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12664 6f19259b-4bc3-4df7-8a09-765794883524
2011-11-04 08:28:09 +00:00
niruiyu bf85c825ce Fix BDS bug to signal ReadyToBoot event before loading the boot option.
Signed-off-by: niruiyu
Reviewed-by: lgao4

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12557 6f19259b-4bc3-4df7-8a09-765794883524
2011-10-24 03:13:24 +00:00
lgao4 e24fc1032d Clean up the private GUID definition in module Level.
0. Remove the unused private GUID from module source files.
1. Use gEfiCallerIdGuid replace of the private module GUID.
2. Add the public header files to define HII FormSet and PackageList GUID used in every HII driver.
3. Publish EFI_LEGACY_DEV_ORDER_VARIABLE_GUID from BdsDxe driver and EFI_UPDATE_DATA_FILE_GUID from UpdateDriverDxe to IntelFrameworkModulePkg Include directory.

Signed-off-by: lgao4
Reviewed-by: ydong10 gdong1 tye jfan12 wli12 rsun3 jyao1 ftian



git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12374 6f19259b-4bc3-4df7-8a09-765794883524
2011-09-18 12:23:27 +00:00
xdu2 79b7a6a1ff IntelFrameworkModulePkg/GenericBdsLib: update GenericBdsLib to report status code for OS Loader Load and OS Loader Start.
Signed-off-by: xdu2
Reviewed-by: lgao4

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12211 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-25 11:58:51 +00:00
niruiyu ef949581ea Raise TPL to prevent the BlockIo instance for USB device is removed during the locating the instance and using it.
Signed-off-by: niruiyu
Reviewed-by: erictian

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12203 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-25 03:55:39 +00:00
niruiyu a97a859621 Enhance BDS to avoid the additional reset when the platform pre-allocated memory is large enough.
Signed-off-by: niruiyu
Reviewed-by: mdkinney
Reviewed-by: lgao4

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11983 6f19259b-4bc3-4df7-8a09-765794883524
2011-07-06 03:23:15 +00:00
niruiyu 889a4bc2a9 Fix the BDS to show UEFI hard drive boot option as "EFI Hard Drive" instead of "EFI DVD/CDROM"
Signed-off-by: niruiyu
Reviewed-by: li-elvin

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11974 6f19259b-4bc3-4df7-8a09-765794883524
2011-07-05 07:55:45 +00:00
qianouyang 9972247d89 Add the support for Boot Option with all 0xff USB class Device Path.
Signed-off-by: qianouyang
Reviewed-by: xdu2
Reviewed-by: niruiyu

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11972 6f19259b-4bc3-4df7-8a09-765794883524
2011-07-05 02:08:21 +00:00
andrewfish 5817d50862 IntelFrameworkModulePkg: Fix clang compielr warning.
Clang complains about if (()) constructs as it thinks you may be doing a compare and assign in the same if structure. 

signed-off-by: vanjeff



git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11923 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-28 23:11:25 +00:00
jljusten f6079c7003 IntelFrameworkModulePkg GenericBdsLib: Remove unwanted assert condition
If the call to SetVariable is to delete the variable,
but the variable was not found, then we return EFI_SUCCESS
rather than EFI_NOT_FOUND.

Signed-off-by: jljusten
Reviewed-by: jcarsey
Reviewed-by: geekboy15a
Reviewed-by: niruiyu

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11840 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-16 22:44:27 +00:00
niruiyu 63b3061628 Add return status check for SetVariable.
Signed-off-by: niruiyu
Reviewed-by: jljusten
Reviewed-by: hhtian

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11722 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-02 01:48:33 +00:00
niruiyu 701e17e520 Update the comments to describe the purpose of Removable array.
Signed-off-by: niruiyu
Reviewed-by: li-elvin

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11709 6f19259b-4bc3-4df7-8a09-765794883524
2011-05-27 03:24:34 +00:00
niruiyu 35bc0e9f02 Originally BDS only creates boot options for removable media, the patch creates boot options for fixed media as well.
Signed-off-by: niruiyu
Reviewed-by: li-elvin

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11707 6f19259b-4bc3-4df7-8a09-765794883524
2011-05-26 06:34:07 +00:00
ydong10 be1b161278 Update inf file to follow spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11451 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-30 03:36:54 +00:00
ydong10 d9a743c696 Enhance inf to follow spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11390 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-14 08:40:20 +00:00
niruiyu 6617d838fa Fix the bug that BDS assumes any boot option resides in the FV is Shell which causes that the non-Shell FV boot option is removed by GenericBdsLib.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11342 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-01 06:46:24 +00:00
erictian 8c716296fa in Recovery path, doesn't warm reset even if MemoryTypeInfo data is changed.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11225 6f19259b-4bc3-4df7-8a09-765794883524
2011-01-05 02:33:47 +00:00
xdu2 7389fdd0b8 Add support for BootOption with USB Class or USB WWID device path node.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11198 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-24 05:33:08 +00:00
niruiyu 0fa3ac1bb8 Fix the checking logic for the boot option enumeration.
Fix the memory leak issue.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11098 6f19259b-4bc3-4df7-8a09-765794883524
2010-11-26 06:33:19 +00:00
niruiyu 7caf72a907 Use PcdResetOnMemoryTypeInformationChange in MdeModulePkg to control whether to reset system when memory type information changes.
Check memory type information after signaling the ReadyToBoot event.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11080 6f19259b-4bc3-4df7-8a09-765794883524
2010-11-22 05:25:03 +00:00
niruiyu fefefa4cb1 Remove unnecessary mBdsImageHandle.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11012 6f19259b-4bc3-4df7-8a09-765794883524
2010-11-08 06:56:57 +00:00
niruiyu 7bee5a761f Add additional reset when Memory Type Information settings change.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10879 6f19259b-4bc3-4df7-8a09-765794883524
2010-09-16 01:14:51 +00:00
xli24 13314ba32a Add explicit type cast to suppress possible warning of precession loss.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10786 6f19259b-4bc3-4df7-8a09-765794883524
2010-08-10 07:47:20 +00:00
niruiyu 9572320f13 Remove the EHCI/UHCI inter-dependency in GenericBdsLib since the EHCI/UHCI controller drivers already take care the start() sequence.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10782 6f19259b-4bc3-4df7-8a09-765794883524
2010-08-09 07:21:50 +00:00
mdkinney a4e9b4f6e3 Allow gEfiMemoryTypeInformation bins to shrink if boot mode is BOOT_WITH_DEFAULT_SETTINGS or the gEfiMemoryTypeInformation variable does not exist.
Update BdsSetMemoryTypeInformationVariable() to use DEBUG() prints to show the Previous, Current, and Next sizes of each memory bin type.



git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10580 6f19259b-4bc3-4df7-8a09-765794883524
2010-06-14 23:23:58 +00:00
niruiyu 4515103850 remove unnecessary EFI64_SHADOW_ALL_LEGACY_ROM in GenericBdsLib.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10548 6f19259b-4bc3-4df7-8a09-765794883524
2010-05-28 01:59:30 +00:00
hhtian 180a5a35cb Update the copyright notice format
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10414 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-23 16:28:26 +00:00
lgao4 6bfbb5f0e0 1. Correct File header to ## @file
2. Remove unnecessary .common] postfix on section.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10052 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-24 00:21:16 +00:00
niruiyu e74f510b46 To follow UEFI spec 2.3 chapter 3.4.1.1, add the ConnectSingleController for removable media boot.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9987 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-11 06:29:16 +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
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
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
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
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
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
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
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
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
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
xdu2 8f97f91154 1. Add UEFI 2.2 VLAN device path definition to MdePkg
2. Update DevicePathDxe to support VLAN device path node
3. Update GenericBdsLib function DevicePathToStr() to support VLAN device path node

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9421 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-12 10:40:58 +00:00
klu2 ab8cc80b8a Beatify the debug string for displaying boot device when boot EFI device path.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9209 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-31 07:13:33 +00:00
eric_tian a29a93b4bd revert the change on BdsConsole. when doing minimal boot, the ConsoleIn variable is used to store existing input device's device path. If the device can not be connected, its device path will be removed from ConsoleIn.
So due the usb hot plug feature, we should always connect USB host controller according to the consolein device provided by PlatformData file before entering frontpage. This way can avoid usb device can not work in frontpage phase.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9207 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-31 02:39:56 +00:00
qhuang8 02c9c47027 1. Log performance data below 4G
2. Reuse the allocated data region if it's already allocated

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9072 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-14 05:58:46 +00:00
qhuang8 cd6a3b157c Add performance logging on EFI boot path
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9071 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-14 05:55:45 +00:00
qhuang8 d32fb62383 Do not use EfiACPIReclaimMemory type to log performance data because some OS might reuse that memory. Maybe EfiReservedMemoryType is the best solution for that usage model.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9053 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-11 16:15:29 +00:00
eric_tian 0c7517b92b remove a segment of code, in which it forces EHCI to be connected firstly before UHCI when ConOut variable contains such usb device path.
This code was used to tune performance in Edk. Due to EdkII has enhanced Ehci driver to force it to be connected before UHCI, then the same logic is not necessary. 

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9030 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-10 06:30:00 +00:00
mdkinney 2828833eae Fix build break for missing definition of PCI_IF_EHCI
Resolves artifact EDKT565

https://edk2.tianocore.org/servlets/tracking/id/EDKT565



git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9006 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-24 19:31:01 +00:00
eric_tian 949ae9a793 roll back the changes on replace Pcixx.h with Pci.h due to it's NOT in the scope of this release.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9003 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-24 09:12:47 +00:00
eric_tian 9910cfe7db if module doesn't explicitly depend on specific Pci spec, it should include IndustryStandard/Pci.h rather than Pcixxx.h.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8997 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-24 06:17:22 +00:00
eric_tian 5f52bc92fe remove two duplication macros "PCI_CLASSC_PI_UHCI/PCI_CLASSC_PI_EHCI", which have been defined in IndustryStandard/Pci.h
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8993 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-24 06:11:49 +00:00
darylm503 128efbbcc2 Clean up PERF macro usage. The macros were being used with 0 as the first parameter. This parameter is actually a void*. All of these instances were corrected to use NULL as the first parameter.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8954 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-15 22:28:07 +00:00
klu2 429cac9c17 Retire description string macro for boot device type which are not defined in UEFI specification.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8926 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-13 10:20:09 +00:00
mdkinney ce1e1d5ae9 Fix Doxygen comment syntax
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8906 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-12 23:39:58 +00:00
mdkinney 79bc7a89f7 Remove extra #includes where possible to make build more efficient
If module really is a Framework module and not a PI module, then use FrameworkDxe.h instead of PeDxe.h


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8900 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-11 23:27:49 +00:00
vanjeff d2eec31912 enhanced check when reading BMP file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8859 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-10 05:03:24 +00:00
lgao4 24cdd14e81 Move LockKeyboards API from GenericBdsLib to PlatformBdsLib
And change PlatformBdsLockNonUpdatableFlash in PlatformBdsLib return type to VOID.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8855 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-10 03:26:52 +00:00
klu2 11c5022d4d Refine comments for BdsGetBootTypeFromDevicePath().
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8835 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-09 09:30:28 +00:00
lgao4 d46f36324f Retire Logo and Shell guid header file, which are replaced by gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdLogoFile and gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdShellFile
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8829 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-09 05:48:35 +00:00
lgao4 e83c9064f5 Add comments for the return value of GenericBdsLib functions.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8822 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-08 12:06:28 +00:00
klu2 0977c9b214 Refine comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8794 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-08 03:10:33 +00:00
klu2 5540f4aa18 Should not use integer as boolean value for judgment.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8684 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-30 02:15:24 +00:00
klu2 201e40668d Refine the member name.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8682 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-30 01:55:21 +00:00
gikidy 8d3b5aff68 Use UNI file string to display Boot Option for language localization.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8655 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-25 04:44:45 +00:00
klu2 9260b9151b Use INTN to case the result of subtract
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8647 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-24 07:50:36 +00:00
klu2 775a9b19c6 Add NULL checking for input parameter.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8645 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-24 07:04:45 +00:00
lgao4 b4b6c8de1e Update code style and comments
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8640 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-24 05:33:36 +00:00
klu2 f0a3b1a221 Add more checking to avoid the buffer overflow.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8626 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-23 08:42:38 +00:00
klu2 3dcb601895 Add missing source item in INF for Bmp.h header file
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8607 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-19 07:59:04 +00:00
lgao4 920d2c23a1 Update header file comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8583 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-17 08:46:49 +00:00
gikidy 3384a9bcb4 Fix BDS limitation of two "EFI DVD/CDROM" options appear after plug two CD-ROM.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8530 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-11 08:35:53 +00:00
eric_tian 31b440cfa6 fix a bug of incorrectly judge the end of variable arguments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8386 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-26 07:27:13 +00:00
lgao4 67d632277d Clean up GenericBdsLib.h to remove unnecessary include header files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8361 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-21 01:50:05 +00:00
vanjeff 2bf3421a0c add type cast.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8159 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-23 07:55:50 +00:00
lgao4 18e7cd2c7a remove unused header file
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8089 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-15 09:26:34 +00:00
vanjeff 88f2bdb51d fixed overflow issue when reading BMP file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8084 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-15 03:03:28 +00:00
jljusten 6ba0bc7c4e Fix some inconsistencies in EFIAPI usage.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8076 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-13 23:07:44 +00:00
vanjeff 406ddad31b 1. Update the CRC32 in the EFI System Table header in BdsConsole.c
2. Removed duplicated installation for Simple Text Output protocol on ErrHandle.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8031 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-07 08:42:15 +00:00
gikidy 8e6b0dcb50 Loaded Image device paths for EFI Drivers loaded from PCI Option ROM
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8025 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-03 08:18:43 +00:00
lgao4 e3b236c8ee Use UefiLib CreatePopUp API
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8014 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-02 09:22:18 +00:00
gikidy 9aaaeb2804 SATA Device path updated.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8009 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-02 08:32:41 +00:00
vanjeff 5d7c160908 clean console control protocol in bds module.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7915 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-20 09:25:28 +00:00
jljusten 454b8ca851 Fix build warning generated by GCC.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7858 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-10 16:46:03 +00:00
lgao4 07d97279a3 Add more checks for Dxe Report status code library to access boot service.
Add measure to GPT boot table.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7846 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-10 07:54:11 +00:00
vanjeff dad608335f 1. retried PrimaryConsoleInDeviceGuid, PrimaryConsoleOutDeviceGuid and PrimaryStandardErrorDeviceGuid.
Consplitter will not install these protocols any more.

2. added logic in Bds to check console handles in System table, if no console handle assigned. Bds module will fill these handles in system table accordingly.

3. fixed one bug before call ConsoleControl->SetMode in FrontPage.c.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7841 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-10 03:10:15 +00:00