/** @file\r
Save the S3 data to S3 boot script.\r
\r
- Copyright (c) 2006 - 2020, Intel Corporation. All rights reserved.<BR>\r
+ Copyright (c) 2006 - 2021, Intel Corporation. All rights reserved.<BR>\r
\r
SPDX-License-Identifier: BSD-2-Clause-Patent\r
\r
BOOLEAN mS3BootScriptTableAllocated = FALSE;\r
BOOLEAN mS3BootScriptTableSmmAllocated = FALSE;\r
EFI_SMM_SYSTEM_TABLE2 *mBootScriptSmst = NULL;\r
-BOOLEAN mAcpiS3Enable = TRUE;\r
+BOOLEAN mS3BootScriptAcpiS3Enable = TRUE;\r
\r
/**\r
This is an internal function to add a terminate node the entry, recalculate the table\r
EFI_PHYSICAL_ADDRESS Buffer;\r
\r
if (!PcdGetBool (PcdAcpiS3Enable)) {\r
- mAcpiS3Enable = FALSE;\r
+ mS3BootScriptAcpiS3Enable = FALSE;\r
DEBUG ((DEBUG_INFO, "%a: Skip S3BootScript because ACPI S3 disabled.\n", gEfiCallerBaseName));\r
return RETURN_SUCCESS;\r
}\r
{\r
EFI_STATUS Status;\r
\r
- if (!mAcpiS3Enable) {\r
+ if (!mS3BootScriptAcpiS3Enable) {\r
return RETURN_SUCCESS;\r
}\r
\r
{\r
UINT8* NewEntryPtr;\r
\r
- if (!mAcpiS3Enable) {\r
+ if (!mS3BootScriptAcpiS3Enable) {\r
return NULL;\r
}\r
\r
\r
return EFI_SUCCESS;\r
}\r
-\r