History log of /device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Library/GenericBdsLib/InternalBdsLib.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
155f9d424c549356688021881377a55fc99dacf5 26-Jul-2015 Ard Biesheuvel <ard.biesheuvel@linaro.org> IntelFrameworkModulePkg/GenericBdsLib: remove AcpiS3->S3Save() call

The AcpiS3->S3Save() call needs to occur before the end-of-DXE event
is signalled. The end-of-DXE event needs to be signalled prior to
invoking any UEFI drivers, applications, or connecting consoles.

This means the call to S3Save() that occurs in BdsLibBootViaBootOption()
violates the ordering constraints, and should be removed. Since it is
the responsibility of the platform BDS to signal the end-of-DXE event,
it should also perform the AcpiS3->S3Save() call at an appropriate time.

Commit message update from Laszlo Ersek <lersek@redhat.com>:

Following Jiewen Yao's idea in

http://thread.gmane.org/gmane.comp.bios.tianocore.devel/16088/focus=16146

platforms that
(1) use this exact instance of GenericBdsLib, *and*
(2) support S3

should now collect the S3 state
(3) in an End-of-Dxe callback in their AcpiS3SaveDxe drivers, *or*
(4) with an explicit AcpiS3->S3Save() call made to their AcpiS3SaveDxe
drivers from their PlatformBdsLib instances.

OvmfPkg, which uses this GenericBdsLib instance, and has its own
AcpiS3SaveDxe fork, follows (3).

Vlv2TbltDevicePkg, which has a GenericBdsLib fork, and uses
IntelFrameworkModulePkg/Universal/Acpi/AcpiS3SaveDxe, follows (4).

There are no other platforms in the public edk2 repository that support
S3.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Jiewen Yao <Jiewen.Yao@intel.com>
[lersek@redhat.com: updated commit message]
Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Cc: Jeff Fan <jeff.fan@intel.com>
Cc: Jiewen Yao <Jiewen.Yao@intel.com>
Signed-off-by: Laszlo Ersek <lersek@redhat.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18036 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Library/GenericBdsLib/InternalBdsLib.h
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/Library/GenericBdsLib/InternalBdsLib.h
863986b3c8e67736d361b68e293d01e6f92f825c 26-Jul-2013 Ruiyu Ni <ruiyu.ni@intel.com> Update all the code to consume the ConvertDevicePathToText, ConvertDevicePathNodeToText, ConvertTextToDevicePath and ConvertTextToDeviceNode APIs in DevicePathLib.

Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Feng Tian <feng.tian@intel.com>
Reviewed-by: Elvin Li <elvin.li@intel.com>
Reviewed-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
Reviewed-by: Guo Dong <guo.dong@intel.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14505 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Library/GenericBdsLib/InternalBdsLib.h
f6c07313d1f7317c328e9ef80cfb272beec0a249 23-May-2013 lzeng14 <lzeng14@6f19259b-4bc3-4df7-8a09-765794883524> Move the memory allocation and variable set to BdsEntry, use VariableLock protocol to lock the L”PerfDataMemAddr” variable and prevent malware to update it.

Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@14386 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Library/GenericBdsLib/InternalBdsLib.h
37406c34c38991c58462a64778014cbf88cc8558 19-Mar-2013 niruiyu <niruiyu@6f19259b-4bc3-4df7-8a09-765794883524> Remove BdsLibConnectConsoleVariableWithoutDispatch() and enhance BdsLibConnectDevicePath() to only call gDS->Dispatch() when the current TPL is TPL_APPLICATION

Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Chao B Zhang <chao.b.zhang@intel.com>

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@14211 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Library/GenericBdsLib/InternalBdsLib.h
bc79c731b4eaec270bfb62d32b9fc2cc321eee61 17-Aug-2012 czhang46 <czhang46@6f19259b-4bc3-4df7-8a09-765794883524> Fix the issue that consplitter should not touch ConIn variable & do ConIn connection

