History log of /device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/Variable.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
bdb898a50c641639d047db8095ffeb9a3c9d3d41 26-Oct-2016 Laszlo Ersek <lersek@redhat.com> IntelFrameworkModulePkg/BdsDxe: rebase to ARRAY_SIZE()

Cc: Jeff Fan <jeff.fan@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Jeff Fan <jeff.fan@intel.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/Variable.c
84db9040cc8ba556faec61ad3480c774ca8b984c 15-Oct-2015 Eric Dong <eric.dong@intel.com> IntelFrameworkModulePkg BdsDxe: Use PcdSet##S to replace PcdSet##

PcdSet## has no error status returned, then the caller has no idea about whether the set operation is successful or not.
PcdSet##S were added to return error status and PcdSet## APIs were put in ifndef DISABLE_NEW_DEPRECATED_INTERFACES condition.
To adopt PcdSet##S and further code development with DISABLE_NEW_DEPRECATED_INTERFACES defined, we need to Replace PcdSet## usage with PcdSet##S.

Normally, DynamicDefault PCD set is expected to be success, but DynamicHii PCD set failure is a legal case.
So for DynamicDefault, we add assert when set failure. For DynamicHii, we add logic to handle it.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18605 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/Variable.c
49264dac6ea49faa0307a57c49d0611a2055d292 30-Jun-2015 Hao Wu <hao.a.wu@intel.com> IntelFrameworkModulePkg BootMaint: Use safe string functions

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Hao Wu <hao.a.wu@intel.com>
Reviewed-by: Jeff Fan <jeff.fan@intel.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17736 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/Variable.c
720624cce0e74cdec8547a8d31b24b39210bf007 07-Jul-2014 Eric Dong <eric.dong@intel.com> Refine code to follow good coding style.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Eric Dong <eric.dong@intel.com>



git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15636 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/Variable.c
8acb3f7b54ec6ebf9c01b8c570f5ec0c7530be80 04-Jul-2014 Eric Dong <eric.dong@intel.com> Refine the save action for the BdsDxe.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>


git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15616 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/Variable.c
be9304f33f78a645512e76e6d44a69198d5f3c06 18-Jun-2014 Eric Dong <eric.dong@intel.com> Support RouteConfig function for BdsDxe driver.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Gao, Liming <liming,gao@intel.com>



git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15563 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/Variable.c
be9198c96d7815903a522da8d32cb7075144f693 26-Mar-2014 Ruiyu Ni <ruiyu.ni@intel.com> Remove RT attribute for variable LegacyDevOrder

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15391 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/Variable.c
69fc8f080e07ea026e8fbb8610cfb89c099d6db2 25-Mar-2014 Ruiyu Ni <ruiyu.ni@intel.com> Report the setting variable failure to platform through the status code when core cannot handle the error.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15385 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/Variable.c
16e5944abde9ea3f01c9ccff2a86a41e5a6a1dd0 01-Jun-2012 niruiyu <niruiyu@6f19259b-4bc3-4df7-8a09-765794883524> Refine BdsDxe driver and GenericBdsLib library so that the GenericBdsLib doesn't depend on the BdsDxe implementation.

Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Eric Dong <eric.dong@intel.com>

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13418 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/Variable.c
847240774030f9da79140a9d515a64ec817eb6eb 15-Dec-2011 ydong10 <ydong10@6f19259b-4bc3-4df7-8a09-765794883524> Update for IntelFrameworkModulePkg.

Per UEFI spec, on CallBack action EFI_BROWSER_ACTION_CHANGING, the return value of ActionRequest will be ignored, but on CallBack action EFI_BROWSER_ACTION_CHANGED, the return value of ActionRequest will be used.
But, EDKII browser still processes the got ActionRequest. And, all HII drivers in EDKII project also returns their expected ActionRequest value on action EFI_BROWSER_ACTION_CHANGING.
Now update the browser to follow the spec, and update all core Hii drivers to keep old working modal.

Signed-off-by: ydong10
Reviewed-by: lgao4

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12866 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/Variable.c
32bc1227a5a75fe086970420f98c91e500fd88cb 24-Nov-2011 li-elvin <li-elvin@6f19259b-4bc3-4df7-8a09-765794883524> Update console mode setup to use PcdSetupConOutColumn and PcdSetupConOutRow which are specially for BIOS setup.

Signed-off-by: li-elvin
Reviewed-by: lgao4


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12770 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/Variable.c
0e9b25c23b2f8f0997eba6c38ccc82f92cd26fcc 29-Sep-2011 ydong10 <ydong10@6f19259b-4bc3-4df7-8a09-765794883524> Add pointer check for NULL before dereference it.

Signed-off-by: ydong10
Reviewed-by: vanjeff

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12474 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/Variable.c
e24fc1032db5d5d2395260f6d7af94aa5a2a0802 18-Sep-2011 lgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524> 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
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/Variable.c
8e491a81e0d4c98fabb974ebc16c4cc77cc56eca 16-Feb-2011 ydong10 <ydong10@6f19259b-4bc3-4df7-8a09-765794883524> Enhance BMM to support changing FlowControl setting in Front Page.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11317 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/Variable.c
22d1f97835d6c532d0cceb3b70853bf56fb5864a 28-Jan-2011 niruiyu <niruiyu@6f19259b-4bc3-4df7-8a09-765794883524> BDS enhancement: enumerate & show all legacy boot options in Boot Manager so that user is able to boot any devices in the same type in Boot Manager without changing the legacy dev order.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11279 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/Variable.c
b452ca899292ebe8fae8252fbb2a2a06072e8fe3 10-Jan-2011 niruiyu <niruiyu@6f19259b-4bc3-4df7-8a09-765794883524> Enhance BDS to support Boot/Driver option whose option number >= 0xFF.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11242 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/Variable.c
ce5fad41516804f34d52ebb27808255e1263fd0e 21-May-2010 xli24 <xli24@6f19259b-4bc3-4df7-8a09-765794883524> For BdsDxe module,
1. Fix the risk that local variable is pointed by global pointer, which may be used outside the variable scope.
2. Add more checking for pointers.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10536 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/Variable.c
180a5a35cb49699bd249dee19e41cee34c856a58 23-Apr-2010 hhtian <hhtian@6f19259b-4bc3-4df7-8a09-765794883524> Update the copyright notice format

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10414 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/Variable.c
cb7d01c0c9fd199742d0fed6aa69dab0c79c3338 14-Apr-2009 rsun3 <rsun3@6f19259b-4bc3-4df7-8a09-765794883524> HII Library Class interface refine.

The "HiiLib" prefix for all HII Library API function names changed to "Hii".

Remove:
HiiLibPreparePackageList(), replaced by HiiAddPackages()
HiiLibNewString(), replaced by HiiSetString()
HiiLibGetStringFromHandle(), replaced by HiiGetString()
HiiLibGetStringFromToken(), replaced by HiiGetPackageString()
HiiLibExtractGuidFromHiiHandle()
HiiLibDevicePathToHiiHandle()
HiiLibGetSupportedSecondaryLanguages()
HiiLibGetSupportedLanguageNumber()
HiiLibExportPackageLists()
HiiLibListPackageLists()

Interface change:
HiiAddPackages()
HiiSetString()
HiiGetString()
HiiGetHiiHandles()

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8083 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/Variable.c
6aa22a177c32344ff1d5f765183d0da416fcc252 23-Feb-2009 qhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524> 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
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/Variable.c
ef8412671ee1ed67bb82e8227b8039131f0614f6 03-Feb-2009 klu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524> 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
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/Variable.c
5c08e1173703234cc2913757f237ee916087498a 23-Jan-2009 klu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524> 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
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/Variable.c