1 /* SPDX-License-Identifier: GPL-2.0-only */
5 #include <amdblocks/agesawrapper_call.h>
7 static void agesawrapper_s3finalrestore(void *unused
)
9 /* Needed since running on BS_OS_RESUME_CHECK to ensure execution before SMM lock */
10 if (acpi_is_wakeup_s3())
11 do_agesawrapper(AMD_S3FINAL_RESTORE
, "amds3finalrestore");
14 BOOT_STATE_INIT_ENTRY(BS_OS_RESUME_CHECK
, BS_ON_EXIT
, agesawrapper_s3finalrestore
, NULL
);