Signed-off-by: Chao Zhang <chao.b.zhang@intel.com>
Reviewed-by : Hot Tian <hot.tian@intel.com>
Reviewed-by : Ni, Ruiyu <ruiyu.ni@intel.com>

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13644 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Library/GenericBdsLib/InternalBdsLib.h
26c0ba7799a6a735ecb8fd1a7757aeb8989e5cfa 19-Jun-2012 lzeng14 <lzeng14@6f19259b-4bc3-4df7-8a09-765794883524> Align the perf data between FPDT and DP.

Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13461 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Library/GenericBdsLib/InternalBdsLib.h
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/Library/GenericBdsLib/InternalBdsLib.h
8c08a567c64814f36f7261ca5652ef0350ca660e 19-Apr-2012 ydong10 <ydong10@6f19259b-4bc3-4df7-8a09-765794883524> 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
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Library/GenericBdsLib/InternalBdsLib.h
2df686c67c7819e01a1487dd703faffef2b59dce 23-Mar-2012 czhang46 <czhang46@6f19259b-4bc3-4df7-8a09-765794883524> 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
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Library/GenericBdsLib/InternalBdsLib.h
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/Library/GenericBdsLib/InternalBdsLib.h
79b7a6a1ff4515bfc109c2f85158bfcc965051da 25-Aug-2011 xdu2 <xdu2@6f19259b-4bc3-4df7-8a09-765794883524> 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
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Library/GenericBdsLib/InternalBdsLib.h
7389fdd0b8c74b10570614ef2ca989d627a9549c 24-Dec-2010 xdu2 <xdu2@6f19259b-4bc3-4df7-8a09-765794883524> 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
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Library/GenericBdsLib/InternalBdsLib.h
7caf72a907ef9b71e7c8f1c27c5b4eda98225689 22-Nov-2010 niruiyu <niruiyu@6f19259b-4bc3-4df7-8a09-765794883524> 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
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Library/GenericBdsLib/InternalBdsLib.h
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/Library/GenericBdsLib/InternalBdsLib.h
a7a523e07b1f804efed99fcf57cf0421904c75a9 25-Jan-2010 tye1 <tye1@6f19259b-4bc3-4df7-8a09-765794883524> 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
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Library/GenericBdsLib/InternalBdsLib.h
ff482c5692e4011d7d096442c945b478f1bad40b 30-Dec-2009 xdu2 <xdu2@6f19259b-4bc3-4df7-8a09-765794883524> 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
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Library/GenericBdsLib/InternalBdsLib.h
261835ccf2acec462d2fa11f6ba939afdf28a234 08-Dec-2009 lgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524> 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
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Library/GenericBdsLib/InternalBdsLib.h
2828833eaefba859233c033d27fd4bb803a92547 24-Jul-2009 mdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524> 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
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Library/GenericBdsLib/InternalBdsLib.h
949ae9a793a039c94b1d978785807c784024398e 24-Jul-2009 eric_tian <eric_tian@6f19259b-4bc3-4df7-8a09-765794883524> 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
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Library/GenericBdsLib/InternalBdsLib.h
9910cfe7db9713ee73ebf08c816625549df20b57 24-Jul-2009 eric_tian <eric_tian@6f19259b-4bc3-4df7-8a09-765794883524> 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
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Library/GenericBdsLib/InternalBdsLib.h
429cac9c178d62020bc05debadee974986cef769 13-Jul-2009 klu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524> 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
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Library/GenericBdsLib/InternalBdsLib.h
79bc7a89f7da2c5c17332a55e514dd69e849ce87 12-Jul-2009 mdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524> 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
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Library/GenericBdsLib/InternalBdsLib.h
d46f36324fa86c08386f57c2675c45e4c1e888ec 09-Jul-2009 lgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524> 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
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Library/GenericBdsLib/InternalBdsLib.h
3384a9bcb45cd25380df36f785de8b275814ae80 11-Jun-2009 gikidy <gikidy@6f19259b-4bc3-4df7-8a09-765794883524> 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
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Library/GenericBdsLib/InternalBdsLib.h
67d632277d0650197002996fb98cb3cb41dce9e8 21-May-2009 lgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524> 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
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Library/GenericBdsLib/InternalBdsLib.h
18e7cd2c7ac3397580779a83fe027aa56ac89402 15-Apr-2009 lgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524> remove unused header file

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8089 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Library/GenericBdsLib/InternalBdsLib.h
5d7c160908a740e50811fde210e444a5f32518f9 20-Mar-2009 vanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524> 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
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Library/GenericBdsLib/InternalBdsLib.h
07d97279a370e6e66dc1ae9b848fbd5f4eca202e 10-Mar-2009 lgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524> 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
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Library/GenericBdsLib/InternalBdsLib.h
4354ec05faa3aa88a8064c0ff4d03fc03b15e70d 02-Mar-2009 qhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524> 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
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Library/GenericBdsLib/InternalBdsLib.h
a95f236bd3dc8238c0f3a211cee479259efae9e4 27-Feb-2009 klu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524> 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
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Library/GenericBdsLib/InternalBdsLib.h
f76797ca687ae1785c6f1b43b619d0b4829f0423 23-Feb-2009 eric_tian <eric_tian@6f19259b-4bc3-4df7-8a09-765794883524> 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
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Library/GenericBdsLib/InternalBdsLib.h
6055758f8785e163d090fe42d7cf494c65988132 23-Feb-2009 qhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524> 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
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Library/GenericBdsLib/InternalBdsLib.h
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/Library/GenericBdsLib/InternalBdsLib.h