coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
pmclib.c File Reference
#include <bootmode.h>
#include <stdint.h>
#include <acpi/acpi.h>
#include <console/console.h>
#include "pmclib.h"
#include "pmbase.h"
#include "pmutil.h"
Include dependency graph for pmclib.c:

Go to the source code of this file.

Functions

static void clear_power_state (void)
 
int southbridge_detect_s3_resume (void)
 

Function Documentation

◆ clear_power_state()

static void clear_power_state ( void  )
static

Definition at line 12 of file pmclib.c.

References PM1_CNT, read_pmbase32(), SLP_TYP, and write_pmbase32().

Referenced by southbridge_detect_s3_resume().

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

◆ southbridge_detect_s3_resume()

int southbridge_detect_s3_resume ( void  )

Definition at line 18 of file pmclib.c.

References acpi_s3_resume_allowed(), BIOS_DEBUG, clear_power_state(), platform_is_resuming(), and printk.

Referenced by mainboard_romstage_entry().

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