coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
backup_default_smm.c File Reference
#include <string.h>
#include <acpi/acpi.h>
#include <console/console.h>
#include <cbmem.h>
#include <cpu/x86/smm.h>
Include dependency graph for backup_default_smm.c:

Go to the source code of this file.

Functions

voidbackup_default_smm_area (void)
 
void restore_default_smm_area (void *smm_save_area)
 

Function Documentation

◆ backup_default_smm_area()

void* backup_default_smm_area ( void  )

Definition at line 9 of file backup_default_smm.c.

References acpi_is_wakeup_s3(), BIOS_DEBUG, cbmem_add(), CBMEM_ID_SMM_SAVE_SPACE, CONFIG, memcpy(), NULL, printk, SMM_DEFAULT_BASE, and SMM_DEFAULT_SIZE.

Referenced by aseg_smm_relocate().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ restore_default_smm_area()

void restore_default_smm_area ( void smm_save_area)

Definition at line 42 of file backup_default_smm.c.

References memcpy(), NULL, SMM_DEFAULT_BASE, and SMM_DEFAULT_SIZE.

Referenced by smm_init_completion().

Here is the call graph for this function:
Here is the caller graph for this function: