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

Go to the source code of this file.

Macros

#define FSP_HDR_OFFSET   0x94
 
#define FSP_HDR_SIGNATURE   "FSPH"
 
#define FSP_HDR_ATTRIB_FSPT   1
 
#define FSP_HDR_ATTRIB_FSPM   2
 
#define FSP_HDR_ATTRIB_FSPS   3
 
#define FSP_IMAGE_ID_LENGTH   8
 

Functions

enum cb_err fsp_identify (struct fsp_header *hdr, const void *fsp_blob)
 

Variables

struct fsp_header fsps_hdr
 

Macro Definition Documentation

◆ FSP_HDR_ATTRIB_FSPM

#define FSP_HDR_ATTRIB_FSPM   2

Definition at line 11 of file info_header.h.

◆ FSP_HDR_ATTRIB_FSPS

#define FSP_HDR_ATTRIB_FSPS   3

Definition at line 12 of file info_header.h.

◆ FSP_HDR_ATTRIB_FSPT

#define FSP_HDR_ATTRIB_FSPT   1

Definition at line 10 of file info_header.h.

◆ FSP_HDR_OFFSET

#define FSP_HDR_OFFSET   0x94

Definition at line 8 of file info_header.h.

◆ FSP_HDR_SIGNATURE

#define FSP_HDR_SIGNATURE   "FSPH"

Definition at line 9 of file info_header.h.

◆ FSP_IMAGE_ID_LENGTH

#define FSP_IMAGE_ID_LENGTH   8

Definition at line 13 of file info_header.h.

Function Documentation

◆ fsp_identify()

enum cb_err fsp_identify ( struct fsp_header *  hdr,
const void fsp_blob 
)

Definition at line 29 of file util.c.

References BIOS_ALERT, fsp_hdr_get_expected_min_length(), FSP_HDR_SIGNATURE, memcmp(), and printk.

Here is the call graph for this function:

Variable Documentation

◆ fsps_hdr

struct fsp_header fsps_hdr
extern