On 06/06/16 12:38, Star Zeng wrote:
> V2:
> 1. Fix typo in SmmLockBoxSmmConstructuor and SmmLockBoxSmmDestructuor.
> 2. Add comment for S3BootScriptLibDeinitialize to explain that the desturctor 
> doesn't
> support unloading as a separate action, and it only supports unloading if the
> containing driver's entry point function fails.
> 3. Revert git commit 058196bbb345.
> 
> Cc: Jiewen Yao <[email protected]>
> Cc: Laszlo Ersek <[email protected]>
> Star Zeng (4):
>   MdeModulePkg SmmLockBoxSmmLib: Fix typo in SmmLockBoxSmmConstructuor
>   MdeModulePkg SmmLockBoxSmmLib: Add DESTRUCTOR SmmLockBoxSmmDestructor
>   MdeModulePkg DxeS3BootScriptLib: Add DESTRUCTOR
>     S3BootScriptLibDeinitialize
>   MdeModulePkg DxeS3BootScriptLib: Revert git commit 058196bbb345
> 
>  .../Library/PiDxeS3BootScriptLib/BootScriptSave.c  | 159 
> ++++++++++++++++-----
>  .../PiDxeS3BootScriptLib/DxeS3BootScriptLib.inf    |   4 +-
>  .../Library/SmmLockBoxLib/SmmLockBoxSmmLib.c       |  49 ++++++-
>  .../Library/SmmLockBoxLib/SmmLockBoxSmmLib.inf     |   5 +-
>  4 files changed, 171 insertions(+), 46 deletions(-)

I tested the series in the following scenarios:

- Ia32 build of OVMF, Q35, SMM_REQUIRE, S3 disabled and enabled
- Ia32X64 build of OVMF, Q35, SMM_REQUIRE, S3 disabled and enabled
- X64 build of OVMF, i440fx, S3 disabled and enabled

Everything seems to work fine. I can see the
S3BootScriptLibDeinitialize() message (from patch #3) in all three
S3-disabled cases, every time from two modules (S3SaveStateDxe and
BootScriptExecutorDxe).

Series
Tested-by: Laszlo Ersek <[email protected]>

Thanks!
Laszlo
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to