coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
raminit_shared.c File Reference
#include <console/console.h>
#include <device/mmio.h>
#include <types.h>
#include "sandybridge.h"
Include dependency graph for raminit_shared.c:

Go to the source code of this file.

Macros

#define ON_OFF(val)   (((val) & 1) ? "on" : "off")
 

Functions

void report_memory_config (void)
 

Variables

static const char *const ecc_decoder []
 

Macro Definition Documentation

◆ ON_OFF

#define ON_OFF (   val)    (((val) & 1) ? "on" : "off")

Definition at line 16 of file raminit_shared.c.

Function Documentation

◆ report_memory_config()

void report_memory_config ( void  )

Definition at line 19 of file raminit_shared.c.

References ARRAY_SIZE, BIOS_DEBUG, ecc_decoder, MAD_CHNL, MAD_DIMM_CH0, MAD_DIMM_CH1, MC_BIOS_DATA, MC_BIOS_REQ, mchbar_read32(), ON_OFF, and printk.

Here is the call graph for this function:

Variable Documentation

◆ ecc_decoder

const char* const ecc_decoder[]
static
Initial value:
= {
"inactive",
"active on IO",
"disabled on IO",
"active",
}

Definition at line 9 of file raminit_shared.c.

Referenced by report_memory_config().