coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
hest.h File Reference
#include <acpi/acpi.h>
Include dependency graph for hest.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  acpi_ghes_esd
 
struct  ghes_record
 

Macros

#define MCE_ERR_POLL_MS_INTERVAL   1000
 
#define HEST_PCIE_RP_AER_DESC_TYPE   6
 
#define HEST_GHES_DESC_TYPE   9
 
#define GHES_MAX_RAW_DATA_LENGTH   (((CONFIG_ERROR_LOG_BUFFER_SIZE) >> 1) - 8)
 
#define GHEST_ERROR_STATUS_BLOCK_LENGTH   ((CONFIG_ERROR_LOG_BUFFER_SIZE) >> 1)
 
#define GHEST_ASSIST   (1 << 2)
 
#define FIRMWARE_FIRST   (1 << 0)
 
#define MEM_VALID_BITS   0x66ff
 
#define PCIE_VALID_BITS   0xef
 
#define QWORD_ACCESS   4
 
#define NOTIFY_TYPE_SCI   3
 

Typedefs

typedef struct acpi_ghes_esd acpi_ghes_esd_t
 
typedef struct ghes_record ghes_record_t
 

Functions

unsigned long hest_create (unsigned long current, struct acpi_rsdp *rsdp)
 

Macro Definition Documentation

◆ FIRMWARE_FIRST

#define FIRMWARE_FIRST   (1 << 0)

Definition at line 13 of file hest.h.

◆ GHES_MAX_RAW_DATA_LENGTH

#define GHES_MAX_RAW_DATA_LENGTH   (((CONFIG_ERROR_LOG_BUFFER_SIZE) >> 1) - 8)

Definition at line 10 of file hest.h.

◆ GHEST_ASSIST

#define GHEST_ASSIST   (1 << 2)

Definition at line 12 of file hest.h.

◆ GHEST_ERROR_STATUS_BLOCK_LENGTH

#define GHEST_ERROR_STATUS_BLOCK_LENGTH   ((CONFIG_ERROR_LOG_BUFFER_SIZE) >> 1)

Definition at line 11 of file hest.h.

◆ HEST_GHES_DESC_TYPE

#define HEST_GHES_DESC_TYPE   9

Definition at line 9 of file hest.h.

◆ HEST_PCIE_RP_AER_DESC_TYPE

#define HEST_PCIE_RP_AER_DESC_TYPE   6

Definition at line 8 of file hest.h.

◆ MCE_ERR_POLL_MS_INTERVAL

#define MCE_ERR_POLL_MS_INTERVAL   1000

Definition at line 7 of file hest.h.

◆ MEM_VALID_BITS

#define MEM_VALID_BITS   0x66ff

Definition at line 14 of file hest.h.

◆ NOTIFY_TYPE_SCI

#define NOTIFY_TYPE_SCI   3

Definition at line 17 of file hest.h.

◆ PCIE_VALID_BITS

#define PCIE_VALID_BITS   0xef

Definition at line 15 of file hest.h.

◆ QWORD_ACCESS

#define QWORD_ACCESS   4

Definition at line 16 of file hest.h.

Typedef Documentation

◆ acpi_ghes_esd_t

◆ ghes_record_t

typedef struct ghes_record ghes_record_t

Function Documentation

◆ hest_create()

unsigned long hest_create ( unsigned long  current,
struct acpi_rsdp rsdp 
)

Definition at line 72 of file hest.c.

References acpi_add_table(), acpi_fill_hest(), acpi_get_gnvs(), acpi_write_hest(), ALIGN, BIOS_DEBUG, BIOS_ERR, cbmem_add(), CBMEM_ID_ACPI_HEST, gnvs, acpi_hest::header, global_nvs::hest_log_addr, acpi_table_header::length, and printk.

Referenced by northbridge_write_acpi_tables().

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