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

Go to the source code of this file.

Data Structures

struct  usb2_port_setting
 
struct  usb3_port_setting
 
struct  pei_dimm_info
 This table is filled by the MRC blob and used to populate the mem_info struct, which is placed in CBMEM and then used to generate SMBIOS type 17 table(s) More...
 
struct  pei_memory_info
 
struct  pei_data
 

Macros

#define PEI_VERSION   22
 
#define ABI_X86   __attribute__((regparm(0)))
 
#define MAX_USB2_PORTS   14
 
#define MAX_USB3_PORTS   6
 
#define USB_OC_PIN_SKIP   8
 
#define PEI_DIMM_INFO_SERIAL_SIZE   5
 
#define PEI_DIMM_INFO_PART_NUMBER_SIZE   19
 
#define PEI_DIMM_INFO_TOTAL   8 /* Maximum num of dimm is 8 */
 

Typedefs

typedef void ABI_X86(* tx_byte_func) (unsigned char byte)
 

Enumerations

enum  board_type {
  BOARD_TYPE_MOBILE = 0 , BOARD_TYPE_DESKTOP = 1 , BOARD_TYPE_ULT_ULX = 5 , BOARD_TYPE_ULT_ULX_T4 = 6 ,
  BOARD_TYPE_SERVER = 8 , BOARD_TYPE_CRB_MOBILE = 0 , BOARD_TYPE_CRB_DESKTOP , BOARD_TYPE_USER1 ,
  BOARD_TYPE_USER2 , BOARD_TYPE_USER3 , BOARD_TYPE_ULT , BOARD_TYPE_CRB_EMBDEDDED ,
  BOARD_TYPE_UNKNOWN , BOARD_TYPE_MOBILE = 0 , BOARD_TYPE_DESKTOP = 1 , BOARD_TYPE_ULT_ULX = 5 ,
  BOARD_TYPE_SERVER = 7 , BOARD_TYPE_MOBILE = 0 , BOARD_TYPE_DESKTOP = 1 , BOARD_TYPE_ULT_ULX = 5 ,
  BOARD_TYPE_SERVER = 7 , BOARD_TYPE_MOBILE = 0 , BOARD_TYPE_DESKTOP = 1 , BOARD_TYPE_ULT_ULX = 5 ,
  BOARD_TYPE_SERVER = 7 , BOARD_TYPE_MOBILE = 0 , BOARD_TYPE_DESKTOP = 1 , BOARD_TYPE_ULT_ULX = 5 ,
  BOARD_TYPE_SERVER = 7 , BOARD_TYPE_MOBILE = 0 , BOARD_TYPE_DESKTOP = 1 , BOARD_TYPE_ULT_ULX = 5 ,
  BOARD_TYPE_SERVER = 7 , BOARD_TYPE_MOBILE = 0 , BOARD_TYPE_DESKTOP = 1 , BOARD_TYPE_ULT_ULX = 5 ,
  BOARD_TYPE_SERVER = 7
}
 
enum  usb2_port_location {
  USB_PORT_BACK_PANEL = 0 , USB_PORT_FRONT_PANEL , USB_PORT_DOCK , USB_PORT_MINI_PCIE ,
  USB_PORT_FLEX , USB_PORT_INTERNAL , USB_PORT_SKIP , USB_PORT_NGFF_DEVICE_DOWN ,
  USB_PORT_SKIP = 0 , USB_PORT_BACK_PANEL , USB_PORT_FRONT_PANEL , USB_PORT_DOCK ,
  USB_PORT_MINI_PCIE , USB_PORT_FLEX , USB_PORT_INTERNAL
}
 

Variables

struct usb2_port_setting __packed
 

Macro Definition Documentation

◆ ABI_X86

#define ABI_X86   __attribute__((regparm(0)))

Definition at line 10 of file pei_data.h.

◆ MAX_USB2_PORTS

#define MAX_USB2_PORTS   14

Definition at line 25 of file pei_data.h.

◆ MAX_USB3_PORTS

#define MAX_USB3_PORTS   6

Definition at line 26 of file pei_data.h.

◆ PEI_DIMM_INFO_PART_NUMBER_SIZE

#define PEI_DIMM_INFO_PART_NUMBER_SIZE   19

Definition at line 63 of file pei_data.h.

◆ PEI_DIMM_INFO_SERIAL_SIZE

#define PEI_DIMM_INFO_SERIAL_SIZE   5

Definition at line 62 of file pei_data.h.

◆ PEI_DIMM_INFO_TOTAL

#define PEI_DIMM_INFO_TOTAL   8 /* Maximum num of dimm is 8 */

Definition at line 64 of file pei_data.h.

◆ PEI_VERSION

#define PEI_VERSION   22

Definition at line 8 of file pei_data.h.

◆ USB_OC_PIN_SKIP

#define USB_OC_PIN_SKIP   8

Definition at line 27 of file pei_data.h.

Typedef Documentation

◆ tx_byte_func

typedef void ABI_X86(* tx_byte_func) (unsigned char byte)

Definition at line 12 of file pei_data.h.

Enumeration Type Documentation

◆ board_type

enum board_type
Enumerator
BOARD_TYPE_MOBILE 
BOARD_TYPE_DESKTOP 
BOARD_TYPE_ULT_ULX 
BOARD_TYPE_ULT_ULX_T4 
BOARD_TYPE_SERVER 
BOARD_TYPE_CRB_MOBILE 
BOARD_TYPE_CRB_DESKTOP 
BOARD_TYPE_USER1 
BOARD_TYPE_USER2 
BOARD_TYPE_USER3 
BOARD_TYPE_ULT 
BOARD_TYPE_CRB_EMBDEDDED 
BOARD_TYPE_UNKNOWN 
BOARD_TYPE_MOBILE 
BOARD_TYPE_DESKTOP 
BOARD_TYPE_ULT_ULX 
BOARD_TYPE_SERVER 
BOARD_TYPE_MOBILE 
BOARD_TYPE_DESKTOP 
BOARD_TYPE_ULT_ULX 
BOARD_TYPE_SERVER 
BOARD_TYPE_MOBILE 
BOARD_TYPE_DESKTOP 
BOARD_TYPE_ULT_ULX 
BOARD_TYPE_SERVER 
BOARD_TYPE_MOBILE 
BOARD_TYPE_DESKTOP 
BOARD_TYPE_ULT_ULX 
BOARD_TYPE_SERVER 
BOARD_TYPE_MOBILE 
BOARD_TYPE_DESKTOP 
BOARD_TYPE_ULT_ULX 
BOARD_TYPE_SERVER 
BOARD_TYPE_MOBILE 
BOARD_TYPE_DESKTOP 
BOARD_TYPE_ULT_ULX 
BOARD_TYPE_SERVER 

Definition at line 14 of file pei_data.h.

◆ usb2_port_location

Enumerator
USB_PORT_BACK_PANEL 
USB_PORT_FRONT_PANEL 
USB_PORT_DOCK 
USB_PORT_MINI_PCIE 
USB_PORT_FLEX 
USB_PORT_INTERNAL 
USB_PORT_SKIP 
USB_PORT_NGFF_DEVICE_DOWN 
USB_PORT_SKIP 
USB_PORT_BACK_PANEL 
USB_PORT_FRONT_PANEL 
USB_PORT_DOCK 
USB_PORT_MINI_PCIE 
USB_PORT_FLEX 
USB_PORT_INTERNAL 

Definition at line 29 of file pei_data.h.

Variable Documentation

◆ __packed