It’s done by BIOS pei s3 resume code.  Restored register value saved  while BIOS normal POST BY BootScriptExecutor.  You can refer  gEfiPeiS3Resume2Ppi  usage

Thanks

发件人: devel@edk2.groups.io [mailto:devel@edk2.groups.io] 代表 Tiger Liu(BJ-RD)
发送时间: 2020810 17:32
收件人: devel@edk2.groups.io
主题: [edk2-devel] question about PCI bridge's bus range window configure's save and restore

 

Hi, Experts:

I have a question about PCI Bridges config spaces save and restore.

 

Pci bus driver configured PCI Bridges secondary bus number register and subordinate bus number register.

 

So, if system resumes from S3(Suspend to ram) state, who is responsible for restoring PCI Bridges secondary bus number / subordinate bus number registers content?

 

Will the OS be responsible for it?

 

Thanks

 

 

保密声明:

本邮件含有保密或专有信息,仅供指定收件人使用。严禁对本邮件或其内容做任何未经授权的查阅、使用、复制或转发。

CONFIDENTIAL NOTE:

This email contains confidential or legally privileged information and is for the sole use of its intended recipient. Any unauthorized review, use, copying or forwarding of this email or the content of this email is strictly prohibited.