coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
mrc_wrapper.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  mrc_mainboard_params
 
struct  mrc_params
 

Macros

#define MRC_PARAMS_VER   5
 
#define NUM_CHANNELS   2
 
#define ABI_X86   __attribute((regparm(0)))
 

Typedefs

typedef int ABI_X86(* mrc_wrapper_entry_t) (struct mrc_params *)
 

Enumerations

enum  { DRAM_INFO_SPD_SMBUS , DRAM_INFO_SPD_MEM , DRAM_INFO_DETAILED }
 
enum  dram_type { DRAM_DDR3 , DRAM_DDR3L , DRAM_LPDDR3 }
 
enum  mrc_wrapper_error {
  INVALID_VER = -1 , INVALID_DRAM_TYPE = -2 , INVALID_SLEEP_MODE = -3 , PLATFORM_SETTINGS_FAIL = -4 ,
  DIMM_DETECTION_FAILURE = -5 , MEMORY_CONFIG_FAILURE = -6 , INVALID_CPU_ODT_SETTING = -7 , INVALID_DRAM_ODT_SETTING = -8
}
 

Variables

struct mrc_mainboard_params __packed
 

Macro Definition Documentation

◆ ABI_X86

#define ABI_X86   __attribute((regparm(0)))

Definition at line 10 of file mrc_wrapper.h.

◆ MRC_PARAMS_VER

#define MRC_PARAMS_VER   5

Definition at line 5 of file mrc_wrapper.h.

◆ NUM_CHANNELS

#define NUM_CHANNELS   2

Definition at line 7 of file mrc_wrapper.h.

Typedef Documentation

◆ mrc_wrapper_entry_t

typedef int ABI_X86(* mrc_wrapper_entry_t) (struct mrc_params *)

Definition at line 79 of file mrc_wrapper.h.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
DRAM_INFO_SPD_SMBUS 
DRAM_INFO_SPD_MEM 
DRAM_INFO_DETAILED 

Definition at line 12 of file mrc_wrapper.h.

◆ dram_type

enum dram_type
Enumerator
DRAM_DDR3 
DRAM_DDR3L 
DRAM_LPDDR3 

Definition at line 18 of file mrc_wrapper.h.

◆ mrc_wrapper_error

Enumerator
INVALID_VER 
INVALID_DRAM_TYPE 
INVALID_SLEEP_MODE 
PLATFORM_SETTINGS_FAIL 
DIMM_DETECTION_FAILURE 
MEMORY_CONFIG_FAILURE 
INVALID_CPU_ODT_SETTING 
INVALID_DRAM_ODT_SETTING 

Definition at line 25 of file mrc_wrapper.h.

Variable Documentation

◆ __packed