coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <acpi/acpi.h>
#include <bootstate.h>
#include <console/console.h>
#include <intelblocks/cse.h>
#include <intelblocks/pmc_ipc.h>
#include <security/vboot/vboot_common.h>
#include <soc/intel/common/reset.h>
#include <soc/pci_devs.h>
#include <timestamp.h>
#include <types.h>
Go to the source code of this file.
Macros | |
#define | CSE_MAX_RETRY_CMD 3 |
Enumerations | |
enum | cse_cmd_result { CSE_CMD_RESULT_GLOBAL_RESET_REQUESTED , CSE_CMD_RESULT_SUCCESS , CSE_CMD_RESULT_ERROR , CSE_CMD_RESULT_DISABLED , CSE_CMD_RESULT_RETRY } |
Functions | |
static enum cse_cmd_result | decode_heci_send_receive_error (enum cse_tx_rx_status ret) |
static enum cse_cmd_result | cse_disable_mei_bus (void) |
static enum cse_cmd_result | cse_send_eop (void) |
static enum cse_cmd_result | cse_send_cmd_retries (enum cse_cmd_result(*cse_send_command)(void)) |
static void | cse_handle_eop_error (void) |
static void | handle_cse_eop_result (enum cse_cmd_result result) |
static void | do_send_end_of_post (void) |
void | cse_send_end_of_post (void) |
static void | set_cse_end_of_post (void *unused) |
BOOT_STATE_INIT_ENTRY (BS_PAYLOAD_BOOT, BS_ON_ENTRY, set_cse_end_of_post, NULL) | |
enum cse_cmd_result |
BOOT_STATE_INIT_ENTRY | ( | BS_PAYLOAD_BOOT | , |
BS_ON_ENTRY | , | ||
set_cse_end_of_post | , | ||
NULL | |||
) |
|
static |
Definition at line 1 of file cse_eop.c.
Referenced by cse_handle_eop_error().
Definition at line 163 of file cse_eop.c.
References cse_disable_mei_bus(), cse_disable_mei_devices(), cse_send_cmd_retries(), and die().
Referenced by handle_cse_eop_result().
|
static |
Definition at line 1 of file cse_eop.c.
Referenced by cse_handle_eop_error(), and do_send_end_of_post().
Definition at line 236 of file cse_eop.c.
References do_send_end_of_post().
Referenced by soc_init_pre_device().
|
static |
Definition at line 1 of file cse_eop.c.
Referenced by do_send_end_of_post().
|
static |
Definition at line 202 of file cse_eop.c.
References acpi_get_sleep_type(), ACPI_S3, BIOS_DEBUG, BIOS_INFO, BIOS_WARNING, cse_send_cmd_retries(), cse_send_eop(), DEV_ACTIVE, DEV_IDLE, handle_cse_eop_result(), is_cse_enabled(), PCH_DEVFN_CSE, printk, set_cse_device_state(), timestamp_add_now(), TS_ME_END_OF_POST_END, and TS_ME_END_OF_POST_START.
Referenced by cse_send_end_of_post(), and set_cse_end_of_post().
|
static |
Definition at line 174 of file cse_eop.c.
References BIOS_ERR, BIOS_INFO, CONFIG, CSE_CMD_RESULT_DISABLED, CSE_CMD_RESULT_ERROR, CSE_CMD_RESULT_GLOBAL_RESET_REQUESTED, CSE_CMD_RESULT_SUCCESS, CSE_EOP_FAIL, cse_handle_eop_error(), cse_trigger_vboot_recovery(), do_global_reset(), printk, and vboot_recovery_mode_enabled().
Referenced by do_send_end_of_post().
Definition at line 241 of file cse_eop.c.
References do_send_end_of_post().