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

Function new_chip_instance

util/sconfig/main.c:336–346  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

334}
335
336struct chip_instance *new_chip_instance(char *path)
337{
338 struct chip *chip = get_chip(path);
339 struct chip_instance *instance = S_ALLOC(sizeof(*instance));
340
341 instance->chip = chip;
342 instance->next = chip->instance;
343 chip->instance = instance;
344
345 return instance;
346}
347
348/* List of fw_config fields added during parsing. */
349static struct fw_config_field *fw_config_fields;

Callers

nothing calls this directly

Calls 1

get_chipFunction · 0.85

Tested by

no test coverage detected