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

Function coreboot_module_init

payloads/coreinfo/coreboot_module.c:223–233  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

221}
222
223static int coreboot_module_init(void)
224{
225 int ret = parse_header((void *)0x00000, 0x1000);
226
227 if (ret != 1)
228 ret = parse_header((void *)0xf0000, 0x1000);
229
230 /* Return error if we couldn't find it at either address. */
231 tables_good = (ret == 1) ? 0 : -1;
232 return tables_good;
233}
234
235struct coreinfo_module coreboot_module = {
236 .name = "coreboot",

Callers

nothing calls this directly

Calls 1

parse_headerFunction · 0.70

Tested by

no test coverage detected