//\r
EfiEventGroupSignal (&gEfiEndOfDxeEventGroupGuid);\r
\r
- if (QemuFwCfgS3Enabled ()) {\r
+ if (PcdGetBool (PcdAcpiS3Enable)) {\r
//\r
// Save the boot script too. Note that this will require us to emit the\r
// DxeSmmReadyToLock event just below, which in turn locks down SMM.\r