Re: [edk2] [PATCH 2/2] MdeModulePkg DxeS3BootScriptLib: Add DESTRUCTOR S3BootScriptLibDeinitialize

2016-06-06 Thread Laszlo Ersek
ve PI spec to clarify > how to handle registered boot script when driver is unload. > > > > Thank you > > Yao Jiewen > > > > *From:*Zeng, Star > *Sent:* Friday, June 3, 2016 9:22 PM > *To:* Laszlo Ersek ; edk2-de...@ml01.01.org > *Cc:* Yao, Jiew

Re: [edk2] [PATCH 2/2] MdeModulePkg DxeS3BootScriptLib: Add DESTRUCTOR S3BootScriptLibDeinitialize

2016-06-03 Thread Yao, Jiewen
handle registered boot script when driver is unload. Thank you Yao Jiewen From: Zeng, Star Sent: Friday, June 3, 2016 9:22 PM To: Laszlo Ersek ; edk2-de...@ml01.01.org Cc: Yao, Jiewen Subject: Re: [edk2] [PATCH 2/2] MdeModulePkg DxeS3BootScriptLib: Add DESTRUCTOR S3BootScriptLibDeinitialize On 2016

Re: [edk2] [PATCH 2/2] MdeModulePkg DxeS3BootScriptLib: Add DESTRUCTOR S3BootScriptLibDeinitialize

2016-06-03 Thread Laszlo Ersek
On 06/03/16 15:22, Zeng, Star wrote: > On 2016/6/3 16:42, Laszlo Ersek wrote: >> On 06/03/16 04:09, Star Zeng wrote: >>> PiDxeS3BootScriptLib has a constructor S3BootScriptLibInitialize() that >>> registers ready-to-lock callback S3BootScriptSmmEventCallBack() and >>> several >>> more. The library

Re: [edk2] [PATCH 2/2] MdeModulePkg DxeS3BootScriptLib: Add DESTRUCTOR S3BootScriptLibDeinitialize

2016-06-03 Thread Zeng, Star
On 2016/6/3 16:42, Laszlo Ersek wrote: On 06/03/16 04:09, Star Zeng wrote: PiDxeS3BootScriptLib has a constructor S3BootScriptLibInitialize() that registers ready-to-lock callback S3BootScriptSmmEventCallBack() and several more. The library is linked to SMM modules. If the module entry-point fun

Re: [edk2] [PATCH 2/2] MdeModulePkg DxeS3BootScriptLib: Add DESTRUCTOR S3BootScriptLibDeinitialize

2016-06-03 Thread Zeng, Star
On 2016/6/3 16:22, Laszlo Ersek wrote: On 06/03/16 04:09, Star Zeng wrote: PiDxeS3BootScriptLib has a constructor S3BootScriptLibInitialize() that registers ready-to-lock callback S3BootScriptSmmEventCallBack() and several more. The library is linked to SMM modules. If the module entry-point fun

Re: [edk2] [PATCH 2/2] MdeModulePkg DxeS3BootScriptLib: Add DESTRUCTOR S3BootScriptLibDeinitialize

2016-06-03 Thread Laszlo Ersek
On 06/03/16 04:09, Star Zeng wrote: > PiDxeS3BootScriptLib has a constructor S3BootScriptLibInitialize() that > registers ready-to-lock callback S3BootScriptSmmEventCallBack() and several > more. The library is linked to SMM modules. If the module entry-point > function returns error (because of la

Re: [edk2] [PATCH 2/2] MdeModulePkg DxeS3BootScriptLib: Add DESTRUCTOR S3BootScriptLibDeinitialize

2016-06-03 Thread Laszlo Ersek
On 06/03/16 04:09, Star Zeng wrote: > PiDxeS3BootScriptLib has a constructor S3BootScriptLibInitialize() that > registers ready-to-lock callback S3BootScriptSmmEventCallBack() and several > more. The library is linked to SMM modules. If the module entry-point > function returns error (because of la

Re: [edk2] [PATCH 2/2] MdeModulePkg DxeS3BootScriptLib: Add DESTRUCTOR S3BootScriptLibDeinitialize

2016-06-02 Thread Zeng, Star
-Original Message- From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of Star Zeng Sent: Friday, June 3, 2016 10:09 AM To: edk2-devel@lists.01.org Cc: Jiewen Yao Subject: [edk2] [PATCH 2/2] MdeModulePkg DxeS3BootScriptLib: Add DESTRUCTOR S3BootScriptLibDeinitialize PiD

Re: [edk2] [PATCH 2/2] MdeModulePkg DxeS3BootScriptLib: Add DESTRUCTOR S3BootScriptLibDeinitialize

2016-06-02 Thread Yao, Jiewen
ehalf Of > Star Zeng > Sent: Friday, June 3, 2016 10:09 AM > To: edk2-devel@lists.01.org > Cc: Jiewen Yao > Subject: [edk2] [PATCH 2/2] MdeModulePkg DxeS3BootScriptLib: Add > DESTRUCTOR S3BootScriptLibDeinitialize > > PiDxeS3BootScriptLib has a constructor

[edk2] [PATCH 2/2] MdeModulePkg DxeS3BootScriptLib: Add DESTRUCTOR S3BootScriptLibDeinitialize

2016-06-02 Thread Star Zeng
PiDxeS3BootScriptLib has a constructor S3BootScriptLibInitialize() that registers ready-to-lock callback S3BootScriptSmmEventCallBack() and several more. The library is linked to SMM modules. If the module entry-point function returns error (because of lack of resources, unsupported, whatever), the