| 221 | } |
| 222 | |
| 223 | static 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 | |
| 235 | struct coreinfo_module coreboot_module = { |
| 236 | .name = "coreboot", |
nothing calls this directly
no test coverage detected