On 28/07/2015 20:44, Laszlo Ersek wrote:
> I have a significant update for this patch. On S3 resume, the APMC_EN
> bit (and other bits) are cleared in SMI_EN (which is necessary, see qemu
> commit be66680e). For the trigger method to work right after S3 resume,
> the APMC_EN bit must be set again (otherwise a working-as-expected OS
> will not be able to use the variable services after S3 resume).
> 
> I decided to put the S3 boot script to actual use this time, and I am
> now writing the necessary opcodes to the bootscript in the entry point
> (more precisely, in a protocol notify callback). This way chipset state
> is restored by the time the OS gets the control back.

Ah, so the lockbox is accessed straight from TSEG to retrieve the S3
bootscript, without going through the SMM handler?

Paolo
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to