On 04/07/16 12:19, Star Zeng wrote: > Currently, the LockBox protocol is installed in entrypoint of > OVMF AcpiS3SaveDxe. > > We can let the first driver run with LockBoxDxeLib linked to have its > library constructor to install LockBox protocol on the ImageHandle. > As other drivers may have gEfiLockBoxProtocolGuid dependency, > the first driver should run before them. > > The later patches to retire AcpiS3SaveDxe for OVMF depends on this patch. > > Cc: Laszlo Ersek <[email protected]> > Cc: Jordan Justen <[email protected]> > Cc: Jiewen Yao <[email protected]> > Contributed-under: TianoCore Contribution Agreement 1.0 > Signed-off-by: Star Zeng <[email protected]> > Tested-by: Laszlo Ersek <[email protected]> > --- > OvmfPkg/AcpiS3SaveDxe/AcpiS3Save.c | 13 +----------- > OvmfPkg/AcpiS3SaveDxe/AcpiS3SaveDxe.inf | 6 +----- > OvmfPkg/Library/LockBoxLib/LockBoxDxe.c | 31 > ++++++++++++++++++++++++++-- > OvmfPkg/Library/LockBoxLib/LockBoxDxeLib.inf | 6 +++++- > 4 files changed, 36 insertions(+), 20 deletions(-)
Reviewed-by: Laszlo Ersek <[email protected]> _______________________________________________ edk2-devel mailing list [email protected] https://lists.01.org/mailman/listinfo/edk2-devel

