MCPcopy Create free account
hub / github.com/coreboot/coreboot / ram_check

Function ram_check

src/lib/ramtest.c:122–133  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

120
121
122void ram_check(uintptr_t start)
123{
124 /*
125 * This is much more of a "Is my DRAM properly configured?"
126 * test than a "Is my DRAM faulty?" test. Not all bits
127 * are tested. -Tyson
128 */
129 printk(BIOS_DEBUG, "Testing DRAM at: %08lx\n", start);
130 if (ram_bitset_nodie(start))
131 die("DRAM ERROR");
132 printk(BIOS_DEBUG, "Done.\n");
133}
134
135
136int ram_check_nodie(uintptr_t start)

Callers 1

mainboard_romstage_entryFunction · 0.85

Calls 3

ram_bitset_nodieFunction · 0.85
printkFunction · 0.50
dieFunction · 0.50

Tested by

no test coverage detected