coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
amd_resume_final.c
Go to the documentation of this file.
1
/* SPDX-License-Identifier: GPL-2.0-only */
2
3
#include <
bootstate.h
>
4
#include <
amdblocks/agesawrapper_call.h
>
5
6
static
void
agesawrapper_s3finalrestore
(
void
*unused)
7
{
8
do_agesawrapper
(AMD_S3FINAL_RESTORE,
"amds3finalrestore"
);
9
}
10
11
BOOT_STATE_INIT_ENTRY
(
BS_OS_RESUME
,
BS_ON_ENTRY
,
12
agesawrapper_s3finalrestore
,
NULL
);
agesawrapper_call.h
do_agesawrapper
static u32 do_agesawrapper(AGESA_STRUCT_NAME func, const char *name)
Definition:
agesawrapper_call.h:34
agesawrapper_s3finalrestore
static void agesawrapper_s3finalrestore(void *unused)
Definition:
amd_resume_final.c:6
BOOT_STATE_INIT_ENTRY
BOOT_STATE_INIT_ENTRY(BS_OS_RESUME, BS_ON_ENTRY, agesawrapper_s3finalrestore, NULL)
bootstate.h
BS_OS_RESUME
@ BS_OS_RESUME
Definition:
bootstate.h:86
BS_ON_ENTRY
@ BS_ON_ENTRY
Definition:
bootstate.h:95
NULL
#define NULL
Definition:
stddef.h:19
src
soc
amd
common
pi
amd_resume_final.c
Generated by
1.9.1